What is the default protocol for data replication and how can it be changed?

Article:TECH10902  |  Created: 2001-01-04  |  Updated: 2002-01-05  |  Article URL http://www.symantec.com/docs/TECH10902
Article Type
Technical Solution

Environment

Issue



What is the default protocol for data replication and how can it be changed?

Solution



The default protocol is user datagram protocol (UDP) for the data replication.

NOTE: Heartbeat communication uses UDP irrespective of transport used for data replication.  Also, in versions prior to 3.2, the data replication was done with UDP only.

To choose the protocol, assign either "1" or "2" to the symbol "vol_vvr_transport" in /etc/system.

  • For transmission control protocol (TCP)
set vxio:vol_vvr_transport=2
  • For UDP
set vxio:vol_vvr_transport=1
and reboot the system.

The same protocol needs to be used on both the primary server and the secondary server.  If it is not set the same, then the Rlink will not connect.

To determine which transport protocol is currently used for replication use:

        vxprint -Pl

For example,

    # vxprint -Pl
    Disk group: rootdg

    Rlink:    rlk_stoli_rvg01
    info:    timeout=500 packet_size=8400 rid=0.1057
              latency_high_mark=10000 latency_low_mark=9950
    state:    state=ACTIVE
              synchronous=off latencyprot=off srlprot=off
    assoc:    rvg=rvg01
              remote_host=stoli IP_addr=10.133.17.24 port=1710
              remote_dg=rootdg
              remote_dg_dgid=989257449.1025.stoli.veritas.com
              remote_rlink=rlk_bert_rvg01
              remote_rlink_rid=0.1415
              local_host=bert IP_addr=10.133.19.17 port=1710
    protocol: tcp/ip
    flags:    write enabled attached consistent disconnected

NOTE: In VERITAS Volume Replicator 3.5, the change is made to the /kernel/drv/vxio.conf file.


Legacy ID



236370


Article URL http://www.symantec.com/docs/TECH10902


Terms of use for this information are found in Legal Notices