HP X.25/9000 User's Guide HP-UX 11i v3 (5900-1523, August 2011)

XOL cluster definition
You must define the cluster by providing the system names that are part of SG cluster.
X.25 commands used in the SG package control scripts:
To set the MAC address, run the following command:
lanadmin -A MAC address PPA
To start XOL interface, run the following command:
x25init -c /etc/x25/x25config_llc2 -L /etc/x25/llc2_conf_def
To monitor the XOL interface, run the following command:
x25ifstate -d /dev/x25_0l1 -H
To stop the XOL interface, run the following command:
x25stop -d /dev/x25_0l1
XOL package definition
An XOL SG package is required to configure a highly available XOL interface on all nodes in the
SG cluster. This package allows HP MC/Service Guard to automatically:
Assign a unique MAC address (using the lanadmin command) to the LAN card in use.
Start the X.25 link (x25init command) when the X.25 package starts.
Run the command x25ifstate to monitor the state of the XOL interface.
Stop the XOL interface when the monitoring command detects a failure.
To define the X.25 package, you require the following attributes:
Package Name: Identifies the X.25 package, for example, xol_pkg1.
Service Name: Monitors the XOL interface to be managed, for example, xol_SG_service1
Service Command: Monitors the XOL interface status, for example, x25ifstate
To configure XOL remote failover, complete the following steps:
NOTE: The XOL HA feature is enabled by default in HP-UX 11i v3. Therefore, the -enableXOLHA
option is no longer required.
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:
66 Configuration