/etc/init.d/nfsserver works fine for stopping starting.

look like issue is that heartbeat is detecting that this is running on more 
then one node. I can I restrict that to start only on one node and go to second 
if it fails

Feb 25 11:08:49 hos002a nfsserver[14037]: [14073]: ERROR: IT FAILED stop NFS 
server - OCF_SUCCESS - 0 - rc- 1 OCF_RESKEY_nfs_init_script- 
/etc/init.d/nfs-----------
Feb 25 11:08:49 hos002a crmd: [14378]: info: process_lrm_event: LRM operation 
nfs_home2_stop_0 (call=77, rc=0) complete 
Feb 25 11:08:49 hos002a tengine: [14392]: info: match_graph_event: Action 
nfs_home2_stop_0 (26) confirmed on hos002a (rc=0)
Feb 25 11:08:49 hos002a mgmtd: [14382]: ERROR: native_add_running: Resource 
ocf::nfsserver:nfs_home2 appears to be active on 2 nodes.
Feb 25 11:08:49 hos002a mgmtd: [14382]: ERROR: See 
http://linux-ha.org/v2/faq/resource_too_active for more information.




> Date: Wed, 25 Feb 2009 10:14:03 +0800
> Subject: Re: [Linux-HA] Sample NFS ocf resource script
> From: [email protected]
> To: [email protected]
> 
> Hi Sachin,
> 
> 2009/2/17 sachin patel <[email protected]>:
> >
> > Feb 16 15:16:37 hos002a crmd: [8576]: info: process_lrm_event: LRM 
> > operation NFS_home2_monitor_0 (call=35, rc=0) complete
> 
> NFS_home2_monitor_0 indicate the nfs server is running.
> 
> > Feb 16 15:16:38 hos002a nfsserver[10964]: [10976]: INFO: Stopping NFS 
> > server ...
> > Feb 16 15:16:38 hos002a haclient: on_event:evt:cib_changed
> > Feb 16 15:16:38 hos002a rpcsvcgssd: rpc.svcgssd shutdown failed
> > Feb 16 15:16:38 hos002a haclient: on_event:evt:cib_changed
> > Feb 16 15:16:38 hos002a nfs: rpc.mountd shutdown failed
> > Feb 16 15:16:38 hos002a nfs: nfsd shutdown failed
> > Feb 16 15:16:38 hos002a haclient: on_event:evt:cib_changed
> > Feb 16 15:16:38 hos002a nfs: rpc.rquotad shutdown failed
> > Feb 16 15:16:38 hos002a nfs: Shutting down NFS services:  failed
> 
> These messages prefixed with nfs: are output of your
> /etc/init.d/nfsserver script.
> So it seems the script fails to shutdown rpc.mountd, nfsd and rpc.rquotad.
> 
> This usually is very distribution dependent, so I'm not sure what
> might going wrong in your case.
> Would you try out the /etc/init.d/nfsserver script alone to stop the
> nfs server ?
> And also check the return code of both start/stop/status operations ?
> _______________________________________________
> Linux-HA mailing list
> [email protected]
> http://lists.linux-ha.org/mailman/listinfo/linux-ha
> See also: http://linux-ha.org/ReportingProblems

_________________________________________________________________
Access your email online and on the go with Windows Live Hotmail.
http://windowslive.com/online/hotmail?ocid=TXT_TAGLM_WL_HM_AE_Access_022009_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to