Go to main content

Installing and Configuring the Disaster Recovery Framework for Oracle® Solaris Cluster 4.4

Exit Print View

Updated: January 2019
 
 

Creating a Partnership

This section provides procedures to create a Disaster Recovery framework partnership between two clusters:

How to Create a Partnership


Note -  You can also accomplish this procedure by using the Oracle Solaris Cluster Manager browser interface. Click Partnerships, and then click Create. For Oracle Solaris Cluster Manager log-in instructions, see How to Access Oracle Solaris Cluster Manager in Administering an Oracle Solaris Cluster 4.4 Configuration.

Before You Begin

Ensure that the following conditions are met:

  • The cluster on which you want to create the partnership is up and running.

  • The geoadm start command must have already been run on the this cluster and the partner cluster. For more information about using the geoadm start command, see Enabling the Disaster Recovery Framework Infrastructure.

  • The cluster name of the partner cluster is known.

  • The host information of the partner cluster must defined in the local host file. The local cluster needs to know how to reach the partner cluster by name.

  • Security has been configured on the two clusters by installing the appropriate certificates. See Configuring Trust Between Partner Clusters for more information.

  1. Log in to a cluster node.

    You must be assigned the Geo Management rights profile to complete this procedure. For more information, see Disaster Recovery Framework Rights Profiles.

  2. Create the partnership.
    local-partner-cluster# geops create -c remote-partner-cluster[.domain-name] [-h heartbeat] \
    [-p property-setting [-p…]] partnership
    –c remote-partner-cluster[.domain-name]

    Specifies the name of the remote cluster that will participate in the partnership. If clusters in the partnership are in different domains, you must also specify the domain name of the remote cluster.

    This name matches the logical hostname used by the Disaster Recovery framework infrastructure on the remote cluster.

    –h heartbeat

    Specifies a custom heartbeat to use in the partnership to monitor the availability of the partner cluster.

    If you omit this option, the default Disaster Recovery framework heartbeat is used.

    Custom heartbeats are provided for special circumstances and require careful configuration. Consult your Oracle specialist for assistance if your system requires the use of custom heartbeats. For more information about configuring custom heartbeats, see Chapter 6, Administering Heartbeats in Administering the Disaster Recovery Framework for Oracle Solaris Cluster 4.4.

    If you create a custom heartbeat, you must add at least one plug-in to prevent the partnership from remaining in degraded mode.

    You must configure the custom heartbeat that you provide in this option before you run the geops command.


    Note -  A custom heartbeat prevents the default heartbeat from being used during partnership creation. If you want to use the default heartbeat for your partnership, you must delete the custom heartbeat before you run the geops create command.
    –p property-setting

    Specifies the value of partnership properties with a string of property=value pair statements.

    Specify a description of the partnership with the Description property.

    You can configure heartbeat-loss notification with the Notification_emailaddrs and Notification_actioncmd properties. For more information about configuring heartbeat-loss notification, see Configuring Heartbeat-Loss Notification in Administering the Disaster Recovery Framework for Oracle Solaris Cluster 4.4.

    For more information about the properties you can set, see Appendix A, Standard Disaster Recovery Framework Properties, in Administering the Disaster Recovery Framework for Oracle Solaris Cluster 4.4.

    partnership

    Specifies the name of the partnership.

    For information about the names and values that are supported by the Disaster Recovery framework, see Appendix B, Legal Names and Values of Disaster Recovery Framework Entities, in Administering the Disaster Recovery Framework for Oracle Solaris Cluster 4.4.

    For more information about the geops command, refer to the geops(8) man page.

  3. Verify that the partnership was created and the status of the partnership.

    Note -  You can also accomplish this step by using the Oracle Solaris Cluster Manager browser interface. Click Partnerships to view partnership information. For additional details, click the partnership name. For Oracle Solaris Cluster Manager log-in instructions, see How to Access Oracle Solaris Cluster Manager in Administering an Oracle Solaris Cluster 4.4 Configuration.

    The partnership states will be Degraded and the heartbeat state will be Offline. These states will change after the partnership is joined from the partner cluster.

    local-partner-cluster# geoadm status
Example 2  Creating a Partnership

This example creates the paris-newyork-ps partnership on the cluster-paris.usa cluster.

cluster-paris.usa1# geops create -c cluster-newyork.usa \
-p Description=Transatlantic \
-p Notification_emailaddrs=sysadmin@example.com \
paris-newyork-ps

Next Steps

To finalize the new partnership, the remote partner cluster must join the partnership. Go to Joining an Existing Partnership.

See Also

To remove a partnership between two clusters, see How to Remove Trust Between Two Clusters in Administering the Disaster Recovery Framework for Oracle Solaris Cluster 4.4.