Arya Mazaheri
2011-Feb-18 15:10 UTC
[Lustre-discuss] Running MGS and OSS on the same machine
Hi again, I have planned to use one server as MGS and OSS simultaneously. But how can I format the OSTs as lustre FS? for example, the line below tells the ost which it''s mgsnode is at 192.168.0.10 at tcp0: mkfs.lustre --fsname lustre --ost --mgsnode=192.168.0.10 at tcp0 /dev/vg00/ost1 But, now mgsnode is the same machine. I tried to put localhost instead the ip address. but I didn''t work. What shoud I do? Arya -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.lustre.org/pipermail/lustre-discuss/attachments/20110218/ddd065cd/attachment.html
Michael Kluge
2011-Feb-18 15:25 UTC
[Lustre-discuss] Running MGS and OSS on the same machine
Hi Arya, if I remember well, Lustre uses 0 at lo for the localhost address. Does using the other NID 192.168.0.10 at tcp0 give any error message? Michael Am 18.02.2011 16:10, schrieb Arya Mazaheri:> Hi again, > I have planned to use one server as MGS and OSS simultaneously. But how > can I format the OSTs as lustre FS? > for example, the line below tells the ost which it''s mgsnode is at > 192.168.0.10 at tcp0: > mkfs.lustre --fsname lustre --ost --mgsnode=192.168.0.10 at tcp0 /dev/vg00/ost1 > > But, now mgsnode is the same machine. I tried to put localhost instead > the ip address. but I didn''t work. > > What shoud I do? > > Arya > > > > _______________________________________________ > Lustre-discuss mailing list > Lustre-discuss at lists.lustre.org > http://lists.lustre.org/mailman/listinfo/lustre-discuss-- Michael Kluge, M.Sc. Technische Universit?t Dresden Center for Information Services and High Performance Computing (ZIH) D-01062 Dresden Germany Contact: Willersbau, Room WIL A 208 Phone: (+49) 351 463-34217 Fax: (+49) 351 463-37773 e-mail: michael.kluge at tu-dresden.de WWW: http://www.tu-dresden.de/zih
Cliff White
2011-Feb-18 18:11 UTC
[Lustre-discuss] Running MGS and OSS on the same machine
Use the same NID as you would in any other case - 192.168.0.10 at tcp0 in your example. It will work. You would do the same thing if for example you used one server for both MGS and MDS, but separate partitions - the MDT would have to be formatted with --mgsnode cliffw On Fri, Feb 18, 2011 at 7:10 AM, Arya Mazaheri <aryanet at gmail.com> wrote:> Hi again, > I have planned to use one server as MGS and OSS simultaneously. But how can > I format the OSTs as lustre FS? > for example, the line below tells the ost which it''s mgsnode is at > 192.168.0.10 at tcp0: > mkfs.lustre --fsname lustre --ost --mgsnode=192.168.0.10 at tcp0/dev/vg00/ost1 > > But, now mgsnode is the same machine. I tried to put localhost instead the > ip address. but I didn''t work. > > What shoud I do? > > Arya > > > _______________________________________________ > Lustre-discuss mailing list > Lustre-discuss at lists.lustre.org > http://lists.lustre.org/mailman/listinfo/lustre-discuss > >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.lustre.org/pipermail/lustre-discuss/attachments/20110218/3ee26690/attachment.html
Charland, Denis
2011-Feb-18 18:25 UTC
[Lustre-discuss] Running MGS and OSS on the same machine
Arya, I have the MGS, the MDT and the OST all on the same machine and everything works fine. It should not be a problem to have the MGS and the OST on the same machine. Are your MGS and MDT mounted when you execute mkfs.lustre for the OST? Denis Denis Charland, ing. | P. Eng. Administrateur de Syst?mes UNIX | UNIX Systems Administrator T?l. | tel. (450) 641-5078 Fax (450) 641-5106 Courriel | E-mail : denis.charland at cnrc-nrc.gc.ca<mailto:denis.charland at cnrc-nrc.gc.ca> Institut des mat?riaux industriels | Industrial Materials Institute Conseil national de recherches Canada | National Research Council Canada 75, de Mortagne, Boucherville, Qu?bec, Canada, J4B 6Y4 Gouvernement du Canada | Government of Canada -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.lustre.org/pipermail/lustre-discuss/attachments/20110218/8a7951d2/attachment.html
Arya Mazaheri
2011-Feb-19 14:35 UTC
[Lustre-discuss] Running MGS and OSS on the same machine
Yep, I have fixed it with this command instead: mkfs.lustre --fsname lustre --ost --mgsnode=0 at lo /dev/sdb1 2011/2/18 Charland, Denis <Denis.Charland at imi.cnrc-nrc.gc.ca>> Arya, > > > > I have the MGS, the MDT and the OST all on the same machine and everything > works fine. It should not be a problem to have the MGS and the OST on the > same machine. > > > > Are your MGS and MDT mounted when you execute mkfs.lustre for the OST? > > > > Denis > > > > *Denis Charland, ing. **| P. Eng.*** > > Administrateur de Syst?mes UNIX | UNIX Systems Administrator > > T?l. | tel. (450) 641-5078 Fax (450) 641-5106 > > Courriel | E-mail : denis.charland at cnrc-nrc.gc.ca > > > > Institut des mat?riaux industriels | Industrial Materials Institute > > Conseil national de recherches Canada | National Research Council Canada > > 75, de Mortagne, Boucherville, Qu?bec, Canada, J4B 6Y4 > > Gouvernement du Canada | Government of Canada > > > > > > _______________________________________________ > Lustre-discuss mailing list > Lustre-discuss at lists.lustre.org > http://lists.lustre.org/mailman/listinfo/lustre-discuss > >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.lustre.org/pipermail/lustre-discuss/attachments/20110219/0e5e5699/attachment.html
Arya Mazaheri
2011-Feb-19 14:37 UTC
[Lustre-discuss] Running MGS and OSS on the same machine
Thanks Michael It worked with 0 at lo. thanks again for your suggestion... On Fri, Feb 18, 2011 at 6:55 PM, Michael Kluge <Michael.Kluge at tu-dresden.de>wrote:> Hi Arya, > > if I remember well, Lustre uses 0 at lo for the localhost address. Does > using the other NID 192.168.0.10 at tcp0 give any error message? > > > Michael > > Am 18.02.2011 16:10, schrieb Arya Mazaheri: > > Hi again, > > I have planned to use one server as MGS and OSS simultaneously. But how > > can I format the OSTs as lustre FS? > > for example, the line below tells the ost which it''s mgsnode is at > > 192.168.0.10 at tcp0: > > mkfs.lustre --fsname lustre --ost --mgsnode=192.168.0.10 at tcp0/dev/vg00/ost1 > > > > But, now mgsnode is the same machine. I tried to put localhost instead > > the ip address. but I didn''t work. > > > > What shoud I do? > > > > Arya > > > > > > > > _______________________________________________ > > Lustre-discuss mailing list > > Lustre-discuss at lists.lustre.org > > http://lists.lustre.org/mailman/listinfo/lustre-discuss > > > -- > Michael Kluge, M.Sc. > > Technische Universit?t Dresden > Center for Information Services and > High Performance Computing (ZIH) > D-01062 Dresden > Germany > > Contact: > Willersbau, Room WIL A 208 > Phone: (+49) 351 463-34217 > Fax: (+49) 351 463-37773 > e-mail: michael.kluge at tu-dresden.de > WWW: http://www.tu-dresden.de/zih > _______________________________________________ > Lustre-discuss mailing list > Lustre-discuss at lists.lustre.org > http://lists.lustre.org/mailman/listinfo/lustre-discuss >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.lustre.org/pipermail/lustre-discuss/attachments/20110219/34a76cd6/attachment.html