Configuration
Configuring the High Availability Feature for X.25 over LLC2
# SERVICE NAMES AND COMMANDS
SERVICE_NAME [0] =pkg1.Service_Name_01 (same SERVICE_NAME as in pkg conf) SERVICE_CMD [0] ="/usr/sbin/x25HAmonitor
#Unique MAC address in the subnet (LAN segment) which is not in use. This will be the Active MAC address on the active node in the cluster.
Supplied_MAC = 0x0060B0A4EBE5
#START OF CUSTOMER DEFINED FUNCTIONS function customer_defined_run_cmds
{
#START of customer defined run commands.
/usr/sbin/x25stop | # primary lan PPA is 1 and |
XOL_logical_port_id is 0 |
|
sleep 2 |
|
/usr/sbin/lanadmin |
|
/usr/sbin/x25init
#Check and stop the x25HAmonitor if already running
#This is needed as Service Guard monitor starts the monitor later
PID=`/usr/bin/ls /var/x25/tmp/x25HAmonitor_1l0.* /usr/bin/awk
PROC_NAME=`/usr/bin/ps
then
/usr/bin/kill $PID
fi
test_return 51
#END of customer defined run commands
}
Chapter 3 | 97 |