Displaying or setting ports for replicating data

Use the vrport data command to display the ports that are used to replicate data from Primary to Secondary. This command displays both the TCP or UDP ports depending on what has been specified. To change the ports that are used to replicate data, specify the list of port numbers to use with the vrport data command.

Each RLINK requires one UDP port for UDP communication and a TCP+UDP port for TCP replication. Make sure that you specify an unused, reserved port number so that there is no port conflict with other applications. The number of ports that are specified must be equal to or greater than the number of RLINKs on the system.

To display the ports that are used to replicate data:

vrport data

To change the ports that are used to replicate data:

vrport data <portlow>-<porthigh>

To change the port numbers you need to specify a range of values. After you have changed the data port the new value is immediately reflected in the output of the vrport command. Run the vrport data command after changing the value to verify that the port number has changed. RLINKs must be disconnected and connected for these port numbers to get reflected. To disconnect and connect the RLINKs, use the Pause and Resume replication feature of Volume Replicator.

In case of multiple TCP connection, if tcp_src_port_restrict tunable is set to False, these data ports do not work. This tunable must be set to True for the data port values to get reflected.

More Information

Pausing replication using Volume Replicator