start:makentp_v descriptiop:makentp -v cmd:makentp -v check:rc==0 check:output=~Version end start:makentp_h descriptiop:makentp -h cmd:makentp -h check:rc==0 check:output=~Usage: makentp end start:makentp_V descriptiop:makentp -V cmd:makentp -V check:rc==0 check:output=~checking if nptd is installed end start:makentp descriptiop:makentp cmd:date -s 20000101 check:rc==0 cmd:if [[ "__GETNODEATTR($$CN,os)__" =~ "rhel" ]];then clock -w;else hwclock -w ; fi cmd:chtab key=extntpservers site.value="$$extntpserversip" check:rc==0 cmd:makentp check:rc==0 check:output=~configuring management node cmd:date check:output=~$$DATE cmd:if [[ "__GETNODEATTR($$CN,os)__" =~ "rhel" ]];then clock ;else hwclock ; fi check:output=~$$DATE end start:makentp_a descriptiop:makentp -a cmd:date -s 20000101 check:rc==0 cmd:if [[ "__GETNODEATTR($$CN,os)__" =~ "rhel" ]];then clock -w;else hwclock -w ; fi cmd:chtab key=extntpservers site.value="$$extntpserversip" check:rc==0 cmd:makentp -a check:rc==0 check:output=~configuring management node cmd:date check:output=~$$DATE cmd:if [[ "__GETNODEATTR($$CN,os)__" =~ "rhel" ]];then clock ;else hwclock ; fi check:output=~$$DATE end start:updatenode_computenode_P_setupntp descriptiop:using updatenode -p synch cmd:xdsh $$CN date -s 20000101 check:rc==0 cmd:if [[ "__GETNODEATTR($$CN,os)__" =~ "rhel" ]];then xdsh $$CN clock -w;else xdsh $$CN hwclock -w ; fi cmd:chdef $$CN -p postscripts=setupntp cmd:chtab key=extntpservers site.value="" check:rc==0 cmd:updatenode $$CN -P setupntp check:rc==0 check:output=~Running of postscripts has completed check:output=~Running postscript: setupntp cmd:sleep 120 cmd:xdsh $$CN date check:output=~$$DATE cmd:if [[ "__GETNODEATTR($$CN,os)__" =~ "rhel" ]];then xdsh $$CN clock ;else xdsh $$CN hwclock ; fi check:output=~$$DATE cmd:chdef $$CN -m postscripts=setupntp end