Red Hat ENTERPRISE LINUX 5 - ADMINISTRATION Manual page 108

Cluster administration
Hide thumbs Also See for ENTERPRISE LINUX 5 - ADMINISTRATION:
Table of Contents

Advertisement

Appendix D. HA Resource Behavior
Ordering within a resource type is preserved as it exists in the cluster configuration file, /etc/
cluster/cluster.conf. For example, consider the starting order and stopping order of the typed
Example D.3, "Ordering Within a Resource
child resources in
<service name="foo">
<script name="1" .../>
<lvm name="1" .../>
<ip address="10.1.1.1" .../>
<fs name="1" .../>
<lvm name="2" .../>
</service>
Example D.3. Ordering Within a Resource Type
Typed Child Resource Starting Order
Example D.3, "Ordering Within a Resource
In
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
Example D.3, "Ordering Within a Resource
In
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.
98
Type".
Type", the resources are started in the following order:
Type", the resources are stopped in the following order:

Advertisement

Table of Contents
loading

Table of Contents