Cisco NAC3350-PROF-K9 Hardware Installation Guide - Page 165
Link-Detect Interfaces, Active/Standby Status, etc/ha.d/linkdetect.conf, linkdetect.conf, etc/ha.d
View all Cisco NAC3350-PROF-K9 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 165 highlights
Chapter 4 Configuring High Availability (HA) Useful CLI Commands for HA log_badpack warntime debug debugfile logfile watchdog node node false 10 0 /var/log/ha-debug /var/log/ha-log /dev/watchdog rjcas_1 rjcas_2 Link-Detect Interfaces The /etc/ha.d/linkdetect.conf file is useful if your network topology restricts configuring external (pingable) interfaces for Link-detect functionality between your CAS HA pair appliances. This file specifies the CAS network interfaces (eth0, eth1, or both) to monitor for Link-detect functionality. If a monitored interface loses connectivity with its associated external interface, the active CAS fails over and the standby CAS assumes the active role. To create and/or update the linkdetect.conf file in the CAS: Step 1 Step 2 Step 3 Step 4 Step 5 Log in to the CAS direct console CLI and direct console as the root user. Navigate to the /etc/ha.d/ directory on the CAS. Using a standard text editor (like vi), edit the linkdetect.conf file so that it contains the interface names you want to monitor, or (if the linkdetect.conf file does not currently exist on the CAS) add the linkdetect.conf file to this directory. Verify the contents of the file: [root@rjcas_1 ha.d]# more linkdetect.conf # The following network interfaces will be monitored for link healthiness # The active CAS will change to standby mode when any link failure is detected # eth0 eth1 Enable the new function by stopping and restarting CAS services with the service perfigo stop and service perfigo start commands. In the above linkdetect.conf file example, both the eth0 and eth1 interfaces on the CAS are monitored for network connectivity. Note Any other CAS interfaces specified in the linkdetect.conf file (like eth2 or eth3, for example) are ignored for purposes of Link-detect behavior. Active/Standby Status The following example shows how to use the CLI to determine the runtime status (active or standby) of each CAS in the HA pair. You can find the fostate.sh command in the /perfigo/common/bin/ directory on new and upgraded CASs. 1. Cd to /perfigo/common/bin/, and run the fostate.sh script on the first CAS: [root@rjcas_1 bin]# ./fostate.sh OL-20326-01 Cisco NAC Appliance Hardware Installation Guide 4-45