Configuration

Configuring the High Availability Feature for X.25 over LLC2

NOTE

When the XOL interface goes down, the service command (x25ifstate)

 

exits. The SG performs a package failover to the standby node configured

 

in the SG cluster.

 

 

The SG package file that contains the X.25 commands is /etc./cmcluster/pkg*/control.sh file (one per XOL package). Following is a sample SG package file:

Example 3-6 XOL SG package for remote failover

# SERVICE NAMES AND COMMANDS

SERVICE_NAME [0] =pkg1.Service_Name_01 (same SERVICE_NAME as in pkg conf) SERVICE_CMD [0] ="/usr/sbin/x25ifstate -d /dev/x25_0l1 -H " SERVICE_RESTART [0] = " "

#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 -d /dev/x25_0l1

sleep 2

/usr/sbin/lanadmin -A $Supplied_MAC 0

/usr/sbin/x25init -c /etc/x25/x25config_llc2_1 -L /etc/x25/llc2_conf_def sleep 5

test_return 51

#END of customer defined run commands

90

Chapter 3