Re: [Gluster-users] Does QEMU offer High Availability
Hi Lucian, but Glusterfs is at least trying to replicate the QEMU image onto the other node ? That's the whole point of the replication isn’t it ? Thanks for the help, Dan -- Message: 1 Date: Mon, 17 Mar 2014 20:29:30 +0700 From: Daniel Baker i...@collisiondetection.biz To: gluster-users@gluster.org Subject: [Gluster-users] Does QEMU offer High Availability Message-ID: 5326f8ba.7010...@collisiondetection.biz Content-Type: text/plain; charset=ISO-8859-1 HI all, If I use QEMU in Glusterfs 3.4.2 can I achieve true High Availability. If I have two nodes that are clustering a QEMU image and one of them goes down will the other QEMU image take its place. Can I really achieve that ? Thanks, Dan -- Message: 2 Date: Mon, 17 Mar 2014 13:48:45 + From: Nux! n...@li.nux.ro To: gluster-users@gluster.org Subject: Re: [Gluster-users] Does QEMU offer High Availability Message-ID: c5ba49ac0de0faf0ab1257a7f1800...@li.nux.ro Content-Type: text/plain; charset=UTF-8; format=flowed On 17.03.2014 13:29, Daniel Baker wrote: HI all, If I use QEMU in Glusterfs 3.4.2 can I achieve true High Availability. If I have two nodes that are clustering a QEMU image and one of them goes down will the other QEMU image take its place. Can I really achieve that ? Dan, This is not really a discussion for the gluster lists. You should ask KVM people, but to answer you briefly: - No, KVM is just a hypervisor, it runs virtual machines and that's all it does. You need to run additional RedHat clustering stuff around it to achieve HA. HTH Lucian ___ Gluster-users mailing list Gluster-users@gluster.org http://supercolony.gluster.org/mailman/listinfo/gluster-users
[Gluster-users] gluster bug 991084
Hi All, I seem to have hit glusterbug 991084 https://bugzilla.redhat.com/show_bug.cgi?id=991084 I try solution: (vol=machines; brick=/export/sdb1/brick; setfattr -n trusted.glusterfs.volume-id -v 0x$(grep volume-id /var/lib/glusterd/vols/$vol/info | cut -d= -f2 | sed 's/-//g') $brick) grep: /var/lib/glusterd/vols/machines/info: No such file or directory And then this : root@cluster1:/home/admincit# gluster volume start gv0 force volume start: gv0: failed: Volume id mismatch for brick 192.168.100.170:/export/sdb1/brick. Expected volume id e9e31a9d-e194-4cbb-851c-a837ebc753d0, volume id ---- found This has come about because I replaced the HD the brick was on. Is there another solution I can try or does anyone know what I have to tweak in the above commands to get this volume id thing sorted ? Thanks for the help, Dan ___ Gluster-users mailing list Gluster-users@gluster.org http://supercolony.gluster.org/mailman/listinfo/gluster-users
[Gluster-users] Does QEMU offer High Availability
HI all, If I use QEMU in Glusterfs 3.4.2 can I achieve true High Availability. If I have two nodes that are clustering a QEMU image and one of them goes down will the other QEMU image take its place. Can I really achieve that ? Thanks, Dan ___ Gluster-users mailing list Gluster-users@gluster.org http://supercolony.gluster.org/mailman/listinfo/gluster-users
Re: [Gluster-users] Testing Gluster 3.2.4 in VMware
Dear Carlos I opened up the glusterfs server firewall to accept all connections from my computer : iptables -I INPUT -p all -s 192.168.100.209 -j ACCEPT And on my computer to accept all connections from the glusterfs server. When I try showmount -e localhost Export list for localhost: /gv0 * When I try the same command from my computer I get: showmount -e 192.168.100.170 Export list for 192.168.100.170: /gv0 * When I try from my computer : sudo mount -t nfs 192.168.100.170:/gv0 /mnt/export mount.nfs: mount point /mnt/export does not exist And when I try from my computer: sudo mount -t glusterfs 192.168.100.170:/gv0 /mnt/export Usage: mount.glusterfs volumeserver:volumeid/volumeport -o options mountpoint Options: man 8 mount.glusterfs To display the version number of the mount helper: mount.glusterfs --version So it looks like the volume is there but it doesn’t see the mount point ? Then I changed tac. I found this tutorial : http://www.howtoforge.com/high-availability-storage-with-glusterfs-3.2.x-on-debian-wheezy-automatic-file-replication-mirror-across-two-storage-servers I issued this command on my client computer: mkdir /mnt/glusterfs mount.glusterfs 192.168.100.170/gv0 /mnt/glusterfs This time I did not receive any messages about how to use the gluster commads. So it looked ok. However when I issue : mount I get this : /dev/sda2 451G 421G 7.2G 99% / udev 3.8G 4.0K 3.8G 1% /dev tmpfs 1.6G 1008K 1.6G 1% /run none 5.0M 0 5.0M 0% /run/lock none 3.8G 748K 3.8G 1% /run/shm cgroup 3.8G 0 3.8G 0% /sys/fs/cgroup /dev/sda1 93M 2.1M 91M 3% /boot/efi /home/kam270/.Private 451G 421G 7.2G 99% /home/kam270 No mount point to server. Maybe I need to try adding hostnames in my /etc/hosts ? Thanks, Dan -- Message: 4 Date: Fri, 7 Mar 2014 17:56:08 +0100 From: Carlos Capriotti capriotti.car...@gmail.com To: Daniel Baker i...@collisiondetection.biz Cc: gluster-users gluster-users@gluster.org Subject: Re: [Gluster-users] Testing Gluster 3.2.4 in VMware Message-ID: CAMShz32JK=B+O+cL3Ej-hxSsQ1s06U0JOiP9GgSkdjfq1=0...@mail.gmail.com Content-Type: text/plain; charset=iso-8859-1 Hello, Daniel. I am also testing gluster on vmware; in my application, it will be a secondary datastore for VM images. So far, I've hit a couple of brick walls, like, for instance, VMware not reading volumes created as striped, or striped + replicated. It simply sits there, trying, four hours, without errors on either sides. But your current configuration WILL work. As a suggestion, to begin with your troubleshooting, try disabling firewall and SElinux. nothing to do with your current problem, BUT will matter in the near future. After you are sure all works, go back an re-enable/ fine tune them. Now to your problem... Your first syntax seem to be a bit off,unless it is a typo; sudo mount.glusterfs 192.168.100.170:gv0 /mnt/export you see, there is a slash missing after. It should read sudo mount.glusterfs 192.168.100.170:/gv0 /mnt/export For the second case, you did not post the error message, so I can only suggest you try copying/pasting this: sudo mount -t glusterfs 192.168.100.170:/gv0 /mnt/export Now, here is another trick: try mounting wit nfs: First, make sure your NFS share is really being shared: # showmount -e 192.168.100.170 Alternatively, if you are on one of the gluster servers, just for testing, you may try: # showmount -e localhost Make sure your gluster volume is REALLY called gv0. Now you can try mounting with: sudo mount -t nfs 192.168.100.170:/gv0 /mnt/export Again, if you are on one of the servers, try sudo mount -t nfs localhost:/gv0 /mnt/export You might want to sudo su to run everything all commands as root, without the hassle of sudoing everything. Give it a try. If nfs works, go for it anyway; It is your only option for VMware/esxi anyway. There are a few more advanced steps on esxi and on gluster, but let's get it to work first, right ? Cheers, On Fri, Mar 7, 2014 at 9:15 AM, Daniel Baker i...@collisiondetection.bizwrote: Hi, I have followed your tutorial to set up glusterfs 3.4.2 in vmware. http://www.gluster.org/community/documentation/index.php/Getting_started_configure My gluster volume info is the same as this: Volume Name: gv0 Type: Replicate Volume ID: 8bc3e96b-a1b6-457d-8f7a-a91d1d4dc019 Status: Created Number of Bricks: 1 x 2 = 2 Transport-type: tcp Bricks: Brick1: node01.yourdomain.net:/export/sdb1/brick Brick2: node02.yourdomain.net:/export/sdb1/brick In order to test replication I have installed the glusterfs-client on my ubuntu 12.04 laptop. I issue this command: sudo mount.glusterfs 192.168.100.170:gv0 /mnt/export but I receive this error : Usage
Re: [Gluster-users] Testing Gluster 3.2.4 in VMware
Hi Carlos, some good news. After discovering with the df command that I was not mounting the server I headed back to the books: http://www.gluster.org/wp-content/uploads/2012/05/Gluster_File_System-3.3.0-Administration_Guide-en-US.pdf It shows in section 6.1 how to get the latest gluster client. I was using the wrong one: 3.2 . I need the latest 3.4.2. Now I can mount the cluster from the client $ df cluster1:/gv0 16765952 33152 16732800 1% /mnt/glusterfs I will test adding files and replication tomorrow. Thanks for your help, Dan -- Message: 4 Date: Fri, 7 Mar 2014 17:56:08 +0100 From: Carlos Capriotti capriotti.car...@gmail.com To: Daniel Baker i...@collisiondetection.biz Cc: gluster-users gluster-users@gluster.org Subject: Re: [Gluster-users] Testing Gluster 3.2.4 in VMware Message-ID: CAMShz32JK=B+O+cL3Ej-hxSsQ1s06U0JOiP9GgSkdjfq1=0...@mail.gmail.com Content-Type: text/plain; charset=iso-8859-1 Hello, Daniel. I am also testing gluster on vmware; in my application, it will be a secondary datastore for VM images. So far, I've hit a couple of brick walls, like, for instance, VMware not reading volumes created as striped, or striped + replicated. It simply sits there, trying, four hours, without errors on either sides. But your current configuration WILL work. As a suggestion, to begin with your troubleshooting, try disabling firewall and SElinux. nothing to do with your current problem, BUT will matter in the near future. After you are sure all works, go back an re-enable/ fine tune them. Now to your problem... Your first syntax seem to be a bit off,unless it is a typo; sudo mount.glusterfs 192.168.100.170:gv0 /mnt/export you see, there is a slash missing after. It should read sudo mount.glusterfs 192.168.100.170:/gv0 /mnt/export For the second case, you did not post the error message, so I can only suggest you try copying/pasting this: sudo mount -t glusterfs 192.168.100.170:/gv0 /mnt/export Now, here is another trick: try mounting wit nfs: First, make sure your NFS share is really being shared: # showmount -e 192.168.100.170 Alternatively, if you are on one of the gluster servers, just for testing, you may try: # showmount -e localhost Make sure your gluster volume is REALLY called gv0. Now you can try mounting with: sudo mount -t nfs 192.168.100.170:/gv0 /mnt/export Again, if you are on one of the servers, try sudo mount -t nfs localhost:/gv0 /mnt/export You might want to sudo su to run everything all commands as root, without the hassle of sudoing everything. Give it a try. If nfs works, go for it anyway; It is your only option for VMware/esxi anyway. There are a few more advanced steps on esxi and on gluster, but let's get it to work first, right ? Cheers, On Fri, Mar 7, 2014 at 9:15 AM, Daniel Baker i...@collisiondetection.bizwrote: Hi, I have followed your tutorial to set up glusterfs 3.4.2 in vmware. http://www.gluster.org/community/documentation/index.php/Getting_started_configure My gluster volume info is the same as this: Volume Name: gv0 Type: Replicate Volume ID: 8bc3e96b-a1b6-457d-8f7a-a91d1d4dc019 Status: Created Number of Bricks: 1 x 2 = 2 Transport-type: tcp Bricks: Brick1: node01.yourdomain.net:/export/sdb1/brick Brick2: node02.yourdomain.net:/export/sdb1/brick In order to test replication I have installed the glusterfs-client on my ubuntu 12.04 laptop. I issue this command: sudo mount.glusterfs 192.168.100.170:gv0 /mnt/export but I receive this error : Usage: mount.glusterfs volumeserver:volumeid/volumeport -o options mountpoint Options: man 8 mount.glusterfs To display the version number of the mount helper: mount.glusterfs --version I have also tried this variant : # mount -t glusterfs HOSTNAME-OR-IPADDRESS:/VOLNAME MOUNTDIR So how do I mount the volumes and test the replication. Your getting started tutorial doesn't detail that ? Thanks for your help Dan ___ Gluster-users mailing list Gluster-users@gluster.org http://supercolony.gluster.org/mailman/listinfo/gluster-users -- next part -- An HTML attachment was scrubbed... URL: http://supercolony.gluster.org/pipermail/gluster-users/attachments/20140307/1143f397/attachment-0001.html -- Message: 5 Date: Fri, 7 Mar 2014 19:05:24 + From: Justin Clift jus...@gluster.org To: gluster-users@gluster.org, gluster-de...@nongnu.org Subject: Re: [Gluster-users] [Gluster-devel] Is there demand for geo-replication on RHEL/CentOS/SL 5.x? Message-ID: 9d72e0a0-589f-48a4-b978-8b8508b56...@gluster.org Content-Type: text/plain; charset=us-ascii On 04/03/2014, at 1:35 PM, Justin Clift wrote: Hi all, Is anyone interested in having geo-replication work on RHEL/CentOS/SL 5.x? Seems pretty clear
Re: [Gluster-users] Testing Gluster 3.2.4 in VMware
Hi Carlos, Thanks for the advice. I will try those things today and let you know the outcome. Best Regards, Dan -- Message: 4 Date: Fri, 7 Mar 2014 17:56:08 +0100 From: Carlos Capriotti capriotti.car...@gmail.com To: Daniel Baker i...@collisiondetection.biz Cc: gluster-users gluster-users@gluster.org Subject: Re: [Gluster-users] Testing Gluster 3.2.4 in VMware Message-ID: CAMShz32JK=B+O+cL3Ej-hxSsQ1s06U0JOiP9GgSkdjfq1=0...@mail.gmail.com Content-Type: text/plain; charset=iso-8859-1 Hello, Daniel. I am also testing gluster on vmware; in my application, it will be a secondary datastore for VM images. So far, I've hit a couple of brick walls, like, for instance, VMware not reading volumes created as striped, or striped + replicated. It simply sits there, trying, four hours, without errors on either sides. But your current configuration WILL work. As a suggestion, to begin with your troubleshooting, try disabling firewall and SElinux. nothing to do with your current problem, BUT will matter in the near future. After you are sure all works, go back an re-enable/ fine tune them. Now to your problem... Your first syntax seem to be a bit off,unless it is a typo; sudo mount.glusterfs 192.168.100.170:gv0 /mnt/export you see, there is a slash missing after. It should read sudo mount.glusterfs 192.168.100.170:/gv0 /mnt/export For the second case, you did not post the error message, so I can only suggest you try copying/pasting this: sudo mount -t glusterfs 192.168.100.170:/gv0 /mnt/export Now, here is another trick: try mounting wit nfs: First, make sure your NFS share is really being shared: # showmount -e 192.168.100.170 Alternatively, if you are on one of the gluster servers, just for testing, you may try: # showmount -e localhost Make sure your gluster volume is REALLY called gv0. Now you can try mounting with: sudo mount -t nfs 192.168.100.170:/gv0 /mnt/export Again, if you are on one of the servers, try sudo mount -t nfs localhost:/gv0 /mnt/export You might want to sudo su to run everything all commands as root, without the hassle of sudoing everything. Give it a try. If nfs works, go for it anyway; It is your only option for VMware/esxi anyway. There are a few more advanced steps on esxi and on gluster, but let's get it to work first, right ? Cheers, On Fri, Mar 7, 2014 at 9:15 AM, Daniel Baker i...@collisiondetection.bizwrote: Hi, I have followed your tutorial to set up glusterfs 3.4.2 in vmware. http://www.gluster.org/community/documentation/index.php/Getting_started_configure My gluster volume info is the same as this: Volume Name: gv0 Type: Replicate Volume ID: 8bc3e96b-a1b6-457d-8f7a-a91d1d4dc019 Status: Created Number of Bricks: 1 x 2 = 2 Transport-type: tcp Bricks: Brick1: node01.yourdomain.net:/export/sdb1/brick Brick2: node02.yourdomain.net:/export/sdb1/brick In order to test replication I have installed the glusterfs-client on my ubuntu 12.04 laptop. I issue this command: sudo mount.glusterfs 192.168.100.170:gv0 /mnt/export but I receive this error : Usage: mount.glusterfs volumeserver:volumeid/volumeport -o options mountpoint Options: man 8 mount.glusterfs To display the version number of the mount helper: mount.glusterfs --version I have also tried this variant : # mount -t glusterfs HOSTNAME-OR-IPADDRESS:/VOLNAME MOUNTDIR So how do I mount the volumes and test the replication. Your getting started tutorial doesn't detail that ? Thanks for your help Dan ___ Gluster-users mailing list Gluster-users@gluster.org http://supercolony.gluster.org/mailman/listinfo/gluster-users -- next part -- An HTML attachment was scrubbed... URL: http://supercolony.gluster.org/pipermail/gluster-users/attachments/20140307/1143f397/attachment-0001.html -- ___ Gluster-users mailing list Gluster-users@gluster.org http://supercolony.gluster.org/mailman/listinfo/gluster-users
[Gluster-users] Testing Gluster 3.2.4 in VMware
Hi, I have followed your tutorial to set up glusterfs 3.4.2 in vmware. http://www.gluster.org/community/documentation/index.php/Getting_started_configure My gluster volume info is the same as this: Volume Name: gv0 Type: Replicate Volume ID: 8bc3e96b-a1b6-457d-8f7a-a91d1d4dc019 Status: Created Number of Bricks: 1 x 2 = 2 Transport-type: tcp Bricks: Brick1: node01.yourdomain.net:/export/sdb1/brick Brick2: node02.yourdomain.net:/export/sdb1/brick In order to test replication I have installed the glusterfs-client on my ubuntu 12.04 laptop. I issue this command: sudo mount.glusterfs 192.168.100.170:gv0 /mnt/export but I receive this error : Usage: mount.glusterfs volumeserver:volumeid/volumeport -o options mountpoint Options: man 8 mount.glusterfs To display the version number of the mount helper: mount.glusterfs --version I have also tried this variant : # mount -t glusterfs HOSTNAME-OR-IPADDRESS:/VOLNAME MOUNTDIR So how do I mount the volumes and test the replication. Your getting started tutorial doesn’t detail that ? Thanks for your help Dan ___ Gluster-users mailing list Gluster-users@gluster.org http://supercolony.gluster.org/mailman/listinfo/gluster-users
[Gluster-users] Using QEMU in glusterfs 3.4.2
Hi guys, can you please direct me to specific information on setting up and using QEMU and glusterfs 3.4.2 Thanks, Dan ___ Gluster-users mailing list Gluster-users@gluster.org http://supercolony.gluster.org/mailman/listinfo/gluster-users