Hi thanks <br>I did that today morning, i copied one script from /etc/init.d/ and then modify it as my needs<br>which is working fine.<br><br>thanks<br><br><br><div class="gmail_quote">On 23 September 2010 20:04, Ben Turner <span dir="ltr"><<a href="mailto:bturner@redhat.com">bturner@redhat.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">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.<br>

<br>
-Ben<br>
<div><div></div><div class="h5"><br>
<br>
----- "fosiul alam" <<a href="mailto:expertalert@gmail.com">expertalert@gmail.com</a>> wrote:<br>
<br>
> Hi<br>
> I have installed mysql server from source, So I need to start mysql<br>
> service by executing bellow command:<br>
><br>
> /usr/local/mysql/bin/mysqld_safe --user=mysql &<br>
><br>
> But I dont understand, How will i add this command in Resources.<br>
> Normally I add , Add Resources ->script<br>
> but script will try to execute "start" "stop" end of the command i<br>
> will provide.<br>
> which will not work in my case.<br>
><br>
> So can any one please tel me, how to add above command in redhat<br>
> cluster by using luci interface<br>
> Please let me know if i am not clear.<br>
> Thanks for help<br>
><br>
><br>
</div></div>> --<br>
> Linux-cluster mailing list<br>
> <a href="mailto:Linux-cluster@redhat.com">Linux-cluster@redhat.com</a><br>
> <a href="https://www.redhat.com/mailman/listinfo/linux-cluster" target="_blank">https://www.redhat.com/mailman/listinfo/linux-cluster</a><br>
<font color="#888888"><br>
--<br>
Linux-cluster mailing list<br>
<a href="mailto:Linux-cluster@redhat.com">Linux-cluster@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/linux-cluster" target="_blank">https://www.redhat.com/mailman/listinfo/linux-cluster</a><br>
</font></blockquote></div><br>