> The "plug" should match the name used by the hypervisor, not the actual
host name (if they differ).
I understand the difference between plug and hostname. I don't clearly
understand which fence config is correct (I reffer to pcs stonith describe
fence_...):

the same entry on every node:
pmck_host_map="node1:Centos1;node2:Centos2"

or different entry at every node like this:

port=Centos1 (on node1)
port=Centos2 (on node2)
?
Thanks,
Regards

2017-07-31 14:28 GMT+02:00 Digimer <[email protected]>:

> 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: [email protected]
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

Reply via email to