23.07.2014 Views

Lustre 1.6 Operations Manual

Lustre 1.6 Operations Manual

Lustre 1.6 Operations Manual

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

# configuring LVM2-PV on oss162.clusterfs.com<br />

oss162.clusterfs.com,PV, /dev/sdb /dev/sdc /dev/sdd /dev/sde<br />

/dev/sdf /dev/sdg<br />

# configuring LVM2-VG from the PV from the above steps on<br />

oss162.clusterfs.com<br />

oss162.clusterfs.com,VG,vg_oss1,,-s 32M,/dev/sdb /dev/sdc /dev/sdd<br />

oss162.clusterfs.com,VG,vg_oss2,,-s 32M,/dev/sde /dev/sdf /dev/sdg<br />

# configuring LVM2-LV from the VG and PV from the above steps on<br />

oss162.clusterfs.com<br />

oss162.clusterfs.com,LV,ost3,,-i 3 -I 64,1G,vg_oss2<br />

oss162.clusterfs.com,LV,ost2,,-i 3 -I 64,1G,vg_oss1<br />

#configuring <strong>Lustre</strong> file system on MDS/MGS, OSS and OST with RAID<br />

and LVM created above<br />

mds16.clusterfs.com,options lnet networks=<br />

tcp,/dev/md0,/mnt/mdt,mgs|mdt,,,,,,,<br />

oss161.clusterfs.com,options lnet networks=<br />

tcp,/dev/oss_data/ost0,/mnt/ost0,ost,,192.168.16.34@tcp0,,,,<br />

oss161.clusterfs.com,options lnet networks=<br />

tcp,/dev/oss_data/ost1,/mnt/ost1,ost,,192.168.16.34@tcp0,,,,<br />

oss162.clusterfs.com,options lnet networks=<br />

tcp,/dev/pv_oss1/ost2,/mnt/ost2,ost,,192.168.16.34@tcp0,,,,<br />

oss162.clusterfs.com,options lnet networks=<br />

tcp,/dev/pv_oss2/ost3,/mnt/ost3,ost,,192.168.16.34@tcp0,,,,<br />

$ lustre_config -v -a -d -f lustre_config.csv<br />

This command creates RAID and LVM, and then configures <strong>Lustre</strong> on the nodes<br />

or targets specified in lustre_config.csv. The script prompts you for the<br />

password to log in with root access to the nodes.<br />

After completing the above steps, the script makes <strong>Lustre</strong> target entries in the<br />

/etc/fstab file on <strong>Lustre</strong> server nodes, such as:<br />

For MDS | MDT:<br />

/dev/md0 /mnt/mdtlustre defaults00<br />

For OSS:<br />

/pv_oss1/ost2 /mnt/ost2lustre defaults00<br />

3. Start the <strong>Lustre</strong> services, run:<br />

mount /dev/sdb<br />

mount /dev/sda<br />

6-12 <strong>Lustre</strong> <strong>1.6</strong> <strong>Operations</strong> <strong>Manual</strong> • September 2008

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!