[Gluster-users] Volume with only one node
kshlmster at gmail.com
Tue Oct 25 08:34:08 UTC 2016
On Tue, Oct 25, 2016 at 1:38 PM, Maxence Sartiaux <contact at makz.me> 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.
> 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 at gluster.org
More information about the Gluster-users