Re: [Gluster-users] Volume with only one node
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 >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@gluster.org > > http://www.gluster.org/mailman/listinfo/gluster-users > > > > > ___ Gluster-users mailing list Gluster-users@gluster.org http://www.gluster.org/mailman/listinfo/gluster-users
Re: [Gluster-users] Volume with only one node
On Tue, Oct 25, 2016 at 2:07 PM, Oleksandr Natalenko < oleksa...@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@gluster.org > http://www.gluster.org/mailman/listinfo/gluster-users > -- Pranith ___ Gluster-users mailing list Gluster-users@gluster.org http://www.gluster.org/mailman/listinfo/gluster-users
Re: [Gluster-users] Volume with only one node
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. 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@gluster.org http://www.gluster.org/mailman/listinfo/gluster-users
Re: [Gluster-users] Volume with only one node
On Tue, Oct 25, 2016 at 1:38 PM, Maxence Sartiauxwrote: > 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 : After migration and re-installing the 2nd server, you add the new server to the GlusterFS trusted pool. # gluster peer probe And add a replica brick the volume you created earlier, # gluster volume add-brick replica 2 : > > 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@gluster.org > http://www.gluster.org/mailman/listinfo/gluster-users ___ Gluster-users mailing list Gluster-users@gluster.org http://www.gluster.org/mailman/listinfo/gluster-users
[Gluster-users] Volume with only one node
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 ? Also is it possible to add a third arbitrary node to an existing 2 replica volume ? Thank you. ___ Gluster-users mailing list Gluster-users@gluster.org http://www.gluster.org/mailman/listinfo/gluster-users