No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

Huawei SAP HANA Appliance Two Node Installation Guide (RH5885H and RH8100 V3+Redhat) 08

Rate and give feedback :
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
Configuring the NTP Server

Configuring the NTP Server

This section uses a Linux system as an example to describe how to configure the NTP server. If an NTP server exists on the live network, skip this procedure and configure the NTP client directly.

  1. Log in to the NTP server as the root user. Right-click in the blank space on the desktop and choose Open Terminal on the shortcut menu displayed.
  2. Run the systemctl enable ntpd.service command to configure the NTP service to start with the startup of Redhat Linux.

    NOTE:

    This step uses Redhat7.2 as an example. Run the chkconfig ntpd on command for Redhat6.7.

    systemctl enable ntpd.service

  3. Run the vi /etc/ntp.conf command to ope n the NTP configuration file.

    #vi /etc/ntp.conf

  4. Press i to switch to the insertion mode.
  5. Add client IP address restriction.

    The command format is as follows:

    restrict <NTP client IP address> mask <NTP client subnet mask> nomodify

    This command allows an NTP client with the specified IP address to use the current host as the NTP server and synchronize time from this host.

    The following is an example command:

    restrict 0.0.0.0 mask 0.0.0.0 nomodify notrap
    server 127.127.1.0
    fudge 127.127.1.0 stratum 10

  6. Press ESC to switch to the CLI mode.
  7. Press the colon (:) to switch to the bottom line mode, type wq, and press Enter to save the modification and exit the vi editor.
  8. Run the systemctl restart ntpd.service command to restart the NTP service.

    NOTE:

    This step uses Redhat7.2 as an example. Run the service ntpd restart command for Redhat6.7.

    systemctl restart  ntpd.service

Translation
Download
Updated: 2019-05-14

Document ID: EDOC1100019155

Views: 17629

Downloads: 94

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next