Add updatenode hack to take care of starting xcatd daemon.

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4621 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
nott 2009-11-19 18:44:04 +00:00
parent f36679d2be
commit 82bb3ea630
3 changed files with 21 additions and 7 deletions

View File

@ -113,12 +113,19 @@ if [ $UPLOAD == 1 ]; then
#while ! rsync -urLv --delete aix-core-snap nott,xcat@web.sourceforge.net:/home/groups/x/xc/xcat/htdocs/aix/devel/
#do : ; done
scp *.rpm nott,xcat@web.sourceforge.net:/home/groups/x/xc/xcat/htdocs/aix/devel/core-snap
# devel snapshot
scp *.rpm nott,xcat@web.sourceforge.net:/home/groups/x/xc/xcat/htdocs/aix/devel/core-snap
scp core-aix-snap.tar.gz nott,xcat@web.sourceforge.net:/home/groups/x/xc/xcat/htdocs/aix/devel
scp core-aix-snap.tar.gz nott,xcat@web.sourceforge.net:/home/groups/x/xc/xcat/htdocs/aix/devel
# release snapshot
scp *.rpm nott,xcat@web.sourceforge.net:/home/groups/x/xc/xcat/htdocs/aix/2.3/core-snap
scp core-aix-snap.tar.gz nott,xcat@web.sourceforge.net:/home/groups/x/xc/xcat/htdocs/aix/2.3
# new release
scp core-aix-2.3.tar.gz nott,xcat@web.sourceforge.net:/home/frs/project/x/xc/xcat/xcat/2.3.x_AIX/
# scp *.rpm nott,xcat@web.sourceforge.net:/home/groups/x/xc/xcat/htdocs/aix/devel/xcat-core
#scp core-aix-2.3.tar.gz nott,xcat@web.sourceforge.net:/home/groups/x/xc/xcat/htdocs/aix/devel
# for dep-aix & mysql etc.
#scp ./dep-aix-2.3-200909241259.tar.gz nott,xcat@web.sourceforge.net:/home/frs/project/x/xc/xcat/xcat-dep/2.x_AIX/

View File

@ -327,7 +327,7 @@ sub xcmd
{
command => [$xdcmd],
node => \@snodes,
arg => ["-v", $cmd]
arg => ["-s", $cmd]
},
$sub_req,
$exitcode,
@ -346,7 +346,7 @@ sub xcmd
{
command => [$xdcmd],
node => \@snodes,
arg => ["-v", $cmd]
arg => ["-s", $cmd]
},
$sub_req,
$exitcode,

View File

@ -1412,7 +1412,14 @@ sub updateAIXsoftware
$pkg_string .= " /mnt/RPMS/ppc/$pkg";
}
my $rcmd = qq~rpm $flags $pkg_string~;
my $rcmd;
if ($pkg_string =~ /xCAT/) {
# add temporary hack to handle problem installing
# xCAT rpms that start the xcatd daemon.
$rcmd = qq~rpm $flags $pkg_string; /opt/xcat/sbin/xcatstart -r~;
} else {
$rcmd = qq~rpm $flags $pkg_string~;
}
if ($::VERBOSE)
{