Serviceguard NFS Toolkit A.11.11.06, A.11.23.05 and A.11.31.07 Administrator's Guide (September 2010)

6. Run cmmigratepkg command to create a temporary configuration file with the standard
Serviceguard parameters derived using the information from the legacy package
configuration.
cmmigratepkg -p pkg01 -o /etc/cmcluster/nfs/modular/param.conf
If there are any changes in the customer-defined functions area of the legacy package control
script (for example, in customer_defined_run_cmds function of nfs1.cntl file),
cmmigratepkg command copies the changes to an external script by using -x option. The
full pathname of the external script must be entered with the -x option.
cmmigratepkg -p pkg01 -x /etc/cmcluster/nfs/modular/ext.sh -o
/etc/cmcluster/nfs/modular/param.conf
Copy the external script (ext.sh) to the same location in each node where the package can
run. Verify whether the permission of the external script is 744 and owned by root.
7. With the help of the generated output file from cmmigratepkg (param.conf),
cmmakepkg command must be used to generate the modular package configuration file.
The modular package configuration file is automatically filled with the standard Serviceguard
parameters.
cmmakepkg -i /etc/cmcluster/nfs/modular/param.conf -m sg/all -m nfs/hanfs
/etc/cmcluster/nfs/modular/pkg.conf
8. Configure the NFS module specific parameters in the modular package configuration file
as described in the “Configuring a Serviceguard NFS Modular Package” (page 52) section.
The NFS parameters in the modular package configuration file have to be manually
configured with the values taken from the legacy package configuration file (or) control
scripts. The NFS module contains specific parameters in the modular package configuration
file and their corresponding parameters in the legacy package configuration files (or) control
scripts are explained in the table below.
Table 4-1 Names of parameters in legacy and modular package.
Parameter Name in Modular Package
configuration file (pkg.conf)
Parameter Name in Legacy Package
configuration file / control scripts
File which contains the Legacy
Package parameter
service_name
service_restart
NFS_SERVICE_NAME[ ]
NFS_SERVICE_RESTART[ ]
hanfs.1.sh
service_fail_fast_enabled
service_halt_timeout
SERVICE_FAIL_FAST_ENABLED
SERVICE_HALT_TIMEOUT
nfs1.conf
XFSXFS[ ]hanfs.1.sh
FILE_LOCK_MIGRATIONNFS_FILE_LOCK_MIGRATIONhanfs.1.sh
nfs1.mon
MONITOR_INTERVALINTERVALhanfs.1.sh
MONITOR_LOCKD_RETRYLOCKD_RETRYhanfs.1.sh
MONITOR_DAEMONS_RETRYSTATD_RETRY
MOUNTD_RETRY
NFSD_RETRY
PCNFSD_RETRY
NFS_FLM_RETRY
hanfs.1.sh
PORTMAP_RETRYPORTMAP_RETRYhanfs.1.sh
FLM_HOLDING_DIRNFS_FLM_HOLDING_DIRnfs1.flm
NFSV4_FLM_HOLDING_DIRNFSv4_FLM_HOLDING_DIRnfs1.flm
PROPAGATE_INTERVALPROPAGATE_INTERVALnfs1.flm
STATMON_WAITTIMESTATMON_WAITTIMEnfs1.flm
68 Migration of Serviceguard NFS Legacy Package to Serviceguard NFS Modular Package