Sun Management Center Change Manager 1.0 Administration Guide

- Previous: Installing and Configuring the Change Manager Server (Task Map)
- Next: Installing and Configuring the Change Manager Server (Optional Tasks)

# Installing and Configuring the Change Manager Server

Note -

To use the Sun Management Center 3.0 Performance Reporting Manager (PRM) with Change Manager, first install Sun Management Center 3.0 PRM. Installing and configuring PRM is described in the Sun Management Center 3.0 Performance Reporting Manager User's Guide.

To create a Change Manager server, you must first install Sun Management Center 3.0 Update 4 server software. Then, you must install the Change Manager 1.0 server software.

Note -

The following procedures describe how to install the Sun Management Center software and add-on packages that are required by Change Manager.

## How to Install Sun Management Center 3.0 Update 4 Server Software on the Change Manager Server

Before you begin the installation of Change Manager software, see Change Manager Server Requirements to understand the hardware and software requirements for the Change Manager server.

Installing the Sun Management Center server software also installs the Sun Management Center agents.

The following procedure describes the steps for performing the installation from a CD. To perform web installations of the Sun Management Center software, see "To Install the Sun Management Center Packages From the Web in a Solaris Environment"' in Sun Management Center 3.0 Software Installation Guide.

Note -

These instructions describe how to install the Sun Management Center software and add-on packages that are required by Change Manager.

See "Installing the Sun Management Center 3.0 Software" in the Sun Management Center 3.0 Software Installation Guide for instructions on installing Sun Management Center software.

1. Become superuser.

2. Set the `JAVA_HOME` environment variable.

       # JAVA_HOME=/usr/java export JAVA_HOME

3. Disable the SNMP agent to avoid agent port conflict with the Sun Management Center agent.

   See How to Disable the SNMP Daemon to Avoid Port 161 Conflict.

4. Insert the Sun Management Center 3.0 1 of 3 CD into the CD-ROM drive.

   Caution -

   Do not be in the `/cdrom/cdrom0/sbin` directory or in any directory on the CD when you run the `es-inst` command. Running the command in this way causes problems when changing to subsequent Sun Management Center 3.0 CDs, as you cannot unmount an active CD.

5. Run the `/cdrom/cdrom0/sbin/es-inst` command to install the Sun Management Center software.

       # /cdrom/cdrom0/sbin/es-inst

6. Specify the target directory.

   By default, the target directory is `/opt`. To accept the default, press Return.

7. Install the production environment by typing `1` at the prompt.

8. Install the components of the Server Layer.

   1. Type `y` at the Server Layer prompt.

   2. Type `n` at the Agent Layer prompt and the Console Layer prompt.

      Note -

      Installing the Server Layer also installs the Agent Layer.

      The Agent Layer and Console Layer are not required by Change Manager. However, if you type `y` to install these layers, the layers are installed.

      If you plan to use the Change Manager server as a fully functional Sun Management Center server, you must install the agent and console components.

      If the amount of disk space available in `/var/opt/SUNWsymon` is insufficient, you are asked to specify a directory name that has sufficient disk space. Supply the name of a directory in a disk slice that has at least 770 Mbytes of free disk space.

      Packages are installed.

9. Install the Premier Management Applications, the add-on products, and the platform support add-ons.

   1. Type `y` at the Advanced System Monitoring prompt if you want to install it.

      Type `n` if you do not want to install it.

      This product is not required for Change Manager.

   2. Type `y` at the Premier Management Applications prompt.

      This product is required for Change Manager.

   3. Type `y` at any other add-on product prompts to install them.

      Type `n` if you do not want to install the products.

      None of these add-on products are required for Change Manager.

   4. Type `y` at the platform support prompt that matches the hardware of your Change Manager server.

      This product is required for Change Manager.

   5. Type `y` at any other platform support prompts to install support for other hardware.

      Type `n` if you do not want to install the products.

      None of these add-on products are required for Change Manager unless the platform package matches your server type.

10. Press Return at the Premier Management Applications Product license prompt.

    Note -

    You might require product licenses for any add-on products you install to enable them.

11. When prompted, insert the Sun Management Center 3.0 2 of 3 CD into the CD-ROM drive, and press Return.

    Packages are installed.

12. Install the platform package for this system.

    For example, if your system is a NetraTM, install the Netra platform package.

13. When prompted, insert the Sun Management Center 3.0 3 of 3 CD into the CD-ROM drive, and press Return.

    Packages are installed.

14. When all the packages are installed, run the setup by typing `y` at the prompt.

15. When asked about updating the `/etc/system` file with changes required to support the Sun Management Center database, type `y`.

    1. Determine whether you need to install the Sun Management Center 3.0 Update 4 patch that supports Change Manager.

       Change Manager requires patch 110938-06 or later.

       - If Sun Management Center 3.0 Update 4 Patch 6 (110938-06) or later is already installed, type `y` at the prompt to run the setup program.

       - If Sun Management Center 3.0 Update 4 Patch 6 (or later) is not installed, type `n` at the prompt to exit the setup program. To install the patch, see How to Install the Sun Management Center 3.0 Jumbo Patch for Solaris 8 and Solaris 9 on the Change Manager Server.

    2. Reboot the system for the changes to `/etc/system` to take effect.

           # reboot

    3. After the system boots, log in as superuser.

    4. Run the `es-setup` command.

           # /opt/SUNWsymon/sbin/es-setup

16. Create an agent seed to generate keys.

    Note -

    Use the same seed for all the machines you install. Keep a record of this seed for future use.

    For instructions on changing the seed, see How to Regenerate the Security Keys by Changing the Seed.

    1. Type the seed at the first prompt.

       The seed you type is not echoed to the display.

    2. Type the seed at the second prompt to confirm your choice.

    This part of the setup generates security keys that are used for communicating between processes. A seed must be provided to initialize the keys.

17. Designate a user to be the Sun Management Center administrator by typing `root` at the prompt.

18. Specify the base URL to Sun Management Center help.

        Please enter base URL to Sun Management Center help [local]:

    Press Return to use `local` as the location for the help.

19. Determine whether to set up the Sun FireTM (6800/4810/4800/3800) platform administration module.

    - If you do not need this module, type `n`.

    - If you need this module to support your platform, type `y` and provide the requested information.

20. (Optional) If `es-setup` detects that agent port 161 is already in use by SNMP, specify a different port number for the agent by doing the following:

    1. Type `y` at the prompt.

    2. Type a port number from 1100 to 65535 at the prompt (for example, 1161).

       You can disable SNMP and rerun the setup. See How to Disable the SNMP Daemon to Avoid Port 161 Conflict.

21. After the setup is performed for the platform packages you installed, wait for the Sun Management Center database setup to complete.

    This step might take 15 to 20 minutes.

    Caution -

    Avoid interrupting the database setup procedure. Interrupting this procedure might leave the Oracle database in an inconsistent state. When left in such a state, you might need to reboot the system.

22. Start the Sun Management Center agent and server components by typing `y` the prompt.

## How to Install the Sun Management Center 3.0 Jumbo Patch for Solaris 8 and Solaris 9 on the Change Manager Server

The Change Manager software requires that you install version 6 (or later) of the Sun Management Center 3.0 Update 4 software. The Sun Management Center 3.0 Update 4 CDs include version 5 of the patch.

1. Download the latest version of patch 110938 from the SunSolve Web site (`http://sunsolve.Sun.COM`). As of the release of Change Manager 1.0, version 8 of the patch is available on the SunSolve Web site.

   1. Click Patch Finder.

   2. Type `110938-08` in the field and click Find Patch.

   3. Click HTTP to download the patch.

2. Become superuser.

3. Change to the directory where you downloaded the patch.

   The downloaded patch is a ZIP archive file.

4. Use `unzip` to remove the patch files from the ZIP archive.

       # unzip 110938-08.zip
       ...

   The patch directory is in the same directory as the ZIP archive file.

5. Add patch 110938-08 to the server.

       # patchadd 110938-08
       ...

6. Start the `/opt/SUNWsymon/sbin/es-setup` script to complete the server setup.

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

Before you begin the installation of Change Manager software, see Change Manager Server Requirements to understand the hardware and software requirements for the Change Manager server.

Installing the Change Manager server software also installs the agents.

1. Become superuser.

2. Go to the Change Manager download web site.

3. Choose a directory in which to extract the Change Manager software product, and download the Sun Management Center Change Manager 1.0 tar file to that directory.

4. Extract the Change Manager software from the tar file:

        # tar xvf sunmccm1_0.tar
       ...

5. To install Change Manager, type:

       # ./disk1/sbin/cminst

   The `cminst` command installs the Change Manager server and agent packages when it determines that the Sun Management Center server and agent software have been installed on the Change Manager server. See the cminst(1MCM) man page.

   If the appropriate software has not already been installed, you might see the following error messages:

   - If you have not first run the Sun Management Center `es-setup` command before running `cminst`, the following error message appears:

         The system requires the user to run es-setup before installing the
         Change Manager addon. Please run /opt/SUNWsymon/sbin/es-setup to
         setup up the SunMC database before running cminst.

   - If the Solaris Live Upgrade packages have not been installed on your Solaris 8 server before you run `cminst`, the following error message appears:

         Change Manager requires packages SUNWluu SUNWlur
         Please install the these packages before adding
         Change Manager to your system.

   - If the Solaris Live Upgrade packages have not been installed on your Solaris 9 server before you run `cminst`, the following error message appears:

         Change Manager requires packages SUNWnfscu SUNWnfscr SUNWluu
         SUNWlur. Please install the these packages before adding
         Change Manager to your system.

6. Type `y` to set up the Change Manager database.

7. When the Change Manager database is configured, type `/var/opt` at the prompt to specify the directory in which to store the database.

   Type `y` to create the directory if it does not already exist.

   Caution -

   The Change Manager database and repository must be stored on a local disk of the Change Manager server.

8. Create a seed to generate keys.

   Use the same seed that you specified in Step 16 of How to Install Sun Management Center 3.0 Update 4 Server Software on the Change Manager Server.

9. Specify the directory in which to create Change Manager files.

   By default, the directory is `/var/opt`. Press Return to accept the default.

10. Specify whether to restart the Sun Management Center server.

    Type `y` to restart the server.

    If you do not want to restart the server, type `n`.

- Previous: Installing and Configuring the Change Manager Server (Task Map)
- Next: Installing and Configuring the Change Manager Server (Optional Tasks)

- © 2010, Oracle Corporation and/or its affiliates