Sun Management Center 4.0 Installation and Configuration Guide

ProcedureTo Configure the Sun Management Center Agent on a Multi-IP Machine

  1. Log in as root on the multi-IP agent machine.

  2. Determine which IP address the agent is using.

    Type the command uname -n to display the machine name.


    # uname -n
    u60-01

    The agent is configured to run on the IP address corresponding to the machine name reported by uname -n. In this example, the agent is configured to run on the IP interface assigned to machine name u60–01.

  3. Determine the IP interface addresses.

    Type the command cat /etc/hosts to display the machine name assigned to each IP interface.

    For example:


    # uname -n
    u60-01
    # cat /etc/hosts
    127.0.0.1       localhost
    10.1.2.111      u60-01      loghost
    10.2.3.222      u60-01-ip2

    In the above examples, uname-n showed u60–01, and u60–01 is assigned to the IP interface 10.1.2.111.

    If you want to configure the Sun Management Center agent to run on a different IP interface, reassign the agent to use the required IP interface as described in the following steps.

  4. Stop the agent if it is running.

    Type the command /opt/SUNWsymon/sbin/es-stop -A.

    All Sun Management Center processes are stopped.

  5. Change the machine name to the name assigned to the appropriate interface.

    Assume that the agent uses IP interface 10.1.2.111, which is named u60–01. Also assume you want to reassign the agent to use IP interface 10.2.3.222, which is named u60–01-ip2.

    You would then reassign to agent to IP interface 10.2.3.222 by typing the command uname -S u60–01–ip2.

  6. Set up the agent.

    You must set up the agent again to enable the agent to use the new IP interface assignment.

    Type the command /opt/SUNWsymon/sbin/es-setup -F.

    You are prompted for the security key seed.

    1. Specify the Sun Management Center security key.

      Type the same security seed password that you provided during Sun Management Center setup in Setting Up Sun Management Center, Step b. Type the password again to confirm.

      You are prompted for the SNMPv1 community string.

    2. Specify the SNMPv1 community string.

      Type the same community string that you provided during Sun Management Center setup in Setting Up Sun Management Center, Step c. If you used the default value public, press Return.

      You are informed that server-host-name appears to be configured as your Sun Management Center server, where server-host-name is the name of the machine where the server was installed.

      • If the displayed server name is correct, type y.

      • If the displayed server name is not correct, type n. You are prompted to provide the Sun Management Center host name.

        Type the name of the machine where the server is installed.

      The agent is set up to use the new IP address.


      Note –

      If you installed any add-on agent components, you might be asked to set up the add-on components as well.


    Agent configuration is now complete, and you can restart the agent.

  7. Restart the agent.

    Type the command /opt/SUNWsymon/sbin/es-start -A.