[Linux-cluster] vm.sh with and without virsh

Jakov Sosic jakov.sosic at srce.hr
Mon Oct 5 13:06:59 UTC 2009


On Mon, 5 Oct 2009 09:10:11 -0300
Edson Marquezani Filho <edsonmarquezani at gmail.com> wrote:

> I would like to hear from those who have some experience with vm.sh:
> can it be used as a resource on a service configuration for Rgmanager?
> I say this because all examples I have seen use it as a separated
> statement on cluster.conf, not within a service declaration. But, in
> order to put VMs up, I need to satisfy some requisites first, like LVs
> activations on the node.
> 
> I wrote a minimal LSB-compliant script to be used as a service script,
> and handle VMs, then I configure a service for each VM I have, with a
> script and lvm-cluster resources. But, I'm considering to use vm.sh
> instead.
> 
> Can you explain to me how it works, and how do you use it?

Currently I use <vm .../> in my config. I use CLVM, so that LVM uses
clustered locking, so I don't need to activate the LV's, it's done
automatically for me. I haven't tried <vm ... /> inside of a service...




-- 
|    Jakov Sosic    |    ICQ: 28410271    |   PGP: 0x965CAE2D   |
=================================================================
| start fighting cancer -> http://www.worldcommunitygrid.org/   |




More information about the Linux-cluster mailing list