性无码一区二区三区在线观看,班长用她的玉足白丝帮我爽,在线视频免费观看www动漫,全免费A级毛片免费看视频

您好,歡迎進(jìn)入北京泰福特電子科技有限公司官網(wǎng)

咨詢(xún)服務(wù)熱線(xiàn)

400-015-1230

11G RAC 配置NTP服務(wù)器

發(fā)布時(shí)間:2022-04-12 10:28:51

tip01的IP:162.20.1.228  NTP服務(wù)端  

tip02的IP:162.20.1.229  NTP客戶(hù)端

配置NTP服務(wù)器之前,確認(rèn)服務(wù)器已裝好NTP包  

[root@tip01 ~]# rpm -qa  | grep ntp  

ntp-4.2.2p1-9.el5_4.1  

chkfontpath-1.10.1-1.1  

然后再把服務(wù)器的系統(tǒng)時(shí)鐘與硬件時(shí)間同步一下  

先查看下系統(tǒng)  

[root@tip01 ~]# date  

2012年05月20日 星期日 22:07:01 CST  

查看硬件時(shí)鐘  

[root@tip01 ~]# hwclock  

2012年05月20日 星期日 13時(shí)33分46秒  -0.415712 seconds  

這里,系統(tǒng)時(shí)鐘與硬件時(shí)鐘不同步,我們通過(guò)以下命令來(lái)把硬件時(shí)鐘與系統(tǒng)時(shí)鐘同步  

[root@tip01 ~]# clock --systohc  

在查看下系統(tǒng)時(shí)鐘與硬件時(shí)鐘,已經(jīng)同步了    

[root@tip01 ~]# date  

2012年 05月20日 星期日 22:08:07 CST  

[root@tip01 ~]# hwclock  

2012年 05月20日 星期日 22時(shí)08分12秒  -

0.154372 seconds  

[root@tip01 ~]#  

---------------------

編輯tip01節(jié)點(diǎn)的配置文件  

# vi /etc/ntp.conf  

restrict default kod nomodify notrap nopeer noquery  

restrict -6 default kod nomodify notrap nopeer noquery  

restrict 127.0.0.1  

restrict -6 ::1  

server  162.20.1.228   #  

server  127.127.1.0    

#local clock  

fudge  127.127.1.0 stratum 10  

driftfile /var/lib/ntp/drift  

keys /etc/ntp/keys  

restrict 162.20.1.228  mask 255.255.255.255 nomodify notrap noquery

編輯tip02節(jié)點(diǎn)ntp.conf文件  

# vi /etc/ntp.conf  

server tip01  

restrict tip01 mask 255.255.255.255 nomodify notrap noquery  

3.分別在tip01,tip02上修改NTPD參數(shù)文件  

#vi /etc/sysconfig/ntpd  

SYNC_HWCLOCK=yes

OPTIONS="-x -u ntp:ntp -p /var/run/ntpd.pid"  

#RAC安裝時(shí)需要檢測(cè)的-x參  

#cd /etc/ntp  

#ls  

keys  ntpservers  step-tickers  

# more ntpservers  

#This file contains a list of ntp servers to show in the system-config-

date user interface.  

#It is not recommended that you modify this file by hand.  

#添加ntp 服務(wù)器地址或者主機(jī)名  

tip01  

注:注意查看step-tickers內(nèi)容,如果step-tickers錯(cuò)誤也會(huì)導(dǎo)致ntp不同步  

# more step-tickers  

# 在tip01,tip02上執(zhí)行chkconfig,使NTP服務(wù)開(kāi)機(jī)啟動(dòng)  

[root@tip01 ~]# chkconfig  ntpd on  

[root@tip02 ~]# chkconfig  ntpd on  

[root@tip01 ~]# service ntpd restart  

關(guān)閉 ntpd:[確定]  

ntpd: 同步時(shí)間服務(wù)器:[失敗]  

啟動(dòng) ntpd:[確定]  

確保該端口以u(píng)dp方式開(kāi)放。  

[root@tip01 ~]

# netstat -an |grep 123  

udp        0      0 192.168.99.228:123          0.0.0.0:*      udp        0      0 162.20.1.228:123            0.0.0.0:*                          udp        0      0 127.0.0.1:123               0.0.0.0:*                              

udp        0      0 0.0.0.0:123                 0.0.0.0:*                      udp        0      0 ::1:123                     :::*                        udp        0      0 fe80::250:56ff:fe9d:123     :::*                            udp        0      0 :::123                 :::*  

查看ntp狀態(tài)  

[root@tip01 ~]# ntpstat  

synchronised to local net at stratum 11  

time correct to within 11 ms  

polling server every 1024 s  

在tip02節(jié)點(diǎn)啟動(dòng)ntp服務(wù)  

[root@tip02 ~]#

service ntpd start  

ntpd: 同步時(shí)間服務(wù)器:[確定]  

同步硬件時(shí)鐘到系統(tǒng)時(shí)鐘 [確定]  

啟動(dòng) ntpd:[確定]  

切換至事先配好的grid用戶(hù)來(lái)驗(yàn)證兩節(jié)點(diǎn)時(shí)間  

[grid@tip02 ~]$ ssh tip01 date  

2012年 05月 20日 星期日 22:21:46 CST  

[grid@tip02 ~]$ ssh tip02 date  

2012年 05月 20日 星期日 22:21:48 CST  

[grid@tip02 ~]$  


  • 聯(lián)系方式
  • 傳 真:86-10-82782026
  • 電 話(huà):400-015-1230
  • 地 址:北京市海淀區(qū)北清路68號(hào)院用友軟件園北區(qū)17號(hào)樓三層
在線(xiàn)咨詢(xún)

咨詢(xún)電話(huà):

400-015-1230

  • 微信掃碼 關(guān)注我們

Copyright ? 2002-2035 北京泰福特電子科技有限公司 版權(quán)所有 備案號(hào):京ICP備12028220號(hào)-3
京公網(wǎng)安備 11010802025976號(hào)

掃一掃咨詢(xún)微信客服

18519396506
又硬又水多又坚少妇18P| 浴室高潮bd在线观看| 啊灬啊灬啊灬快灬深视频无遮掩| 国产在线精品一区二区三区不卡| 护士人妻hd中文字幕| 野花日本大全免费观看3中文版| 久久夜色精品国产嚕嚕亚洲av| 精品午夜福利在线观看| 被按摩的人妻中文字幕| 蜜桃久久精品成人无码AV| gogogo日本免费观看视频 | 玩弄白嫩少妇xxxxx性| 国产无遮挡吃胸膜奶免费看| 亚洲色在线| 狠狠cao日日穞夜夜穞| 精品无码久久久久久国产| 综合色就爱涩涩涩综合婷婷| hd老熟女bbn老淑女| 国产午夜精品久久久久免费视| 精品视频一区二区三区在线观看| 国产亚洲精品久久777777| 久久久久久人妻一区二区三区| 国产一区二区三区小说| 国产韩国日本欧美的品牌suv| 午夜免费福利小电影| 小舞屈辱打开双腿自慰出白浆| 亚洲人成无码网站在线观看| 精品无码久久久久久久久久| 变态另类重口特级| 精品黑人一区二区三区| 国产精品成人一区二区三区| 狂野欧美性猛交XXXX| 无码熟妇人妻AV在线影片最多| 99久久精品国产亚洲av| 性xxxxfreexxxxx| 蜜桃麻豆WWW久久囤产精品 | 日韩久久无码免费毛片软件| 欧美巨鞭大战丰满少妇| 男男情趣玩具play高h| 国产成人无码免费网站| 天干夜天干天天天爽视频|
Powered by RRZCMS