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

Ben Turner bturner at redhat.com
Thu Sep 23 19:04:48 UTC 2010


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




More information about the Linux-cluster mailing list