Checking HA Status
Viewing HA Error Logs
HA Utilities
Copyright © 2010, Juniper Networks, Inc.
Use the following script to get an accurate report on the state of the HA Server:
/usr/netscreen/HaSvr/utils/haStatus
An example of the output is provided below.
[root@NSM1 utils]# ./haStatus
=======================================================
H/A process status
=======================================================
Retrieving status...
highAvail (pid 1681)...............................ON
highAvailSvr (pids 2161)...........................ON
=======================================================
State of the local and peer H/A server
=======================================================
Local Server:
192.168.0.152 running network-up
Peer Server:
0.0.0.0
timed-out(error)
You can view the same information by opening the following text file:
/usr/netscreen/HaSvr/var/HaStatus.txt
You can also view error logs generated by the HA Server by opening the following file:
/usr/netscreen/HaSvr/var/errorLog
If the HA Server is in error mode, the script appends log messages from the
/HaSvr/var/errorLog/highAvail.0
output for the server that the script is run in real time. If there is a problem preventing the
status from being transmitted, observing the state from the UI only can be misleading.
Table 12 on page 77 lists and describes utilities that you can use to manage and maintain
the HA server. All these utilities are located in
Table 12: HA Utilities
Parameter
Description
haStatus
Provides statistics on the HA processes.
replicateDB
Replicates data to the local or secondary server.
restoreDbFromBackup
Restores the local backup to current configuration.
validateBinaries
Checks if all binaries are present to run the server in HA.
Chapter 5: Installing NSM with High Availability
db-repl:in-sync
network-down
error log. You can use this script view error messages
/usr/netscreen/HaSvr/utils
db-repl:n/a
.
77
Need help?
Do you have a question about the NETWORK AND SECURITY MANAGER 2010.4 - INSTALLATION GUIDE REV1 and is the answer not in the manual?