
Checking HA Status
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 db-repl:in-sync
Peer Server:
0.0.0.0 timed-out(error) network-down db-repl:n/a
You can view the same information by opening the following text file:
/usr/netscreen/HaSvr/var/HaStatus.txt
Viewing HA Error Logs
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
error log. You can use this script view error messages
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.
HA Utilities
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
/usr/netscreen/HaSvr/utils
.
Table 12: HA Utilities
Description
Parameter
Provides statistics on the HA processes.
haStatus
Replicates data to the local or secondary server.
replicateDB
Restores the local backup to current configuration.
restoreDbFromBackup
Checks if all binaries are present to run the server in HA.
validateBinaries
77
Copyright © 2010, Juniper Networks, Inc.
Chapter 5: Installing NSM with High Availability
Содержание NETWORK AND SECURITY MANAGER 2010.4 - REV1
Страница 6: ...Copyright 2010 Juniper Networks Inc vi...
Страница 14: ...Copyright 2010 Juniper Networks Inc xiv Network and Security Manager Installation Guide...
Страница 22: ...Copyright 2010 Juniper Networks Inc xxii Network and Security Manager Installation Guide...
Страница 24: ...Copyright 2010 Juniper Networks Inc 2 Network and Security Manager Installation Guide...
Страница 42: ...Copyright 2010 Juniper Networks Inc 20 Network and Security Manager Installation Guide...
Страница 70: ...Copyright 2010 Juniper Networks Inc 48 Network and Security Manager Installation Guide...
Страница 92: ...Copyright 2010 Juniper Networks Inc 70 Network and Security Manager Installation Guide...
Страница 152: ...Copyright 2010 Juniper Networks Inc 130 Network and Security Manager Installation Guide...
Страница 214: ...Copyright 2010 Juniper Networks Inc 192 Network and Security Manager Installation Guide...
Страница 239: ...PART 3 Index Index on page 219 217 Copyright 2010 Juniper Networks Inc...
Страница 240: ...Copyright 2010 Juniper Networks Inc 218 Network and Security Manager Installation Guide...
Страница 244: ...Copyright 2010 Juniper Networks Inc 222 Network and Security Manager Installation Guide...