[PVFS2-CVS]
commit by robl in pvfs2-1/test/common/pav: README pav_create
pav_start
CVS commit program
cvs at parl.clemson.edu
Thu Apr 21 19:31:58 EDT 2005
Update of /projects/cvsroot/pvfs2-1/test/common/pav
In directory parlweb:/tmp/cvs-serv8710
Modified Files:
README pav_create pav_start
Log Message:
you can specify how many metadata servers to use with the -e option now
Index: README
===================================================================
RCS file: /projects/cvsroot/pvfs2-1/test/common/pav/README,v
diff -u -w -p -u -r1.8 -r1.9
--- README 27 Aug 2004 10:47:50 -0000 1.8
+++ README 21 Apr 2005 22:31:58 -0000 1.9
@@ -96,6 +96,16 @@ COMPUTENODES_LAST=<1 = default. Choose
3.) execute pav_start -c <configfile>. You will see the pav system
setting up a PVFS volume for you.
+The following command line arguments can be passed to pav_start:
+
+ -c -config configuration file for PAV to use
+ -r -root path to program root (default ./)
+ -m -machinefile file with list of available nodes
+ -n -ionodecount number of nodes to use for IO
+ -e -mEtanodecount number of nodes to use as metadata servers
+ (wanted to use -m but it was taken by machinefile)
+ -h -help display this message
+
4.) execute pav_info -c <configfile>. This command will give you lots
of information about your newly created PVFS volume, including the
PVFS2TAB_FILE.
Index: pav_create
===================================================================
RCS file: /projects/cvsroot/pvfs2-1/test/common/pav/pav_create,v
diff -u -w -p -u -r1.16 -r1.17
--- pav_create 11 Oct 2004 13:48:16 -0000 1.16
+++ pav_create 21 Apr 2005 22:31:58 -0000 1.17
@@ -221,6 +221,7 @@ sub init {
'r|root:s',
'm|machinefile:s',
'n|ionodecount:i',
+ 'e|metacount:i',
'h|help'
);
@@ -237,6 +238,7 @@ sub init {
'PVFSIBPORT' => 3334,
'WORKINGDIR' => "/tmp",
'IONCOUNT' => 4,
+ 'METACOUNT' => 1,
'NODEFILE' => machine_file,
'PROTOCOL' => 0,
'UNIQUEMETA' => 0,
@@ -297,6 +299,7 @@ sub init {
# override with command line options
$config{'IONCOUNT'} = $args{'n'} || $config{'IONCOUNT'};
+ $config{'METACOUNT'} = $args{'e'} || $config{'METACOUNT'};
$rc = split_machines(\%config);
if ($rc) {
Index: pav_start
===================================================================
RCS file: /projects/cvsroot/pvfs2-1/test/common/pav/pav_start,v
diff -u -w -p -u -r1.6 -r1.7
--- pav_start 27 Aug 2004 10:47:50 -0000 1.6
+++ pav_start 21 Apr 2005 22:31:58 -0000 1.7
@@ -22,8 +22,9 @@ $retry = 0;
my $prog_root = $config{"PROGROOT"};
my $working_dir = $config{"WORKINGDIR"};
my $ionodecount = $config{"IONCOUNT"};
+my $metacount = $config{"METACOUNT"};
- at commands = ("$prog_root/pav_create -c $config_file -n $ionodecount",
+ at commands = ("$prog_root/pav_create -c $config_file -n $ionodecount -e $metacount",
"$prog_root/pav_check -ping -one-all -sd $working_dir",
"$prog_root/pav_dist -sd $working_dir",
"$prog_root/pav_init -sd $working_dir");
@@ -77,6 +78,7 @@ Usage: $prog_name [option]
-r -root path to program root (default ./)
-m -machinefile file with list of available nodes
-n -ionodecount number of nodes to use for IO
+-e -metanodecount number of nodes to use as metadata servers
-h -help display this message
EOF
}
@@ -87,6 +89,7 @@ sub init {
'r|root:s',
'm|machinefile:s',
'n|ionodecount:i',
+ 'e|metanodecount:i',
'h|help'
);
@@ -108,6 +111,7 @@ sub init {
%config = ('PVFSPORT' => 3334,
'WORKINGDIR' => "/tmp",
'IONCOUNT' => 4,
+ 'METACOUNT' => 1,
'NODEFILE' => "machine_file",
'PROTOCOL' => 0,
'UNIQUEMETA' => 0,
@@ -141,6 +145,7 @@ sub init {
$config{'PROGROOT'} = $args{'r'} || $config{'PROGROOT'};
$config{'NODEFILE'} = $args{'m'} || $config{'NODEFILE'};
$config{'IONCOUNT'} = $args{'n'} || $config{'IONCOUNT'};
+ $config{'METACOUNT'} = $args{'e'} || $config{'METACOUNT'};
return(0);
}
More information about the PVFS2-CVS
mailing list