[Lustre-discuss] Lustre1.6.6 manual failover problem

Lin Wang freebsd_china at 163.com
Wed Dec 17 22:45:21 PST 2008


Hello everyone,
   I have some Lustre1.6.6 manual failove problem. I have two MDS four OSS and two clients .And the two MDS make failover, the four OSS make two failover.
two MDS have share storage
[root at mds1 ~]# mkfs.lustre --fsname=testfs --mdt --mgs --failnode=mds2 /dev/sdb
[root at mds1 ~]# mkdir -p /mnt/mdt
[root at mds1 ~]# mount -t lustre /dev/sdb /mnt/mdt
[root at mds2 ~]# mkdir -p /mnt/mdt
[root at mds2 ~]# mount -t lustre /dev/sdb /mnt/mdt
two OSS have share storage
[root at oss1 ~]mkfs.lustre --fsname=testfs --ost --failnode=oss2 --mgsnode=mds1 --mgsnode=mds2 /dev/sdb
[root at oss1 ~]# mkdir -p /mnt/ost
[root at oss1 ~]# mount -t lustre /dev/sdb /mnt/ost
[root at oss2 ~]# mkdir -p /mnt/ost
[root at oss2 ~]# mount -t lustre /dev/sdb /mnt/ost
two OSS have share storage
[root at oss3 ~]mkfs.lustre --fsname=testfs --ost --failnode=oss4 --mgsnode=mds1 --mgsnode=mds2 /dev/sdb
[root at oss3 ~]# mkdir -p /mnt/ost
[root at oss3 ~]# mount -t lustre /dev/sdb /mnt/ost
[root at oss4 ~]# mkdir -p /mnt/ost
[root at oss4 ~]# mount -t lustre /dev/sdb /mnt/ost
The Lustre two Clients
[root at client1 ~]#mkdir /lustre
[root at client1 ~]#mount -t lustre md1:md2:/testfs /lustre

[root at client2 ~]#mkdir /lustre
[root at client2 ~]#mount -t lustre md1:md2:/testfs /lustre

Now, shutdown the mds1 .the client don't use the command "df" list the disk use .And
 shutdown the oss1 or oss3 the same problem.
I want ask : how manual failover under the Lustre1.6.6  
I read the Lustre1.6 manual ,the failover need the heartbeat software and so on ,but should have manual failover?
How to do ?
Thankyou very much!
                                                                                                     WangLin
                                                                                                  2008-12-18
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lustre.org/pipermail/lustre-discuss-lustre.org/attachments/20081218/4a31d3db/attachment.htm>


More information about the lustre-discuss mailing list