Installation guide

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.
6. no ntypedreso urce: fo o This is a non-typed resource. Because it is a non-typed
resource, it is started after the typed resources start. In addition, its order in the Service
resource is before the other non-typed resource, nontyped reso urcetwo : bar; therefore, it
is started before nontyped reso urcetwo: bar. (Non-typed resources are started in the order
that they appear in the Service resource.)
7. nontypedreso urcetwo : bar — This is a non-typed resource. Because it is a non-typed
resource, it is started after the typed resources start. In addition, its order in the Service
resource is after the other non-typed resource, no ntypedreso urce: fo o ; therefore, it is
started after no ntypedreso urce: fo o . (Non-typed resources are started in the order that
they appear in the Service resource.)
Non-typed Child Resource Stopping Order
In Example C.4, “Non-typed and Typed Child Resource in a Service” , the child resources are stopped
in the following order:
1. nontypedreso urcetwo : bar — This is a non-typed resource. Because it is a non-typed
resource, it is stopped before the typed resources are stopped. In addition, its order in the
Service resource is after the other non-typed resource, no ntypedreso urce: fo o ; therefore,
it is stopped before no ntypedreso urce: fo o . (Non-typed resources are stopped in the
reverse order that they appear in the Service resource.)
2. no ntypedreso urce: fo o This is a non-typed resource. Because it is a non-typed
resource, it is stopped before the typed resources are stopped. In addition, its order in the
Service resource is before the other non-typed resource, nontyped reso urcetwo : bar;
therefore, it is stopped after nontyped reso urcetwo : bar. (Non-typed resources are
stopped in the reverse order that they appear in the Service resource.)
3. 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.
4. 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/cl uster/cl uster.co nf.
5. 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/cl uster/cl uster.co nf.
6. l vm: 2 — This is an LVM resource. All LVM resources are stopped last. l vm: 2 (<l vm
name= "2" . . . />) is stopped before lvm: 1; resources within a group of a resource type
are stopped in the reverse order listed in the Service foo portion of
/etc/cl uster/cl uster.co nf.
7. lvm: 1 — This is an LVM resource. All LVM resources are stopped last. l vm: 1 (<lvm
name= "1" . . . />) is stopped after l vm: 2; resources within a group of a resource type are
stopped in the reverse order listed in the Service foo portion of
/etc/cl uster/cl uster.co nf.
Non- t yped Ch ild Resource St oppin g O rder
211