HP X.25/9000 User's Guide HP-UX 11i v3 (5900-1523, August 2011)
Example 16 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
}
function customer_defined_halt_cmds
{
# START of customer defined halt commands.
/usr/sbin/x25stop -d /dev/x25_0l1
Sleep 2
test_return 52
# END of customer defined halt commands
}
Remote failover with local failover support using Service Guard
This is a combination of local failover and remote failover. For information on the local and remote
failovers, see “Configuring XOL HA for local failover without ServiceGuard” (page 62) and
“Configuring XOL HA for remote failover using Service Guard (SG)” (page 64). If the interface
cannot be activated on either the primary or the standby LAN card at a given time on the local
node, the SG package initiates the remote failover to the LAN card on the standby node in the
SG cluster.
NOTE: On any given LAN card, the combination of highly available and not highly available
XOL interfaces is not supported. Either all or none of the interfaces must be configured with HA
(for local or remote failover) on any given LAN card. This is because the same unique MAC address
is used by all XOL interfaces on the given LAN card.
To support remote failover with local failover, complete the following steps:
Configuring the high availability feature for X.25 over LLC2 67










