[Linux-cluster] Adding Service to Cluster..
Singh Raina, Ajeet
ajeet.singh.raina at logica.com
Thu Aug 14 05:33:34 UTC 2008
I want to add a service on already setup red hat cluster. Due to no X
window installed on my machine,I am working completely on text mode.
All My Clustat says:
Member Status: Quorate
Member Name Status
------ ---- ------
edwin1-cluster Online, rgmanager
edwin2-cluster Online, Local, rgmanager
Service Name Owner (Last) State
------- ---- ----- ------ -----
bang edwin2-cluster started
I have been provided a script by cluster experts which will help me in
including service and script to the cluster.iT has the following
Syntax: ../cluster/cluster.py <command> <args>
addservice <service_name> <autostart> <domain>
addserviceip <service_name> <ip_address> <monitor_link>
addservicescript <service_name> <script_name> <script_file>
addservicefs <service_name> <device> <mountpoint>
<force_unmount=1/0> <fs_name> <fs_type>
addfodomain <domain_name> <restricted/unrestricted>
addfodnode <domain_name> <node_name> <node_priority>
addquorumd <interval> <tko> <votes> <label> <log_level>
changelogging <log_level> <log_facility>
edwin1# ../cluster/cluster.py listservices
edwin1# vi nfsdeamon.sh
edwin1# ../cluster/cluster.py addservicescript nfs nfscontrol
Script has been added successfully.
I added nfs script written ownself.
I too added the service before that.
Now When I run
It means that service is successfully added with the script.
Now when I see clustat I acnt see NFS Service being displayed.
That's Why its difficult for me to run the following command instead:
edwin2# clusvcadm -r nfs -m edwin2-cluster
Trying to relocate nfs to edwin2-cluster...failed: Service does not
What should I do to include nfs in clustat.
This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Linux-cluster