Guest

CiscoWorks Common Services Software

CiscoWorks: Move User Accounts From One Server To Another

Document ID: 71782

Updated: Nov 02, 2006

   Print

Introduction

This document provides procedures to export CiscoWorks user accounts from one server that runs Common Service version 3.0.x to another server that runs Common Service version 3.0.x.

Prerequisites

Requirements

There are no specific requirements for this document.

Components Used

The information in this document is based on the CiscoWorks with Common Services 3.0 and the subsequent service packs 1 through 5 on Solaris 2.8/2.9 and Windows 2000/2003 only. Check the install guide for the hardware requirements.

Note: You must be logged in as root on Solaris and Administrator on Windows 2000/2003 in order to use these procedures.

Conventions

Refer to Cisco Technical Tips Conventions for more information on document conventions.

Procedure for Solaris 2.8/2.9

Complete these steps:

  1. Go to the /opt/CSCOpx/lib/classpath/com/cisco/nm/cmf/servlet directory.

    Note: /opt/CSCOpx is the default install location for CiscoWorks.

    The cwpass file that is located in this directory contains the user information and passwords. Issue this command in order to view this information:

    #more cwpass
     version=1
    	admin:0DPiKuNIrrVmD8IUCuw1hQxNqZc=::::F::
    	guest:NWdeaPS1r3uZXZIFrQ/EOELxZFA=::::0::
  2. Issue this command in order to view the file permissions and the owner on the cwpass file:

    # ls -l cwpass
    -rw-r-----   1 casuser  casusers      94 Sep 26 11:11 cwpass
  3. Copy this file to the CiscoWorks server to which you want to move the user accounts. Copy it to the same directory as in step 1, with the same permissions as in step 2.

  4. Issue these commands on the server to which you have copied the cwpass file:

    #/etc/init.d/dmgtd stop
    
    #/etc/init.d/dmgtd start
    
  5. Login to the CiscoWorks server as admin and choose Server > Security > Local User Setup in order to check the user information and verify that the user accounts are updated or moved successfully.

Procedure for Windows 2000/2003

Complete these steps:

  1. Go to the NMSROOT\lib\classpath\com\cisco\nm\cmf\servlet directory.

    NMSROOT is the install location of the CiscoWorks server. The default install location in Windows is C:\Program Files\CSCOpx.

  2. Copy the cwpass file to the CiscoWorks server to which you want to move the user accounts. Copy it to the same directory as in step 1.

  3. Make sure that the file permissions and owner remains the same as the original one.

    1. On Windows 2000/2003, right-click the cwpass file and choose Properties from the menu.

    2. Go to the Security tab. This information appears:

      • Administrators (servername\Administrators)—The Allow box is checked for Full Control, Modify, Read & Execute, Read, and Write.

      • casusers (servername\casusers)—Same as for Administrators.

  4. Open a DOS window and issue the net stop crmdmgtd command in order to stop the CiscoWorks Daemon Manager processes.

  5. Issue the net start crmdmgtd command in order to start the CiscoWorks Daemon Manager processes.

  6. Login to CiscoWorks as admin and choose Server > Security > Local User Setup in order to check the user information and verify that the user accounts have been updated or moved successfully.

    Note: The copied cwpass file should contain the System Identity User of the target system with full privileges.

Related Information

Updated: Nov 02, 2006
Document ID: 71782