Monitoring, Management & Location Tracking

How to test AMP Failover and Restore

Aruba Employee

Introduction : Steps and Procedure for Airwave failover and restore

 

Configuration Steps :

 

Failover Test :
 
Failover AMP IP : 10.162.118.206
Primary AMP : 10.162.118.205
 
  1. Disabled the interface for the Primary AMP
  2. Wait for Airwave to miss the number of polls configured on the Failover
  3. After 15 minutes ( 5 minutes * 3 missed polls) we will see the Failover AMP trying to restore the db of the AMP it’s watching.
  4. DB restore will take sometime depending on the size of the DB.
  5. Check if the restore is complete. This can be checked in amp_restore.log (/var/log)
 
Note : There are many variables that affect how long this will take including how long client historical data is being retained, but for an AMP with 1,000 APs it might take up to 10 minutes. For an AMP with 2,500 APs, it might take as long as 20 minutes. The Failover AMP will retain its original IP address
 
  1. The new AMP is ready to watch your infrastructure
 
Restore
 
Depending on the time it took for the Failed AMP (Primary) to come back up online and depending on the importance of the data in the time duration when the primary amp was down there are 2 ways to fail back
 
  1. Do not restore the backup from the Fail over to the actual Primary server
 
  1. When the primary AMP is back online it will continue monitoring the infrastructure as before

  2. Manually make the backup AMP a failover AMP using the following command
    1. amp_restore /var/airwave-backup/watcher/nightly_data.tar.gz
 
  1. Restore the backup from the Failover AMP to the actual Primary server to prevent loss of data during the duration when Primary was down
 
  1. When the primary AMP is back online it will continue monitoring the infrastructure as before

  2. Restore the backup from the Failover to Primary using the following steps

    1. On Failover/Backup run amp_backup
    2. Copy the backup file off the server from /alternative folder
    3. Copy the file to the /tmp of the Primary server
    4. Restore this backup on the Primary AMP using ./amp_restore -d /tmp/databackup.tar.gz
  3. Manually make the backup AMP a failover AMP using the following command

    1. amp_restore /var/airwave-backup/watcher/nightly_data.tar.gz

 

Version history
Revision #:
1 of 1
Last update:
‎07-17-2014 05:40 AM
Updated by:
 
Labels (2)
Contributors
Comments

Hi!

 

If the failover AMP retain its original IP address when restoring a watched AMP backup after it has gone down, how can it take over control of the IAPs terminating on the watched AMP via a specific port forward? Or do we need to configure both primary airwave and backup airwave (the failover server) on the instant clusters?

 

Cheers,

Chris

Search Airheads
cancel
Showing results for 
Search instead for 
Did you mean: 
Is this a frequent problem?

Request an official Aruba knowledge base article to be written by our experts.