logotype
  • Home
  • News
  • Product dan Services
    • Zimbra Mail Server
      • Excellent Managed Services Email
      • Lisensi Zimbra NE
      • Support dan Maintenance
      • MX Backup & ASAV
      • SMTP Relay
    • Proxmox
      • Proxmox Virtual Environment
      • Proxmox Mail Gateway
      • Proxmox Backup Server
    • XCP-ng
    • Red Hat Enterprise Linux
    • Ubuntu Pro
    • Nakivo Backup & Recovery
    • Vinchin Backup & Recovery
    • Lisensi
      • Proxmox Mail Gateway
      • Lisensi Zimbra Network Edition
      • Lisensi Nakivo Backup & Recovery
      • Subscription Zoom
    • Buku Training Mandiri
      • Buku Training Mandiri
      • Ebook Training Mandiri
    • Cloud & Hosting
      • Excellent Managed Services Email Server
      • MX Backup/Anti Spam & Anti Virus
      • SMTP Relay & Mail Gateway
      • Excellent Mail Hosing
    • SSL Sertifikat
  • Training
  • Insight
  • About Us
  • Contacts
logotype
logotype
  • Home
  • News
  • Product dan Services
    • Zimbra Mail Server
      • Excellent Managed Services Email
      • Lisensi Zimbra NE
      • Support dan Maintenance
      • MX Backup & ASAV
      • SMTP Relay
    • Proxmox
      • Proxmox Virtual Environment
      • Proxmox Mail Gateway
      • Proxmox Backup Server
    • XCP-ng
    • Red Hat Enterprise Linux
    • Ubuntu Pro
    • Nakivo Backup & Recovery
    • Vinchin Backup & Recovery
    • Lisensi
      • Proxmox Mail Gateway
      • Lisensi Zimbra Network Edition
      • Lisensi Nakivo Backup & Recovery
      • Subscription Zoom
    • Buku Training Mandiri
      • Buku Training Mandiri
      • Ebook Training Mandiri
    • Cloud & Hosting
      • Excellent Managed Services Email Server
      • MX Backup/Anti Spam & Anti Virus
      • SMTP Relay & Mail Gateway
      • Excellent Mail Hosing
    • SSL Sertifikat
  • Training
  • Insight
  • About Us
  • Contacts
logotype
  • Home
  • News
  • Product dan Services
    • Zimbra Mail Server
      • Excellent Managed Services Email
      • Lisensi Zimbra NE
      • Support dan Maintenance
      • MX Backup & ASAV
      • SMTP Relay
    • Proxmox
      • Proxmox Virtual Environment
      • Proxmox Mail Gateway
      • Proxmox Backup Server
    • XCP-ng
    • Red Hat Enterprise Linux
    • Ubuntu Pro
    • Nakivo Backup & Recovery
    • Vinchin Backup & Recovery
    • Lisensi
      • Proxmox Mail Gateway
      • Lisensi Zimbra Network Edition
      • Lisensi Nakivo Backup & Recovery
      • Subscription Zoom
    • Buku Training Mandiri
      • Buku Training Mandiri
      • Ebook Training Mandiri
    • Cloud & Hosting
      • Excellent Managed Services Email Server
      • MX Backup/Anti Spam & Anti Virus
      • SMTP Relay & Mail Gateway
      • Excellent Mail Hosing
    • SSL Sertifikat
  • Training
  • Insight
  • About Us
  • Contacts
Blog Post
Proxmox & UntangleResource

Tips Virtualization : Membuat Cluster Server pada Proxmox 2.1

July 3, 2012by Hans Wiranata

Secara umum, cluster server pada Proxmox versi 2.x tidak jauh berbeda dengan cluster server pada Proxmox 1.x. Letak perbedaanya adalah pada Proxmox versi 1.x menggunakan perintah pveca, sedangkan pada Proxmox versi 2.x kita dapat menggunakan perintah pvecm. Pada tulisan ini saya menggunakan Proxmox versi terbaru, yaitu Proxmox 2.1.

Adapun beberapa keuntungan dari cluster server Proxmox ini antara lain :

  1. Pemusatan web manajemen.
  2. Kita dapat memigrasikan virtual machines diantara node yang sudah tergabung dicluster tersebut secara live
  3. Feature HA (High Availability) pada proxmox dapat digunakan.

Sebelum kita membuat Proxmox Cluster server  ada beberapa hal yang perlu diperhatikan antara lain, :

  1. Seluruh node (server Proxmox) saling terhubung didalam 1 network.
  2. Waktu di seluruh node harus disinkronkan.
  3. Disarankan node atau server Proxmox yang akan dicluster memiliki spesifikasi yang sama.

Berikut adalah langkah-langkahnya

  1. Diasumsikan saya memiliki 2 node server Proxmox yang masing-masing memiliki Ip address 10.10.10.2/28 dan 10.10.10.3/28 yang selanjutnya akan disebut pve1 dan pve2.
  2. Pve1 akan bertindak sebagai master dan pve2 sebagai slave. Seluruh server Proxmox yang saya gunakan adalah fresh install.
  3. Siapkan console dari masing-masing Proxmox dan jalankan perintah-perintah dibawah ini
Pada pve1 jalankan perintah
pvecm create <nama cluster>

[code language=”cpp”] root@pve1:~# pvecm create cluster1
Generating public/private rsa key pair.
Your identification has been saved in /root/.ssh/id_rsa.
Your public key has been saved in /root/.ssh/id_rsa.pub.
The key fingerprint is:
a7:5d:af:35:08:a0:39:20:0a:21:c4:74:ad:de:30:74 root@pve1.excellent.co.id
The key’s randomart image is:
+–[ RSA 2048]—-+
|*o .. |
|.o.. E |
|. o + . |
|.. = . o . |
|. . + + S o . |
| . . . + o o |
| . . . + |
| o . |
| . |
+—————–+
Restarting pve cluster filesystem: pve-cluster[dcdb] notice: wrote new cluster config ‘/etc/cluster/cluster.conf’
.
Starting cluster:
Checking if cluster has been disabled at boot… [ OK ] Checking Network Manager… [ OK ] Global setup… [ OK ] Loading kernel modules… [ OK ] Mounting configfs… [ OK ] Starting cman… [ OK ] Waiting for quorum… [ OK ] Starting fenced… [ OK ] Starting dlm_controld… [ OK ] Unfencing self… [ OK ] root@pve1:~#
[/code]

Pada pve2 jalankan perintah
pvecm add <ip address pve1> dan Proxmox akan meminta anda memasukan password pve1 untuk proses authentication
[code language=”cpp”] root@pve2:~# pvecm add 10.10.10.2
Generating public/private rsa key pair.
Your identification has been saved in /root/.ssh/id_rsa.
Your public key has been saved in /root/.ssh/id_rsa.pub.
The key fingerprint is:
ec:87:63:33:1f:35:cc:8f:f9:a8:25:6b:cb:97:d3:62 root@pve2
The key’s randomart image is:
+–[ RSA 2048]—-+
| |
| |
| |
| . o |
| S = |
| . . . = |
| B + +o. |
| . B.=Eo. |
| .*=.o. |
+—————–+
The authenticity of host ‘10.10.10.2 (10.10.10.2)’ can’t be established.
RSA key fingerprint is 67:5a:04:3e:f4:e4:ea:e3:aa:90:c9:f1:a6:9b:5e:68.
Are you sure you want to continue connecting (yes/no)? yes
root@10.10.10.2’s password:
copy corosync auth key
stopping pve-cluster service
Stopping pve cluster filesystem: pve-cluster.
backup old database
Starting pve cluster filesystem : pve-cluster.
Starting cluster:
Checking if cluster has been disabled at boot… [ OK ] Checking Network Manager… [ OK ] Global setup… [ OK ] Loading kernel modules… [ OK ] Mounting configfs… [ OK ] Starting cman… [ OK ] Waiting for quorum… [ OK ] Starting fenced… [ OK ] Starting dlm_controld… [ OK ] Unfencing self… [ OK ] waiting for quorum…OK
generating node certificates
merge known_hosts file
restart services
Restarting PVE Daemon: pvedaemon.
Restarting web server: apache2 … waiting .
successfully added node ‘pve2’ to cluster.
root@pve2:~#
[/code]

Cek status cluster dengan perintah
[code language=”cpp”] root@pve1:~# pvecm nodes
Node Sts Inc Joined Name
1 M 4 2012-07-03 08:54:12 pve1
2 M 8 2012-07-03 08:54:53 pve2
root@pve1:~#
[/code]

Login ke web console pve1 yang memiliki ip 10.10.10.2 dan login seperti biasa. Jika tidak ada masalah harusnya tampilan pada web console akan seperti gambar dibawah ini.

Jika kita menggunakan SAN storage ataupun NFS storage untuk menyimpan data atau harddisk virtual dari VM yang kita miliki, kita dapat menggunakan feature live migration pada Proxmox seperti halnya vMotion pada VMware vSphere.

 

Semoga bermanfaat 😀

Clustering Proxmox & Untangle Virtualisasi
Prev

Menambahkan Channel Turnkey di Proxmox

Next

Training Zimbra Mail Server : Fundamental & Medium, 18-19 Juli 2012

Related Posts

excellent-untangle-modul
HeadlinePartnerServicesUntangle
August 15, 2013

PT. Excellent Infotama Kreasindo Sebagai Untangle Authorized Partner di Indonesia

Read more
walpaper-web
HeadlineNewsProxmox & Untangle
July 17, 2021

Proxmox Mail Gateway 7.0 Rilis. Apa yang baru?

Read more
Proxmox & Untangle
September 10, 2011

Roadmap untuk Proxmox Versi 2.0

Read more

Comments(07)

  1. By ZUWANTO
    December 1, 2013

    Terima kasih atas artikelnya, sangat bermanfaat bagi saya.

    Saya mau tanya,

    Saya sudah ada server proxmox di sekolah saya, kebetulan tahun ini menambah 1 server lagi. Tapi untuk spesifikasi server ke dua lebih tinggi.

    Apakah ada pengaruh pada kinerja ??

    Terima kasih

  2. By san
    February 16, 2014

    sya mau tanya.. itu server proxmox untuk pembuatan 2 node pake 2 komputer yang masing2 komputer terinstal proxmox ngk..? terus di clustering

  3. By santiro
    April 13, 2014

    bisa ngk di cluster walapun beda spesifikasi…

  4. By reseller hijab
    October 29, 2014

    untuk clustering ini apakah membutuhkan virtual os yang akan di upload dan diinstall pada pve1? terimakasih banyak

  5. By Masim Vavai Sugianto
    November 4, 2014

    Untuk cluster levelnya adalah sesama host. Tujuannya agar virtual OS/VM masing-masing bisa dimanage, HA dan cloning antar sesama member cluster

  6. By asep dadan
    September 29, 2016

    saya ga bisa ngcreate cluster baru kenapa ya?
    proxmox 4

Leave a Reply

Your email address will not be published. Required fields are marked *

Search
Recent Post
  • Menjaga Uptime Layanan: Live Migration dan High Availability di Proxmox VE
  • Excellent Training Proxmox VE: High Availability & Efficient Infrastructure Solution, 20 & 21 Juni 2026
  • Server Kantor Sering Bermasalah Saat Jam Kerja? Proxmox Cluster Bisa Menjadi Solusi agar Operasional Tetap Berjalan
  • Rilis Proxmox Virtual Environment 9.2: Optimalisasi Cluster dengan Dynamic Load Balancer
  • Infrastruktur Virtualisasi Sudah Berjalan, Tapi Kenapa Server Masih Sering Lambat dan Sulit Dikembangkan?
Categories
Archives
Featured image: Tips Virtualization : Membuat Cluster Server pada Proxmox 2.1
Get in Touch

KATEGORI

  • Home
  • Artikel
  • Training
  • Event
  • Berita

LAYANAN

  • Zimbra Mail Server
  • Ubuntu
  • XCP-ng
  • Vinchin
  • ASAV
  • Proxmox
  • RHEL
  • Nakivo
  • SMTP Relay
  • SSL Certificate

KONTAK KAMI

PT. Excellent Infotama Kreasindo, Premier Serenity Blok J12, Jl. KH. Agus Salim No. 40E, Bekasi Jaya, Bekasi Timur, Bekasi 17112, Jawa Barat, Indonesia

TENTANG KAMI

PT. Excellent Infotama Kreasindo merupakan entitas bisnis yang fokus pada layanan komputerisasi seperti implementasi sistem, konsultasi, training/workshop, dan maintenance sistem, terutama migrasi dari sistem Windows ke Linux. more…