Installation guide
In some circumstances, if a component of a service fails you may want to disable only that
component without disabling the entire service, to avoid affecting other services that use other
components of that service. As of the Red Hat Enterprise Linux 6.1 release, you can accomplish that
by using the __independent_subtree="2" attribute, which designates the independent subtree
as non-critical.
Note
You may only use the non-critical flag on singly-referenced resources. The non-critical flag
works with all resources at all levels of the resource tree, but should not be used at the top
level when defining services or virtual machines.
As of the Red Hat Enterprise Linux 6.1 release, you can set maximum restart and restart expirations
on a per-node basis in the resource tree for independent subtrees. To set these thresholds, you can
use the following attributes:
__max_restarts configures the maximum number of tolerated restarts prior to giving up.
__restart_expi re_ti me configures the amount of time, in seconds, after which a restart is no
longer attempted.
C.5. Debugging and T est ing Services and Resource Ordering
You can debug and test services and resource ordering with the rg _test utility. rg _test is a
command-line utility provided by the rg manager package that is run from a shell or a terminal (it is
not available in Co n g a). Table C.2, “rg _test Utility Summary” summarizes the actions and syntax
for the rg _test utility.
T ab le C.2. rg _test Ut ilit y Su mmary
Act io n Syn t ax
Display the
resource
rules that
rg _test
understand
s.
rg _test rules
Test a
configuratio
n (and
/usr/share/c
luster) for
errors or
redundant
resource
agents.
rg _test test /etc/cluster/cluster. co nf
Red Hat Ent erprise Linux 6 Clust er Administ rat ion
214