[Pvfs2-cvs] commit by robl in pvfs2-1/test/common/pav: pav_create pav_init

CVS commit program cvs at parl.clemson.edu
Tue Sep 18 11:35:30 EDT 2007


Update of /projects/cvsroot/pvfs2-1/test/common/pav
In directory parlweb1:/tmp/cvs-serv28834

Modified Files:
	pav_create pav_init 
Log Message:
update PAV for single-config-file change


Index: pav_create
===================================================================
RCS file: /projects/cvsroot/pvfs2-1/test/common/pav/pav_create,v
diff -u -w -p -u -r1.20 -r1.21
--- pav_create	17 Feb 2007 21:31:54 -0000	1.20
+++ pav_create	18 Sep 2007 15:35:30 -0000	1.21
@@ -131,7 +131,6 @@ sub create_pvfs2config 
 {
     my $href = shift;
     my $conffile = $href->{'WORKINGDIR'} . "/fs.conf";
-    my $serverfile = $href->{'WORKINGDIR'} ."/server.conf";
     my $ioservers = '';
     my $metaservers = '';
     my $rc = -1;
@@ -162,7 +161,7 @@ sub create_pvfs2config 
 		. " --logfile "  . $href->{'SERVERLOG'} . "/pvfs2.log"
 		. " --storage "  . $href->{'STORAGE'}
 		. " --trove-method " . $href->{'TROVEMETHOD'}
-		. " --quiet "    . $conffile . " " . $serverfile;
+		. " --quiet "    . $conffile;
     if ($href->{'TROVESYNC'} == 0) {
     	$cmd .= " --notrovesync";
     }

Index: pav_init
===================================================================
RCS file: /projects/cvsroot/pvfs2-1/test/common/pav/pav_init,v
diff -u -w -p -u -r1.5 -r1.6
--- pav_init	24 Apr 2007 22:07:31 -0000	1.5
+++ pav_init	18 Sep 2007 15:35:30 -0000	1.6
@@ -52,10 +52,11 @@ sub start_servers{
     my $localconf = $href->{'WORKINGDIR'} . "/server.conf";
 
     # once to make the storage space, then a second time to run the servers
-    my $cmd = "%node $binary  -f $serverconf $localconf-%node";
+
+    my $cmd = "%node $binary  -f $serverconf -a %node";
     $rc = do_remote_command($href->{'RCMDPROG'}, 8, 30, $cmd, undef, undef, @nodes);
 
-    $cmd = "%node $binary $serverconf $localconf-%node";
+    $cmd = "%node $binary $serverconf -a %node";
     $rc = do_remote_command($href->{'RCMDPROG'}, 8, 30, $cmd, undef, undef, @nodes);
     return($rc);
 }



More information about the Pvfs2-cvs mailing list