From a31322f37b64119023b093a47f45cc7011e18212 Mon Sep 17 00:00:00 2001 From: lissav Date: Thu, 9 Sep 2010 18:22:11 +0000 Subject: [PATCH] add start of xcatd at end of client setup git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7394 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/sbin/db2sqlsetup | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/xCAT-server/sbin/db2sqlsetup b/xCAT-server/sbin/db2sqlsetup index 2158a186d..6cc137129 100755 --- a/xCAT-server/sbin/db2sqlsetup +++ b/xCAT-server/sbin/db2sqlsetup @@ -368,8 +368,22 @@ if (($::INIT) && ($::xcatrunningdb2 == 0)) "xCAT is now running on the DB2 database.\n"); } - else + else # client { + # + # start the daemon + # + my $xcmd; + if ($::osname eq 'AIX') + { + $xcmd = "startsrc -s xcatd"; + + } + else + { + $xcmd = "service xcatd start"; + } + system($xcmd); xCAT::MsgUtils->message("I", "xCAT DB2 Client setup is complete.\n"); } } # end initialization