From a3de90b7dfec97155e3c219adee8c0f0142d3ee2 Mon Sep 17 00:00:00 2001 From: sjing Date: Wed, 24 Nov 2010 07:07:23 +0000 Subject: [PATCH] support xcatmon push model for HPC software. git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8255 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/sbin/xcatd | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/xCAT-server/sbin/xcatd b/xCAT-server/sbin/xcatd index 47eecb3e1..2ae479020 100755 --- a/xCAT-server/sbin/xcatd +++ b/xCAT-server/sbin/xcatd @@ -354,7 +354,19 @@ if ($inet6support) { plugin_command(\%request,undef,\&build_response); xexit(0); } - } + } elsif ($text =~ /hpcbootstatus/) { + $text =~ s/hpcbootstatus //; + chomp $text; + my %request = ( + command => [ 'updatenodeappstat' ], + node => [ $node ], + arg => [ "$text" ], + ); + + plugin_command(\%request,undef,\&build_response); + close($conn); + } + alarm(2); } alarm(0);