Installation guide

Example D.3. Ordering Within a Resource Type
Typed Child Resource Starting Order
In Example D.3, “Ordering Within a Resource Type”, the resources are started in the following
order:
1. lvm:1 — This is an LVM resource. All LVM resources are started first. lvm:1 (<lvm
name="1" .../>) is the first LVM resource started among LVM resources because it is the
first LVM resource listed in the Service foo portion of /etc/cluster/cluster.conf.
2. lvm:2 — This is an LVM resource. All LVM resources are started first. lvm:2 (<lvm
name="2" .../>) is started after lvm:1 because it is listed after lvm:1 in the Service foo
portion of /etc/cluster/cluster.conf.
3. fs:1 — This is a File System resource. If there were other File System resources in Service
foo, they would start in the order listed in the Service foo portion of
/etc/cluster/cluster.conf.
4. ip:10.1.1.1 — This is an IP Address resource. If there were other IP Address resources in
Service foo, they would start in the order listed in the Service foo portion of
/etc/cluster/cluster.conf.
5. script:1 — This is a Script resource. If there were other Script resources in Service foo,
they would start in the order listed in the Service foo portion of
/etc/cluster/cluster.conf.
Typed Child Resource Stopping Order
In Example D.3, “Ordering Within a Resource Type”, the resources are stopped in the following
order:
1. script:1 — This is a Script resource. If there were other Script resources in Service foo,
they would stop in the reverse order listed in the Service foo portion of
/etc/cluster/cluster.conf.
2. ip:10.1.1.1 — This is an IP Address resource. If there were other IP Address resources in
Service foo, they would stop in the reverse order listed in the Service foo portion of
/etc/cluster/cluster.conf.
3. fs:1 — This is a File System resource. If there were other File System resources in Service
foo, they would stop in the reverse order listed in the Service foo portion of
/etc/cluster/cluster.conf.
4. lvm:2 — This is an LVM resource. All LVM resources are stopped last. lvm:2 (<lvm
name="2" .../>) is stopped before lvm:1; resources within a group of a resource type are
Ordering
111