[Linux-cluster] when i reboot the node1(node2) , my cluster is hung at "umounting file system"

victory.xu july_snow at 163.com
Fri Dec 26 17:49:37 UTC 2008


	    	my compuet : two DELL 1950 , HBA,  HP EVA 4400 SAN 

			RHEL 5.2,GFS,LVM 
			when i reboot the node1 or node2 ,the node will be hung at "umounting file system"
				and  the other node will be hung 
			this is my operation
#node 1
pvcreate /dev/sdb
pvcreate /dev/sdc
vgcreate volGFS01 /dev/sdb	
vgcreate volGFS02 /dev/sdc	
lvcreate -L 10G  volGFS01  -n vg01
lvcreate -L 2197G  volGFS02  -n vg02
gfs_mkfs -p lock_dlm -t webcs:gfs01 -j 10 /dev/volGFS01/vg01
gfs_mkfs -p lock_dlm -t webcs:gfs02 -j 10 /dev/volGFS02/vg02


sfdisk -R  /dev/sdb
sfdisk -R  /dev/sdc

#then run them on node1 and node2

service cman start
service clvmd start
service rgmanager start

mkdir /web
mkdir /file

mount /dev/volGFS01/vg01 /web		
mount /dev/volGFS02/vg02 /file

# then i set cman clvmd  rgmanager  to auto start  when systems start , change the /etc/lvm/lvm.conf 


#this is the cluster.conf

<?xml version="1.0"?>
<cluster alias="webcs" config_version="12" name="webcs">
        <fence_daemon post_fail_delay="0" post_join_delay="3"/>
                <clusternode name="web1" nodeid="1" votes="1">
                                <method name="1">
                                        <device name="f-man" nodename="web1"/>
                <clusternode name="web2" nodeid="2" votes="1">
                                <method name="1">
                                        <device name="f-man" nodename="web2"/>
        <cman expected_votes="1" two_node="1"/>
                <fencedevice agent="fence_manual" name="f-man"/>
                        <failoverdomain name="web" ordered="0" restricted="0">
                                <failoverdomainnode name="web1" priority="1"/>
                                <failoverdomainnode name="web2" priority="1"/>
                        <ip address="" monitor_link="1"/>
                        <script file="/etc/init.d/httpd" name="httpd"/>
                <service autostart="1" domain="web" name="web">
                        <ip ref=""/>
                        <script ref="httpd"/>



        july_snow at 163.com

More information about the Linux-cluster mailing list