diff --git a/xCAT-client-2.0/xCAT-client.spec b/xCAT-client-2.0/xCAT-client.spec index 11f22f8a8..a4aa5dd2a 100644 --- a/xCAT-client-2.0/xCAT-client.spec +++ b/xCAT-client-2.0/xCAT-client.spec @@ -122,7 +122,6 @@ chmod 755 /etc/profile.d/xcat.* %ifos linux if [ $1 == 0 ]; then #This means only on -e rm /etc/profile.d/xcat.* -unset XCATROOT fi %endif diff --git a/xCAT-server-2.0/sbin/xcatnodemon b/xCAT-server-2.0/sbin/xcatnodemon index 256a5b3b9..a83897c76 100755 --- a/xCAT-server-2.0/sbin/xcatnodemon +++ b/xCAT-server-2.0/sbin/xcatnodemon @@ -14,8 +14,8 @@ use xCAT_monitoring::monitorctrl; # chtab pname=xCAT monitoring.nodestatmon=Y ################################################################## -($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst)=localtime(time); -printf "%2d-%02d-%04d %02d:%02d:%02d: xcatnodemon started.\n", $mon+1,$mday,$year+1900,$hour,$min,$sec; +#($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst)=localtime(time); +#printf "%2d-%02d-%04d %02d:%02d:%02d: xcatnodemon started.\n", $mon+1,$mday,$year+1900,$hour,$min,$sec; #get saved node status from the nodelist table my %nodes_status_old=xCAT_monitoring::monitorctrl::getNodeStatus(); @@ -43,8 +43,8 @@ my $changed4=$nodes_status_new3{$::STATUS_ACTIVE}; my @changed_active=(@$changed2, @$changed4); my @changed_inactive=(@$changed1, @$changed3); -print " switch to active: @changed_active\n"; -print " switch to inactive: @changed_inactive\n"; +#print " switch to active: @changed_active\n"; +#print " switch to inactive: @changed_inactive\n"; my %node_status=(); if (@changed_active>0) { @@ -59,8 +59,8 @@ if (keys(%node_status) > 0) { xCAT_monitoring::monitorctrl::processNodeStatusChanges(\%node_status); } -($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst)=localtime(time); -printf "%2d-%02d-%04d %02d:%02d:%02d: xcatnodemon finished.\n\n", $mon+1,$mday,$year+1900,$hour,$min,$sec; +#($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst)=localtime(time); +#printf "%2d-%02d-%04d %02d:%02d:%02d: xcatnodemon finished.\n\n", $mon+1,$mday,$year+1900,$hour,$min,$sec;