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
#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
sleep 2
/usr/sbin/lanadmin
/usr/sbin/x25init
test_return 51
#END of customer defined run commands
Chapter 3 | 93 |