Before you configure the components of a FailSafe system, you can set default values for some of the components that Linux FailSafe will use when defining the components.
Certain cluster manager commands require you to specify a cluster. You can specify a default cluster to use as the default if you do not specify a cluster explicitly.
Certain cluster manager commands require you to specify a node. With the Cluster Manager CLI, you can specify a default node to use as the default if you do not specify a node explicitly.
Certain cluster manager commands require you to specify a resource type. With the Cluster Manager CLI, you can specify a default resource type to use as the default if you do not specify a resource type explicitly.
The GUI prompts you to enter the name of the default cluster when you have not specified one. Alternately, you can set the default cluster by clicking the “Select Cluster...” button at the bottom of the FailSafe Manager window.
When using the GUI, there is no need to set a default node or resource type.
When you are using the Cluster Manager CLI, you can use the following commands to specify default values. The default values are in effect only for the current session of the Cluster Manager CLI.
Use the following command to specify a default cluster:
cmgr> set cluster A |
Use the following command to specify a default node:
cmgr> set node A |
Use the following command to specify a default resource type:
cmgr> set resource_type A |
You can view the current default configuration values of the Cluster Manager CLI with the following command:
cmgr> show set defaults |