Mailing List Archive

Stonith Plugin external/vcenter HOSTLIST Parameter
Hello,

there is an issue with the HOSTLIST value of the stonith vcenter plugin.

The HOSTLIST value specification is bad because it looks like the resource manager splits the configuration by the character "="
The HOSTLIST value looks like this
hostname1=VirtualMachineName1;hostname2=VirtualMachineName2

The only think you will get in the vcenter plugin script as HOSTLIST value is "hostname1" nothing more.

I changed in my system the "=" with ":" and in the vcenter script this part
my @config = split(/=/, $host);
to this
my @config = split(/:/, $host);
After this changes everything is ok and the fencing mechanism works perfect!
I found this problem in SLES11SP2 HA

I am not sure whether this is a good solution to replace the "=" with ":"!?
I am also not sure about whether or not this issue still exist in newer releases of the crm!
In the next days I will check SLES11SP3 HA

Best Regards
Marcus Meier

_______________________________________________________
Linux-HA-Dev: Linux-HA-Dev@lists.linux-ha.org
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/
Re: Stonith Plugin external/vcenter HOSTLIST Parameter [ In reply to ]
Hello,

after checking SLES11 SP3 I found no error, but I found this mailing list entry
http://www.gossamer-threads.com/lists/linuxha/dev/82835

To patch fence_legacy in SLES 11 SP2 fixed this problem
SLES 11 SP3 fixed this bug already.

So sorry for disturbing!

Best Regards
Marcus Meier

-----Ursprüngliche Nachricht-----
Von: linux-ha-dev-bounces@lists.linux-ha.org [mailto:linux-ha-dev-bounces@lists.linux-ha.org] Im Auftrag von Meier, Marcus
Gesendet: Freitag, 23. Mai 2014 13:08
An: linux-ha-dev@lists.linux-ha.org
Betreff: [Linux-ha-dev] Stonith Plugin external/vcenter HOSTLIST Parameter

Hello,

there is an issue with the HOSTLIST value of the stonith vcenter plugin.

The HOSTLIST value specification is bad because it looks like the resource manager splits the configuration by the character "="
The HOSTLIST value looks like this
hostname1=VirtualMachineName1;hostname2=VirtualMachineName2

The only think you will get in the vcenter plugin script as HOSTLIST value is "hostname1" nothing more.

I changed in my system the "=" with ":" and in the vcenter script this part
my @config = split(/=/, $host);
to this
my @config = split(/:/, $host);
After this changes everything is ok and the fencing mechanism works perfect!
I found this problem in SLES11SP2 HA

I am not sure whether this is a good solution to replace the "=" with ":"!?
I am also not sure about whether or not this issue still exist in newer releases of the crm!
In the next days I will check SLES11SP3 HA

Best Regards
Marcus Meier

_______________________________________________________
Linux-HA-Dev: Linux-HA-Dev@lists.linux-ha.org
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/
_______________________________________________________
Linux-HA-Dev: Linux-HA-Dev@lists.linux-ha.org
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/