Both system an images storage should be the same when using gluster driver. Usually you can do this mounting the gluster storage somewhere in your system, for example /glusterfs and then symlinking the datastore directories, for example:
ln -s /glusterfs /var/lib/one/datastores/0 ln -s /glusterfs /var/lib/one/datastores/100 If you already have it mounted in the system datastore directory you can also symlink from there: ln -s /var/lib/one/datastores/0 /var/lib/one/datastores/100 Cheers On Thu Dec 04 2014 at 1:21:12 PM Peter Harris <[email protected]> wrote: > Hi > > I have just installed a test OpenNebula system to figure out how it all > hangs together, and see if I can use it for our > development/support/projects departments. > > I currently have: > - on-ctrl > 4Gb RAM > 146Gb HD > Centos 6.5 > OpenNebula 4.10.1, installed as per > http://docs.opennebula.org/4.10/design_and_installation/building_your_cloud/ignc.html > Gluster 3.5.2, with on-node1 gluster volume mounted on > /var/lib/one/datastores/0 (with datasores/1 linked to datastores/1) > > -on-node1 > 16Gb RAM > 500Gb HD > 3TB HD, shared via gluster volume gv-storage, replicated on on-node2 > Centos 6.5 > OpenNebula 4.10.1, installed as per > http://docs.opennebula.org/4.10/design_and_installation/building_your_cloud/ignc.html > Gluster 3.5.2 configured as per > http://docs.opennebula.org/4.10/administration/storage/gluster_ds.html, > with on-node1 gluster volume mounted on /var/lib/one/datastores/0 (with > datasores/1 linked to datastores/1) > > -on-node2 > 16Gb RAM > 500Gb HD > 3TB HD, shared via gluster volume gv-storage, replicated on on-node1 > Centos 6.5 > OpenNebula 4.10.1, installed as per > http://docs.opennebula.org/4.10/design_and_installation/building_your_cloud/ignc.html > Gluster 3.5.2 configured as per > http://docs.opennebula.org/4.10/administration/storage/gluster_ds.html, > with on-node2 gluster volume mounted on /var/lib/one/datastores/0 (with > datasores/1 linked to datastores/1) > > Hopefully this is not a massively stupid configuration. I appreciated my > shared filesystems should be on some form of SAN/NAS, but everything I have > is begged, stolen or borrowed, and I have been given a smaller budget than > normal (usually 0). > > My question is, if I follow > http://docs.opennebula.org/4.10/administration/storage/gluster_ds.html, > at the stage "Configuring GlusterFS Datastore", I create the ds.conf, set > the correct GLUSTER_HOST (using the same port listed on the web page) and > GLUSTER_VOLUME name. > > When I run onedatastore create and then onedatastore list, the new > datastore, ID 100, shows as the same size as the datastore directory on the > ctrl server > onedatastore list > ID NAME SIZE AVAIL CLUSTER IMAGES TYPE DS TM > 0 system 3T 95% - 0 sys - > shared > 1 default 3T 95% - 0 img fs > shared > 2 files 79G 95% - 0 fil fs ssh > 100 glusterds 79G 95% - 0 img fs > shared > > I am confused, I was expecting glusterds to be the same as the 0 System /1 > default datastores. Do I actually need glusterds, or can I just go ahead > and create my images on 1 default and have them used by the hosts (which > have the gluster volume mounted on /var/lib/one/datastores/0 ). > > I have searched through the mail archive, and tried to follow what has > been said there, but I still have a confused. > > Thanks in advance > > > > > _______________________________________________ > Users mailing list > [email protected] > http://lists.opennebula.org/listinfo.cgi/users-opennebula.org >
_______________________________________________ Users mailing list [email protected] http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
