Re: [Linux-cluster] Startup and Shutdown of a Virtual/Physical cluster

2008-01-25 Thread jr
> clustat -l | sed -n 's/^Service Name.*: //g p' | xargs -n 1 clusvadm -d dang, it's missing a "c" clustat -l | sed -n 's/^Service Name.*: //g p' | xargs -n 1 clusvcadm -d i'm sure you already figured that out anyhow ;) johannes -- Linux-cluster mailing list Linux-cluster@redhat.com https://w

Re: [Linux-cluster] Startup and Shutdown of a Virtual/Physical cluster

2008-01-24 Thread Johannes Russek
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 clustat -l | sed -n 's/^Service Name.*: //g p' | xargs -n 1 clusvadm -d there you go, should work even with space :) i

Re: [Linux-cluster] Startup and Shutdown of a Virtual/Physical cluster

2008-01-24 Thread Lon H. Hohberger
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 a

Re: [Linux-cluster] Startup and Shutdown of a Virtual/Physical cluster

2008-01-24 Thread Gary Romo
This would also work for a regular "physical" cluster correct? -Gary "Lon H. Hohberger" <[EMAIL PROTECTED]> Sent by: [EMAIL PROTECTED] 01/24/2008 01:30 PM Please respond to linux clustering To linux clustering cc Subject Re: [Linux-cluster] Startup and Shut

Re: [Linux-cluster] Startup and Shutdown of a Virtual/Physical cluster

2008-01-24 Thread Lon H. Hohberger
On Thu, 2008-01-24 at 17:13 +0100, Paolo Marini wrote: > This is already configured that way - is'nt there a quick way to > shutdown the entire virtual/physical clusters at once ? Depend; if you're managing the virtual instances, you can do something like: for a in `clustat -l | grep "^Service

Re: [Linux-cluster] Startup and Shutdown of a Virtual/Physical cluster

2008-01-24 Thread Paolo Marini
This is already configured that way - is'nt there a quick way to shutdown the entire virtual/physical clusters at once ? Lon H. Hohberger ha scritto: On Thu, 2008-01-24 at 11:36 +0100, Paolo Marini wrote: Thanks for the answer, I suspected that failover domains could do the trick, I will tr

Re: [Linux-cluster] Startup and Shutdown of a Virtual/Physical cluster

2008-01-24 Thread Lon H. Hohberger
On Thu, 2008-01-24 at 11:36 +0100, Paolo Marini wrote: > Thanks for the answer, I suspected that failover domains could do the > trick, I will try this solution. > > Anyway, shutdown is for me still unclear. > > starting up a cluster involves starting the cman daemon, clvmd, gfs, > mounting the

Re: [Linux-cluster] Startup and Shutdown of a Virtual/Physical cluster

2008-01-24 Thread Paolo Marini
Thanks for the answer, I suspected that failover domains could do the trick, I will try this solution. Anyway, shutdown is for me still unclear. starting up a cluster involves starting the cman daemon, clvmd, gfs, mounting the gfs filesystems and starting rgmanager. Stopping cman does not work on

Re: [Linux-cluster] Startup and Shutdown of a Virtual/Physical cluster

2008-01-24 Thread jr
Hi Paolo, > When the physical cluster starts up, and the nodes are operational, the > virtual nodes are started in an unordered mode, e.g. the allocation to the > physical nodes is not predetermined. If the physical cluster nodes come up > at different times, the first operational node of the phy

[Linux-cluster] Startup and Shutdown of a Virtual/Physical cluster

2008-01-24 Thread Paolo Marini
After a period of time experimenting with a cluster composed of 3 physical nodes hosting 5 XEN guests, both physical and virtual nodes being part of their respective cluster, with shared storage based on iSCSI and GFS, I am quite satisfied with the system stability and performances. My concern now