Sun Cluster System Administration Guide for Solaris OS

How to Use the Common Agent Container to Change the Port Numbers for Services or Management Agents

If the default port numbers for your common agent container services conflict with other running processes, you can use the cacaoadm command to change the port number of the conflicting service or management agent on each node of the cluster.

  1. On all cluster nodes, stop the common agent container management daemon.


    # /opt/SUNWcacao/bin/cacaoadm stop
    
  2. If you do not know the port number currently used by the common agent container service for which you want to change the port number, use the cacaoadm command with the getparam subcommand to retrieve the port number.


    # /opt/SUNWcacao/bin/cacaoadm getparam parameterName
    

    You can use the cacaoadm command to change the port numbers for the following common agent container services. The following list provides some examples of services and agents that can be managed by the common agent container, along with corresponding parameter names.

    JMX connector port

    jmxmp.connector.port

    SNMP port

    snmp.adaptor.port

    SNMP trap port

    snmp.adaptor.trap.port

    Command stream port

    commandstream.adaptor.port

  3. To change a port number, use the cacaoadm command with the setparam subcommand and the parameter name.


    # /opt/SUNWcacao/bin/cacaoadm setparam parameterName=parameterValue
    
  4. Repeat Step 3 on each node of the cluster.

  5. Restart the common agent container management daemon on all cluster nodes.


    # /opt/SUNWcacao/bin/cacaoadm start