Verifying the data on the Primary and Secondary volumes

The vradmin syncvol command when used with the -verify option enables you to verify whether the remote volumes and the corresponding local volumes are identical before adding them to an RDS. Use this command when the volumes are not associated with an RVG and the application is inactive (the volumes are not in use). VVR also allows you to verify the data volumes after they have been added to an RDS.

See Verifying the data on the Secondary.

The vradmin -verify syncvol command only reports the amount of data that is different in percentage between remote and local volumes; it does not synchronize remote volumes with local volumes. If you find that the Primary data and Secondary data do not match then you can use some manual means such as backup and restore or some other method to make the data on the new Secondary volume the same as the Primary and then add it to the RDS.

Note:

Remote volumes can be verified with local volumes only if the /etc/vx/vras/.rdg file on the remote host contains a local disk group ID entry. Ensure that each disk group ID entry in the .rdg file is on a separate line.

Note that the order of the volume names in the local and remote volume lists is important. The vradmin -verify syncvol command verifies the first volume in the remote volume list with the first volume in the local volume list, and so on. Hence, the number of volumes in the local and remote volume lists must be same. Also, the remote disk group name must be specified if volume names are different on local and remote hosts.

It is recommended that the names of the volumes on the local and remote hosts be the same. However, you can verify volumes with different names on the local and remote hosts using the vradmin -verify syncvol command.

To verify the difference between the local and remote data volumes

#  vradmin -g diskgroup -verify syncvol local_vols_list \
   remote_hostname...

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 verified reside. It must be possible for IP to resolve the remote host names.

See About SmartMove for VVR.

Example

This example shows how to verify the differences between 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 names of the disk group and volumes on the local host.

 # vradmin -g hrdg -verify syncvol hr_dv01,hr_dv02,hr_dv03 london