Re: [Pacemaker] KVM live migration with pcs

2014-09-12 Thread Саша Александров
Steven, Managed to try today. Yes, live migration works. I also added "migrate_to timeout". One problem left - start timeout is not honoured: I set 300s, Pacemaker throws error after 60s. Operations: monitor interval=60s (vm-oracle-test-monitor-interval-60s) start on-fail=restart

Re: [Pacemaker] KVM live migration with pcs

2014-09-12 Thread Саша Александров
Steven, Thanks, this is probably the thing! Will try next week. 2014-09-12 16:37 GMT+04:00 Steven Hale : > On 12 September 2014 12:34, Steven Hale wrote: > > # pcs resource move vm-resource newnode > > Additionally, you must have the "allow-migrate=true" meta option set > if you want to use liv

Re: [Pacemaker] KVM live migration with pcs

2014-09-12 Thread Steven Hale
On 12 September 2014 12:34, Steven Hale wrote: > # pcs resource move vm-resource newnode Additionally, you must have the "allow-migrate=true" meta option set if you want to use live migration. Otherwise it will shutdown the resource and restart it on the new node, just like any other normal reso

Re: [Pacemaker] KVM live migration with pcs

2014-09-12 Thread Steven Hale
On 12 September 2014 12:24, Саша Александров wrote: > Is it possible to live migrate KVM with pcs? There is no 'pcs resource > migrate'. VirtualDomain RA has migrate_to/migrate_from functions, but what > is the method for cluster to call them? The command is "move" rather than "migrate". move

[Pacemaker] KVM live migration with pcs

2014-09-12 Thread Саша Александров
Hi! Is it possible to live migrate KVM with pcs? There is no 'pcs resource migrate'. VirtualDomain RA has migrate_to/migrate_from functions, but what is the method for cluster to call them? -- Best regards, Alexandr A. Alexandrov ___ Pacemaker mailing

Re: [Pacemaker] remote node not listed

2014-09-12 Thread Саша Александров
Emmanuel, telnet to daemon is ok. I just found an answer in RH documentation ( https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/6-Beta/html/Configuring_the_Red_Hat_High_Availability_Add-On_with_Pacemaker/pacemaker_remote.html ) It clearly states: *WARNING*: This value cannot

Re: [Pacemaker] remote node not listed

2014-09-12 Thread emmanuel segura
telnet oracle-test 3121 ? 2014-09-12 9:55 GMT+02:00 Саша Александров : > 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 node not listed

2014-09-12 Thread Саша Александров
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