Translation Of Cluster Resource Scripts For Mixed Netware And Linux Clusters; Comparing Script Commands For Netware And Linux - Novell OPEN ENTERPRISE SERVER 2 SP 2 - CLUSTER SERVICES 1.8.7 FOR LINUX Manual

Table of Contents

Advertisement

6.6 Translation of Cluster Resource Scripts for
Mixed NetWare and Linux Clusters
Novell Cluster Services includes specialized functionality to help NetWare and Linux servers
coexist in the same cluster. This functionality is also beneficial as you migrate NetWare cluster
servers to Linux. The translation between NetWare and Linux versions of the load and unload scripts
is performed by the Cluster Translation Library script (
automates the conversion of the Master IP Address resource and cluster-enabled NSS pool resource
load and unload scripts from NetWare to Linux.
The NetWare load and unload scripts are read from eDirectory, converted, and written into Linux
load and unload script files. Those Linux load and unload script files are then searched for NetWare-
specific command strings, and the command strings are then either deleted or replaced with Linux-
specific command strings. Separate Linux-specific commands are also added, and the order of
certain lines in the scripts is also changed to function with Linux.
This section compares NetWare commands in cluster scripts to their corresponding Linux
commands that are used in Cluster Translation Library. If the commands in cluster resource's load or
unload scripts are not part of the translation library, the cluster resource can end up in a comatose
state.
IMPORTANT: Beginning in OES 2 SP2, Novell Cluster Services allows you to customize the
translation syntax that us used for load and unload scripts in mixed-platform situations by defining
new syntax translations to be used in addition to the normal translations. For information, see
Section 6.7, "Customizing the Translation Syntax for Converting Load and Unload Scripts," on
page
87.
Unlike NetWare cluster load and unload scripts that are stored in eDirectory, the Linux cluster load
and unload scripts are stored in files on Linux cluster servers. The cluster resource name is used in
the load and unload script filenames. The path to the files is
IMPORTANT: Use the Properties > Scripts page in the Clusters plug-in in iManager whenever
you make manual changes to the load and unload scripts. The changes are automatically saved to the
files.
The normal translations performed by the Cluster Translation Library are described in the following
sections:
Section 6.6.1, "Comparing Script Commands for NetWare and Linux," on page 82
Section 6.6.2, "Comparing Master IP Address Scripts," on page 83
Section 6.6.3, "Comparing NSS Pool Resource Scripts," on page 84
Section 6.6.4, "Comparing File Access Protocol Resource Script Commands," on page 85

6.6.1 Comparing Script Commands for NetWare and Linux

Table 6-2
identifies some of the NetWare cluster load and unload script commands that are searched
for and the Linux commands that they are replaced with (unless the commands are deleted).
82
OES 2 SP2: Novell Cluster Services 1.8.7 for Linux Administration Guide
/opt/novell/ncs/bin/clstrlib.py
/var/opt/novell/ncs/
). It
.

Advertisement

Table of Contents
loading

Table of Contents