Cluster Setup

bumann

Renowned Member
May 1, 2016
30
1
73
40
Hi,

my requirements:
-2 Node Cluster with local Storage
-Backup VM to NAS
-Migrate VMs from Node to other Node
-Restore VMs from Backup (NAS) in time of one Node failure

i setup a fest cluster with 2 Servers:
1. install fresh Proxmox VE 4.2 on both Server with standard settings
ServerA: 10.0.0.10 (1TB hardware RAID1)
ServerB: 10.0.0.11 (1TB hardware RAID1)

2. Create a cluster with "pvecm create mycluster" on Server A
3. Add node ServerB to cluster "pvecm add 10.0.0.10"
4. Add NAS NFS Storage
5. I have set two_node=”1″ on cluster config.

The Datacenter Storage tab now shows:
local / Directory / Shared: NO
local-lvm / LVM-Thin / Shared: NO
NAS / NFS / Shared: YES

Problem / Questions:
1. I create a new VM on ServerA on Storage local-lvm. The VM works, but i cant migrate the VM to ServerB,
it show Error "storage type 'lvmthin' not supported TASK ERROR: migration aborted"
Solution for the Problem?!

2. What are the advantages / disadvantages of two_node=”1″ ?

3. Is it possible / reliable to use such a setup in smb enviroment?
 
local / Directory / Shared: NO
local-lvm / LVM-Thin / Shared: NO
NAS / NFS / Shared: YES

Problem / Questions:
1. I create a new VM on ServerA on Storage local-lvm. The VM works, but i cant migrate the VM to ServerB, it show Error "storage type 'lvmthin' not supported TASK ERROR: migration aborted"
Solution for the Problem?!

For HA You need create shared storage for VM migrates (SAN, NAS/NFS, Ceph, DRBD9)
or locate your VM on already available in your cluster "NAS / NFS / Shared: YES".

Read System requirements about storage for HA in:
https://pve.proxmox.com/wiki/High_Availability_Cluster_4.x

If You don't need HA (only manual VM migrates) then may create LVM (not thin) storage.

--
Best regards,
Gosha
 
Last edited: