5.1. Setting Configuration Defaults

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.

Default cluster

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.

Default node

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.

Default resource type

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.

5.1.1. Setting Default Cluster with the Cluster Manager GUI

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.

5.1.2. Setting and Viewing Configuration Defaults with the Cluster Manager CLI

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