OpenStack : How To Install OpenStack Queens Multi Nodes with PackStack ( Part I )

Setelah di jurnal OpenStack : How To Install Openstack Queens All-in-One with PackStack kita membahas mengenai cara Install OpenStack dalam satu node. Disini akan dicoba cara Install OpenStack dalam multi node, tepatnya disini akan menggunakan dua node.

Oh iya. Karena sedikit lebih banyak konfigurasi, jurnal ini akan ditulis secara bersambung.

Install Requirement :

  • 6144 MB RAM
  • 20GB Virtual disk

 

Skemanya, disini akan menggunakan dua node dengan rincian :

  • Node ananda-controller
    • Interface: eth0
      • IP Address: 10.110.110.10/24
      • Gateway: 10.110.110.1
      • DNS Resolver: 10.110.110.1
    • Interface: eth1
      • IP Address: 10.110.110.0/24
    • Hostname: ananda-controller
  • Node ananda-compute0
    • Interface: eth0
      • IP Address: 10.110.110.20/24
    • Interface: eth1
      • IP Address: 10.111.111.20/24
    • Hostname: ananda-compute0

 

Bisa dilihat IP Address di kedua node :

  • Node ananda-controller :

Screenshot from 2018-07-12 22-54-27

  • Node ananda-compute0 :

Screenshot from 2018-07-12 22-54-42

Bisa tes ping keduanya :

  • Node ananda-controller :

Screenshot from 2018-07-12 22-55-17

  • Node ananda-compute0 :

Screenshot from 2018-07-12 22-55-38

Selanjutnya, tambahkan baris berikut dalam file /etc/hosts untuk kedua node :

10.110.110.10 ananda.controller
10.110.110.20 ananda-compute0
  • Node ananda-controller :

Screenshot from 2018-07-12 23-00-25

  • Node ananda-compute0 :

Screenshot from 2018-07-12 23-00-39

Langkah selanjutnya, update paket CentOS 7 dengan perintah :

# yum -y update
  • Node ananda-controller :

Screenshot from 2018-07-12 23-03-10

  • Node ananda-compute :

Screenshot from 2018-07-12 23-03-27

Lalu install centos-release-queens epel-release :

# yum -y install centos-release-openstack-queens epel-release
  • Node ananda-controller :

Screenshot from 2018-07-12 23-04-07

  • Node ananda-compute0 :

Screenshot from 2018-07-12 23-04-53

Set repository :

# [ ! -d /etc/yum.repos.d.orig ] && cp -vR /etc/yum.repos.d /etc/yum.repos.d.orig
  • Node ananda-controller :

Screenshot from 2018-07-12 23-05-18

  • Node ananda-compute0 :

Screenshot from 2018-07-12 23-05-37

Bisa dilihat tabel repo :

# yum repolist
  • Node ananda-controller :

Screenshot from 2018-07-12 23-05-59

  • Node ananda-controller :

Screenshot from 2018-07-12 23-06-15

Selanjutnya, agar waktu kedua node sama, gunakan aplikasi chrony untuk set NTP :

# yum install chrony
  • Node ananda-controller :

Screenshot from 2018-07-12 23-09-53

  • Node ananda-compute0 :

Screenshot from 2018-07-12 23-11-15

Aktifkan, restart dan lihat status dari chrony :

# systemctl enable chronyd.service
# systemctl restart chronyd.service
# systemctl status chronyd.service
  • Node ananda-controller :

Screenshot from 2018-07-12 23-11-46

  • Node ananda-compute0 :

Screenshot from 2018-07-12 23-11-57

Bisa dilihat tabel NTP Server :

# chronyd sources
  • Node ananda-controller :

Screenshot from 2018-07-12 23-12-39

  • Node ananda-compute0 :

Screenshot from 2018-07-12 23-12-48

Stop, dan matikan layanan firewalld . Dan bisa dilihat statusnya. Pastikan sudah inactive :

# systemctl stop firewalld.service
# systemctl disable firewalld.service
# systemctl status firewalld.service
  • Node ananda-controller :

Screenshot from 2018-07-12 23-13-22

  • Node ananda-compute0 :

Screenshot from 2018-07-12 23-13-31

Matikan pula layanan NetworkManager :

# systemctl disable NetworkManager.service
# systemctl stop NetworkManager.service
# systemctl status NetworkManager.service
  • Node ananda-controller :

Screenshot from 2018-07-12 23-15-15

  • Node ananda-compute0 :

Screenshot from 2018-07-12 23-15-36

Sedangkan untuk network.service bisa diaktifkan :

# systemctl enable network.service
# systemctl restart network.service
# systemctl status network.service
  • Node ananda-controller :

Screenshot from 2018-07-12 23-17-07

  • Node ananda-compute0 :

Screenshot from 2018-07-12 23-17-25

Install paket tambahan seperti wget, vim, screen, crudini, dan htop :

# yum -y install vim wget screen crudini htop
  • Node ananda-controller :

Screenshot from 2018-07-12 23-18-15

  • Node ananda-compute0 :

Screenshot from 2018-07-12 23-18-36

 

 

Sekian untuk postingan ini. Tunggu postingan lanjutannya ya.:)

Advertisements

6 thoughts on “OpenStack : How To Install OpenStack Queens Multi Nodes with PackStack ( Part I )”

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.