[Linux-ha-dev] Stonith turns node names to lowercase
Alberic de Pertat
alberic.depertat at adelux.fr
Tue Oct 18 04:12:05 MDT 2011
Hi,
I am currently in the process of writing a fencing agent for VMware vCenter. After some tests, I noticed that the stonith command is turning the nodename to lowercase.
The problem is that almost every VM in my inventory is uppercase with some mixed case too. VMware allows you to have two VM with the same name but different cases. I cannot find a proper way to deal with this as a case insensitive search through the inventory could yield more than one result.
Looking through the stonith command source (Mercurial HEAD), I found the following in stonith.c (l. 456) :
g_strdown(nodecopy);
Is there a reason for this ?
Thanks a lot
--
Albéric de Pertat
ADELUX
01 40 86 45 81
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.linux-ha.org/pipermail/linux-ha-dev/attachments/20111018/568ee6dd/attachment.htm
More information about the Linux-HA-Dev
mailing list