Sun Management Center 4.0 Installation and Configuration Guide

Reconfiguring Sun Management Center Ports

To reconfigure Sun Management Center ports, use the es-config command.

The following procedures provide examples of how to use the es-config command to reconfigure Sun Management Center port assignments.

ProcedureTo Reconfigure the Agent SNMP Port

  1. Log in as root on the Sun Management Center server-layer machine.

  2. Locate an unused port.

    See To Determine Whether a Port Is Used.

  3. Type /opt/SUNWsymon/sbin/es-config -p agent.

    es-config stops all Sun Management Center processes. The port numbers currently assigned to the Sun Management Center components are then displayed. The port number assigned to the agent is displayed next, and you are prompted to enter the port number.


    # ./es-config -p agent
    Following ports are occupied by Sun Management Center:
    161,162,163,164,165,167,168,166,5600,2099,8080,8443.
    
    Sun Management center agent component is presently using port:161
    Hit RETURN key to continue with present configuration.
    Enter the port number you would like to use for agent component
        [ 1100 to 65535 ]: 
  4. Type the port number that you want to assign, or press Return to use the default 161 port assignment.

    You are asked whether you want to start the Sun Management Center components.

  5. Type y to start the Sun Management Center components, or type n if you do not want to start the components.

ProcedureTo Reconfigure the Server RMI Port Address

  1. Log in as root on the Sun Management Center server-layer machine.

  2. Locate an unused port.

    See To Determine Whether a Port Is Used.

  3. Type /opt/SUNWsymon/sbin/es-config -p rmi.

    es-config stops all Sun Management Center processes. The port numbers currently assigned to the Sun Management Center components are then displayed. The port number assigned to the server is displayed next, and you are prompted to enter the port number. For example:


    # ./es-config -p rmi
    Following ports are occupied by Sun Management Center:
    161,162,163,164,165,167,168,166,5600,2099,8080,8443.
    
    Sun Management center server component is presently using port:2099
    Hit RETURN key to continue with present configuration.
    Enter the port number you would like to use for rmi component 
       [ 1100 to 65535 ]: 
  4. Type the port number that you want to assign, or press Return to use the default port assignment.

    You are asked whether you want to start the Sun Management Center components.

  5. Type y to start the Sun Management Center components, or type n if you do not want to start the components.