Useful CLI Commands for HA
Clean Access Server
The following are useful files to know about for HA on the CAS:
•
•
•
•
HA CAS Configuration Status
The /etc/ha.d/perfigo.conf file shows a variety of configuration information for an HA-CAS, including
hostname (rjcas_1), peer hostname (rjcas_2), HA mode (Primary), heartbeat interface (UDP/serial), and
Link-detect interface information:
Heartbeat/Link-Based Connections
The /etc/ha.d/ha.cf file shows additional information about the heartbeat and link-based connections:
Cisco NAC Appliance Hardware Installation Guide
4-44
[root@rjcam_2 ~]#
This CAM is the standby CAM in the HA-pair.
HA CAS Configuration Status
Heartbeat/Link-Based Connections
Link-Detect Interfaces
(/etc/ha.d/linkdetect.conf)
Active/Standby Status
(/perfigo/common/bin/fostate.sh)
[root@rjcas_1 ha.d]# more perfigo.conf
#linux-ha
#Mon Aug 28 18:50:15 PDT 2006
WIRELESS_SERVICEIP=10.10.20.4
PING_DEAD=25
HOSTNAME=rjcas_1
HA_DEAD=15
PEERGUSSK=
PEERMAC=00\:16\:35\:BF\:FE\:67
PEERHOSTNAME=rjcas_2
TRUSTED_PINGNODE=10.10.40.100
UNTRUSTED_PINGNODE=10.10.20.100
HAMODE=PRIMARY
PEERMAC0=00\:16\:35\:BF\:FE\:66
PEERHOSTIP=10.10.50.2
HA_FAILBACK=off
HA_UDP=eth2
WIRED_SERVICEIP=10.10.20.4
HA_SERIAL=ttyS0
[root@rjcas_1 ha.d]# more ha.cf
# Generated by make-hacf-ss.pl
udpport
694
ucast
eth2 10.10.50.2
baud
19200
serial
/dev/ttyS0
keepalive
2
deadtime
15
deadping
25
auto_failback
off
apiauth
default uid=root
respawn
hacluster /usr/lib64/heartbeat/ipfail
ping
10.10.20.100
ping
10.10.40.100
(/etc/ha.d/perfigo.conf)
(/etc/ha.d/ha.cf)
Chapter 4
Configuring High Availability (HA)
OL-20326-01