[PVE-User] GlusterFS VM failover

Angel Docampo adocampo at dltec.net
Tue Jan 28 17:52:12 CET 2014


Hi there,

Mmmm, if you use /etc/fstab or glusterfs client, you will be accessing 
the gluster via FUSE.

And that s*cks.

I do a trick on my proxmox cluster, as well gluster cluster. I do have 
one 10Gb interface dedicated to gluster on each node, and another 1Gb 
interface dedicated to proxmox cluster. So, in hosts, my config is more 
or less this one.

#PROXMOX NODES
10.0.0.1 pve01
10.0.0.2 pve02
#GLUSTER NODE
192.168.100.10  g01
192.168.100.20  g02

Until this point, completely normal, now, on the first node (pve01/g01) 
y put on hosts
192.168.100.10 gluster

And this other hosts line on node pve02/g02
192.168.100.20 gluster

So, on proxmox GUI I mount gluster:VOLUMENAME. Each node mounts its own 
mountpoint and on the redhat cluster, the resource is called the same: 
gluster.

Its a trick if your virtualization nodes are also storage nodes, which 
is my case.
Hope it helps.

El 28/01/14 17:41, Leslie-Alexandre DENIS escribió:
> Hello,
>
>
> As I think that I reply to my own question after searching in GlusterFS
> documentation, I'm wondering if anybody from Proxmox's staff here can
> guide me.
>
> In fact, GlusterFS has an option to specify a backup node to the primary
> one. In a replicated setup, it permits to be sure that the client 
> points to the healthy node.
>
> It's specified in the mount command or /etc/fstab on the client side, 
> like :
>
> /# mount -t glusterfs -o 
> *backupvolfile-server=volfile_server2*,fetchattempts=//
> //2,log-level=WARNING,log-file=/var/log/gluster.log server1:/testvolume//
> ///mnt/glusterfs/
>
> /If backupvolfile-server option is added while mounting fuse client, 
> when//
> //the first volfile server fails, then the server specified in 
> backupvolfile-server option is used as volfile server to mount the 
> client./
>
>
> Basically my question is : Where can I find the GlusterFS client mount 
> entry on Promox ? And do you plan to implement that functionality in 
> the GUI and qemu ? (It would be awesome)
>
>
> For anybody on that topic, you can find more information here :
> - http://www.jamescoyle.net/how-to/439-mount-a-glusterfs-volume
> or in the official Administration Guide
>
> Thanks,
> Regards
>
>
> _______________________________________________
> pve-user mailing list
> pve-user at pve.proxmox.com
> http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user


-- 

	
*Angel Docampo
*
*Datalab Tecnologia, s.a.*
Castillejos, 352 - 08025 Barcelona
Tel. 93 476 69 14 - Ext: 706
Mob. 670.299.381

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.proxmox.com/pipermail/pve-user/attachments/20140128/00a72deb/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Logo-DLtec.png
Type: image/png
Size: 5898 bytes
Desc: not available
URL: <http://lists.proxmox.com/pipermail/pve-user/attachments/20140128/00a72deb/attachment.png>


More information about the pve-user mailing list