Setting the bandwidth limit for a Secondary

Use the bandwidth_limit attribute of the vradmin set command to set the limit on the network bandwidth used to replicate from the Primary to the Secondary. If bandwidth_limit is set to none, then VVR uses the available network bandwidth. The default value is none. To limit the network bandwidth used by VVR when synchronizing volumes that are not part of an RDS, use the bandwidth_limit attribute of the vradmin syncvol command.

See Controlling the network bandwidth used for replication.

To control the network bandwidth used for replication

The argument local_rvgname is the name of the RVG on the local host and represents the RDS.

The argument sec_hostname is the name of the Secondary host as displayed in the output of the vradmin printrvg command.

Example: Limiting network bandwidth between the Primary and the Secondary

To limit the bandwidth to 30 mbps for the RDS hr_rvg between the Primary seattle and the Secondary london, issue the following command on any host in the RDS:

# vradmin -g hrdg set hr_rvg london bandwidth_limit=30mbps

To disable Bandwidth Throttling for a Secondary

  • To disable Bandwidth Throttling for a Secondary in an RDS, issue the following command on any host in the RDS:
    # vradmin -g diskgroup set local_rvgname sec_hostname \
         bandwidth_limit=none

The argument local_rvgname is the name of the RVG on the local host and represents the RDS.

The argument sec_hostname is the name of the Secondary host as displayed in the output of the vradmin printrvg command.

Example: Disabling Bandwidth Throttling between the Primary and the Secondary

To disable Bandwidth Throttling for replication between the Primary seattle and the Secondary london of RDS hr_rvg, issue the following command on any host in the RDS:

# vradmin -g hrdg set hr_rvg london bandwidth_limit=none

To control the network bandwidth used to synchronize volumes

  • To limit the network bandwidth used by VVR when synchronizing volumes that are not part of an RDS, issue the following command:
    # vradmin -g diskgroup syncvol local_vols_list \
            remote_hostname.... bandwidth_limit=value

The argument local_vols_list is a comma-separated list of volumes on the local host. The names of the volumes on the local and remote hosts are assumed to be the same.

The argument remote_hostname is a space-separated list of names of the remote hosts on which the volumes to be resynchronized reside. It must be possible for IP to resolve the remote host names.

Example: Limiting network bandwidth used by VVR when using full synchronization

This example shows how to limit the network bandwidth used by VVR when using full synchronization to synchronize the remote volumes on host london with the local volumes hr_dv01, hr_dv02, hr_dv03 in the disk group hrdg on the local host seattle. The names of the disk group and the volumes on the remote host are the same as the names of the disk group and volumes on the local host.

# vradmin -g hrdg -full syncvol hr_dv01,hr_dv02,hr_dv03 london  \
        bandwidth_limit=10mbps