Sun Management Center Change Manager 1.0 Administration Guide

- Previous: Installing and Configuring the Change Manager Server
- Next: Configuring the Change Manager Server by Using the ichange.cfg File

# Installing and Configuring the Change Manager Server (Optional Tasks)

## How to Disable the SNMP Daemon to Avoid Port 161 Conflict

The Sun Management Center agent and the `snmpdx` agent both try to use port 161. To use port 161 for Sun Management Center agents, disable `snmpdx`.

1. Become superuser.

2. Stop `snmpdx`.

       # /etc/init.d/init.snmpdx stop

3. Prevent `snmpdx` from running in future.

       # cd /etc/snmp/conf
       # mv snmpdx.rsrc snmpdx.rsrc.stop

## How to Start the Web Server on the Change Manager Server

The web server should start automatically. Should you need to start the web server manually, follow this procedure.

1. Become superuser.

2. Start the web server.

       # /usr/sadm/bin/smcwebserver start

   Now, you can access the Change Manger browser interface. For details, see How to Log In to the Change Manager Server (Web Browser).

## How to Uninstall Change Manager Server Software From the Change Manager Server

The `cmuninst` command uninstalls the Sun Management Center Web Console packages and the Change Manager server and agent packages. The Change Manager database and Change Manager repository are not removed.

1. Become superuser.

2. Go to the directory where you extracted the Change Manager 1.0 product tar file.

3. Uninstall the Change Manager database and software by typing:

       # ./disk1/sbin/cmuninst

   See the cminst(1MCM) man page for details.

4. Determine whether you want to preserve the Change Manager database.

   - If you type `n`, the database is removed.

   - If you type `y`, the database is preserved.

5. Determine whether you want to remove the Change Manager server software.

   - If you type `y`, the packages are removed.

   - If you type `n`, the packages are preserved.

6. Determine whether you want to restart the Sun Management Center agent and server components.

   - If you type `y`, the server is restarted and `cmuninst` exits.

   - If you type `n`, `cmuninst` exits.

## How to Reinstall Change Manager Server Software on the Change Manager Server

To reinstall the Change Manager server software, you must have already run the `cmuninst` command. See How to Uninstall Change Manager Server Software From the Change Manager Server.

Reinstalling the Change Manager server software also reinstalls the agents.

1. Become superuser.

2. Insert the Sun Management Center Change Manager 1.0 CD into the CD-ROM drive.

3. Run the `/cdrom/cdrom0/sbin/cminst` command to install the Sun Management Center Change Manager server software.

       # /cdrom/cdrom0/sbin/cminst

   See the cminst(1MCM) man page.

4. `cminst` finds an existing Change Manager database and repository.

   - If you want to continue to use the Change Manager data, type `n`.

   - If you want to restore the database to factory settings and discard the existing Change Manager data, type `y`.

   You are asked to give the name of the directory that contains the database and repository.

   Be sure that the directory has at least 500 Mbytes of available disk space.

## How to Regenerate the Security Keys by Changing the Seed

You might want to change the security keys periodically or change the security keys when they have been compromised. See the Sun Management Center 3.0 Software User's Guide for more information.

This process requires you to make manual changes on the Change Manager server and on each managed host controlled by that server.

1. Choose a new seed.

2. Update the seed on the Change Manager server.

   1. Become superuser on the Change Manager server.

   2. Set the new seed:

          # /opt/SUNWsymon/sbin/es_run base-usm-seed.sh -s new_seed -u public

   3. Update the value of `agentseed` in the `/var/opt/SUNWsymon/cfg/ichange.cfg` file to match the new seed.

   4. Restart the Sun Management Center server on the Change Manager server:

          # /opt/SUNWsymon/sbin/es-restart -A

3. Update the seed on each managed host.

   1. Become superuser on the managed host.

   2. Set the new seed:

          # /opt/SUNWsymon/sbin/es_run base-usm-seed.sh -s new_seed -c agent -u public

   3. Restart the Sun Management Center agent on the managed host:

          # /opt/SUNWsymon/sbin/es-restart -A

- Previous: Installing and Configuring the Change Manager Server
- Next: Configuring the Change Manager Server by Using the ichange.cfg File

- © 2010, Oracle Corporation and/or its affiliates