How to find disabled resources in VCS?

When I run hastatus -sum, some Service Groups have a a status “Partial”. This means one or more resources in the Service Group are offline or may even be disabled?

To find out if there are any disabled resources:

# hares -display | grep Enabled | grep -w 0
App1                 Enabled               global     0
App2                 Enabled               global     0
App3                 Enabled               global     0

In this example, the three apps are disabled globally ( in all nodes).

Enable the resources

haconf -makerw
hares -modify App1 Enabled 1
hares -modify App2 Enabled 1
hares -modify App2 Enabled 1
haconf -dump makero

Online the resources on node1

hares -online App1 -sys node1
hares -online App2 -sys node1
hares -online App3 -sys node1
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s