
Configuration
Configuring the High Availability Feature
Chapter 3 79
# e.g.# SERVICE_NAME [1] = <other name>
# SERVICE_CMD [1] = <other monitor>
# START OF CUSTOMER DEFINED FUNCTIONS
function customer_defined_run_cmds
{
#ADD customer defined run commands
: # do nothing instruction, because a function must contain at least one command.
x25init -c /etc/x25/x25config_1 -a /etc/x25/ip_to_x121_map
sleep 5
test_return 51
}
function customer_defined_halt_cmds
{
#ADD customer defined halt commands
: # do nothing instruction, because a function must contain some command.
#stopping the specific X.25 card means the signal modem will be down
x25stop -d /dev/x25_1
test_return 52
}
Checking the Configuration
Check that your configuration is correct using x25server, x25check,
and ping.
x25server Run the x25server command. This starts a background
process that waits for packets from an x25check command and sends a
reply.
x25check Execute the x25check command, using your X.121 address:
$ x25check 250207
X25CHECK (c) COPYRIGHT Hewlett-Packard Company 1988.
Test Starts on .. Wed Dec 8 09:15:01 1993
Initialization of the test...
CALL packet sent ...
The following figures have been measured on the network:
Set up time : 267 ms
Remote Connection Succeeded
Execute the x25check command again, but this time with data packets:
Kommentare zu diesen Handbüchern