Monitoring, Management & Location Tracking

Migrate AMP From Fedora Core 3 to CentOS

The migration of AMP to CentOS is fairly straightforward, provided you follow these simple steps:

Step 1 - Upgrade to the latest version of AMP. In this example we'll use AMP 5.2.1
Step 2 - Backup your AMP's current data and configuration
Step 3 - Install the CentOS based AMP 5.2.1 ISO
Step 4 - Restore your backup to the new CentOS system

Note that you *must* upgrade to at least AMP 5.2.1 before attempting this migration; migrating earlier versions of AMP may cause unexpected results.

---- PRE-INSTALL ----

The AMP 5.2.1ISO is available for download from http://www.airwave.com/download/AMP-5.2.1.iso

username: your.email.address@yourcompany.com
password: your-AirWave-support-password

Basic instructions for installing AMP are available in the AMP QuickStart Guide at http://www.airwave.com/download/. The QuickStart Guide includes all the information you need in order to get a new CentOS-based AMP installation up and running, including instructions for burning the AMP ISO image to CD.


----- AMP UPGRADE (only for existing AMPs not running 5.2.1) ----

The first step in migrating is to upgrade your AMP if it is not already running AMP version 5.1.0. If you are unsure what your current version of AMP is please check the AMP's Home-->Overview page on the web GUI. To upgrade to AMP 5.2.1:

1. Log in to the AMP server as the root user.

2. Download the AMP upgrade utility:

# cd /root
# wget --http-user='your.email.address@yourcompany.com'
--http-passwd='your-AirWave-support-password' http://www.airwave.com/download/amp_upgrade -O /root/amp_upgrade

3. Run the upgrade utility with the desired version
# /bin/sh amp_upgrade -v 5.2.1 -l your.email.address@yourcompany.com -p your-AirWave-support-password


---- BACKUP AMP Configuration AND Data----

A backup of AMP creates two files; a configuration file and a data file. In almost all cases, you will need just the data backup to completely restore your AMP on the new OS. To copy your data backup from the old AMP to the new AMP we recommend WinSCP (http://winscp.net/).

1. SSH into the AMP, or physically access the AMP terminal and login as root. Run the backup script.

# scripts; ./amp_backup

2. Copy the backup onto another machine using WinSCP. The backups will be stored in /alternative/configbackup.tar.gz and /alternative/databackup.tar.gz.


----- AMP INSTALL ----

Follow the instructions in the AMP Quickstart Guide to install AMP 5.2.1from the CD you burned earlier.

http://www.airwave.com/download/

Installing from the CD will install CentOS 4.2 as your operating system.
(note: the default root password is admin)


---- AMP RESTORE ----

1. Copy the data backup back onto the machine. Where you place the files does not matter. Just make sure you use that path when running the amp_restore script. We will be assuming that you placed it in /tmp.

2. SSH into the AMP, or physically access the AMP terminal and login as root. Run the restore script.

# scripts; ./amp_restore -d /tmp/databackup.tar.gz

3. Open the web GUI in your browser and verify the AMP has restarted with your expected configuration and data. If not, please contact AirWave Support for further assistance.
The migration of AMP to CentOS is fairly straightforward, provided you follow these simple steps:

Step 1 - Upgrade to the latest version of AMP. In this example we'll use AMP 5.2.1
Step 2 - Backup your AMP's current data and configuration
Step 3 - Install the CentOS based AMP 5.2.1 ISO
Step 4 - Restore your backup to the new CentOS system

Note that you *must* upgrade to at least AMP 5.2.1 before attempting this migration; migrating earlier versions of AMP may cause unexpected results.

---- PRE-INSTALL ----

The AMP 5.2.1ISO is available for download from http://www.airwave.com/download/AMP-5.2.1.iso

username: your.email.address@yourcompany.com
password: your-AirWave-support-password

Basic instructions for installing AMP are available in the AMP QuickStart Guide at http://www.airwave.com/download/. The QuickStart Guide includes all the information you need in order to get a new CentOS-based AMP installation up and running, including instructions for burning the AMP ISO image to CD.


----- AMP UPGRADE (only for existing AMPs not running 5.2.1) ----

The first step in migrating is to upgrade your AMP if it is not already running AMP version 5.1.0. If you are unsure what your current version of AMP is please check the AMP's Home-->Overview page on the web GUI. To upgrade to AMP 5.2.1:

1. Log in to the AMP server as the root user.

2. Download the AMP upgrade utility:

# cd /root
# wget --http-user='your.email.address@yourcompany.com'
--http-passwd='your-AirWave-support-password' http://www.airwave.com/download/amp_upgrade -O /root/amp_upgrade

3. Run the upgrade utility with the desired version
# /bin/sh amp_upgrade -v 5.2.1 -l your.email.address@yourcompany.com -p your-AirWave-support-password


---- BACKUP AMP Configuration AND Data----

A backup of AMP creates two files; a configuration file and a data file. In almost all cases, you will need just the data backup to completely restore your AMP on the new OS. To copy your data backup from the old AMP to the new AMP we recommend WinSCP (http://winscp.net/).

1. SSH into the AMP, or physically access the AMP terminal and login as root. Run the backup script.

# scripts; ./amp_backup

2. Copy the backup onto another machine using WinSCP. The backups will be stored in /alternative/configbackup.tar.gz and /alternative/databackup.tar.gz.


----- AMP INSTALL ----

Follow the instructions in the AMP Quickstart Guide to install AMP 5.2.1from the CD you burned earlier.

http://www.airwave.com/download/

Installing from the CD will install CentOS 4.2 as your operating system.
(note: the default root password is admin)


---- AMP RESTORE ----

1. Copy the data backup back onto the machine. Where you place the files does not matter. Just make sure you use that path when running the amp_restore script. We will be assuming that you placed it in /tmp.

2. SSH into the AMP, or physically access the AMP terminal and login as root. Run the restore script.

# scripts; ./amp_restore -d /tmp/databackup.tar.gz

3. Open the web GUI in your browser and verify the AMP has restarted with your expected configuration and data. If not, please contact AirWave Support for further assistance.
The migration of AMP to CentOS is fairly straightforward, provided you follow these simple steps:

Step 1 - Upgrade to the latest version of AMP. In this example we'll use AMP 5.2.1
Step 2 - Backup your AMP's current data and configuration
Step 3 - Install the CentOS based AMP 5.2.1 ISO
Step 4 - Restore your backup to the new CentOS system

Note that you *must* upgrade to at least AMP 5.2.1 before attempting this migration; migrating earlier versions of AMP may cause unexpected results.

---- PRE-INSTALL ----

The AMP 5.2.1ISO is available for download from http://www.airwave.com/download/AMP-5.2.1.iso

username: your.email.address@yourcompany.com
password: your-AirWave-support-password

Basic instructions for installing AMP are available in the AMP QuickStart Guide at http://www.airwave.com/download/. The QuickStart Guide includes all the information you need in order to get a new CentOS-based AMP installation up and running, including instructions for burning the AMP ISO image to CD.


----- AMP UPGRADE (only for existing AMPs not running 5.2.1) ----

The first step in migrating is to upgrade your AMP if it is not already running AMP version 5.1.0. If you are unsure what your current version of AMP is please check the AMP's Home-->Overview page on the web GUI. To upgrade to AMP 5.2.1:

1. Log in to the AMP server as the root user.

2. Download the AMP upgrade utility:

# cd /root
# wget --http-user='your.email.address@yourcompany.com'
--http-passwd='your-AirWave-support-password' http://www.airwave.com/download/amp_upgrade -O /root/amp_upgrade

3. Run the upgrade utility with the desired version
# /bin/sh amp_upgrade -v 5.2.1 -l your.email.address@yourcompany.com -p your-AirWave-support-password


---- BACKUP AMP Configuration AND Data----

A backup of AMP creates two files; a configuration file and a data file. In almost all cases, you will need just the data backup to completely restore your AMP on the new OS. To copy your data backup from the old AMP to the new AMP we recommend WinSCP (http://winscp.net/).

1. SSH into the AMP, or physically access the AMP terminal and login as root. Run the backup script.

# scripts; ./amp_backup

2. Copy the backup onto another machine using WinSCP. The backups will be stored in /alternative/configbackup.tar.gz and /alternative/databackup.tar.gz.


----- AMP INSTALL ----

Follow the instructions in the AMP Quickstart Guide to install AMP 5.2.1from the CD you burned earlier.

http://www.airwave.com/download/

Installing from the CD will install CentOS 4.2 as your operating system.
(note: the default root password is admin)


---- AMP RESTORE ----

1. Copy the data backup back onto the machine. Where you place the files does not matter. Just make sure you use that path when running the amp_restore script. We will be assuming that you placed it in /tmp.

2. SSH into the AMP, or physically access the AMP terminal and login as root. Run the restore script.

# scripts; ./amp_restore -d /tmp/databackup.tar.gz

3. Open the web GUI in your browser and verify the AMP has restarted with your expected configuration and data. If not, please contact AirWave Support for further assistance.

Version history
Revision #:
1 of 1
Last update:
‎06-09-2014 03:32 PM
Updated by:
 
Labels (1)
Contributors
Search Airheads
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.