1.5 Syntax Translation Issues for Load and Unload Scripts

Executing a script that is valid for the NetWare platform is not necessarily recognized on the OES platform. When you cluster migrate a resource from a NetWare node to an OES node, the resource’s load script and unload script need to be translated in-memory while the cluster is in mixed mode. It is also translated in-memory when the cluster is finally converted from NetWare to Linux. This translation is done by the Cluster Translation Library script (/opt/novell/ncs/bin/clstrlib.py). For information about the script translations, see Section 3.0, Planning the Conversion of Load and Unload Scripts.

IMPORTANT:If the commands in cluster resource’s load or unload scripts are not part of the normal translation library, the cluster resource can end up in a comatose state.

Novell Cluster Services allows you to customize the translation syntax that is used for load and unload scripts in mixed-mode clusters by defining them in the /var/opt/novell/ncs/customized_translation_syntax file that you create. The clstrlib.py script reads the additional translation syntax from the syntax file. See Section 3.7, Customizing the Translation Syntax for Converting Load and Unload Scripts.