基於CentOS與VmwareStation10搭建Oracle11G RAC 64叢集環境:2.搭建環境-2.10.配置使用者NTF服務

來源:互聯網
上載者:User

標籤:style   io   os   ar   sp   strong   div   on   art   

2.10.配置使用者NTF服務2.10.1.配置節點RAC1

1)      

[[email protected] sysconfig]#sed -i ‘s/OPTIONS/#OPTIONS/g‘ /etc/sysconfig/ntpd

2)      

[[email protected] sysconfig]#cat >> /etc/sysconfig/ntpd << EOF

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

> EOF

3)      

[[email protected] sysconfig]#mv /etc/ntp.conf /etc/ntp.confbak

4)      

[[email protected] sysconfig]# cat > /etc/ntp.conf << EOF

> restrict 0.0.0.0 mask 0.0.0.0 nomodify

> server 127.127.1.0

> fudge 127.127.1.0 stratum 10

> driftfile /var/lib/ntp/drift

> broadcastdelay 0.008

> authenticate no

> keys /etc/ntp/keys

> EOF

2.10.2.配置節點RAC2

1)      

[[email protected] sysconfig]# sed -i ‘s/OPTIONS/#OPTIONS/g‘ /etc/sysconfig/ntpd

2)      

[[email protected]]# cat >> /etc/sysconfig/ntpd << EOF

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

> EOF

3)      

[[email protected] sysconfig]# mv /etc/ntp.conf /etc/ntp.confbak

4)      

[[email protected] sysconfig]# cat >> /etc/ntp.conf << XL

> restrict default kod nomodify notrap nopeer noquery

> restrict 10.10.97.0mask 255.255.255.0 nomodify notrap

> restrict 127.0.0.1

> server 10.10.97.168

> server 127.127.1.0 # local clock

> fudge 127.127.1.0 stratum 10

> driftfile /var/lib/ntp/drift

> broadcastdelay 0.008

> keys /etc/ntp/keys

> XL

2.10.3.啟動服務(雙節點)

[[email protected] etc] #service ntpd restart

2.10.4.系統啟動自動載入

[[email protected] etc] #chkconfig ntpd on

基於CentOS與VmwareStation10搭建Oracle11G RAC 64叢集環境:2.搭建環境-2.10.配置使用者NTF服務

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.