[Linux-cluster] freezing a service
Lon Hohberger
lhh at redhat.com
Mon Jan 7 22:48:10 UTC 2008
On Sun, 2008-01-06 at 17:45 -0800, Michael Harrison wrote:
> Hi,
>
> Is it possible to freeze a service, so that rgmanager effectively
> ignores it? In other words, when doing maintenance on a production
> cluster, it's sometimes necessary to stop the cluster services on that
> node. When rgmanager comes down, I'd like it to leave whatever services
> are running on the node alone, and not fail them over.
>
> I looked at the docs and utilities and didn't find anything like that.
> Don't know if I missed it somewhere.
In HEAD, yes.
If you're not running HEAD...
clusvcadm -d <service>
rg_test test /etc/cluster/cluster.conf start service <service>
[do maintenance here]
rg_test test /etc/cluster/cluster.conf stop service <service>
clusvcadm -e <service>
-- Lon
More information about the Linux-cluster
mailing list