Serviceguard NFS Toolkit A.11.11.06, A.11.23.05 and A.11.31.05 Administrator's Guide

Package Configuration File for pkg01
This section shows the package configuration file (nfs1.conf) for the package pkg01 in this
sample configuration. The comments available in the generated configuration file are not displayed
in this sample.
package_name pkg01
package_type failover
failover_policy configured_node
failback_policy manual
node_name thyme
node_name basil
auto_run yes
local_lan_failover_allowed yes
node_fail_fast_enabled no
service_name nfs1.monitor
service_fail_fast_enabled no
service_halt_timeout 300
vgchange_cmd "vgchange -a e" # Default
cvm_activation_cmd "vxdg -g \$DiskGroup set activation=exclusivewrite"
vg nfsu01
fs_name /dev/nfsu01/lvol1
fs_directory /hanfs/nfsu011
fs_mount_opt "-o rw"
vxvol_cmd "vxvol -g \$DiskGroup startall" #Default
fs_umount_retry_count 1
fs_mount_retry_count 0
ip_address 15.13.114.243
ip_subnet 15.13.112.0
XFS "/hanfs/nfsu011"
FILE_LOCK_MIGRATION 0
The external script file for this package can be created in any package specific location using the
external script template file.
cp /etc/cmcluster/examples/external_script.template /pkg01_location/pkg01_ext
Also, specify the external script file location in the package configuration file (nfs1.conf) as
external_script /pkg01_location/pkg01_ext
In the external script file, add the following lines to the start_command function.
function start_command
{
/etc/cmcluster/nfs/nfs1_xmnt start
remsh basil /etc/cmcluster/nfs/nfs1_xmnt start
return 0
}
102 Sample Configurations for Modular Package