Installation guide

Ordering within a resource type is preserved as it exists in the cluster configuration file,
/etc/cl uster/cl uster.co nf. For example, consider the starting order and stopping order of the
typed child resources in Example C.3, “ Ordering Within a Resource Type” .
Examp le C.3. O rd erin g Wit h in a Reso u rce T yp e
<service name="foo">
<script name="1" .../>
<lvm name="1" .../>
<ip address="10.1.1.1" .../>
<fs name="1" .../>
<lvm name="2" .../>
</service>
Typed Child Resource Starting Order
In Example C.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. co nf.
2. l vm: 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 l vm: 1 in the Service foo
portion of /etc/cluster/cluster. co nf.
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/cl uster/cl uster.co nf.
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/cl uster/cl uster.co nf.
5. scri pt: 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/cl uster/cl uster.co nf.
Typed Child Resource Stopping Order
In Example C.3, “ Ordering Within a Resource Type”, the resources are stopped in the following order:
1. scri pt: 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/cl uster/cl uster.co nf.
2. i p: 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/cl uster/cl uster.co nf.
T yped Child Resource St art ing O rd er
209