From 7ab7085122f6b3807430c91a5dc95fed37857a3c Mon Sep 17 00:00:00 2001 From: jbjohnso Date: Thu, 21 Jun 2012 17:27:15 +0000 Subject: [PATCH] Use xcatiport and opt not to do install monitor if unset git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13143 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/sbin/xcatd | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/xCAT-server/sbin/xcatd b/xCAT-server/sbin/xcatd index 000af2369..4bf003bec 100755 --- a/xCAT-server/sbin/xcatd +++ b/xCAT-server/sbin/xcatd @@ -148,7 +148,10 @@ unless ($tmp) { die; } $port = $tmp->{value}; -$sport = $tmp->{value}+1; +my ($tmp) = $sitetab->getAttribs({'key'=>'xcatiport'},'value'); +if ($tmp) { + $sport = $tmp->{value}; +} ($tmp) = $sitetab->getAttribs({'key'=>'xcatmaxconnections'},'value'); if ($tmp and $tmp->{value}) { $maxsslclients = $tmp->{value}; } @@ -222,6 +225,7 @@ sub daemonize { my %cmd_handlers; sub do_installm_service { + unless ($sport) { return; } #This function servers as a handler for messages from installing nodes my $socket; my $installpidfile;