<html><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:12pt">Ok, that worked, one small other thing, i had to rename the ESX datastore. Other than that it finally worked.<br><br>Thank you,<br>Cosmin<br><div><span><br></span></div><div style="display: block;" class="yahoo_quoted"> <br> <br> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 12pt;"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 12pt;"> <div dir="ltr"> <font face="Arial" size="2"> On Wednesday, October 23, 2013 7:34 PM, Tino Vazquez <cvazquez@c12g.com> wrote:<br> </font> </div>  <div class="y_msg_container">Hi,<br clear="none"><br clear="none">There might be a missing step here. The process is:<br clear="none"><br clear="none"> 1.- Create a cluster
 (MyCluster)<br clear="none"> 2.- Add the DATASTORE_LOCATION="/vmfs/volumes" to the cluster template<br clear="none"> 3.- Create the two datastores, referencing the cluster (ie,<br clear="none">'onedatastore create -c MyCluster /path/to/ds.template)<br clear="none"><br clear="none">Regards,<br clear="none"><br clear="none">-Tino<br clear="none">--<br clear="none">OpenNebula - Flexible Enterprise Cloud Made Simple<br clear="none"><br clear="none">--<br clear="none">Constantino Vázquez Blanco, PhD, MSc<br clear="none">Senior Infrastructure Architect at C12G Labs<br clear="none">www.c12g.com | @C12G | es.linkedin.com/in/tinova<br clear="none"><br clear="none">--<br clear="none">Confidentiality Warning: The information contained in this e-mail and<br clear="none">any accompanying documents, unless otherwise expressly indicated, is<br clear="none">confidential and privileged, and is intended solely for the person<br clear="none">and/or entity to whom it is
 addressed (i.e. those identified in the<br clear="none">"To" and "cc" box). They are the property of C12G Labs S.L..<br clear="none">Unauthorized distribution, review, use, disclosure, or copying of this<br clear="none">communication, or any part thereof, is strictly prohibited and may be<br clear="none">unlawful. If you have received this e-mail in error, please notify us<br clear="none">immediately by e-mail at <a shape="rect" ymailto="mailto:abuse@c12g.com" href="mailto:abuse@c12g.com">abuse@c12g.com</a> and delete the e-mail and<br clear="none">attachments and any copy from your system. C12G thanks you for your<br clear="none">cooperation.<br clear="none"><br clear="none"><div class="yqt1269087786" id="yqtfd01925"><br clear="none">On Wed, Oct 23, 2013 at 6:14 PM, cosmin cucu <<a shape="rect" ymailto="mailto:cosmincucu@yahoo.com" href="mailto:cosmincucu@yahoo.com">cosmincucu@yahoo.com</a>> wrote:<br clear="none">> Hello,<br
 clear="none">><br clear="none">> I have tried the second idea, with the cluster, and it still does not change<br clear="none">> the path, it's /var/lib/one/datastores.<br clear="none">><br clear="none">> onecluster show datastore-test<br clear="none">> CLUSTER 100 INFORMATION<br clear="none">> ID                : 100<br clear="none">> NAME              : datastore-test<br clear="none">> SYSTEM DS         : 112<br clear="none">><br clear="none">> CLUSTER TEMPLATE<br clear="none">> DATASTORE_LOCATION="/vmfs/volumes"<br clear="none">><br clear="none">> HOSTS<br clear="none">><br clear="none">> VNETS<br clear="none">><br clear="none">> DATASTORES<br clear="none">> 112<br clear="none">> 113<br clear="none">><br clear="none">> <a shape="rect" ymailto="mailto:oneadmin@OpenNebula"
 href="mailto:oneadmin@OpenNebula">oneadmin@OpenNebula</a>:/root$ onedatastore show 112<br clear="none">> DATASTORE 112 INFORMATION<br clear="none">> ID             : 112<br clear="none">> NAME           : vmware<br clear="none">> USER           : oneadmin<br clear="none">> GROUP          : oneadmin<br clear="none">> CLUSTER        : datastore-test<br clear="none">><br clear="none">> TYPE           : SYSTEM<br clear="none">> DS_MAD         : -<br clear="none">> TM_MAD         : vmfs<br clear="none">> BASE PATH      : /var/lib/one/datastores/112<br clear="none">><br clear="none">> DISK_TYPE      : FILE<br clear="none">><br clear="none">> DATASTORE CAPACITY<br clear="none">> TOTAL: 
        : -<br clear="none">> USED:          : -<br clear="none">> FREE:          : -<br clear="none">><br clear="none">> PERMISSIONS<br clear="none">> OWNER          : um-<br clear="none">> GROUP          : u--<br clear="none">> OTHER          : ---<br clear="none">><br clear="none">> DATASTORE TEMPLATE<br clear="none">> BRIDGE_LIST="192.168.10.10"<br clear="none">> TM_MAD="vmfs"<br clear="none">> TYPE="SYSTEM_DS"<br clear="none">><br clear="none">> IMAGES<br clear="none">> <a shape="rect" ymailto="mailto:oneadmin@OpenNebula" href="mailto:oneadmin@OpenNebula">oneadmin@OpenNebula</a>:/root$ onedatastore show 113<br clear="none">> DATASTORE 113 INFORMATION<br clear="none">> ID             : 113<br clear="none">> NAME   
        : VMwareImages<br clear="none">> USER           : oneadmin<br clear="none">> GROUP          : oneadmin<br clear="none">> CLUSTER        : datastore-test<br clear="none">><br clear="none">> TYPE           : IMAGE<br clear="none">> DS_MAD         : vmfs<br clear="none">> TM_MAD         : vmfs<br clear="none">> BASE PATH      : /var/lib/one/datastores/113<br clear="none">><br clear="none">> DISK_TYPE      : FILE<br clear="none">><br clear="none">> DATASTORE CAPACITY<br clear="none">> TOTAL:         : 0M<br clear="none">> USED:          : 0M<br clear="none">> FREE:          : 0M<br clear="none">><br clear="none">> PERMISSIONS<br clear="none">>
 OWNER          : um-<br clear="none">> GROUP          : u--<br clear="none">> OTHER          : ---<br clear="none">><br clear="none">> DATASTORE TEMPLATE<br clear="none">> BRIDGE_LIST="192.168.10.10"<br clear="none">> DS_MAD="vmfs"<br clear="none">> TM_MAD="ssh"<br clear="none">> TYPE="IMAGE_DS"<br clear="none">><br clear="none">> IMAGES<br clear="none">><br clear="none">> Any other ideas?<br clear="none">><br clear="none">> Thanks,<br clear="none">> Cosmin<br clear="none">><br clear="none">><br clear="none">><br clear="none">><br clear="none">> On Wednesday, October 23, 2013 5:45 PM, Tino Vazquez <<a shape="rect" ymailto="mailto:cvazquez@c12g.com" href="mailto:cvazquez@c12g.com">cvazquez@c12g.com</a>><br clear="none">> wrote:<br clear="none">> Hi,<br clear="none">><br clear="none">> I think the problem
 here is due to the BASE_PATH referenced in the DS<br clear="none">> templates. Where it reads<br clear="none">><br clear="none">> BASE PATH      : /var/lib/one/datastores/0<br clear="none">><br clear="none">> it should read<br clear="none">><br clear="none">> BASE PATH      : /vmfs/volumes/datastores/0<br clear="none">><br clear="none">> In order to achieve this, you will need to create another two<br clear="none">> datastores (say 100, 101), one of them flagged as system datastore,<br clear="none">> and add them to a cluster with a DATASTORE_LOCATION="/vmfs/volumes" in<br clear="none">> its template). This is explained at length in [1].<br clear="none">><br clear="none">> Hope it helps,<br clear="none">><br clear="none">> -Tino<br clear="none">><br clear="none">> [1]<br clear="none">> <a shape="rect"
 href="http://opennebula.org/documentation:rel4.2:system_ds#the_system_datastore_for_multi-cluster_setups" target="_blank">http://opennebula.org/documentation:rel4.2:system_ds#the_system_datastore_for_multi-cluster_setups</a><br clear="none">> --<br clear="none">> OpenNebula - Flexible Enterprise Cloud Made Simple<br clear="none">><br clear="none">> --<br clear="none">> Constantino Vázquez Blanco, PhD, MSc<br clear="none">> Senior Infrastructure Architect at C12G Labs<br clear="none">> www.c12g.com | @C12G | es.linkedin.com/in/tinova<br clear="none">><br clear="none">> --<br clear="none">> Confidentiality Warning: The information contained in this e-mail and<br clear="none">> any accompanying documents, unless otherwise expressly indicated, is<br clear="none">> confidential and privileged, and is intended solely for the person<br clear="none">> and/or entity to whom it is addressed (i.e. those identified in the<br
 clear="none">> "To" and "cc" box). They are the property of C12G Labs S.L..<br clear="none">> Unauthorized distribution, review, use, disclosure, or copying of this<br clear="none">> communication, or any part thereof, is strictly prohibited and may be<br clear="none">> unlawful. If you have received this e-mail in error, please notify us<br clear="none">> immediately by e-mail at <a shape="rect" ymailto="mailto:abuse@c12g.com" href="mailto:abuse@c12g.com">abuse@c12g.com</a> and delete the e-mail and<br clear="none">> attachments and any copy from your system. C12G thanks you for your<br clear="none">> cooperation.<br clear="none">><br clear="none">><br clear="none">> On Wed, Oct 23, 2013 at 1:06 PM, cosmin cucu <<a shape="rect" ymailto="mailto:cosmincucu@yahoo.com" href="mailto:cosmincucu@yahoo.com">cosmincucu@yahoo.com</a>> wrote:<br clear="none">>> <a shape="rect" ymailto="mailto:oneadmin@OpenNebula"
 href="mailto:oneadmin@OpenNebula">oneadmin@OpenNebula</a>:/root$ /var/lib/one/remotes/datastore/vmfs/monitor<br clear="none">>><br clear="none">>>
 PERTX0RSSVZFUl9BQ1RJT05fREFUQT48REFUQVNUT1JFPjxJRD4xPC9JRD48VUlEPjA8L1VJRD48R0lEPjA8L0dJRD48VU5BTUU+b25lYWRtaW48L1VOQU1FPjxHTkFNRT5vbmVhZG1pbjwvR05BTUU+PE5BTUU+ZGVmYXVsdDwvTkFNRT48UEVSTUlTU0lPTlM+PE9XTkVSX1U+MTwvT1dORVJfVT48T1dORVJfTT4xPC9PV05FUl9NPjxPV05FUl9BPjA8L09XTkVSX0E+PEdST1VQX1U+MTwvR1JPVVBfVT48R1JPVVBfTT4wPC9HUk9VUF9NPjxHUk9VUF9BPjA8L0dST1VQX0E+PE9USEVSX1U+MTwvT1RIRVJfVT48T1RIRVJfTT4wPC9PVEhFUl9NPjxPVEhFUl9BPjA8L09USEVSX0E+PC9QRVJNSVNTSU9OUz48RFNfTUFEPnZtZnM8L0RTX01BRD48VE1fTUFEPnZtZnM8L1RNX01BRD48QkFTRV9QQVRIPi92YXIvbGliL29uZS9kYXRhc3RvcmVzLzE8L0JBU0VfUEFUSD48VFlQRT4wPC9UWVBFPjxESVNLX1RZUEU+MDwvRElTS19UWVBFPjxDTFVTVEVSX0lEPi0xPC9DTFVTVEVSX0lEPjxDTFVTVEVSPjwvQ0xVU1RFUj48VE9UQUxfTUI+MDwvVE9UQUxfTUI+PEZSRUVfTUI+MDwvRlJFRV9NQj48VVNFRF9NQj4wPC9VU0VEX01CPjxJTUFHRVM+PC9JTUFHRVM+PFRFTVBMQVRFPjxCUklER0VfTElTVD48IVtDREFUQVsxOTIuMTY4LjEwLjEwXV0+PC9CUklER0VfTElTVD48RFNfTUFEPjwhW0NEQVRBW3ZtZnNdXT48L0RTX01BRD48RFNfVVNFX1NTSD48IVtDREFUQVt5ZXNdXT48L0RTX1VTRV
<br clear="none">>><br clear="none">>> 9TU0g+PFRNX01BRD48IVtDREFUQVt2bWZzXV0+PC9UTV9NQUQ+PFRNX1VTRV9TU0g+PCFbQ0RBVEFbeWVzXV0+PC9UTV9VU0VfU1NIPjxUWVBFPjwhW0NEQVRBW0lNQUdFX0RTXV0+PC9UWVBFPjwvVEVNUExBVEU+PC9EQVRBU1RPUkU+PC9EU19EUklWRVJfQUNUSU9OX0RBVEE+<br clear="none">>> 1<br clear="none">>> USED_MB=<br clear="none">>> TOTAL_MB=<br clear="none">>> FREE_MB=<br clear="none">>><br clear="none">>> That's it.<br clear="none">>><br clear="none">>> Cosmin<br clear="none">>><br clear="none">>><br clear="none">>> On Wednesday, October 23, 2013 2:00 PM, Tino Vazquez <<a shape="rect" ymailto="mailto:cvazquez@c12g.com" href="mailto:cvazquez@c12g.com">cvazquez@c12g.com</a>><br clear="none">>> wrote:<br clear="none">>> Hi,<br clear="none">>><br clear="none">>> Ok, let's try and debug this. First thing would be to make the monitor<br clear="none">>> fail so we
 get the arguments to the monitor script.<br clear="none">>><br clear="none">>> This script resides on /var/lib/one/remotes/datastore/vmfs/monitor,<br clear="none">>> please rename it to /var/lib/one/remotes/datastore/vmfs/monitor.bk,<br clear="none">>> and check oned.log for the monitor fail, since it won't find the<br clear="none">>> monitor script.<br clear="none">>><br clear="none">>> You will find a line similar to:<br clear="none">>><br clear="none">>> Mon Oct 21 11:31:21 2013 [ImM][I]: Command execution fail:<br clear="none">>> /var/lib/one/remotes/datastore/vmfs/monitor P[..large alphanumeric<br clear="none">>> string]= 100<br clear="none">>><br clear="none">>> After getting the above line, the idea is to rename back the monitor<br clear="none">>> script and execute the above line as oneadmin in the front-end. Please<br clear="none">>> send us the output for
 its analysis.<br clear="none">>><br clear="none">>> Best regards,<br clear="none">>><br clear="none">>> -Tino<br clear="none">>><br clear="none">>> --<br clear="none">>> OpenNebula - Flexible Enterprise Cloud Made Simple<br clear="none">>><br clear="none">>> --<br clear="none">>> Constantino Vázquez Blanco, PhD, MSc<br clear="none">>> Senior Infrastructure Architect at C12G Labs<br clear="none">>> www.c12g.com | @C12G | es.linkedin.com/in/tinova<br clear="none">>><br clear="none">>> --<br clear="none">>> Confidentiality Warning: The information contained in this e-mail and<br clear="none">>> any accompanying documents, unless otherwise expressly indicated, is<br clear="none">>> confidential and privileged, and is intended solely for the person<br clear="none">>> and/or entity to whom it is addressed (i.e. those identified in the<br
 clear="none">>> "To" and "cc" box). They are the property of C12G Labs S.L..<br clear="none">>> Unauthorized distribution, review, use, disclosure, or copying of this<br clear="none">>> communication, or any part thereof, is strictly prohibited and may be<br clear="none">>> unlawful. If you have received this e-mail in error, please notify us<br clear="none">>> immediately by e-mail at <a shape="rect" ymailto="mailto:abuse@c12g.com" href="mailto:abuse@c12g.com">abuse@c12g.com</a> and delete the e-mail and<br clear="none">>> attachments and any copy from your system. C12G thanks you for your<br clear="none">>> cooperation.<br clear="none">>><br clear="none">>><br clear="none">>> On Wed, Oct 23, 2013 at 11:10 AM, cosmin cucu <<a shape="rect" ymailto="mailto:cosmincucu@yahoo.com" href="mailto:cosmincucu@yahoo.com">cosmincucu@yahoo.com</a>><br clear="none">>> wrote:<br
 clear="none">>>> Hello,<br clear="none">>>><br clear="none">>>> I am using the online documentation for adding a vmfs datastore, but it<br clear="none">>>> doesn't seem to show the correct capacity. I think i may be missing<br clear="none">>>> something. /var/log/one/oned.log does not show any errors. Here are the<br clear="none">>>> datastores templates:<br clear="none">>>><br clear="none">>>><br clear="none">>>> <a shape="rect" ymailto="mailto:oneadmin@OpenNebula" href="mailto:oneadmin@OpenNebula">oneadmin@OpenNebula</a>:/root$ onedatastore show 0<br clear="none">>>> DATASTORE 0 INFORMATION<br clear="none">>>> ID            : 0<br clear="none">>>> NAME          : system<br clear="none">>>> USER          : oneadmin<br clear="none">>>> GROUP 
         : oneadmin<br clear="none">>>> CLUSTER        : -<br clear="none">>>> TYPE          : SYSTEM<br clear="none">>>> DS_MAD        : -<br clear="none">>>> TM_MAD        : vmfs<br clear="none">>>> BASE PATH      : /var/lib/one/datastores/0<br clear="none">>>> DISK_TYPE      : FILE<br clear="none">>>><br clear="none">>>> DATASTORE CAPACITY<br clear="none">>>> TOTAL:        : -<br clear="none">>>> USED:          : -<br clear="none">>>> FREE:          : -<br clear="none">>>><br clear="none">>>> PERMISSIONS<br clear="none">>>> OWNER          : um-<br clear="none">>>> GROUP     
     : u--<br clear="none">>>> OTHER          : ---<br clear="none">>>><br clear="none">>>> DATASTORE TEMPLATE<br clear="none">>>> BRIDGE_LIST="192.168.10.10"<br clear="none">>>> DS_MAD="-"<br clear="none">>>> TM_MAD="vmfs"<br clear="none">>>> TYPE="SYSTEM_DS"<br clear="none">>>><br clear="none">>>> IMAGES<br clear="none">>>> <a shape="rect" ymailto="mailto:oneadmin@OpenNebula" href="mailto:oneadmin@OpenNebula">oneadmin@OpenNebula</a>:/root$ onedatastore show 1<br clear="none">>>> DATASTORE 1 INFORMATION<br clear="none">>>> ID            : 1<br clear="none">>>> NAME          : default<br clear="none">>>> USER          : oneadmin<br clear="none">>>> GROUP          : oneadmin<br
 clear="none">>>> CLUSTER        : -<br clear="none">>>> TYPE          : IMAGE<br clear="none">>>> DS_MAD        : vmfs<br clear="none">>>> TM_MAD        : vmfs<br clear="none">>>> BASE PATH      : /var/lib/one/datastores/1<br clear="none">>>> DISK_TYPE      : FILE<br clear="none">>>><br clear="none">>>> DATASTORE CAPACITY<br clear="none">>>> TOTAL:        : 0M<br clear="none">>>> USED:          : 0M<br clear="none">>>> FREE:          : 0M<br clear="none">>>><br clear="none">>>> PERMISSIONS<br clear="none">>>> OWNER          : um-<br clear="none">>>> GROUP          : u--<br
 clear="none">>>> OTHER          : u--<br clear="none">>>><br clear="none">>>> DATASTORE TEMPLATE<br clear="none">>>> BRIDGE_LIST="192.168.10.10"<br clear="none">>>> DS_MAD="vmfs"<br clear="none">>>> DS_USE_SSH="yes"<br clear="none">>>> TM_MAD="vmfs"<br clear="none">>>> TM_USE_SSH="yes"<br clear="none">>>> TYPE="IMAGE_DS"<br clear="none">>>><br clear="none">>>> IMAGES<br clear="none">>>><br clear="none">>>> Thanks,<br clear="none">>>> Cosmin<br clear="none">>><br clear="none">>>><br clear="none">>>> _______________________________________________<br clear="none">>>> Users mailing list<br clear="none">>>> <a shape="rect" ymailto="mailto:Users@lists.opennebula.org" href="mailto:Users@lists.opennebula.org">Users@lists.opennebula.org</a><br clear="none">>>> <a
 shape="rect" href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a><br clear="none">>><br clear="none">>>><br clear="none">>><br clear="none">>><br clear="none">>><br clear="none">>> _______________________________________________<br clear="none">>> Users mailing list<br clear="none">>> <a shape="rect" ymailto="mailto:Users@lists.opennebula.org" href="mailto:Users@lists.opennebula.org">Users@lists.opennebula.org</a><br clear="none">>> <a shape="rect" href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a><br clear="none">>><br clear="none">><br clear="none">><br clear="none">><br clear="none">> _______________________________________________<br clear="none">> Users mailing list<br
 clear="none">> <a shape="rect" ymailto="mailto:Users@lists.opennebula.org" href="mailto:Users@lists.opennebula.org">Users@lists.opennebula.org</a><br clear="none">> <a shape="rect" href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a><br clear="none">></div><br><br></div>  </div> </div>  </div> </div></body></html>