Re: freezing a service

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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





--
Linux-cluster mailing list
Linux-cluster@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/linux-cluster

[Index of Archives]     [Corosync Cluster Engine]     [GFS]     [Linux Virtualization]     [Centos Virtualization]     [Centos]     [Linux RAID]     [Fedora Users]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Camping]

  Powered by Linux