[Gluster-users] Volume with only one node

Maxence Sartiaux contact at makz.me
Tue Oct 25 11:00:54 UTC 2016


Thank you everyone !

On Tue, 2016-10-25 at 14:27 +0530, Pranith Kumar Karampuri wrote:
> 
> 
> On Tue, Oct 25, 2016 at 2:07 PM, Oleksandr Natalenko
> <oleksandr at natalenko.name> wrote:
> > Hello.
> > 
> > 25.10.2016 10:08, Maxence Sartiaux wrote:
> > > I need to migrate a old 2 node cluster to a proxmox cluster with
> > > a
> > > replicated gluster storage between those two (and a third
> > > arbitrer
> > > node).
> > > 
> > > Id like to create a volume with a single node, migrate the data
> > > on
> > > this volume from the old server and then reinstall the second
> > > server
> > > and add the second brick to the volume.
> > > 
> >  
> > If you have only 2 nodes in total, you may lower replica to replica
> > 1, reinstall another node, re-add bricks to form replica 2 and
> > repeat these steps for another node. No downtime and data migration
> > by hands needed. 
> 
> Just want to let you guys know that Kevin had bad experience doing
> add-bricks when VMs are online. We are still not able to recreate
> this bug. So I would advise you to do an offline migration for now.
>  
> > > I found no informations about creating a replicated volume with a
> > > single node, is it possible ?
> > > 
> >  
> > Yes, with "force" option, if you really need that.
> > 
> > > Also is it possible to add a third arbitrary node to an existing
> > > 2
> > > replica volume ?
> > > 
> >  
> > Yes, starting from v3.8.
> > 
> > Regards,
> >   Oleksandr
> > 
> > _______________________________________________
> > Gluster-users mailing list
> > Gluster-users at gluster.org
> > http://www.gluster.org/mailman/listinfo/gluster-users
> > 
> 
> 
> 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.gluster.org/pipermail/gluster-users/attachments/20161025/e2cc31ee/attachment.html>


More information about the Gluster-users mailing list