Data Migration Guide for LAN Management Solution 3.1
Chapter 2: Migrating Data to LAN Management Solution 3.1 on Solaris

Table Of Contents

Migrating Data to LAN Management Solution 3.1 on Solaris

Migrating Data From LMS 2.6 or 2.6 SP1

Local Migration From LMS 2.6 or 2.6 SP1

Remote Migration From LMS 2.6 or 2.6 SP1

Migrating Data for CS, RME, CM, DFM, IPM and CV

Migrating Data From LMS 3.0 or LMS 3.0 December 2007 Update

Local Migration From LMS 3.0 or LMS 3.0 December 2007 Update

Remote Migration From LMS 3.0 or LMS 3.0 December 2007 Update

Migrating Data for CiscoWorks Assistant, CS, RME, CM, DFM, IPM, HUM, Portal and CV


Migrating Data to LAN Management Solution 3.1 on Solaris


This chapter describes how to migrate data to CiscoWorks LAN Management Solution (LMS) 3.1 on Solaris.

This chapter has the following sections:

Migrating Data From LMS 2.6 or 2.6 SP1

Migrating Data From LMS 3.0 or LMS 3.0 December 2007 Update

Migrating Data From LMS 2.6 or 2.6 SP1

This section explains how to migrate data from LMS 2.6 or 2.6 SP1 to LMS 3.1.

You can migrate to LMS 3.1 in two ways:

Local Migration From LMS 2.6 or 2.6 SP1

Remote Migration From LMS 2.6 or 2.6 SP1

Figure 2-1 shows the migration of data from LMS 2.6 to LM S 3.1.

Figure 2-1 Migration of data from LMS 2.6 to LMS 3.1

Figure 2-2 shows the migration of data from LMS 2.6 SP1 to LMS 3.1

Figure 2-2 Migrating data from 2.6 SP1 to 3.1

Local Migration From LMS 2.6 or 2.6 SP1

Install LMS 3.1 over LMS 2.6 or 2.6 SP1. The data for CS, RME, CM, DFM, and CV is automatically migrated during installation.

For IPM, run the following command:

NMSROOT/bin/perl NMSROOT/bin/restorebackup.pl -d BKP [-t temporary_directory]

where BKP is the backup directory. It is created either by running the wrapper.pl or during inline upgrade.

You must enter the absolute path for BKP. For example, if BKP is under /opt, enter the path as NMSROOT/bin/perl NMSROOT/bin/restorebackup.pl -d /opt/BKP.

For details on installing LMS 3.1, see the Installing and Getting Started with CiscoWorks LAN Management Solution 3.1.

Remote Migration From LMS 2.6 or 2.6 SP1

This section explains the procedure of Migrating Data for CS, RME, CM, DFM, IPM and CV to a remote machine.

In this section, the machine that has LMS 2.6 or 2.6 SP1 data is referred to as Machine A and the remote machine where you need to install LMS 3.1 and restore the data, is referred to as Machine B.

Migrating Data for CS, RME, CM, DFM, IPM and CV

To migrate data to a remote machine:


Step 1 Log in as root into Machine A.

Step 2 From the LMS 3.1 DVD, locate the SolarisLMSBackup.tar file under disk1/install directory.

Step 3 Copy the file (SolarisLMSBackup.tar) to a directory (dir1) in the local server.

The tar file contains wrapper.pl and other required files.

Step 4 Untar the file to get wrapper.pl


Note If you need to backup DFM 2.0.10, install DFM 2.0.11 before taking the backup. If not, the backup will fail.


Step 5 Back up CS, RME, CM, IPM, DFM, and CV data.

To do this using CLI, go to the location of wrapper.pl and enter the following command:

NMSROOT/bin/perl wrapper.pl BKP

where BKP is the backup directory.

For example, if BKP is under /opt, enter the path as NMSROOT/bin/perl wrapper.pl /opt/BKP.

Step 6 Log in as root into Machine B.

Step 7 Install LMS 3.1.

Step 8 Copy the backup directory BKP that contains the CS, RME, CM, IPM, DFM, and CV data from Machine A to any temporary location.


Note You can preserve the time stamp of the files by entering the option -p with the copy command: cp -rp source destination.


Step 9 Stop the daemon manager by entering:

/etc/init.d/dmgtd stop

Step 10 Restore the backed up data by entering:

NMSROOT/bin/perl NMSROOT/bin/restorebackup.pl -d BKP [-t temporary_directory]

where BKP is the backup directory.

You must give the absolute path for BKP. For example, if BKP is under /opt, give the path as NMSROOT/bin/perl NMSROOT/bin/restorebackup.pl -d /opt/BKP.

For more details, see Syntax and Usage for Restore Script.

The application list in the backed up data should exactly match the application list in the machine where it is restored. If there is a difference then the behavior of the applications after upgrade will be unpredictable.

For more information, see Notes for Remote Migration.

Step 11 Examine the log files in the following location to verify that the data was restored. The files are:

/var/adm/CSCOpx/log/restorebackup.log

/var/adm/CSCOpx/log/migration.log

/var/adm/CSCOpx/log/rme_base.log

/var/adm/CSCOpx/log/ipm_base.log


Note The migration.log will be created only when either RME or IPM is migrated. However, the rme_base.log and ipm_base.log are created only when RME and IPM are migrated.


Step 12 Start the daemon manager by entering:

/etc/init.d/dmgtd start


Migrating Data From LMS 3.0 or LMS 3.0 December 2007 Update

This section explains how to migrate data from LMS 3.0 or LMS 3.0 December 2007 Update

You can migrate to LMS 3.1 in two ways:

Local Migration From LMS 3.0 or LMS 3.0 December 2007 Update

Remote Migration From LMS 3.0 or LMS 3.0 December 2007 Update

Figure 2-3 shows the migration of data from LMS 3.0 to LMS 3.1.

Figure 2-3 Migrating data from LMS 3.0 to LMS 3.1

Figure 2-4 shows the migration of data from LMS 3.0 December 2007 Update to LMS 3.1.

Figure 2-4 Migration of data from LMS 3.0 December 2007 Update to LMS 3.1

Local Migration From LMS 3.0 or LMS 3.0 December 2007 Update

Install LMS 3.1 over LMS 3.0 or LMS 3.0 December 2007 Update. The data for CiscoWorks Assistant, CS, RME, CM, DFM, IPM, HUM, Portal and CV is automatically migrated during installation.

For details on installing LMS 3.1, see the Installing and Getting Started with CiscoWorks LAN Management Solution 3.1 at this location:

http://www.cisco.com/en/US/products/sw/cscowork/ps2425/prod_installation_guides_list.html

Remote Migration From LMS 3.0 or LMS 3.0 December 2007 Update

This section explains the procedure of Migrating Data for CiscoWorks Assistant, CS, RME, CM, DFM, IPM, HUM, Portal and CV to a remote machine.

In this section, the machine that has LMS 3.0 or LMS 3.0 December 2007 Update is referred to as Machine A and the remote machine where you need to install LMS 3.1 and restore the data, is referred to as Machine B.

Migrating Data for CiscoWorks Assistant, CS, RME, CM, DFM, IPM, HUM, Portal and CV

To migrate data to a remote machine:


Step 1 Log in as root into Machine A.

Step 2 Back up CiscoWorks Assistant, CS, RME, CM, DFM, IPM, HUM, Portal, and CV data.

To do this using CLI, enter the following command:

NMSROOT/bin/perl NMSROOT/bin/backup.pl BKP

where BKP is the backup directory.

You must enter the absolute path for BKP. For example, if BKP is under /opt, give the path as NMSROOT/bin/perl NMSROOT/bin/backup.pl /opt/BKP

Step 3 Log in as root into Machine B.

Step 4 Install LMS 3.1.

Step 5 Copy the backup directory BKP that contains the CiscoWorks Assistant, CS, RME, CM, DFM, IPM, HUM, Portal and CV data from Machine A to any temporary location.


Note You can preserve the time stamp of the files by entering the option -p with the copy command: cp -rp source destination.


Step 6 Stop the daemon manager by entering:

/etc/init.d/dmgtd stop

Step 7 Restore the backed up data by entering:

NMSROOT/bin/perl NMSROOT/bin/restorebackup.pl -d BKP [-t temporary_directory]

where BKP is the backup directory.

You must enter the absolute path for BKP. For example, if BKP is under /opt, give the path as NMSROOT/bin/perl NMSROOT/bin/restorebackup.pl -d /opt/BKP.

For more details, see Syntax and Usage for Restore Script.

The application list in the backed up data should exactly match the application list in the machine where it is restored. If there is a difference then the behavior of the applications after upgrade will be unpredictable.

For more information, see Notes for Remote Migration.

Step 8 Examine the log files in the following location to verify that the data was restored. The files are:

/var/adm/CSCOpx/log/restorebackup.log

/var/adm/CSCOpx/log/migration.log

/var/adm/CSCOpx/log/rme_base.log

/var/adm/CSCOpx/log/ipm_base.log


Note The migration.log will be created only when either RME or IPM is migrated. However, the rme_base.log and ipm_base.log are created only when RME and IPM are migrated.


Step 9 Start the daemon manager by entering:

/etc/init.d/dmgtd start