Configuring a Cluster Resource Group

One of the most common elements of a cluster is a set of resources that need to be located together, start sequentially and stop in the reverse order. To simplify this configuration we support the concept of groups. The following example creates two primitives (an IP address and an email resource):

  1. Run the crm command as system administrator. The prompt changes to crm(live).

  2. Configure the primitives:

    crm(live)# configure
    crm(live)configure# primitive Public-IP ocf:IPaddr:heartbeat \
       params ip=1.2.3.4
    crm(live)configure# primitive Email lsb:exim
  3. Group the primitives with their respective identifiers in the correct order:

    crm(live)configure# group shortcut Public-IP Email