Sun Cluster Geographic Edition System Administration Guide

ProcedureHow to Add a Data Replication Device Group to a Hitachi TrueCopy Protection Group

Steps
  1. Log in to one of the cluster nodes.

    You must be assigned the Geo Management RBAC rights profile to complete this procedure. For more information about RBAC, see Sun Cluster Geographic Edition Software and RBAC.

  2. Create a data replication device group in the protection group.

    This command adds a device group to a protection group on the local cluster and propagates the new configuration to the partner cluster if the partner cluster contains a protection group of the same name.


    # geopg add-device-group -p property-settings [-p...] device-group-name protection-group-name
    
    -p property-settings

    Sets the properties of the data replication device group

    The Hitachi TrueCopy specific property that you can set is the following:

    • Fence_level – defines the fence level that is used by the device group. The fence level determines the level of consistency among the primary and secondary volumes for that device group.

      This property can take the values of data, status, never, or async. When you use a Fence_level of never or async, the application can continue to write to the primary cluster even after failure on the secondary cluster. However, when you set the Fence_level to data or status, the application on the primary cluster might fail because the secondary cluster is not available for reasons such as:

      • Data replication link failure

      • Secondary cluster and storage is down

      • Storage on the secondary cluster is down


    Caution – Caution –

    To avoid application failure on the primary cluster, specify a Fence_level of never or async. If you have special requirements to use a Fence_level of data or status, consult your Sun representative.


    For more information about application errors associated with different fence levels, see the Sun StorEdge SE 9900 V Series Command and Control Interface User and Reference Guide.

    The other properties you can set depend upon the type of data replication you are using. For details about these properties, see Appendix A, Standard Sun Cluster Geographic Edition Properties.

    device-group-name

    Specifies the name of the new data replication device group

    protection-group-name

    Specifies the name of the protection group which will contain the new data replication device group

    For information about the names and values that are supported by Sun Cluster Geographic Edition software, see Appendix B, Legal Names and Values of Sun Cluster Geographic Edition Entities.

    For more information about the geopg command, refer to the geopg(1M) man page.


    
    

Example 10–11 Adding a Data Replication Device Group to a Hitachi TrueCopy Protection Group

The following example illustrates how to create a Hitachi TrueCopy data replication device group in the tcpg protection group:


# geopg add-device-group -p Fence_level=data devgroup1 tcpg