2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-08-05 19:15:13 +00:00
Commit Graph

49 Commits

Author SHA1 Message Date
GONG Jie
08e83de7bc Tweak for setupntp. Ubuntu use chrony.service instead of chronyd.service 2018-07-24 17:06:00 +08:00
GONG Jie
803521a4ad Call setupntp.traditional when there is no chrony installed 2018-07-19 13:21:14 +08:00
GONG Jie
07a13a7697 Move setupchrony -> setupntp 2018-07-19 13:20:56 +08:00
GONG Jie
5f6ab869a2 Move setupntp -> setupntp.traditional 2018-07-19 13:20:42 +08:00
yangsong
f5437609d4 do not set exit_code to 1 when the clock is not synced before the timeout (#4362) 2017-11-23 03:56:01 -06:00
cxhong
6f53cf1a0b Timeout the ntpd process if ntpd service is not running on ntpserver (#4321) 2017-11-16 20:34:27 -06:00
cxhong
1ab870788c Modify setupntp postscripts (#4144)
* Modify setupntp postscripts

* exit after modifed ntp.conf
2017-10-26 09:53:18 -05:00
Matt Ezell
9710163924 Update setupntp and call it from cumulusztp 2017-10-05 11:03:30 -04:00
Casandra Qiu
3586bea59b modify the message 2017-01-18 15:45:57 -05:00
Casandra Qiu
13566de2a7 makentp -a returns NTP maynot be synchronized on servicenode 2017-01-17 14:02:12 -05:00
Casandra Qiu
179f8211e3 change drift file to /var/lib/ntp/drift/ntp.drift 2017-01-03 14:50:00 -05:00
Casandra Qiu
f08b804e74 modifed 2016-12-16 16:44:21 -05:00
Casandra Qiu
921213ea9e File /etc/sysconfig/ntpd doesn't exists in the SLES 2016-12-16 16:09:56 -05:00
bybai
99e4522fde fix 1342 setupntp need enhance to support sles12 2016-06-21 04:29:57 -04:00
Casandra Qiu
0d0f5543de Add wide char * todo the pmatch of output 2015-08-20 14:52:17 -04:00
Casandra Qiu
39cf499532 bugs#4720 makentp should supports synch MN's hwclock 2015-07-09 10:49:45 -04:00
Casandra Qiu
f0b3125e0b Bug #4721 makentp -a didn't work on sles11.3 2015-07-02 14:28:19 -04:00
linggao
ed8c829e66 ntp setup to handle sles12 2015-06-19 13:09:41 -04:00
linggao
552e733075 added more code for ntp 2015-06-17 16:57:43 -04:00
Casandra Qiu
5e6a982b4c Task 46945 Do not run setupntp if it is service node 2015-06-11 17:02:52 -04:00
Casandra Qiu
28d2110a5e fix bug#4366 change /bin/sh to /bin/bash 2014-11-19 09:42:19 -05:00
immarvin
81e86de979 fix defect #4245 In rhels 7 env,setupntp script will show error message 2014-08-12 08:37:20 -07:00
immarvin
8b362709b4 fix defect #4233 syslog changes give syntax error on AIX 2014-07-22 23:20:03 -07:00
immarvin
f7b9a9a40b replace the service/chkconfig related stuff with newly added subroutine in xCAT::Utils 2014-06-10 08:56:11 -07:00
xq2005
bfd7e6c7ee setupntp do not return directly 2013-09-13 02:05:25 -07:00
xq2005
689d4837fb bug 3755, No way to setup CN hardware clock 2013-09-11 03:09:17 -07:00
lissav
1c32268e9b check for MN
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14103 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-23 19:18:52 +00:00
sjing
e96d29b8a5 support external ntp server.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11562 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-02-13 06:35:33 +00:00
sjing
3e4156b864 git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11525 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd 2012-02-09 11:34:05 +00:00
sjing
37c05a00aa support <xcatmaster> and fix the bug when site.ntpservers is blank.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11524 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-02-09 11:28:02 +00:00
ericagar
cede69d8d7 Fix for defect 3419745: Fix Method to Determine if System is Ubuntu
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10710 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-10-06 17:45:08 +00:00
ericagar
5c9ce99d14 Fix for defect 3405955: Fix bashisms in setupntp.
Checking in on behalf of coworker Leonardo Tonetto (leont@br.ibm.com).


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10470 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-09-08 03:22:49 +00:00
ligc
f7a46424bf add autostart for setupntp on AIX
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6308 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-06-02 08:36:52 +00:00
mxi1
c5fea87cfd for defect 2979871, if NODESETSTATE=statelite, we will use "cp -a" and "echo '' " to emulate "rm -f" action
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6303 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-06-02 06:50:38 +00:00
mxi1
7f3fb77741 -defect 2979871 is fixed;
"cp -a" and " echo '' " are used to emulate "mv -f" on statelite node


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6109 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-05-14 08:56:47 +00:00
wuzhy
4e780ead9b add the more addional log information to postscripts
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5680 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-04-06 08:17:04 +00:00
ligc
34a1589589 ntpdate is deprecated on SLES11, use ntpd -q -g instead
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5187 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-02-08 05:41:42 +00:00
lissav
fca5b3fcb9 fix to work for sles
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2461 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-11-04 13:41:32 +00:00
lissav
fb17a889c3 add chkconfig --add ntp per defect 1997250
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2360 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-10-17 16:29:24 +00:00
lissav
d11bfe8ee8 fixed for AIX
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1648 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-06-13 12:22:20 +00:00
lissav
14da767736 Add chkconfig defect 1975557
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1587 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-06-04 19:48:58 +00:00
lissav
5396adae2d git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1549 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd 2008-06-02 16:45:22 +00:00
lissav
d425ba6612 do not exit with ntpdate failure
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1531 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-05-30 13:52:38 +00:00
lissav
197a444b43 remove obsolete authenticate keyword
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1512 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-05-28 18:51:33 +00:00
lissav
d835ef8a26 Change to support new design for NTP setup.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1511 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-05-28 16:38:49 +00:00
lissav
b427092c6c Add ntpdate call and start of ntpd
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1493 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-05-27 13:33:14 +00:00
lissav
3c5d9dfa0b redo ntp.conf file info
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1492 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-05-26 20:39:13 +00:00
lissav
a10e5711d4 Update setupntp for 2.0
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1390 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-05-14 16:43:41 +00:00
jbjohnso
c99d72a179 Initial xCAT 2.0 import
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2007-10-26 22:44:33 +00:00