Use the resource group that you identified when you answered the questions in Configuration Planning Questions.
# clresourcegroup create -n node-list sapdb-rg
Specifies the name of the resource group that you are creating.
# clreslogicalhostname create -g sapdb-rg \ -h sapdb-logical-hostname sapdb-logical-hostname
Specifies that the logical hostname's database resource is to be added to the failover resource group that you created in Step 1.
Specifies the hostname list. You must use this option either when more than one logical host needs to be associated with the new SAP MaxDB resource or when the IP alias logical host does not have the same name as the SAP MaxDB resource itself. SAP MaxDB is the resource for the sapdb-logical-hostname that you specified in Configuration Planning Questions.
Specifies the logical hostname of the server on which the database is running. This hostname must be the logical hostname for the SAP MaxDB resource that you specified in Configuration Planning Questions.
# clresourcegroup online -eM sapdb-rg
Enables the resource group sapdb-rg created in Step 1 and moves it to the MANAGED state.
This example shows the sequence of commands that are required to enable SAP MaxDB to run in a cluster. The commands are run on only one cluster node.
The following command creates a failover resource group to contain the SAP MaxDB application resources and the logical hostname for the SAP MaxDB resource. The resource group is named sapdbrg. The sapdbrg resource group can be brought online on all cluster nodes.
# clresourcegroup create sapdbrg
The following command adds a logical hostname resource to the sapdbrg resource group. The logical hostname of the server on which the database is running is srvr-1. When the sapdbrg resource group is brought online, an attempt is made for each node to discover a network interface on the subnet that the hostname list identifies.
# clreslogicalhostname create -g sapdbrg -h srvr-1 -d sapdblr
The following command moves the sapdbrg resource group to the MANAGED state, brings the resource group online, and monitors the resources in the resource group.
# clresourcegroup online -eM sapdbrg