Managing Resources in the web UI

Use the Cockpit HA Cluster Management web UI to create and manage resources and resource groups.

Creating Resources in a Cluster

Use the Cockpit HA Cluster Management web UI to create resources in a cluster.

Steps

To create a cluster resource in the HA Cluster Management web UI application, perform the following steps:

  1. In the Cockpit navigation pane, select HA Cluster Management.
    The Clusters page appears.
  2. In the Clusters page, select the cluster you're configuring.
    A tabbed page displaying the cluster information appears, initially with the Overview tab active.
  3. Select the Resources tab.
    The Resources tab becomes active.
  4. In the Resources page, select Create Resource.
    The first page of the workflow for creating resources appears.
  5. Specify a name for the resource you're creating, and from the Resource type list, select the type of resource to be created. For example, to create a resource of type ocf:heartbeat:Filesystem, select Filesystem.
    The Instance attributes page appears.
  6. In the Instance attributes page, complete the mandatory fields and any other attributes you need to specify.

    The attributes available depend upon the type of resource you're creating. For example, if you're creating a resource of type ocf:heartbeat:Filesystem, the mandatory attributes include device, directory, and fstype.

    Optionally, you can use the use the search box and the More attributes filter to display other properties you might want to set for the resource.

    The Settings page appears.
  7. On the Settings page, configure any settings required for the resource.
    The settings are typically arranged in the following sections:
    • Multiple instances:

      This section contains the Clone and Promotable settings used when creating resources that run concurrently on multiple nodes.

    • Group:

      The Group section contains options for creating a resource as a member of a resource group.

    • Start automatically:

      This section contains the option to specify whether the resource is to be started automatically (the default) or created in a Disabled state.

    The Review new resource configuration page appears.
  8. Select Create resource.
    A message confirming the resource has been created appears. Upon acknowledging the message, the workflow closes, and the Resources page appears with the newly created resource listed.

Creating Resource Groups

Use the Cockpit HA Cluster Management web UI to create resource groups in a cluster.

Steps

To create a resource group in the HA Cluster Management web UI application, perform the following steps:

  1. In the Cockpit navigation pane, select HA Cluster Management.
    The Clusters page appears.
  2. In the Clusters page, select the cluster you're configuring.
    A tabbed page displaying the cluster information appears, initially with the Overview tab active.
  3. Select the Resources tab.
    The Resources tab becomes active.
  4. In the Resources page, select Create group.
    The Create group page appears.
  5. Specify a name for the group you're creating, and then move the resources to be added to the group from the Available resources list to the Chosen resources list.

    Note:

    • The order in which you add each resource to the Chosen resources list sets that resource's start and stop positions in the group that's created. The position of a resource can also be changed after the group has been created as explained in Changing Resource Position in Group.

    The Create group option becomes available.
  6. Select Create group.
    A message confirming the group has been created appears. Upon acknowledging the message, the workflow closes, and the Resources page appears with the newly created resource group listed.

Changing Resource Position in Group

Use the Cockpit HA Cluster Management web UI to change a resource's stop and start position within the group to which it belongs.

Steps

To change a resource's position in a group, perform the following steps:

  1. In the Cockpit navigation pane, select HA Cluster Management.
    The Clusters page appears.
  2. In the Clusters page, select the cluster you're configuring.
    A tabbed page displaying the cluster information appears, initially with the Overview tab active.
  3. Select the Resources tab.
    The Resources tab becomes active.
  4. In the Resources page, select the resource you're configuring.
    A panel containing an overview of the resource's properties appears.
  5. In the panel select the Actions button.
    A menu of actions appears.
  6. Select Change Group from the list of actions.
    A page appears with options to change the group-related attributes of the resource.
  7. Select the option to change the position of the resource within its current group. Set the resource's position relative to other resources in the group.
    To set the position of the resource, select the before or the after option, and then select the resource it is to precede or follow.
  8. Select Change group.
    A message confirming the change has been completed appears. Upon acknowledging the message, the workflow closes, and the Resources page appears with the group listed with the new resource order.

Changing Resource Group Membership

Use the Cockpit HA Cluster Management web UI to assign a resource to a group. If the resource is already a member of a group, it is taken out of that group and moved to the new one you're assigning the resource to.

Steps

To assign a resource to a resource group, perform the following steps:

  1. In the Cockpit navigation pane, select HA Cluster Management.
    The Clusters page appears.
  2. In the Clusters page, select the cluster you're configuring.
    A tabbed page displaying the cluster information appears, initially with the Overview tab active.
  3. Select the Resources tab.
    The Resources tab becomes active.
  4. In the Resources page, select the resource you're configuring.
    A panel containing an overview of the resource's properties appears.
  5. In the panel select the Actions button.
    A menu of actions appears.
  6. Select Change Group from the list of actions.
    The first page of the workflow to change a resource's group-related attributes appears.
  7. Select the option to move the resource to a group.
    The Select a group list appears.
  8. From the list, select the group to which the resource is to be assigned.
    The current list of resources in the destination group appears, with before and after options for you to select the position the resource its new group.
  9. Select the position of the resource you're moving and select Change group.
    A message confirming the change has been completed appears. Upon acknowledging the message, the workflow closes, and the Resources page appears with the resource in the group to which it has been moved.