Hi Michael. I wrote this a while back. It may not be what you're looking
for or it may be out of date but see if it helps.

http://wmdzone.blogspot.co.uk/2011/02/making-bash-scripts-ha-compatible.html

Sent from my Nexus.
On 12 Mar 2013 11:19, "Michael Smith" <michael.sm...@hipcom.co.uk> wrote:

>  Hi,****
>
> ** **
>
> I think it’s quite simple but I can’t see how to do it.****
>
> ** **
>
> I have a two node cluster serving up a samba share and allowing access via
> sftp, these I have all working fine, but for the following.****
>
> ** **
>
> In order to have samba and sftp working together on the same directories I
> need to do a mount –o bind <path> <mountpoint>.****
>
> ** **
>
> This I need to be done when the cluster fails over, it’s a one off event
> and doesn’t have a any running process or require a start/stop script.  I
> have written the script but I now need it to run as a clustered resource,
> once the file system has been mounted (drdb) and before I start samba and
> set the virtual IP.****
>
> ** **
>
> Hope you can help.****
>
> ** **
>
> Thanks****
>
> ** **
>
> Michael Smith****
>
> _______________________________________________
> Pacemaker mailing list: Pacemaker@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@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

Reply via email to