1 .TH lwizard 1 "2003 Oct 29" Lustre "Configuration utilities"
3 lwizard \- Lustre configuration wizard
10 .BR lwizard [-o|--file=CONFIG_FILE][--stripe_size=SIZE][--stripe_cnt=COUNT]
12 The configuration files for Lustre installation are generally created through a series of lmc commands, this generates an XML file which describes the complete cluster. The lwizard eliminates the need to learn lmc to generate configuration files, instead it achieves the same through asking some simple questions. The
13 XML configuration file generated using lwizard will still have to be made accessible to all the cluster nodes either by storing it on an LDAP server, NFS or by copying it over to all the involved nodes and then running lconf on all nodes to start up the various Lustre services, device setups or mounting the filesystem.
14 So, once invoked, lwizard asks a series of questions about the various pieces of the cluster :
18 .B MDS device information
21 This will be asked for every new OST added
23 .B OST device information
24 This will be asked for every new OST added
27 This is the Lustre mount-point on the client (default - /mnt/lustre)
29 The wizard saves the XML file to the filename specified using the -o or --file option or the default file config.xml. It will also save the lmc commands used to create the XML file in a script config.sh or <specified-file-name>.sh.
31 The lwizard tool currently assumes the following defaults:
44 The example below shows a sample session using lwizard.
46 [username@meghna utils]$ ./lwizard --stripe_size=64 --stripe_cnt=2
48 This script will help you create a Lustre configuration file.
50 Creating mds "mds1"...
52 Please enter the hostname(s) for mds1: meghna
54 Please enter the device name or loop file name for meghna: /tmp/mds1
56 Please enter the device size or 0 to use entire device:5000
58 Creating ost "ost1"...
60 Please enter the hostname(s) for ost1: meghna
62 Please enter the device name or loop file name for meghna: /tmp/ost1
64 Please enter the device size or 0 to use entire device:10000
66 Creating ost "ost2"...
68 Please enter the hostname(s) for ost2:
70 Please enter the clients' mountpoint (/mnt/lustre):
72 Creating mds "mds2"...
74 Please enter the hostname(s) for mds2:
78 Saving configuration to config.xml:
80 Your configuration has been saved to config.xml.
82 Your config command has been save to config.sh.