[Linux-HA] Cannot use spaces in haresources script arguments?

Chris de Vidal chris at devidal.tv
Wed Mar 29 12:52:56 MST 2006


--- Thomas Guyot-Sionnest <Thomas at zango.com> wrote:
> You might as well use variable names in haressources, and in your script you 
> source a config file where you map those variables to the names you need.

Yeah that might have worked.

I just hacked together a script to rename the virtual machines to include underscores.  Another
advantage of that is people who don't like to edit files can just add and delete virtual machines
on-the-fly.

In case you're interested in seeing the script:
http://devidal.tv/~chris/cluster_virtual_machine

I wrote it with portability in mind, though I've only tested it on Debian... feedback appreciated
if you use it.

Thanks!

CD

TenThousandDollarOffer.com


More information about the Linux-HA mailing list