Ensure that the following conditions are met:
The cluster on which you want to create the partnership is running.
The geoadm start command has already been run on this cluster and the partner cluster. For more information about using the geoadm start command, see Enabling the Sun Cluster Geographic Edition Infrastructure.
The cluster name of the partner cluster is known.
The host information of the partner cluster is defined in the local hosts file. The local cluster needs to know how to reach the partner cluster by name.
Become superuser on a cluster node.
Import the public keys from the remote cluster to the local cluster.
# geops add-trust -c remotecluster
Specifies the logical hostname of the cluster with which to form a partnership. The logical hostname is used by Sun Cluster Geographic Edition software and maps to the name of the remote partner cluster. For example, a remote partner cluster name might resemble the following:
When you use this option with the add-trust or remote-trust subcommand, the option specifies the alias where the public keys on the remote cluster are stored. An alias for certificates on the remote cluster has the following pattern:
Keys and only keys that belong to the remote cluster should have their alias match this pattern.
For more information about the geops command, refer to the geops(1M) man page.
Repeat the preceding steps on a node of the remote partner cluster.
# geops verify-trust -c remotecluster
Configure and join the partnership. See Chapter 5, Administering Cluster Partnerships, in Sun Cluster Geographic Edition System Administration Guide.
To remove a partnership between two clusters, see How to Remove Trust Between Two Clusters in Sun Cluster Geographic Edition System Administration Guide.