Displaying or setting ports for vxrsyncd

The vrport vxrsyncd command enables you to display or change the port numbers depending on whether you use it with the port parameter. For vxrsyncd, this command sets the default TCP port that the vxrsync server uses.

To display the default TCP port number that vxrsyncd uses, use the command

vrport vxrsyncd

To change the default TCP port number that vxrsyncd uses for replicating between the Primary and Secondary, use the command

vrport vxrsyncd port

To change the current TCP port number used by vxrsyncd from 4545 to 4646:

  1. Use the vrport command to change the vxrsyncd port to 4646 on the required host.
    vrport vxrsyncd 4646
  2. The changes are displayed immediately by the vrport vxrsyncd command, however, you must restart the system on which you have changed the heartbeat port for the changes to take effect.