Re: [Pacemaker] Pacemaker shutdown issue
The upgrade should really be transparent. What problems did you encounter with nfsserver? Whenever one of the nodes takes over the nfs resource it doesn't startup the first time and gives this error: nfs_server_monitor_0 (node=nfs1, call=11, rc=2, status=complete): invalid parameter If I run this command it starts up instantly and doesn't have any problems until the service gets migrated again: crm_resource -C -r nfs_server Here is that resource from my config: primitive nfs_server ocf:heartbeat:nfsserver \ params nfs_init_script=/etc/init.d/nfs \ params nfs_notify_cmd=/sbin/rpc.statd \ params nfs_shared_infodir=/var/lib/nfs \ params nfs_ip=10.1.1.150 \ op monitor interval=30s I haven't tested yet but was going to switch from ocf:heartbeat:nfsserver to lsb:nfs to see if that fixes the problem. I also had something like this in my config: primitive drbd_r0 ocf:heartbeat:drbd \ params drbd_resource=r0 \ op monitor=30s That also gave me an error (I think it was action monitor_0 does not exist). I think that needs to be switched to this: primitive drbd_r0 ocf:linbit:drbd \ params drbd_resource=r0 op monitor interval=29s role=Master timeout=30s \ op monitor interval=30s role=Slave timeout=30s ___ Pacemaker mailing list Pacemaker@oss.clusterlabs.org http://oss.clusterlabs.org/mailman/listinfo/pacemaker
Re: [Pacemaker] Pacemaker shutdown issue
That looks like a problem in the resource agent. Most probably you hit the bug 2219 which has been fixed on November 9. I applied the patch and that appears to have fixed the problem! I haven't tried a reboot yet but I can migrate between nodes without any issue. This has most probably been from the crm shell. It has been relaxed in the meantime (see bugzilla ). That's exactly the problem I was setting. I switched to the correct monitor commands (including the role) and that fixed the problem. Both the clusterlabs.org and drbd.org show the syntax without a role specified. Thanks again for the help. It looks like there is all kinds of good info in bugzilla. I'll be sure to check that out first when I run into a problem. (It doesn't look like Google or Bing index the bugzilla site) -Tony ___ Pacemaker mailing list Pacemaker@oss.clusterlabs.org http://oss.clusterlabs.org/mailman/listinfo/pacemaker
[Pacemaker] Pacemaker shutdown issue
Hi Everyone, I'm having an issue with pacemaker and was hoping someone could point me in the right direction. I'm using pacemaker with openais on a set of NFS servers. Every time I reboot the primary I get a split brain in DRBD. From what I can tell when openais is shutting down it doesn't stop the services it is controlling so as far as DRBD is concerned it is the same as a hard shutdown. I can reproduce the problem by stopping OpenAIS (service openais stop or /etc/init.d/openais stop) and see that the controlled services (DRBD, files systems, nfs, etc.) are still running. I think this is the same exact problem: http://www.gossamer-threads.com/lists/linuxha/pacemaker/59384 Version Info: CentOS 5.4 x64 drbd83-8.3.2-6.el5_3 openais-0.80.6-8.el5_4.1 pacemaker-1.0.5-4.1 Is there something special that needs to be configured so that when openais stops it stops all of the resources? Thanks for the help! -Tony ___ Pacemaker mailing list Pacemaker@oss.clusterlabs.org http://oss.clusterlabs.org/mailman/listinfo/pacemaker