Re: Startup and Shutdown of a Virtual/Physical cluster

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

 



On Thu, 2008-01-24 at 13:57 -0700, Gary Romo wrote:
> 
> This would also work for a regular "physical" cluster correct? 
> 

Basically, that will stop+disable all rgmanager-managed services on the
cluster.

The context I meant was when using it with rgmanager-managed VMs, but it
should work with all services/VMs.

Also, I had it wrong - I tested that on RHEL4, not RHEL5.  The following
should work on either RHEL4 or RHEL5:

  for a in `clustat -l | grep "^Service Name" | awk '{print $4}' `; do
    clusvcadm -d $a
  done

... however, it won't work if you put spaces in your service names ;)

-- 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