4-43
Cisco NAC Appliance Hardware Installation Guide
OL-20326-01
Chapter 4 Configuring High Availability (HA)
Useful CLI Commands for HA
Figure 4-19
HA-Pair with Virtual Gateway
Useful CLI Commands for HA
Clean Access Manager
The following are useful files to know about for HA on the CAM:
•
/etc/ha.d/perfigo.conf
•
/etc/ha.d/ha.cf
The following example shows the location of the HA debug/log files, as well as the name of each CAM
(node) in the HA pair:
[root@rjcam_1 ha.d]#
more ha.cf
# Generated by make-hacf.pl
udpport 694
bcast eth1
auto_failback off
apiauth default uid=root
log_badpack false
debug 0
debugfile /var/log/ha-debug
logfile /var/log/ha-log
#logfacility local0
watchdog /dev/watchdog
keepalive 2
warntime 10
deadtime 15
node rjcam_1
node rjcam_2
Verifying Active/Standby Runtime Status on the HA CAM
The following example shows how to use the CLI to determine the runtime status (active or standby) of
each CAM in the HA pair. You can run the
fostate.sh
command from the
/perfigo/common/bin/
directory on new and upgraded CAMs.
1.
Run the fostate.sh script on the first CAM:
[root@rjcam_1 ~]#
./fostate.sh
My node is active, peer node is standby
[root@rjcam_1 ~]#
This CAM is the active CAM in the HA-pair.
2.
Run the fostate.sh script on the second CAM:
[root@rjcam_2 ~]#
./fostate.sh
My node is standby, peer node is active
Содержание NAC-3310
Страница 8: ...Contents 6 Cisco NAC Appliance Hardware Installation Guide OL 20326 01 ...
Страница 172: ...A 4 Cisco NAC Appliance Hardware Installation Guide OL 20326 01 Appendix A Open Source License Acknowledgements Notices ...
Страница 176: ...Index IN 4 Cisco NAC Appliance Hardware Installation Guide OL 20326 01 ...