[Pacemaker] ocf:heartbeat:anything issue with samba

Jake Smith jsmith at argotec.com
Wed Jan 16 14:56:40 UTC 2013


Another option as Dejan said would be to us another agent such as lsb or upstart. I use upstart for smbd/nmbd personally. 




Jake 
----- Original Message -----

From: "joël LABBY" <joel at nwavedigital.com> 
To: pacemaker at oss.clusterlabs.org 
Sent: Wednesday, January 16, 2013 8:37:42 AM 
Subject: Re: [Pacemaker] ocf:heartbeat:anything issue with samba 

Thanks a lot for this answer. 

I've simply add "-F" as command line parameter to force smbd to stay foreground and it does the trick ! 

One day of googling for a simple parameter ! :-) 

Thanks 

joel 




Le 16/01/2013 14:14, Dejan Muhamedagic a écrit : 


Hi,

Looks like ocf:heartbeat:anything is not well suited for programs
which do fork-exec, i.e. normal daemons. If smbd has an option to
stay in the foreground, that could help. Otherwise, you'll need
to use another agent or write a small dummy wrapper script.

Thanks,

Dejan

_______________________________________________
Pacemaker mailing list: Pacemaker at oss.clusterlabs.org http://oss.clusterlabs.org/mailman/listinfo/pacemaker Project Home: http://www.clusterlabs.org Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf Bugs: http://bugs.clusterlabs.org 



-- 

_______________________________________________ 
Pacemaker mailing list: Pacemaker at oss.clusterlabs.org 
http://oss.clusterlabs.org/mailman/listinfo/pacemaker 

Project Home: http://www.clusterlabs.org 
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf 
Bugs: http://bugs.clusterlabs.org 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.clusterlabs.org/pipermail/pacemaker/attachments/20130116/e6d34048/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Joel.jpg
Type: image/jpeg
Size: 47308 bytes
Desc: not available
URL: <https://lists.clusterlabs.org/pipermail/pacemaker/attachments/20130116/e6d34048/attachment-0004.jpg>


More information about the Pacemaker mailing list