Controller node

Controller node

Lakukan langkah ini pada controller node.

Instal dan konfigurasi komponen

  1. Instal paket:

    Pada openSUSE:

    # zypper addrepo -f obs://network:time/openSUSE_Leap_42.1 network_time
    # zypper refresh
    # zypper install chrony
    

    Pada SLES:

    # zypper addrepo -f obs://network:time/SLE_12_SP1 network_time
    # zypper refresh
    # zypper install chrony
    

    Catatan

    Paket-paket signed by kunci GPG 17280DDF. Anda harus memverifikasi fingerprint kunci GPG impor sebelum menggunakannya.

    Key Name:         network OBS Project <network@build.opensuse.org>
    Key Fingerprint:  0080689B E757A876 CB7DC269 62EB1A09 17280DDF
    Key Created:      Tue 24 Sep 2013 04:04:12 PM UTC
    Key Expires:      Thu 03 Dec 2015 04:04:12 PM UTC
    
  1. Edit file /etc/chrony.conf dan tambahkan, ubahlah, atau hapuslah key berikut sesuai keperluan lingkungan Anda:

    server NTP_SERVER iburst
    

    Ganti NTP_SERVER dengan hostname atau alamat IP yang sesuai lebih akurat (lapisan bawah) server NTP Server. Konfigurasi mendukung multiple kunci server.

    Catatan

    Secara default, ‘controller node’ mensinkronisasi waktu melalui pool server publik. Namun, anda dapat mengkonfigurasi server alternatif seperti yang disediakan oleh organisasi Anda.

  2. Untuk mengaktifkan node lain untuk terhubung ke daemon chrony pada controller, tambahkan key berikut ke file /etc/chrony.conf:

    allow 10.0.0.0/24
    

    Jika perlu, ganti `` 10.0.0.0 / 24`` dengan deskripsi subnet Anda.

  3. Mulailah layanan NTP dan mengkonfigurasinya untuk memulai saat booting:

    # systemctl enable chronyd.service
    # systemctl start chronyd.service
    
Creative Commons Attribution 3.0 License

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.