Sun Management Center 4.0 Installation and Configuration Guide

Server Configuration

When installed on a system with multiple IP interfaces, the Sun Management Center 4.0 server is configured, by default, to support all agents on all of the IP interfaces.

The esmultiip command enables you to list, remove, or add an IP interface. The syntax of the esmultiip command is as follows:

esmultiip [-lh] | [ < -a | -d > Host-IP ]

The following table describes the esmultiip command parameters.

Table 6–2 esmultiip options

Option 

Modifying Options 

Definition 

 

 

Enable the multi-IP feature on the Sun Management Center server if more than one IP interface is present. 

-h

 

List the options for esmultiip

-l

 

List all of the active IP interfaces of the Sun Management Center server 

-a

Host-IP

Add the host name corresponding to the IP address Host-IP to the list of active server IP interfaces

-d

Host_IP

Remove the host name corresponding to the IP address Host-IP from the list of active server IP interfaces


Note –

The following procedures assume that the Sun Management Center server has been installed on the multi-IP machine in the directory /opt. If you installed the agent in a different directory, replace /opt with the name of the directory that you specified.


ProcedureTo Add an IP Interface to the Sun Management Center Server

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

  2. List the current Sun Management Center active IP interfaces.

    Type the command /opt/SUNWsymon/sbin/esmultiip -l. For example:


    # /opt/SUNWsymon/sbin/esmultiip -l
    Multi IP configured with active interfaces "10.1.2.111"
  3. List all IP interfaces on the machine.

    Type the command ifconfig -a. For example:


    # ifconfig -a
    lo0: flags=1000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4> mtu 8232 index 1
            inet 127.0.0.1 netmask ff000000 
    hme0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
            inet 10.1.2.111 netmask ffffff00 broadcast 10.1.2.255
            ether 8:0:20:a8:7a:c9 
    hme1: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 3
            inet 129.1.2.222 netmask ffffff00 broadcast 129.199.199.255
            ether 8:0:20:a8:7a:c9 

    As shown by the above examples, only IP interface hme0 at IP address 10.1.2.111 is being used by the Sun Management Center server.

  4. Add an IP interface.

    Assume that you want to add the IP interface hme1 at IP address 129.1.2.222. You would then type the command /opt/SUNWsymon/sbin/esmultiip -a 129.1.2.222.

    The IP interface is added to the list of active Sun Management Center server interfaces.

ProcedureTo Remove an IP Interface From the Sun Management Center Server

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

  2. List the current Sun Management Center active IP interfaces.

    Type the command /opt/SUNWsymon/sbin/esmultiip -l. For example:


    # /opt/SUNWsymon/sbin/esmultiip -l
    Multi IP configured with active interfaces "10.1.2.111 129.1.2.222"
  3. Remove an IP interface.

    Assume that you want to remove the IP interface hme1 at IP address 129.1.2.222. You would then type the command /opt/SUNWsymon/sbin/esmultiip -d 129.1.2.222.

    The IP interface is removed from the list of active Sun Management Center server interfaces.