[Lustre-discuss] mkfs.lustre and failover question

Daniel Kobras kobras at linux.de
Wed Aug 18 08:37:33 PDT 2010


On Wed, Aug 18, 2010 at 10:16:36AM -0500, David Noriega wrote:
> I've read through the 'More Complicated Configurations' section in the
> manual and it says as part of setting up failover with
> two(active/passive) MDS/MGS and two OSSs(active/active) to use the
> following:
> 
> mkfs.lustre --fsname=lustre --ost --failnode=192.168.5.101 at tcp0
> --mgsnode=192.168.5.104 at tcp0,192.168.5.105 at tcp0
> /dev/lustre-ost1-dg1/lv1

A Lustre-MGS can have more than one network address (NID). Different NIDs of
the same server are separated by commas. Here, you want to configure NIDs for
different servers. Those either have to be separated with a colon.
Alternatively, you can just use option --mgsnode twice with different
arguments. In your case, try

mkfs.lustre --fsname=lustre --ost --failnode=192.168.5.101 at tcp0 --mgsnode=192.168.5.104 at tcp0 --mgsnode=192.168.5.105 at tcp0 /dev/lustre-ost1-dg1/lv1

Regards,

Daniel.



More information about the lustre-discuss mailing list