Data Migration Guide for LAN Management Solution 3.1
Chapter 3: Migrating Data to LAN Management Solution 3.1 on Windows

Table Of Contents

Migrating Data to LAN Management Solution 3.1 on Windows

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 CS, CiscoWorks Assistant, RME, CM, DFM, IPM, HUM, Portal and CV


Migrating Data to LAN Management Solution 3.1 on Windows


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

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 3-1 shows the migration of data from LMS 2.6 to LMS 3.1.

Figure 3-1 Migrating Data from LMS 2.6 to LMS 3.1

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

Figure 3-2 Migration of data from LMS 2.6 SP1 to LMS 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, 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 C:\, enter the path as NMSROOT\bin\perl NMSROOT\bin\restorebackup.pl -d C:\BKP.

Before upgrading LMS, make sure to upgrade to the supported version of the OS.

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

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

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 administrator into Machine A.

Step 2 From LMS 3.1 DVD, locate the WindowsLMSBackup.tar file under disk 1/install directory.

Step 3 Copy the file (WindowsLMSBackup.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 are about 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 C:\, enter the path as NMSROOT\bin\perl wrapper.pl C:\BKP.

Step 6 Log in as administrator into Machine B.

Step 7 Install LMS 3.1.

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

Step 9 Stop the daemon manager by entering:

net stop crmdmgtd

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 enter the absolute path for BKP. For example, if BKP is under C:\, enter the path as NMSROOT\bin\perl NMSROOT\bin\restorebackup.pl -d C:\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:

NMSROOT\log\restorebackup.log

NMSROOT\log\migration.log

NMSROOT\log\rme_base.log

NMSROOT\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:

net start crmdmgtd


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 to LMS 3.1.

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 3-3 shows the migration of data from LMS 3.0 to LMS 3.1.

Figure 3-3 Migrating Data from LMS 3.0 to 3.1

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

Figure 3-4 Migrating 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 CS, CiscoWorks Assistant, RME, CM, IPM, DFM, HUM, CV, and Portal are automatically migrated during installation.

For details on Supported OS, see the Installing and Getting Started with CiscoWorks LAN Management Solution 3.1 Guide 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 remote migration of data from LMS 3.0 or LMS 3.0 December 2007 Update.

This section explains the procedure of Migrating Data for CS, CiscoWorks Assistant, 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 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, CiscoWorks Assistant, RME, CM, DFM, IPM, HUM, Portal and CV

To migrate data to a remote machine:


Step 1 Log in as administrator into Machine A.

Step 2 Back up CS, CiscoWorks Assistant, 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 C:\, enter the path as NMSROOT\bin\perl NMSROOT\bin\backup.pl C:\BKP.

Step 3 Log in as administrator into Machine B.

Step 4 Install LMS 3.1.

Step 5 Copy the backup directory BKP that contains the CS, CiscoWorks Assistant, 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 -r -p source destination.


Step 6 Stop the daemon manager by entering:

net stop crmdmgtd

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 C:\, enter the path as NMSROOT\bin\perl NMSROOT\bin\restorebackup.pl -d C:\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:

NMSROOT\log\restorebackup.log

NMSROOT\log\migration.log

NMSROOT\log\rme_base.log

NMSROOT\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:

net start crmdmgtd