Go to main content

Oracle® Solaris Cluster 4.3 Geographic Edition Installation and Configuration Guide

Exit Print View

Updated: February 2017
 
 

Creating a Protection Group That Does Not Require Data Replication

Some protection groups do not require data replication. If you are using the Geographic Edition framework to manage only resource groups, you can create protection groups that do not replicate data.


Note -  To find out how to create a protection group that uses data replication, see Creating a Protection Group That Uses Data Replication.

This section provides the following procedures:


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

You can configure the following properties for a protection group that does not use data replication:

Description

Describes the protection group.

External_Dependency_Allowed

Specifies whether to allow any dependencies between resource groups and resources that belong to this protection group and resource groups and resources that do not belong to this protection group.

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 path to an executable command. This path should be valid on all nodes of all partner clusters that can host the protection group. The script is invoked during a switchover or takeover on the new primary cluster when the protection group is started on the new primary cluster. The script is invoked on the new primary cluster after the data replication role changes from secondary to primary and before the application resource groups are brought online. If the data replication role change does not succeed, then the script is not called.

Timeout

Specifies the timeout period for the protection group in seconds. You can change the timeout period from the default value depending on the complexity of your data replication configuration.

For more information about the properties you can set, see Appendix A, Standard Geographic Edition Properties, in Oracle Solaris Cluster 4.3 Geographic Edition System Administration Guide.

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


Note -  You can also accomplish this procedure by using the Oracle Solaris Cluster Manager browser interface. Click Partnerships, click the partnership name to go to its page, and click Create in the Protection Groups section. For Oracle Solaris Cluster Manager log-in instructions, see How to Access Oracle Solaris Cluster Manager in Oracle Solaris Cluster 4.3 System Administration Guide.

Before You Begin

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

  • The local cluster is a member of a partnership.

  • The protection group that you are creating does not already exist.

  • You are assigned the Geo Management RBAC rights profile. For more information about RBAC, see Securing Geographic Edition Software.


Note -  Protection group names are unique in the global Geographic Edition namespace. You cannot use the same protection group name in more than one partnership on the same system.
  1. Log in to a cluster node.
  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 -o local-role \
    [-p property [-p …]] protection-group
    –s partnership

    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

    Specifies the properties of the protection group.

    You can specify the following properties:

    protection-group

    Specifies the name of the protection group.

    For information about the names and values that are supported by Geographic Edition software, see Legal Names and Values of Geographic Edition Entities in Oracle Solaris Cluster 4.3 Geographic Edition System Administration Guide.

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

Example 6  Creating and Configuring a Protection Group That Is Configured Not to Use Data Replication

This example creates a protection group that is configured not to use data replication.

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

Next Steps

Go to How to Add an Application Resource Group to a Protection Group That Does Not Use Data Replication.

See Also

To delete a protection group, see Deleting Protection Groups and Data Replication Components in Oracle Solaris Cluster 4.3 Geographic Edition System Administration Guide.

How to Add an Application Resource Group to a Protection Group That Does Not Use Data Replication

  1. Log in to a cluster node.

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

  2. Ensure that the Auto_start_on_new_cluster property of the resource group is set to False.
    # clresourcegroup show -p Auto_start_on_new_cluster resource-group

    If necessary, change the property value to False.

    # clresourcegroup set -p Auto_start_on_new_cluster=False resource-group
  3. If the application resource group must have dependencies on resource groups and resources that are not managed by this protection group, ensure that the External_Dependency_Allowed property of the protection group is set to TRUE.
    # geopg show protection-group | grep -i external_dependency_allowed

    If necessary, change the property value to TRUE.

    # geopg set-prop -p External_Dependency_Allowed=TRUE protection-group
  4. Start the protection group or change the state of the application resource group to a state that is required for the addition to be allowed.
    • The Geographic Edition framework requires that the application resource group be in the UNMANAGED state on the secondary cluster.

    • If the protection group is stopped on the primary cluster, the application resource group must also be unmanaged on the primary cluster.

    • If the protection group is active on the primary cluster, the application resource group must be in the UNMANAGED or ONLINE state on the primary cluster.

    For instructions, see How to Disable a Resource and Move Its Resource Group Into the UNMANAGED State in Oracle Solaris Cluster 4.3 Data Services Planning and Administration Guide or How to Bring Resource Groups Online in Oracle Solaris Cluster 4.3 Data Services Planning and Administration Guide.

  5. Add an application resource group to the protection group.
    # geopg add-resource-group application-resource-group protection-group
    application-resource-group

    Specifies the name of an application resource group. You can specify more than one resource group in a comma-separated list.

    protection-group

    Specifies the name of the protection group. The command adds an application resource group to a protection group on the local cluster. Then, if the partner cluster contains a protection group of the same name, the command propagates the new configuration information to the partner cluster.

    For information about the names and values that are supported by Geographic Edition software, see Legal Names and Values of Geographic Edition Entities in Oracle Solaris Cluster 4.3 Geographic Edition System Administration Guide.

    After the application resource group is added to the protection group, the application resource group is managed as an entity of the protection group. The application resource group is now affected by protection group operations such as start, stop, switchover, and takeover.