Skip Navigation Links | |
Exit Print View | |
Oracle Solaris Cluster Geographic Edition Reference Manual Oracle Solaris Cluster 4.1 |
- enable or disable the Oracle Solaris Cluster Geographic Edition infrastructure on the local cluster
/usr/cluster/bin/geoadm [subcommand] -?
/usr/cluster/bin/geoadm -V
/usr/cluster/bin/geoadm show
/usr/cluster/bin/geoadm start
/usr/cluster/bin/geoadm status
/usr/cluster/bin/geoadm stop [-f | -i]
The geoadm command enables or disables the Oracle Solaris Cluster Geographic Edition infrastructure on the local cluster. You can also use this command to check whether the Oracle Solaris Cluster Geographic Edition software is enabled on the cluster.
After installation, the Oracle Solaris Cluster Geographic Edition product must be enabled by running the command geoadm start. This command enables the cluster to participate in partnerships and to host protection groups. The geoadm start command configures the highly available infrastructure that unlocks the Oracle Solaris Cluster Geographic Edition module on the cluster.
The geoadm stop command stops the highly available infrastructure that leaves the Oracle Solaris Cluster Geographic Edition module locked on the cluster. Run the geoadm stop command before you remove product packages.
Note - The geoadm stop command can successfully disable the Oracle Solaris Cluster Geographic Edition module on a cluster only under one condition. All local states of the protection groups in which the cluster is involved must be Offline or Unknown.
Running the geoadm start or the geoadm stop command on one node of the cluster affects the entire cluster.
To use the geoadm command to enable or disable the Oracle Solaris Cluster Geographic Edition infrastructure, you must be assigned the proper role-based access control (RBAC) rights profile.
If you have root access, you have permissions to perform any operation. If you do not have root access, the following RBAC rights apply:
Basic Solaris User. You can read information about Oracle Solaris Cluster Geographic Edition entities by running commands such as geopg list, geohb list, and geops list.
Geo Management. You can perform all the read operations that someone with Basic Solaris User access can perform. You can also perform administrative and configuration tasks such as geohb create, geopg switchover, geoadm start, and geoadm stop.
For more information, see the rbac(5) man page and Geographic Edition Software and RBAC in Oracle Solaris Cluster Geographic Edition System Administration Guide.
The general form of this command is as follows:
geoadm [subcommand] [options] [operands]
You can omit subcommand only if options specifies the option -?, -o, -V, or -v.
Each option of this command has a long form and a short form. Both forms of each option are given with the description of the option in the OPTIONS section of this man page.
The following subcommands are supported:
Display whether the Oracle Solaris Cluster Geographic Edition software is enabled on the cluster.
Configure and enable the Oracle Solaris Cluster Geographic Edition infrastructure on the cluster.
Display the runtime status of the Oracle Solaris Cluster Geographic Edition entities on the local cluster.
The Oracle Solaris Cluster Geographic Edition software must be installed on the local cluster before you can run the status subcommand. You can run the status subcommand whether or not the cluster has been enabled for partnership.
The status subcommand displays the following information:
Whether the local cluster is enabled for partnership.
Whether the local cluster is involved in a partnership. If the cluster is involved in a partnership, the status subcommand lists all partnership members.
Heartbeat status.
Protection group status.
Status of ongoing transactions.
See the EXTENDED DESCRIPTION section for details about the possible values for each status.
Disable the Oracle Solaris Cluster Geographic Edition infrastructure and configuration on the cluster.
Caution - All protection groups on the cluster must be in the Offline state to run the stop subcommand successfully. |
The stop subcommand removes the cluster state and Oracle Solaris Cluster Geographic Edition infrastructure resource groups on the cluster, but the stop subcommand does not remove data replication resource groups.
The Oracle Solaris Cluster Geographic Edition infrastructure is enabled and configured again the first time you run the start subcommand after running the stop subcommand.
The following options are supported:
Displays help information. When this option is used, no other processing is performed.
You can specify this option without a subcommand or with a subcommand.
If you specify this option without a subcommand, the list of subcommands for this command is displayed.
If you specify this option with a subcommand, the usage options for the subcommand are displayed.
The question mark might be interpreted as a special character by some shells. Use quotes (-"?") or an escape character to avoid pattern matching.
Indicates that you want to bypass the command confirmation questions while the Oracle Solaris Cluster Geographic Edition infrastructure is being disabled.
Indicates that you want to display the interactive command confirmation questions while the Oracle Solaris Cluster Geographic Edition infrastructure is being disabled.
Displays the version of the command.
Do not specify this option with subcommands, operands, or other options. The subcommands, operands, or other options are ignored. The -V option only displays the version of the command. No other operations are performed.
The following sections list the status descriptions.
Partnership status displays status for the local cluster only. The partnership status can be one of the following:
The partner clusters are connected.
The partner clusters are disconnected.
Synchronization status displays status for all the clusters in a partnership. The partnership synchronization status can be one of the following:
The configuration is synchronized between partner clusters.
The configuration on the partner clusters is different. You must synchronize the partnership again.
The partner clusters have been configured individually. Therefore, you must remove the configuration on one cluster and copy the configuration of the partner cluster.
Information is not accessible because the partners are disconnected.
Intercluster Resource Management (ICRM) Connection status displays status for the cluster management agent that is running on the remote cluster. The ICRM connection status can be one of the following:
The ICRM module on each of the partner clusters can communicate with each other.
The ICRM module on the local cluster is unable to communicate with the ICRM module on the remote cluster.
Heartbeat status displays status for the local cluster only. The heartbeat status can be one of the following:
Heartbeat monitoring is enabled, and the partner cluster is responding within timeout and retry periods.
Heartbeat monitoring is running, but the partner cluster is not responding and retries have timed out.
Heartbeat monitoring is offline.
Heartbeat plug-in status displays status for the local cluster only. The heartbeat plug-in status can be one of the following:
The partner cluster is responding.
The plug-in is not in use. It is a standby plug-in that is used for retrying if other plug-ins do not respond.
The partner cluster is not responding.
Protection group status displays the overall status for all the clusters in the protection group. The overall protection group status can be one of the following:
The protection group is online, application resource groups are online, and data replication is running.
The protection group is inactive.
The protection group and the application resource groups are online, but data replication is either not running or is in a partial error state.
The protection group is online, but at least one component of the partnership, such as configuration, data replication, or resource groups, is in an error state.
The protection group is online, but the status for at least one component of the partnership, such as configuration, data replication, or resource groups, is unknown.
The configuration status of a protection group displays the status for a single cluster only. The configuration status of a protection group can be one of the following:
The protection group configuration has been validated without errors on the cluster.
The validation of the protection group configuration resulted in an error. You must validate the protection group again.
Information is not accessible because the partner clusters are disconnected.
Data replication status displays the status of data replication that has been configured for the protection group on a single cluster. The data replication status of a protection group can be one of the following:
Data replication is configured, online, and running without errors.
Data replication is either off or in a partial error state.
Data replication is not operating because of an error.
Data replication has not been configured.
Information is not accessible because the partners are disconnected.
Resource group status displays the status of resource groups that have been configured for the protection group on a single cluster. The resource group status of a protection group can be one of the following:
All resource groups are online on the primary cluster, and all resource groups are offline or unmanaged on the secondary cluster.
Not all resource groups are online on the primary cluster, or not all resource groups are offline or unmanaged on the secondary cluster.
Information is not accessible because the partners are disconnected.
The following exit values are returned:
The command completed successfully.
An error has occurred.
Example 1 Enabling the Oracle Solaris Cluster Geographic Edition Infrastructure
The following geoadm command enables the Oracle Solaris Cluster Geographic Edition control module on the local cluster.
# geoadm start
Example 2 Disabling the Oracle Solaris Cluster Geographic Edition Infrastructure
The following geoadm command removes the infrastructure resource groups that were created when you enabled the Oracle Solaris Cluster Geographic Edition infrastructure.
# geoadm stop
Example 3 Checking the Status of the Oracle Solaris Cluster Geographic Edition Infrastructure
The following geoadm command displays whether the Oracle Solaris Cluster Geographic Edition infrastructure is enabled on the local cluster and, if enable, the nodes on which the infrastructure is active.
# geoadm show --- CLUSTER LEVEL INFORMATION --- Oracle Solaris Cluster Geographic Edition is active on: node phys-paris-2, cluster cluster-paris Command execution successful #
Example 4 Monitoring the Runtime Status of the Oracle Solaris Cluster Geographic Edition Software
The following geoadm command displays the runtime status of the local Oracle Solaris Cluster Geographic Edition enabled cluster.
# geoadm status Cluster: cluster-paris Partnership "paris-newyork-ps": OK Partner clusters : cluster-newyork Synchronization : OK ICRM Connection :OK Heartbeat "paris-to-newyork" monitoring "cluster-newyork": OK Heartbeat plug-in "ping_plugin" : Inactive Heartbeat plug-in "tcp_udp_plugin" : OK Protection group "tcpg" : OK Partnership : "paris-newyork-ps" Synchronization : OK Cluster cluster-paris : OK Role : Primary PG activation state : Activated Configuration : OK Data replication : OK Resource groups : OK Cluster cluster-newyork : OK Role : Secondary PG activation state : Activated Configuration : OK Data replication : OK Resource groups : OK Pending operations Protection group "tcpg" : Start
See attributes(5) for descriptions of the following attributes.
|