SDX objects of PRIMECLUSTER GD can be replicated in units of slices where replication is performed without PRIMECLUSTER GD Snapshot.
This operation however requires that the physical disks that make up the PRIMECLUSTER GD logical volume be specified.
For details on PRIMECLUSTER GD, refer to the PRIMECLUSTER Global Disk Services User's Guide (Solaris(TM) Operating System).
Figure 6.50 Replication Operation in Units of Slices
Note
If copying to the original volume by OPC is required in the case that mirroring between boxes is enabled or a box failure occurs, both mirrored systems must be replicated. To copy in such cases, the required capacity of the replica volume is not the size of the logical volume but the size of the physical volume.
The SDX objects that can be used for operations in slice units are as follows:
Single volumes
Non-layered mirror volumes
You can determine if the volume being used is the single, mirror, stripe, concatenation, or switch volume type by executing "sdxinfo -e long". (Check the value in the TYPE column in the line displayed for the volume in the OBJ column.)
[Volume object type attribute]
single: Single volume (operation possible)
mirror: Mirror volume (operation possible)
stripe: Stripe volume (operation not possible)
concat: Volume in a concatenation group (operation not possible)
switch: Switch volume (operation not possible)
When specifying a name in the AdvancedCopy Manager command, use the following name format that combines a logical volume name and an AdvancedCopy Manager device name. Refer to "1.2.2 SDX Objects of PRIMECLUSTER GD" for details.
/dev/sfdsk/<class-name>/dsk/<volume-name>:<device name where volume is constructed>
For notes on configuring the replication operation, refer to "10.1.7 Notes on SDX Object Operations (Replication Management)".
Replication with the copy destination volume of a mirror slice is not supported.
Consequently, if either the original volume or replica volume is a mirror slice, you can perform replication only from the mirror slice to a physical slice.
To copy data to a mirror slice, use the "dd" command. Copying must be executed for all mirror slices that make up the logical volume.
To perform the replication operation with a Managed Server and obtain information about a subordinate device of the Managed Server, you must register the server.
For details on how to fetch the device information, refer to "6.4.4 Fetching Device Information on Managed Server".
Register the slices that make up a logical volume of PRIMECLUSTER GD as replication volumes.
# /opt/FJSVswsrp/bin/swsrpsetvol /dev/sfdsk/CLS1/dsk/VOL1:c1t0d1 /dev/sfdsk/CLS1/dsk/VOL2:c1t0d2 swsrpsetvol completed #
[Example of Snapshot Replication]
# /opt/FJSVswsrp/bin/swsrpmake /dev/sfdsk/CLS1/dsk/VOL1:c1t0d1 /dev/sfdsk/CLS1/dsk/VOL2:c1t0d2 FROM=/dev/sfdsk/CLS1/dsk/VOL1:c1t0d1, TO=/dev/sfdsk/CLS1/dsk/VOL2:c1t0d2 swsrpmake completed #
States of Objects in Replication Creation
Replication can be performed when the SDX object that makes up the relevant logical volume is in one of the states listed below. If the object is in any other state, replication cannot be performed. (AdvancedCopy Manager checks the state of the SDX object by using the sdxinfo command of PRIMECLUSTER GD/SafeDISK.)
The state of the volume is "ACTIVE" or "STOP".
The state of the SDX disk is "ENABLE".
The state of the slice is "ACTIVE" or "TEMP".
Replication Pre-processing and Post-processing
In the following case, the pre-processing and post-processing scripts are not executed.
The state of the slice of the SDX object is "TEMP".