[Proxmox] Preview Setup Cluster In Proxmox
Nodes
- pve-proxmox-1
- pve-proxmox-2
- pve-proxmox-3
Prerequites
- Each node (pve-proxmox-1, pve-proxmox-2, and pve-proxmox-3) has proxmox VE installed
- Each node can be accessed by its GUI
- Each node can be connected to each other
- Each node has chrony installed
Setup
Via Dashboard
- Login to one of the proxmox dashboards (pve-proxmox-1)
- Click Datacenter Section -> Cluster -> Create Cluster
- Enter the cluster name (cluster-prox) and select the network (172.168.1.101) to be used, and click Create
- On Cluster Information, click Join Information, then click Copy Information
- Login to other node proxmox dashboard (pve-proxmox-2 and pve-proxmox-3)
- Click Datacenter Section -> Cluster -> Join Cluster
- Paste the encoded cluster information that was copied earlier, then enter the password from the Proxmox node, click Join
- Wait until the joining cluster process is complete
- Verify, Enter one of the Proxmox node dashboards, Click the Datacenter Section -> Cluster
With Command-Line
- Create cluster
pvecm create cluster-prox
- Cek Status
pvecm status
- add another nodes to cluster
# login to server another nodes pvecm add {ip-address-node-new} pvecm add 172.168.1.101
- Verify ``` root@pve-proxmox-1:~# pvecm status Cluster information ——————- Name: cluster-prox Config Version: 3 Transport: knet Secure auth: on
Quorum information
Date: Sat Jul 16 09:16:29 2022 Quorum provider: corosync_votequorum Nodes: 3 Node ID: 0x00000001 Ring ID: 1.47 Quorate: Yes
Votequorum information
Expected votes: 3
Highest expected: 3
Total votes: 3
Quorum: 2
Flags: Quorate
Membership information
Nodeid Votes Name 0x00000001 1 172.168.1.101 (local) 0x00000002 1 172.168.1.102 0x00000003 1 172.168.1.103 ```
Comments