Re: Volume with only one node

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Oct 25, 2016 at 1:38 PM, Maxence Sartiaux <contact@xxxxxxx> wrote:
> Hello,
>
> 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.
>
> I found no informations about creating a replicated volume with a single
> node, is it possible ?

This is possible.
You first create a single brick volume on the first server. Note that
this is not a replica volume right now.
# gluster volume create <volume-name> <server-1>:<brick-path>

After migration and re-installing the 2nd server, you add the new
server to the GlusterFS trusted pool.
# gluster peer probe <server-2>

And add a replica brick the volume you created earlier,
# gluster volume add-brick <volume-name> replica 2 <server-2>:<brick-path>


>
> Also is it possible to add a third arbitrary node to an existing 2 replica
> volume ?

I'm not sure this is possible yet. Krutika or Pranith can answer this.

>
> Thank you.
>
> _______________________________________________
> Gluster-users mailing list
> Gluster-users@xxxxxxxxxxx
> http://www.gluster.org/mailman/listinfo/gluster-users
_______________________________________________
Gluster-users mailing list
Gluster-users@xxxxxxxxxxx
http://www.gluster.org/mailman/listinfo/gluster-users



[Index of Archives]     [Gluster Development]     [Linux Filesytems Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux