You can change the default ports for the RMI registry service, desktop message server, broker message server, and certificate management server.

The RMI service ports are defined in the msgserver.properties file on the vRealize Operations Manager node where the Horizon Adapter instance is running. You can modify the value of the corresponding properties to change the RMI service ports.

Table 1. RMI Service Port Properties

RMI Service

Property Name

RMI registry

registry-port

Desktop message server

desktop-port

Certificate management server

certificate-port

Broker message server

broker-port

Procedure

  1. Open the /usr/lib/vmware-vcops/user/plugins/inbound/V4V_adapter3/work/msgserver.properties file on the node where the Horizon Adapter instance is running.
  2. Modify the values of the properties corresponding to the RMI service ports that you want to change.
  3. Open the /opt/vmware/etc/vmware-vcops-firewall.conf file and locate the following command:
    # V4V Adapter specific ports
    TCPPORTS="$TCPPORTS 3091:3101"
  4. Change 3091:3101 to the ports or port range that you specified in the msgserver.properties file.
  5. Restart the firewall.
    /etc/init.d/vmware-vcops-firewall restart