[Users] How to attach virtualized Gluster cluster?

Any chance there is a way to get this to work? 2 x F16 nodes bare metal engine and gluster 4 node virtualized in vmware esxi engine ok 2x node ok gluster stand alone setup ok problem: Can't attach my stand-alone gluster cluster. Since I'm not using virtualized gluster bricks to run virtual machines why can't I use it as storage only? intuition takes me here: Cluster #1 [Bare_Metal] Enable Ovirt Service [yes] & Enable Gluster Service [no] [shows Hosts and VMs] Cluster #2 [Virtualized] Enable Ovirt Service [no] & Enable Gluster Service [yes] [shows Hosts and Volumes] Have tried this several Times as full gluster working setup, empty nodes and oVirt agent nodes. No luck. Any pointers would be appreciated. Best, Peter Any indication or pointer on how to mount gluster cluster as the only storage for ovirt would be of great help. Peter

This is a multi-part message in MIME format. --------------040306060405090305050206 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit On Wednesday 28 November 2012 01:52 AM, Peter Styk wrote:
Any chance there is a way to get this to work?
2 x F16 nodes bare metal engine and gluster 4 node virtualized in vmware esxi
engine ok 2x node ok gluster stand alone setup ok
problem: Can't attach my stand-alone gluster cluster. Since I'm not using virtualized gluster bricks to run virtual machines why can't I use it as storage only?
intuition takes me here: Cluster #1 [Bare_Metal] Enable Ovirt Service [yes] & Enable Gluster Service [no] [shows Hosts and VMs]
Cluster #2 [Virtualized] Enable Ovirt Service [no] & Enable Gluster Service [yes] [shows Hosts and Volumes] Have tried this several Times as full gluster working setup, empty nodes and oVirt agent nodes. No luck. Did you create any gluster volumes in Cluster #2, are you seeing any failures there?
If that's succeeded you can use the gluster volume for two purposes 1. Normal Storage - you can mount the gluster volume from any of nodes(the node could be any host and need not be part of the gluster cluster). Should have gluster client packages installed if you want mount the volume using gluster native, alternatively you can mount the volume as nfs also. mount -t glusterfs HOSTNAME-OR-IPADDRESS:/VOLNAME MOUNTDIR here the HOSTNAME could be any one of your gluster nodes. Example: mount -t glusterfs server1:/test-volume /mnt/glusterfs 2. Storage for VMs -When you want to use gluster as a an underlying storage for VM's, you can't simply have a gluster cluster and use it as it is. The gluster volume can be used as an underlying storage for the VMs. Select the volume you want to use, click on 'Optimize for Virt' to change the brick permissions on the nodes(kvm:vdsm). -Make sure you Data Center is PosixFS complaint. Create a new Storage domain and select the storage type as PosixFS. for 'Use Host' field select any one of your hypervisor fields, for path 'hostname:/volumename' (hostname-any one of your gluster node), and Vfs Type - gluster. Now you will see the storage domain is created on top of a gluster volume. Now you can use this Storage Domain for your VMs. Don't forget to install gluster client packages in your hypervisor nodes(Cluster #1), this is needed because the gluster volume will be mounted in the selected hypervisor node('Use Host').
Any pointers would be appreciated.
Best, Peter
Any indication or pointer on how to mount gluster cluster as the only storage for ovirt would be of great help.
Peter
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
--------------040306060405090305050206 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit <html> <head> <meta content="text/html; charset=ISO-8859-1" http-equiv="Content-Type"> </head> <body bgcolor="#FFFFFF" text="#000000"> <div class="moz-cite-prefix">On Wednesday 28 November 2012 01:52 AM, Peter Styk wrote:<br> </div> <blockquote cite="mid:CAFhxTcyMKwsF8Eb55De1g3J=3X-KWYg2EwHWhq_QBFHvcsN1EQ@mail.gmail.com" type="cite">Any chance there is a way to get this to work? <div><br> </div> <div> 2 x F16 nodes bare metal</div> <div> engine and gluster 4 node virtualized in vmware esxi</div> <div><br> </div> <div>engine ok</div> <div>2x node ok</div> <div> gluster stand alone setup ok</div> <div><br> </div> <div>problem:</div> <div>Can't attach my stand-alone gluster cluster. Since I'm not using virtualized gluster bricks to run virtual machines why can't I use it as storage only?</div> <div><br> </div> <div>intuition takes me here:</div> <div>Cluster #1 [Bare_Metal] Enable Ovirt Service [yes] & Enable Gluster Service [no]</div> <div>[shows Hosts and VMs]</div> <div><br> </div> <div>Cluster #2 [Virtualized] Enable Ovirt Service [no] & Enable Gluster Service [yes]</div> <div>[shows Hosts and Volumes]</div> <div> </div> <div>Have tried this several Times as full gluster working setup, empty nodes and oVirt agent nodes. No luck. </div> </blockquote> Did you create any gluster volumes in Cluster #2, are you seeing any failures there?<br> <br> If that's succeeded you can use the gluster volume for two purposes<br> <br> 1. Normal Storage<br> - you can mount the gluster volume from any of nodes(the node could be any host and need not be part of the gluster cluster). Should have gluster client packages installed if you want mount the volume using gluster native, alternatively you can mount the volume as nfs also.<br> mount -t glusterfs HOSTNAME-OR-IPADDRESS:/VOLNAME MOUNTDIR<br> here the HOSTNAME could be any one of your gluster nodes.<br> Example: <span style="color: rgb(0, 0, 0); font-family: arial, sans-serif; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 16px; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); font-size: small; display: inline !important; float: none; "><span class="Apple-converted-space"> </span>mount -t glusterfs server1:/test-volume /mnt/glusterfs<br> <br> </span>2. Storage for VMs<br> <br> -When you want to use gluster as a an underlying storage for VM's, you can't simply have a gluster cluster and use it as it is. The gluster volume can be used as an underlying storage for the VMs. Select the volume you want to use, click on 'Optimize for Virt' to change the brick permissions on the nodes(kvm:vdsm). <br> <br> -Make sure you Data Center is PosixFS complaint. Create a new Storage domain and select the storage type as PosixFS. for 'Use Host' field select any one of your hypervisor fields, for path 'hostname:/volumename' (hostname-any one of your gluster node), and Vfs Type - gluster. Now you will see the storage domain is created on top of a gluster volume. Now you can use this Storage Domain for your VMs. Don't forget to install gluster client packages in your hypervisor nodes(Cluster #1), this is needed because the gluster volume will be mounted in the selected hypervisor node('Use Host').<br> <br> <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1"> <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1"> <blockquote cite="mid:CAFhxTcyMKwsF8Eb55De1g3J=3X-KWYg2EwHWhq_QBFHvcsN1EQ@mail.gmail.com" type="cite"> <div> </div> <div>Any pointers would be appreciated.</div> <div><br> </div> <div>Best,</div> <div>Peter</div> <div> </div> <div><br> </div> <div><br> </div> <div><br> </div> <div><br> </div> <div><br> </div> <div>Any indication or pointer on how to mount gluster cluster as the only storage for ovirt would be of great help.</div> <div><br> </div> <div>Peter</div> <div><br> </div> <br> <fieldset class="mimeAttachmentHeader"></fieldset> <br> <pre wrap="">_______________________________________________ Users mailing list <a class="moz-txt-link-abbreviated" href="mailto:Users@ovirt.org">Users@ovirt.org</a> <a class="moz-txt-link-freetext" href="http://lists.ovirt.org/mailman/listinfo/users">http://lists.ovirt.org/mailman/listinfo/users</a> </pre> </blockquote> <br> </body> </html> --------------040306060405090305050206--
participants (2)
-
Kanagaraj
-
Peter Styk