Changeset 2559 in /cluster/svnroot


Ignore:
Timestamp:
Aug 7, 2010 3:03:39 PM (10 years ago)
Author:
skylar
Message:

merging in fitz's auto mpd code (#427)

Location:
bccd-ng/branches/skylar-devel
Files:
4 edited
1 copied

Legend:

Unmodified
Added
Removed
  • bccd-ng/branches/skylar-devel/bin/build_livecd.pl

    r2558 r2559  
    103103Readonly my @TIME           => localtime();
    104104Readonly my $FORMAT_DATE    => ($TIME[5]+1900)."-".($TIME[4]+1)."-".$TIME[3];
     105<<<<<<< .working
    105106Readonly my $SPLASH_FILE    => 'bccd_logo_new.png';
    106107Readonly my @MINIRT_MODS    => (
     
    441442
    442443$Bccd->run_test(
     444        "chdir",
     445        "",
     446        "cd'd to $BUILDDIR/usr",
     447        "$BUILDDIR/usr",
     448        );
     449
     450$Bccd->run_test(
     451    "recrevfetch",
     452    "",
     453    "Fetched src tree.",
     454    $svnrev,
     455    "$websvn/trees/src",
     456    );
     457
     458$Bccd->run_test(
     459        "chdir",
     460        "",
     461        "cd'd to $BUILDDIR/usr/src/pkbcast",
     462        "$BUILDDIR/usr/src/pkbcast",
     463        );
     464
     465$Bccd->run_test(
     466        "system",
     467        "",
     468        "Made pkbcast",
     469        "make",
     470        );
     471
     472$Bccd->run_test(
     473        "fmove",
     474        "",
     475        "Installed pkbcast",
     476        "$BUILDDIR/usr/src/pkbcast/pkbcast",
     477        "$BUILDDIR/bin/",
     478        );
     479
     480$Bccd->run_test(
     481                "chdir",
     482                "",
     483                "cd'd to $BUILDDIR/usr",
     484                "$BUILDDIR/usr",
     485                );
     486
     487$Bccd->run_test(
     488                "recrevfetch",
     489                "",
     490                "Fetched src tree.",
     491                $svnrev,
     492                "$websvn/trees/src",
     493                );
     494
     495$Bccd->run_test(
     496                "chdir",
     497                "",
     498                "cd'd to $BUILDDIR/usr/src/pkbcast",
     499                "$BUILDDIR/usr/src/pkbcast",
     500                );
     501
     502$Bccd->run_test(
     503                "system",
     504                "",
     505                "Made pkbcast",
     506                "make",
     507                );
     508
     509$Bccd->run_test(
     510                "fmove",
     511                "",
     512                "Installed pkbcast",
     513                "$BUILDDIR/usr/src/pkbcast/pkbcast",
     514                "$BUILDDIR/bin/",
     515                );
     516
     517$Bccd->run_test(
    443518    "chdir",
    444519    "",
  • bccd-ng/branches/skylar-devel/trees/bin/bccd-checkem

    r615 r2559  
    2121while ($host = <MACHINEFILE>) {
    2222    chomp $host;
     23    $host =~ s/( .*|:.*)//g;
    2324
    2425    $test = `ssh $host echo "howdy"`;
  • bccd-ng/branches/skylar-devel/trees/bin/bccd-snarfhosts

    r2252 r2559  
    2828        NODES="node000 $NODES"
    2929fi
    30 
    3130for n in $NODES;do
    3231        CPUCOUNT=`snmpget -OQv -c public -v 1 $n ucdavis.82.4.1.2.9.99.112.117.95.99.111.117.110.116.1|sed -e 's!"!!g'`
  • bccd-ng/branches/skylar-devel/trees/bin/bccd-syncdir

    r2150 r2559  
    44# across hosts listed in a specified hosts file.
    55#
    6 # The intent of this script is to be used at HPC workshops were
     6# The intent of this script is to be used at HPC workshops where
    77# multiple users are logged in with the same account, working in
    88# personal directories.  In order to run code in parallel, these files
     
    1212# When this script is run, it will generate a "unique" directory for the user
    1313# under /tmp where the user can wreak havok to their heart's content.
    14 
    15 UNIQFILE=/etc/ssh/ssh_host_dsa_key.pub
    16 if ! test -f $UNIQFILE; then
    17         echo "Unique file $UNIQFILE not present!"
    18         exit -1
    19 fi
    2014
    2115if test "x$1" = "x--ni"; then
     
    6155fi
    6256
    63 # Look away!  This is ugly!  I'm using the hosts' public key here
    64 # to grab a unique directory.  I should probably grab $UID and mix
    65 # it in here in case we ever deal with multiple users.
    66 # But for now, this is quick and dirty enough just to test out the
    67 # functionality.
    68 
    69 COMMONDIR=/tmp/`md5sum $UNIQFILE | cut -c -8`
     57COMMONDIR=/tmp/`hostname -s`-$LOGNAME
    7058INCREMENT=`expr 100 / $NUMHOSTS`
    7159
Note: See TracChangeset for help on using the changeset viewer.