D.2.1. Typed Child Resource Start And Stop Ordering - Red Hat ENTERPRISE LINUX 5 - ADMINISTRATION Manual

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

Advertisement

Note
The only resource to implement defined child resource type ordering is the Service
resource.
For more information about typed child resource start and stop ordering, refer to
Child Resource Start and Stop
and stop ordering, refer to

D.2.1. Typed Child Resource Start and Stop Ordering

For a typed child resource, the type attribute for the child resource defines the start order and the
stop order of each resource type with a number from 1 and 100; one value for start, and one value
for stop. The lower the number, the earlier a resource type starts or stops. For example,
"Child Resource Type Start and Stop Order"
Example D.2, "Resource Start and Stop Values: Excerpt from Service Resource Agent, service.sh"
shows the start and stop values as they appear in the Service resource agent, service.sh. For the
Service resource, all LVM children are started first, followed by all File System children, followed by all
Script children, and so forth.
Resource
LVM
File System
GFS File System
NFS Mount
NFS Export
NFS Client
IP Address
Samba
Script
Table D.1. Child Resource Type Start and Stop Order
<special tag="rgmanager">
<attributes root="1" maxinstances="1"/>
<child type="lvm" start="1" stop="9"/>
<child type="fs" start="2" stop="8"/>
<child type="clusterfs" start="3" stop="7"/>
<child type="netfs" start="4" stop="6"/>
<child type="nfsexport" start="5" stop="5"/>
<child type="nfsclient" start="6" stop="4"/>
<child type="ip" start="7" stop="2"/>
<child type="smb" start="8" stop="3"/>
<child type="script" start="9" stop="1"/>
</special>
Example D.2. Resource Start and Stop Values: Excerpt from Service Resource Agent, service.sh
Ordering". For more information about non-typed child resource start
Section D.2.2, "Non-typed Child Resource Start and Stop
shows the start and stop values for each resource type;
Child Type
lvm
fs
clusterfs
netfs
nfsexport
nfsclient
ip
smb
script
Typed Child Resource Start and Stop Ordering
Start-order Value
1
2
3
4
5
6
7
8
9
Section D.2.1, "Typed
Ordering".
Table D.1,
Stop-order Value
9
8
7
6
5
4
2
3
1
97

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the ENTERPRISE LINUX 5 - ADMINISTRATION and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Table of Contents