Re: [Pacemaker] Trouble with KVM Resource

2011-10-31 Thread Cliff Massey
I looked at /usr/lib/ocf/resource.d/heartbeat/VirtualDomain and also checked the permissions of the state file and it was the same as the working one. It was only empty on one node. I did an echo Convirt > /var/run/heartbeat/rsctmp/VirtualDomain-convirt-kvm.state on the empty node and resta

Re: [Pacemaker] Trouble with KVM Resource

2011-10-31 Thread Tim Serong
On 11/01/2011 02:23 PM, Cliff Massey wrote: I am having a problem with my kvm resource. It was working until I decided to re-install the kvm machine. The libvirt xml file and the pacemaker configuration did not change. I can start the kvm outside of pacemaker just fine. When I check the lib

[Pacemaker] Trouble with KVM Resource

2011-10-31 Thread Cliff Massey
I am having a problem with my kvm resource. It was working until I decided to re-install the kvm machine. The libvirt xml file and the pacemaker configuration did not change. I can start the kvm outside of pacemaker just fine. When I check the libvirt log, it shows no attempt to start the kvm

[Pacemaker] Trouble with active/active

2011-10-31 Thread Nick Khamis
Hello Everyone, I have the following built from source: Corosync 1.4.2 Pacemaker 1.1.6 Cman 3.1.7 Corosync, with service.d/pcmk works fine pcmk crm is started etc.. I have an existing cib configuration as shown bellow, and the RAs load fine. totem { version: 2 # How long be

Re: [Pacemaker] can pacemaker do mysql Master/Slave.

2011-10-31 Thread Joe
Thank you very much Mike. I tried but it does not seem to work. Would you happen to have a doc somewhere that has example crm configure show. Thank you - Joe. On 10/31/2011 12:48 PM, Michael Marrotte wrote: Joe: Yes. There is now support for replication (master/slave): * See if the instal

Re: [Pacemaker] can pacemaker do mysql Master/Slave.

2011-10-31 Thread Michael Marrotte
Joe: Yes. There is now support for replication (master/slave): - See if the installed MySQL RA (Resource Agent) includes support for replication (your paths might be different) grep -i 'replication capability' /usr/lib/ocf/resource.d/heartbeat/mysql #Marian Marinov, Flor

[Pacemaker] can pacemaker do mysql Master/Slave.

2011-10-31 Thread Joe
I have a quick question is the Master Slave setting in pacemaker only allowed in regards to a DRBD device? Can you use it to create other Master Slave relationships such as mysql . What I am trying to do is to failover mysql service on a primary to a secondary if the mysql service fails on the

Re: [Pacemaker] "crm status" cmd not running through cron job

2011-10-31 Thread Dejan Muhamedagic
Hi, On Sat, Oct 29, 2011 at 02:10:22PM +0200, Tom Tux wrote: > Looks like a environment-(path)-problem. Can you set the same paths in Yes, most probably... > the script as you have as user "root"? > > Do this with "export PATH=$PATH:/usr/sbin." > > Regards, > Tom > > 2011/10/28 ihjaz Moha

Re: [Pacemaker] "crm status" cmd not running through cron job

2011-10-31 Thread ihjaz Mohamed
Thanks guys. It was an environment problem. Though I was using the absolute path as /usr/sbin/crm, it still wouldn't execute unless /usr/sbin is added to the PATH of the cron environment. From: Arturo Borrero Gonzalez To: pacemaker@oss.clusterlabs.org Sent: Su

Re: [Pacemaker] Please teach it about handling of the unmanaged resource in environment setting placement-strategy.

2011-10-31 Thread Yuusuke Iida
Hi, Yan I read a cord of pengine. By all appearance, as for the resource becoming "unmanaged failed", an allotment does not seem to be performed. Is the recognition that an allotment is not performed as for the "unmanaged failed" resource that failed in stop right? Does it mean that capacity o

Re: [Pacemaker] When a resource starts all at once in environment using utilization, score may not work

2011-10-31 Thread Yuusuke Iida
Hi, Yan Thank you for reply. (2011/10/25 18:01), Gao,Yan wrote: Hi Yuusuke, On 10/20/11 20:43, Yuusuke Iida wrote: Hi, Yan (2011/09/26 17:46), Gao,Yan wrote: A glance to the transition. After grpPostgreSQLDB3 was assigned to act1, grpPostgreSQLDB1 was chosen to be processed, and it was assi