Friday, September 17, 2010
veritas: Displaying and changing the ports used by VVR
Use the vrport command to display, change or set the port numbers used by VVR. You may have to change the port numbers in the following cases:
- To resolve a port number conflict with other applications.
- To configure VVR to work in your firewall environment.
- To configure VVR to work in your firewall environment when using UDP; to specify a restricted number of ports to replicate data between the Primary and the Secondary.
Port Used For Heartbeats
Use the vrport heartbeat command to display the port number used by VVR, for heartbeats. To change the heartbeat port number on a host, specify the port number with the vrport heartbeat command.
Use the vradmin changeip command to update the RLINKs with the new port information, and then restart the vxnetd daemon on the required system for the changes to take effect.
To display the port number used for heartbeats
# vrport heartbeat
To change the port number used for heartbeats
# vrport heartbeat port
This example shows how to change the replication heartbeat port on the host1. Follow the same steps to change the heartbeat port on secondary (host2).
3. Verify the changes to the local RLINK by issuing the following command on the required host:
4. Stop the vxnetd daemon.
5. Restart the vxnetd daemon.
Note:
|
To change the replication heartbeat port on host1 from 4145 to 5000
1. Use the vrport command to change the heartbeat port to 5000 on the required host.
2. Issue the vradmin changeip command without the newpri and newsec attributes.
1. Use the vrport command to change the heartbeat port to 5000 on the required host.
# vrport heartbeat 5000
2. Issue the vradmin changeip command without the newpri and newsec attributes.
# vradmin -g hrdg changeip hr_rvg host2
3. Verify the changes to the local RLINK by issuing the following command on the required host:
# vxprint -g hrdg -l rlk_host2_hr_rvg
4. Stop the vxnetd daemon.
# /usr/sbin/vxnetd stop
5. Restart the vxnetd daemon.
# /usr/sbin/vxnetd
Port Used By vramind
To display the port number used by vradmind, use the vrport vradmind command. To change the vradmind port, specify the port number with the vrport vradmind command.
To display the port number used by vradmind
To change the port number used by vradmind
To display the port number used by vradmind, use the vrport vradmind command. To change the vradmind port, specify the port number with the vrport vradmind command.
To display the port number used by vradmind
# vrport vradmind
To change the port number used by vradmind
# vrport vradmind port
Port Used by in.vxrysyncd
To display the port numbers used by in.vxrsyncd, use the vrport vxrsyncd command. To change the port numbers used by in.vxrsyncd, specify the port number with the vrport vxrsyncd command.
To display the port number used by in.vxrsyncd
To change the port number used by in.vxrsyncd
To display the port numbers used by in.vxrsyncd, use the vrport vxrsyncd command. To change the port numbers used by in.vxrsyncd, specify the port number with the vrport vxrsyncd command.
To display the port number used by in.vxrsyncd
# vrport vxrsyncd
To change the port number used by in.vxrsyncd
# vrport vxrsyncd port
To display the ports used to replicate data when using UDP, use the vrport data command. To change the ports used to replicate data when using UDP, specify the list of port numbers to use with the vrport data command.
Each RLINK requires one UDP port for replication. Specify an unused, reserved port number that is less than 32768 so that there is no port conflict with other applications. The number of ports specified must be equal to or greater than the number of RLINKs on the system.
Note:
|
To change ports used to replicate data when using UDP
For a system configured with multiple RLINKs, you can specify either a range of port numbers or a list of port numbers or both.
To specify a range of port numbers, use the following command:
# vrport data port1, port2, portlow-porthigh, ....
Note:
|
No comments:
Post a Comment