[Pacemaker] Updated VMwareVM resource agent

Dejan Muhamedagic dejanmm at fastmail.fm
Mon Mar 1 07:02:09 EST 2010


Hi,

On Sun, Feb 28, 2010 at 10:36:32PM +0100, Cristian Mammoli - Apra Sistemi wrote:
> In 2008 I posted on the linux-ha ML a resource agent script for vmware
> server 2 virtual machines. It has been slightly modified and shipped
> with heartbeat and (now) pacemaker.
> Actually the script is broken:
> the script is named "vmware" while the "resource-agent name" is set to
> "vmwarevm". They should match.
> Besides that, even if all the "OCF_" stuff is correctly declared the
> script always reports:
> "WARNING: Could not find out virtual machine name"
> That's because in the modified version the function "set_environment" is
> not properly executed before actually starting and stopping resources.
> 
> Attached is the 0.2 version I actually use in production. It's called
> "VMwareVM". If you're going to modify the script before including PLEASE
> post it on the list before so I can check if it actually works or not.

Yes, normally that should be the case. You should've complained
right away to avoid any confusion.

Cheers,

Dejan




More information about the Pacemaker mailing list