Table 41 Command Exit Value and its Description (continued)
ValueDescription
This indicates that in the event of an actual recovery process, the data replication storage failover will not succeed on that node. Failover may be successful if attempted at a later time or attempted on a different node in the cluster.
Command Reference
This sections lists the Metrocluster commands that can be used for the preview utility.
cmdrprev
The command previews the failover of data replication device group that indicates if the device group failover will be successful or not in event of an actual package failover. The command parses the Metrocluster Environment file associated to the <package name> or which is provided as the input parameter <Metrocluster env file> with the
When run on the site where the primary storage is connected, the command previews the storage preparation for local package failover. However, when run on the site where secondary storage is connected, the command previews storage failover for remote package failover.
The command does not change the data replication environment and can be used even if the package associated with the data replication storage is up on the cluster. If the FORCEFLAG is present in the package directory, this command will remove it.
It is name of the package for which the failover of data | |
| replication device group is previewed. The command uses |
| the Metrocluster environment file present in the package |
| directory for the preview. The name of Metrocluster |
| environment file present in the package directory has to be |
| based on the naming convention. It is necessary for the |
| package to be configured in the cluster in order to use this |
| option. |
It is the name of the Metrocluster environment file which is | |
File | used by command to preview the failover of data replication |
| storage. Use this option when the Metrocluster environment |
| file is outside the package directory. |
Sample Output of the cmdrprev Command
The following procedure shows you how to use the cmdrprev command to preview the data replication preparation for a package in an MC/SRDF environment.
1.Verify that the Metrocluster environment file for the package pkga is present in the package directory on node dtsia14.
2.Verify that the environment variables are all set to the default values as shown below.
AUTOSWAPR2=0
AUTOR1RWNL=0
AUTOR1UIP=1
AUTOR1RWSUSP=0
AUTOR2RWNL=1
AUTOR2WDNL=1
AUTOR2XXNL=0
AUTOSPLITR1=0
CONSISTENCYGROUPS=0 DEVICE_GROUP="pkga_dg" PKGDIR="/etc/cmcluster/pkga" RETRY=60
RETRYTIME=5
504 Metrocluster Command Reference for Preview Utility