On 2017-07-31 03:18 AM, ArekW wrote: > Hi, I'm confused how to properly set stonith when a hostname is > different than port/plug name. I have 2 vms on vbox/vmware with > hostnames: node1, node2. The port's names are: Centos1, Centos2. > According to my understanding the stonith device must know which vm to > control (each other) so I set: > pmck_host_map="node1:Centos1;node2:Centos2" and it seems to work good, > however documentation describes port as a decimal "port number"(?). > Would it be correct to use something like pmck_host_list="node1 > node2"? But how the fence device will combine the hostname with port > (or plug)? I presume that node1 must somehow know that node2's plug is > Centos2, otherwise It could reboot itself (?) > Thank you.
The "plug" should match the name used by the hypervisor, not the actual host name (if they differ). -- Digimer Papers and Projects: https://alteeve.com/w/ "I am, somehow, less interested in the weight and convolutions of Einstein’s brain than in the near certainty that people of equal talent have lived and died in cotton fields and sweatshops." - Stephen Jay Gould _______________________________________________ Users mailing list: Users@clusterlabs.org http://lists.clusterlabs.org/mailman/listinfo/users Project Home: http://www.clusterlabs.org Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf Bugs: http://bugs.clusterlabs.org