[pve-devel] students training question : local storage defined in /etc/pve/storage.cfg, is it the right place ?

Alexandre DERUMIER aderumier at odiso.com
Fri Jun 10 12:40:54 CEST 2016


>>See above: All nodes in the cluster should use the same setup. I guess we
>>need to improve the documentation...

So, how do you do, if user have a cluster installed with proxmox 4.1 installer (classic lvm for example)

then user install a new proxmox 4.2 (with lvm-thin), and join the cluster.


You'll never be able to have same setup in this case.




----- Mail original -----
De: "dietmar" <dietmar at proxmox.com>
À: "aderumier" <aderumier at odiso.com>
Cc: "pve-devel" <pve-devel at pve.proxmox.com>
Envoyé: Vendredi 10 Juin 2016 12:01:44
Objet: Re: [pve-devel] students training question : local storage defined in /etc/pve/storage.cfg, is it the right place ?

> > or if you want to define a local storage on node1, you need to define it in 
> > datacenter then restrict it to node1. 
> 
> >>Why is that a problem? 
> 
> not really a problem, just confusing that if you forget to choose node, the 
> storage is defined on all nodes. 
> 
> Student expect to define it (in gui I mean), in a storage tab in node. (even 
> if it could be write to /etc/pve/storage.cfg with node restriction) 

And when you have a big cluster, you need to define that on every single node? 
Note really a good solution for me. 

> >> also, if you are on gui on node1, and want to define a zfs storage on 
> >> node3, 
> >> you can't because you can parse zfs vols of node3 from node1. 
> > 
> >Sorry - I don't understand that. Can you try to explain? 
> 
> Not related to /etc/pve/datacenter.cfg, more a missing api, 
> 
> but currently, if you are in gui on node1 (http://node1:8006), and you want to 
> create a zfs local storage on node3, 
> 
> you can't, because, the gui form "zfs pool", only display zfs pool from node1. 
> 
> (We are in datacenter section, so we expect to be able to list all zfs pool 
> from all nodes right ?) 

My idea is that all nodes in a cluster should have the same setup (more or 
less). 
And you should always use shared storage for cluster setups. 

You can do other things, but I want to optimize the common case. 

> Another thing: 
> 
> you install a node1 with classic lvm (storage:local) , then a node2 with zfs 
> (storage:local-zfs). 
> then you join node2 to cluster of node1, the local-zfs storage is removed 
> from config. 

See above: All nodes in the cluster should use the same setup. I guess we 
need to improve the documentation... 




More information about the pve-devel mailing list