Sun Cluster System Administration Guide for Solaris OS

ProcedureHow 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/bin/cacaoadm stop
    
  2. Stop Sun Java Web Console.


    # /usr/sbin/smcwebserver stop
    
  3. Retrieve the port number currently used by the common agent container service with the get-param subcommand.


    # /opt/bin/cacaoadm get-param 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

  4. Change a port number.


    # /opt/bin/cacaoadm set-param parameterName=parameterValue
    =parameterValue
    
  5. Repeat Step 4 on each node of the cluster.

  6. Restart Sun Java Web Console.


    # /usr/sbin/smcwebserver start
    
  7. Restart the common agent container management daemon on all cluster nodes.


    # /opt/bin/cacaoadm start