[Pacemaker] remote node not listed

Саша Александров shurrman at gmail.com
Fri Sep 12 03:55:25 EDT 2014


Hi!

I am trying to set up a cluster on two servers with several KVM virtual
machines. (CentOS 6.5, Pacemaker 1.10 from native repo)
Using this as guideline:
http://clusterlabs.org/doc/en-US/Pacemaker/1.1/html-single/Pacemaker_Remote/#idm207095595072
It states:

Now just register the resource with pacemaker and you’re set!

# pcs resource create vm-guest1 VirtualDomain
hypervisor="qemu:///system" config="/root/guest1.xml" meta
remote-node=guest1

Once the *vm-guest1* resource is started you will see *guest1* appear in
the *pcs status* output as a node. The final *pcs status*output should look
something like this.

Last updated: Fri Mar 15 09:30:30 2013
Last change: Thu Mar 14 17:21:35 2013 via cibadmin on example-host
Stack: corosync
Current DC: example-host (1795270848) - partition WITHOUT quorum
Version: 1.1.102 Nodes configured, unknown expected votes2 Resources configured.


Online: [ example-host guest1 ]

Full list of resources:

 vm-guest1      (ocf::heartbeat:VirtualDomain): Started example-host


However, remote-node does not appear in a node list, just a resource:

# pcs resource create oracle-test VirtualDomain hypervisor="qemu:///system"
config="/etc/libvirt/qemu/oracle-test.xml" meta remote-node=oracle-test

# pcs status
Cluster name: wings
Last updated: Fri Sep 12 11:45:50 2014
Last change: Fri Sep 12 11:35:50 2014 via crm_resource on wings1
Stack: cman
Current DC: wings1 - partition with quorum
Version: 1.1.10-14.el6-368c726
2 Nodes configured
1 Resources configured


Online: [ wings1 wings2 ]

Full list of resources:

 oracle-test    (ocf::heartbeat:VirtualDomain): Started wings1

It is supposed that remote-node named oracle-test should appear in the list
as the third node, is not it?
Please advice


-- 
Best regards,
Alexandr A. Alexandrov
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.clusterlabs.org/pipermail/pacemaker/attachments/20140912/6c56800e/attachment-0002.html>


More information about the Pacemaker mailing list