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:<div><br></div><div>ln -s /glusterfs /var/lib/one/datastores/0</div><div>ln -s /glusterfs /var/lib/one/datastores/100</div><div><br></div><div>If you already have it mounted in the system datastore directory you can also symlink from there:</div><div><br></div><div>ln -s /var/lib/one/datastores/0 /var/lib/one/datastores/100</div><div><br></div><div>Cheers<br><br><div class="gmail_quote">On Thu Dec 04 2014 at 1:21:12 PM Peter Harris <<a href="mailto:doilooksensible@gmail.com">doilooksensible@gmail.com</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div><div><div><div><div><div>Hi<br><br></div>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.<br><br></div>I currently have:<br></div>- on-ctrl<br></div>4Gb RAM<br></div>146Gb HD<br></div>Centos 6.5<br></div>OpenNebula 4.10.1, installed as per <a href="http://docs.opennebula.org/4.10/design_and_installation/building_your_cloud/ignc.html" target="_blank">http://docs.opennebula.org/4.10/design_and_installation/building_your_cloud/ignc.html</a><br></div><div>Gluster 3.5.2, with on-node1 gluster volume mounted on /var/lib/one/datastores/0 (with datasores/1 linked to datastores/1)<br></div><div><br></div>-on-node1<br>16Gb RAM<br>500Gb HD<br></div>3TB HD, shared via gluster volume gv-storage, replicated on on-node2<br><div>Centos 6.5<br>OpenNebula 4.10.1, installed as per <a href="http://docs.opennebula.org/4.10/design_and_installation/building_your_cloud/ignc.html" target="_blank">http://docs.opennebula.org/4.10/design_and_installation/building_your_cloud/ignc.html</a><br></div><div>Gluster 3.5.2 configured as per <a href="http://docs.opennebula.org/4.10/administration/storage/gluster_ds.html" target="_blank">http://docs.opennebula.org/4.10/administration/storage/gluster_ds.html</a>, with on-node1 gluster volume mounted on /var/lib/one/datastores/0 (with datasores/1 linked to datastores/1)<br><br>-on-node2<br>16Gb RAM<br>500Gb HD<br>3TB HD, shared via gluster volume gv-storage, replicated on on-node1<div>Centos 6.5<br>OpenNebula 4.10.1, installed as per <a href="http://docs.opennebula.org/4.10/design_and_installation/building_your_cloud/ignc.html" target="_blank">http://docs.opennebula.org/4.10/design_and_installation/building_your_cloud/ignc.html</a><br></div>Gluster 3.5.2 configured as per <a href="http://docs.opennebula.org/4.10/administration/storage/gluster_ds.html" target="_blank">http://docs.opennebula.org/4.10/administration/storage/gluster_ds.html</a>, with on-node2 gluster volume mounted on /var/lib/one/datastores/0 (with datasores/1 linked to datastores/1)<br><br></div><div>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).<br><br></div><div>My question is, if I follow <a href="http://docs.opennebula.org/4.10/administration/storage/gluster_ds.html" target="_blank">http://docs.opennebula.org/4.10/administration/storage/gluster_ds.html</a>, 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.<br><br></div><div>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<br> onedatastore list<br>  ID NAME                SIZE AVAIL CLUSTER      IMAGES TYPE DS       TM<br>   0 system                3T 95%   -                 0 sys  -        shared<br>   1 default               3T 95%   -                 0 img  fs       shared<br>   2 files                79G 95%   -                 0 fil  fs       ssh<br> 100 glusterds            79G 95%   -                 0 img  fs       shared<br><br></div><div>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 ).<br><br></div><div>I have searched through the mail archive, and tried to follow what has been said there, but I still have a confused.<br><br></div><div>Thanks in advance<br><br></div><div><br></div><div>   </div><div><br></div></div>
______________________________<u></u>_________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opennebula.org" target="_blank">Users@lists.opennebula.org</a><br>
<a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">http://lists.opennebula.org/<u></u>listinfo.cgi/users-opennebula.<u></u>org</a><br>
</blockquote></div></div>