Sun Cluster Geographic Edition System Administration Guide

Creating a Protection Group That Does Not Require Data Replication

Some of the protection groups do not require data replication. If you are using the Sun Cluster Geographic Edition software to manage only resource groups and to handle data replication differently, you can create protection groups that do not replicate data. The geoadm status command displays that these protection groups are in the Degraded state. This section describes how to configure your protection group to not use data replication.

For information about how to create a Sun StorEdge Availability Suite 3.2.1 protection group that requires data replication, seeHow to Create and Configure a Sun StorEdge Availability Suite 3.2.1 Protection Group.


Note –

You cannot add device groups to a protection group that does not use data replication.


ProcedureHow to Create a Protection Group That Is Configured to Not Use Data Replication

Before You Begin

Before you create a protection group, ensure that the following conditions are met:


Note –

Protection group names are unique in the global Sun Cluster Geographic Edition namespace. You cannot use the same protection group name in more than one partnership on the same system.


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 new protection group by using the geopg create command.

    This command creates a protection group on the local cluster.


    # geopg create -s partnership-name -o local-role \
    [-p property-settings [-p...]] \
    protection-group-name
    
    -s partnership-name

    Specifies the name of the partnership

    -o local-role

    Specifies the role of this protection group on the local cluster as either Primary or Secondary

    -p property-setting

    Sets the properties of the protection group

    The properties you can set are the following:

    • Description – Describes the protection group.

    • Timeout – Specifies the timeout period for the protection group in seconds.

    • RoleChange_ActionArgs – Specifies a string that follows system-defined arguments at the end of the command line when the role-change callback command runs.

    • RoleChange_ActionCmd – Specifies the absolute path to the executable command to run when the primary cluster of the protection group changes. This path should be valid on all partner clusters that host the protection group.

    For more information about the properties you can set, see Appendix A, Standard Sun Cluster Geographic Edition Properties.

    protection-group-name

    Specifies the name of the protection 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 7–7 Creating and Configuring a Protection Group That Is Configured to Not Use Data Replication

The following example illustrates how to create an protection group that is configured to not use data replication.


# geopg create -s paris-newyork-ps -o primary example-pg

Next Steps

See Administering Sun StorEdge Availability Suite 3.2.1 Application Resource Groups for information on adding resource groups to a protection group.