Displaying or setting ports for vradmind

The vrport vradmind command enables you to display or change the port numbers depending on whether you use it with the port parameter. For vradmind this command sets only the TCP port, as the vradmind uses the TCP port for replicating between the Primary and Secondary.

To display the current TCP port number that vradmind uses, use the command

vrport vradmind

To change the port number that vradmind uses for communication between the Primary and Secondary, use the command

vrport vradmind port

Note:

After changing the vradmind port restart the Veritas Storage Agent Service (vxsvc).

To change the current TCP port number used by vradmind from the default value 4545 to 4646:

  1. Use the vrport command to change the vradmind port to 4646 on the required host.
    vrport vradmind 4646
  2. Restart the vxsvc service using the command
    net stop vxsvc
    fnet start vxsvc
  3. Run the vrport vradmin command. The command displays the new port value for vradmind.

    Make sure that you perform these steps on the corresponding Secondary host to ensure that both hosts use the same port.