A failover resource group contains the following types of resources:
Network address resources, which are instances of the built-in resource types LogicalHostname and SharedAddress
Failover resources, which are the data service application resources for a failover data service
The network address resources and their dependent data service resources move between cluster nodes when data services fail over or are switched over.
Perform this procedure from any cluster node.
# clresourcegroup create [-n nodelist] resource-group
Specifies a comma-separated, ordered list of nodes that can master this resource group.
This list is optional. If you omit this list, the resource group is created on all nodes in the cluster.
Specifies your choice of the name of the failover resource group to add. This name must begin with an ASCII character.
# clresourcegroup show resource-group
This example shows the creation of the failover resource group resource-group-1. The cluster nodes phys-schost-1 and phys-schost-2 can master this resource group.
# clresourcegroup create -n phys-schost1,phys-schost-2 resource-group-1 # clresourcegroup show -v resource-group-1 === Resource Groups and Resources === Resource Group: resource-group1 RG_description: <NULL> RG_mode: Failover RG_state: Unmanaged RG_project_name: default RG_affinities: <NULL> RG_SLM_type: manual Auto_start_on_new_cluster: True Failback: False Nodelist: phys-schost-1 phys-schost-2 Maximum_primaries: 1 Desired_primaries: 1 RG_dependencies: <NULL> Implicit_network_dependencies: True Global_resources_used: <All> Pingpong_interval: 3600 Pathprefix: <NULL> RG_System: False Suspend_automatic_recovery: False
Next Steps
After you create a failover resource group, you can add application resources to this resource group. See Adding Resources to Resource Groups for the procedure.
See Also
The clresourcegroup(8CL) man page.