HP CIFS Server 2.2i Administrator's Guide version A.01.11.01
Configuring HA HP CIFS
Configure a Highly Available HP CIFS Server
Chapter 7 163
test_return 51
}
6. Use the following as a template for customer_defined_halt_cmds:
function customer_defined_halt_cmds
{
# ADD customer defined halt commands.
findproc smbd
if [ "$pid" = "" ]
then
findproc nmbd
if [ "$pid" = "" ]
then
:
else
/opt/samba/bin/stopsmb
fi
else
/opt/samba/bin/stopsmb
fi
test_return 52
}
WARNING Make sure that all processes/applications that access the file
systems mounted by sambapkg are shutdown in the
customer_defined_halt_cmds subroutine. This will allow the
filesystems to be unmounted and failed over to the standby node.
Package failover may not occur if any of the file systems
mounted by the sambapkg cannot be unmounted.
Create the MC/ServiceGuard Binary Configuration
File
NOTE In the steps below, the cluster configuration file is assigned the name
/etc/cmcluster/cluster.conf, and the HA HP CIFS Server package
configuration file is assigned the name