Use the
symclone verify command to verify that one or all clone pair(s) in a device group, composite group, or device file are in a particular state. The command can be used in scripts to verify that the clone device pair(s) are in a particular state prior to executing subsequent Solutions Enabler commands. If no device state qualifiers are specified, the default for the
symclone verify, is to check for the
Copied state.
Syntax
To verify target devices in a device group, composite group, or device file, use the following syntax:
NOTE Add the
-concurrent option with each of the following options to verify a concurrent clone pair.
-copied
Verifies that the copy sessions are in the
Copied state (default).
-copyinprog
Verifies that the copy sessions are in the
CopyInProgress state.
-created
Verifies that the copy sessions are in the
Created state.
-recreated
Verifies that the copy sessions are in the
Recreated state.
-restored
Verifies that the copy sessions are in the
Restored state.
-split
Verifies that the copy sessions are in the
Split state.
Examples
NOTE For a multi-clone or concurrent clone device group, specifying the clone on the command line ensures that the verify operation checks the status of the clone. Otherwise, the verify operation checks the status of the standard device, which may no longer be established with the clone that you want to verify.
To return the status of standard device
DEV001 with its last paired clone, enter:
symclone -g ProdBgrp verify DEV001
To return the status of a specific clone pair (DEV001 with
DEV005), enter:
symclone -g ProdBgrp verify DEV001 sym ld DEV005
To return the status every 30 seconds until all clone pairs in the device group (ProdBgrp) or composite group (MyConGrp) are in the Copied state, enter:
NOTE If no device state qualifier is specified the command checks for the
Copied state.
symclone -g ProdBgrp -i 30 verify
symclone -cg MyConGrp -i 30 verify
Possible return codes at 30-second intervals are zero (code symbol CLI_C_SUCCESS) if the verify criteria is met, or one of the return codes if none or not all of the devices meet the verify criteria. Refer to
Return codes for TimeFinder clone copy verify session queryfor return codes.
Data is not available for the Topic
Please provide ratings (1-5 stars).
Please provide ratings (1-5 stars).
Please provide ratings (1-5 stars).
Please select whether the article was helpful or not.
Comments cannot contain these special characters: <>()\