How local store is supported in a cluster ?

oban

Renowned Member
Dec 15, 2010
26
0
66
Hi,
I have build 2 identical nodes with a hw RAID 0. The RAID0 is divided in 2 partitions. the first partition to install proxmox and the second partition for vm space.

After having the 2 nodes fully installed (default install from proxmox 1.7 CD), I have 2 identical nodes ready. To use the second partition available each RAID0 I create on each node a Logical Volume that I use as "directory storage".

Next, creating a cluster with the 2 nodes I discover that only the local storage on the master is preserved (visible).

Question: is it possible to work in "cluster" and keep local storage for each node available ?
( I don't expect any live migration on those local storage)

[edit] Of course I use the cluster because each node use also an iscsi space for live migration on several vm

Thanks for your support
oban
 
Last edited:
local storage is always available per host. that means you can still create a VM via the master using local storage from the corresponding node.
 
Hi Tom,

Thanks for your confirmation.

However, I still not see the local directory for the non-master node.

Let me explain my procedure to create both local storages :

1° I have create a PV-VG-LV on the second partition of the RAID0 on each node
2° I have formated & mounted the LV on /mnt/local_vm
3° I have used the web interface on each node to create a new directory storage.
node1: new directory storage named "fast_vm_host1"
node2: new directory storage named "fast_vm_host2"

4° I create a new cluster with the 2 nodes. Node 1 become master.

Finally I use the master web interface to show the different storages available I can see only the directory storage created on the master "fast_vm_host1). I don't see the other one created on the second node.
What is wrong ? How to create a local storage on each node to keep it available when the cluster is created?

best regards
oban
 
Last edited:
in a cluster, all storages needs to be available for all nodes. e.g. if you have DIR storage like /newdir-on-node-1 you also need this dir on the master (just create a "fake" dir on the master with the same name). in a cluster, you can create new storages on the web ONLY on the master.

this is a limitation of the current storage model and yes, it will be fixed in Proxmox VE 2.0.
 
Hi tom,

I have successfully configured the hosts to have my DIR storages visible and accessible from the master. Nice to read that you will improve it on Proxmox VE 2.0.
Thanks for your support and this powerfull environment.

best regards
oban