On Wednesday 21 January 2009, Marcelo Gomes wrote: > Hi! > > > (Sorry for my English) > > I have a redhat (Centos 5.1) cluster with gfs and the fence is manual. > What's the command to remove some computer from de cluster? and what is the > command to go back this computer in the cluster ? What do you mean by "remove" ? If you want to fence server1, you can : - use the command "fence_node server1" on server2 - stop server1 - use the command "fence_ack_manual -n server1" on server2 - restart server1 to make it join the cluster again If you want to really remove a server from the cluster, you can remove the entry from the cluster.conf file (for instance with the command "ccs_tool delnode server1") If you want to stop one node : you can simply stop the services, in the right order ? "service gfs stop ; service clvmd stop ; service rgmanager stop ; service cman stop" ? > > > Thanks > > Marcelo > > My cluster.conf > > <?xml version="1.0"?> > <cluster config_version="7" name="cluster"> > <fence_daemon post_fail_delay="0" post_join_delay="3"/> > <clusternodes> > <clusternode name="server1" nodeid="1" votes="1"> > <fence> > <method name="1"> > <device name="Manual" nodename="server1"/> > </method> > </fence> > </clusternode> > <clusternode name="server2" nodeid="2" votes="1"> > <fence> > <method name="1"> > <device name="Manual" nodename="server2"/> > </method> > </fence> > </clusternode> > <clusternode name="server3" nodeid="3" votes="1"> > <fence> > <method name="1"> > <device name="Manual" nodename="server3"/> > </method> > </fence> > </clusternode> > <clusternode name="server4" nodeid="4" votes="1"> > <fence> > <method name="1"> > <device name="Manual" nodename="server4"/> > </method> > </fence> > </clusternode> > <clusternode name="server5" nodeid="5" votes="1"> > <fence> > <method name="1"> > <device name="Manual" nodename="server5"/> > </method> > </fence> > </clusternode> > </clusternodes> > <cman/> > <fencedevices> > <fencedevice agent="fence_manual" name="Manual"/> > </fencedevices> > <rm> > <failoverdomains/> > <resources/> > </rm> > </cluster> -- Xavier Montagutelli Tel : +33 (0)5 55 45 77 20 Service Commun Informatique Fax : +33 (0)5 55 45 75 95 Universite de Limoges 123, avenue Albert Thomas 87060 Limoges cedex -- Linux-cluster mailing list Linux-cluster@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/linux-cluster