[Linux-cluster] How to add mysql script into Add resource(luci interface)

fosiul alam expertalert at gmail.com
Thu Sep 23 19:15:48 UTC 2010


Hi thanks
I did that today morning, i copied one script from /etc/init.d/ and then
modify it as my needs
which is working fine.

thanks


On 23 September 2010 20:04, Ben Turner <bturner at redhat.com> wrote:

> In cases like this I write a wrapper script to use as the cluster script
> resource.  This will have to be a Sys V style init script that calls mysql
> using the command you specified.  Hope this helps.
>
> -Ben
>
>
> ----- "fosiul alam" <expertalert at gmail.com> wrote:
>
> > Hi
> > I have installed mysql server from source, So I need to start mysql
> > service by executing bellow command:
> >
> > /usr/local/mysql/bin/mysqld_safe --user=mysql &
> >
> > But I dont understand, How will i add this command in Resources.
> > Normally I add , Add Resources ->script
> > but script will try to execute "start" "stop" end of the command i
> > will provide.
> > which will not work in my case.
> >
> > So can any one please tel me, how to add above command in redhat
> > cluster by using luci interface
> > Please let me know if i am not clear.
> > Thanks for help
> >
> >
> > --
> > Linux-cluster mailing list
> > Linux-cluster at redhat.com
> > https://www.redhat.com/mailman/listinfo/linux-cluster
>
> --
> Linux-cluster mailing list
> Linux-cluster at redhat.com
> https://www.redhat.com/mailman/listinfo/linux-cluster
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/linux-cluster/attachments/20100923/a15844a2/attachment.htm>


More information about the Linux-cluster mailing list