Build oracle11g RAC 64 cluster environment based on CentOS and VMWARESTATION10:2. Build the environment-2.10. Configure User ntf Services

Source: Internet
Author: User

2.10. Configure the user ntf service 2.10.1. Configuration Node 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. Configuring the Node 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. Starting a service (two-node)

[[email protected] etc] #service ntpd Restart

2.10.4. system Boot Auto-load

[[email protected] etc] #chkconfig ntpd on

Build oracle11g RAC 64 cluster environment based on CentOS and VMWARESTATION10:2. Build the environment-2.10. Configure User ntf Services

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

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.