Hi! Lustre clients allow to mount from either the primary MGS or a failover server using a colon-separated syntax like primary.mgs.example.com:failover.mgs.example.com:/fsname Is there a similar way to configure an MGS failover pair into an OST? tunefs.lustre --mgsnode seems to accept only a single MGS. Regards, Daniel.
Brian J. Murrell
2009-Feb-04 16:50 UTC
[Lustre-discuss] Registering OST with failover MGS.
On Wed, 2009-02-04 at 17:21 +0100, Daniel Kobras wrote:> Hi! > > Lustre clients allow to mount from either the primary MGS or a failover > server using a colon-separated syntax like > > primary.mgs.example.com:failover.mgs.example.com:/fsname > > Is there a similar way to configure an MGS failover pair into an OST? > tunefs.lustre --mgsnode seems to accept only a single MGS.$ man tunefs.lustre ... --mgsnode=nid,... Set the NID(s) of the MGS node, required for all targets other than the MGS. Notice the plurality of "NID(s)"? That means you can use the multiple NID syntax. You can also specify --mgsnode=nid multiple times. There was a bug in a previous release with regard to whether these syntaxes resulted in the same configuration but I don''t recall which release it was fixed in. A bugzilla search should find it. Unless you are using something like 1.6.6 (or perhaps 1.6.5, but I am not positive, so 1.6.6 is a safe cut-off), you will want to research that. b. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 197 bytes Desc: This is a digitally signed message part Url : http://lists.lustre.org/pipermail/lustre-discuss/attachments/20090204/c4d2d247/attachment.bin
Hi! On Wed, Feb 04, 2009 at 11:50:58AM -0500, Brian J. Murrell wrote:> On Wed, 2009-02-04 at 17:21 +0100, Daniel Kobras wrote: > > Lustre clients allow to mount from either the primary MGS or a failover > > server using a colon-separated syntax like > > > > primary.mgs.example.com:failover.mgs.example.com:/fsname > > > > Is there a similar way to configure an MGS failover pair into an OST? > > tunefs.lustre --mgsnode seems to accept only a single MGS. > > $ man tunefs.lustre > ... > --mgsnode=nid,... > Set the NID(s) of the MGS node, required for all targets other > than the MGS. > > Notice the plurality of "NID(s)"? That means you can use the multiple > NID syntax.Sure, this tells me how to specify multiple NIDs of a single server, but I''d like to configure the NIDs of two distinct servers in a failover pair.> You can also specify --mgsnode=nid multiple times.I''ve tried that--as well as a comma- or colon-separated list of NIDs--, but neither options appears to work: As soon as I try to mount the OST partition with the MGS active on the secondary node, the mount fails, and error messages indicate that only the primary MGS node is queried. All systems are running Lustre version 1.6.6, by the way. Regards, Daniel.
Brian J. Murrell
2009-Feb-04 17:47 UTC
[Lustre-discuss] Registering OST with failover MGS.
On Wed, 2009-02-04 at 18:25 +0100, Daniel Kobras wrote:> Hi!Hi.> Sure, this tells me how to specify multiple NIDs of a single server, but > I''d like to configure the NIDs of two distinct servers in a failover > pair.No. It''s telling you that you can specify multiple servers'' NIDs just like you can with the client mount command.> I''ve tried that--as well as a comma- or colon-separated list of NIDs--, > but neither options appears to work: As soon as I try to mount the OST > partition with the MGS active on the secondary node, the mount fails, > and error messages indicate that only the primary MGS node is queried. > All systems are running Lustre version 1.6.6, by the way.Well, it should work as described. Please try to find the bugzilla bug referencing a problem with this and see if it applies. If not, please file a new bug. Cheers, b. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 197 bytes Desc: This is a digitally signed message part Url : http://lists.lustre.org/pipermail/lustre-discuss/attachments/20090204/a5bc2aee/attachment.bin
Brian J. Murrell wrote:> On Wed, 2009-02-04 at 18:25 +0100, Daniel Kobras wrote: > >> Hi! >> > > Hi. > > >> Sure, this tells me how to specify multiple NIDs of a single server, but >> I''d like to configure the NIDs of two distinct servers in a failover >> pair. >> > > No. It''s telling you that you can specify multiple servers'' NIDs just > like you can with the client mount command. > > >> I''ve tried that--as well as a comma- or colon-separated list of NIDs--, >> but neither options appears to work: As soon as I try to mount the OST >> partition with the MGS active on the secondary node, the mount fails, >> and error messages indicate that only the primary MGS node is queried. >> All systems are running Lustre version 1.6.6, by the way. >> > > Well, it should work as described. Please try to find the bugzilla bug > referencing a problem with this and see if it applies. If not, please > file a new bug. >Probably referring to bug 15912, which was for "mkfs" issues, where the mgs option had to be specified twice to indicate two different servers. Kevin
On Wed, Feb 04, 2009 at 11:07:42AM -0700, Kevin Van Maren wrote:> Brian J. Murrell wrote: > > On Wed, 2009-02-04 at 18:25 +0100, Daniel Kobras wrote: > >> I''ve tried that--as well as a comma- or colon-separated list of NIDs--, > >> but neither options appears to work: As soon as I try to mount the OST > >> partition with the MGS active on the secondary node, the mount fails, > >> and error messages indicate that only the primary MGS node is queried. > >> All systems are running Lustre version 1.6.6, by the way.Correction: tunefs.lustre --mgsnode=mgs1 --mgsnode=mgs2 ... works as soon as I don''t typo the NIDs. tunefs.lustre --mgsnode=mgs1:mgs2 doesn''t.> > Well, it should work as described. Please try to find the bugzilla bug > > referencing a problem with this and see if it applies. If not, please > > file a new bug. > > Probably referring to bug 15912, which was for "mkfs" issues, where the > mgs option had to be > specified twice to indicate two different servers.mkfs was fixed in 1.6.6, but there still seems to be a similar issue with tunefs.lustre. I''ve just filed #18438 for this now. Thanks, Daniel.
Brian J. Murrell
2009-Feb-04 19:31 UTC
[Lustre-discuss] Registering OST with failover MGS.
On Wed, 2009-02-04 at 20:00 +0100, Daniel Kobras wrote:> > Correction: tunefs.lustre --mgsnode=mgs1 --mgsnode=mgs2 ... > works as soon as I don''t typo the NIDs. tunefs.lustre > --mgsnode=mgs1:mgs2 doesn''t.Aahh. Thanx for the clarification.> mkfs was fixed in 1.6.6, but there still seems to be a similar issue > with tunefs.lustre. I''ve just filed #18438 for this now.Yes, I just saw that. Thanx! b. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 197 bytes Desc: This is a digitally signed message part Url : http://lists.lustre.org/pipermail/lustre-discuss/attachments/20090204/70086fee/attachment.bin