[one-users] not difficult questions

Qiubo Su (David Su) qiubosu at gmail.com
Thu Jan 23 13:55:57 PST 2014


Dear Tino and OpenNebula Community,

1) can update the TM_MAD for datastore in Sunstone.

2) the content of ds.conf is as below.

NAME = production
DS_MAD = vmware
TM_MAD = shared

do you mean need to update it as below?

NAME = production
DS_MAD = vmfs
TM_MAD = vmfs

if using the 1st ds.conf, it has to manually create the
/var/lib/one/var/datastores/100, so to be able to thin provisioned the
disk.vmdk *(actually the Ubuntu.vmdk file in the package download from
http://www.trendsigma.net/vmware/ubuntu1110t.html
<http://www.trendsigma.net/vmware/ubuntu1110t.html>)* by running
"vmkfstools -username root -password redhat123 -server esxi01 -i '[100]
/images/disk.vmdk' -d thin '[100] /images/disk1.vmdk'" in the front end
server? (the name of this experiment is called "OpenNebula 3.8.1 and VMware
ESXI 5.0.0 Using shared VMware and ssh transfer drivers").

if using the 2nd ds.conf, can & how can the purpose of the experiment be
achieved?

kind regards,
q.s.

On Wed, Jan 22, 2014 at 11:04 PM, Tino Vazquez <cvazquez at c12g.com> wrote:

> Hi,
>
> About 1), do you get the same behaviour if you try and change it
> through Sunstone?
>
> Regarding 2), can you share the contents of the datastore template
> (ds.conf)? If you want to use VMware datastores, please note that the
> correct name for the TM and DS drivers are 'vmfs'. These drivers
> *won't* create a directory in the front-end since the datastores are
> only present in the ESX hosts.
>
> Moreover, BASE_PATH in VMware datastores need to be set to /vmfs/volumes.
>
> Best,
>
> -Tino
>
> --
> OpenNebula - Flexible Enterprise Cloud Made Simple
>
> --
> Constantino Vázquez Blanco, PhD, MSc
> Senior Infrastructure Architect at C12G Labs
> www.c12g.com | @C12G | es.linkedin.com/in/tinova
>
> --
> Confidentiality Warning: The information contained in this e-mail and
> any accompanying documents, unless otherwise expressly indicated, is
> confidential and privileged, and is intended solely for the person
> and/or entity to whom it is addressed (i.e. those identified in the
> "To" and "cc" box). They are the property of C12G Labs S.L..
> Unauthorized distribution, review, use, disclosure, or copying of this
> communication, or any part thereof, is strictly prohibited and may be
> unlawful. If you have received this e-mail in error, please notify us
> immediately by e-mail at abuse at c12g.com and delete the e-mail and
> attachments and any copy from your system. C12G thanks you for your
> cooperation.
>
>
> On Sat, Jan 18, 2014 at 6:10 AM, Qiubo Su (David Su) <qiubosu at gmail.com>
> wrote:
> > Dear OpenNebula Community,
> >
> > For 2) problem listed in the below previous email, I created the
> datastore
> > manually by running "onedatastore create ds.conf" and created another one
> > from Sunstone, but in both cases, can't see the
> > /var/lib/one/var/datastores/101 directory in the file system (../102
> > directory in the Sunstone case), even though can see the "BASE PATH :
> > /var/lib/one/var/datastores/101" when run "onedatastore show 101".
> >
> > It is much appreciated if anyone can help with this, tell me why there is
> > this problem and how to fix it? Thank you very much and Have a Great
> Weekend
> > !
> >
> >
> ******************************************************************************************
> >
> > Sat Jan 18 17:48:40 2014 [ReM][D]: Req:5712 UID:0 HostPoolInfo invoked
> > Sat Jan 18 17:48:40 2014 [ReM][D]: Req:5712 UID:0 HostPoolInfo result
> > SUCCESS, "<HOST_POOL><HOST><ID..."
> > Sat Jan 18 17:48:40 2014 [ReM][D]: Req:3376 UID:0 VirtualMachinePoolInfo
> > invoked, -2, -1, -1, -1
> > Sat Jan 18 17:48:40 2014 [ReM][D]: Req:3376 UID:0 VirtualMachinePoolInfo
> > result SUCCESS, "<VM_POOL></VM_POOL>"
> > Sat Jan 18 17:48:40 2014 [ReM][D]: Req:4704 UID:0 AclInfo invoked
> > Sat Jan 18 17:48:40 2014 [ReM][D]: Req:4704 UID:0 AclInfo result SUCCESS,
> > "<ACL_POOL><ACL><ID>0..."
> > Sat Jan 18 17:48:43 2014 [AuM][D]: Message received: LOG I 79 ExitCode: 0
> >
> > Sat Jan 18 17:48:43 2014 [AuM][I]: ExitCode: 0
> > Sat Jan 18 17:48:43 2014 [AuM][D]: Message received: AUTHENTICATE
> SUCCESS 79
> > -
> >
> > Sat Jan 18 17:48:43 2014 [ReM][D]: Req:32 UID:0 DatastoreAllocate
> invoked,
> > "DISK_TYPE="block"...", -1
> > Sat Jan 18 17:48:43 2014 [ReM][D]: Req:32 UID:0 DatastoreAllocate result
> > SUCCESS, 102
> > Sat Jan 18 17:48:43 2014 [ReM][D]: Req:6800 UID:0 DatastoreInfo invoked,
> 102
> > Sat Jan 18 17:48:43 2014 [ReM][D]: Req:6800 UID:0 DatastoreInfo result
> > SUCCESS, "<DATASTORE><ID>102</..."
> > Sat Jan 18 17:48:45 2014 [ReM][D]: Req:1200 UID:0 DatastorePoolInfo
> invoked
> > Sat Jan 18 17:48:45 2014 [ReM][D]: Req:1200 UID:0 DatastorePoolInfo
> result
> > SUCCESS, "<DATASTORE_POOL><DAT..."
> > Sat Jan 18 17:48:51 2014 [ReM][D]: Req:6880 UID:0 TemplatePoolInfo
> invoked,
> > -2, -1, -1
> > Sat Jan 18 17:48:51 2014 [ReM][D]: Req:6880 UID:0 TemplatePoolInfo result
> > SUCCESS, "<VMTEMPLATE_POOL></V..."
> > Sat Jan 18 17:49:05 2014 [ReM][D]: Req:5360 UID:0 HostPoolInfo invoked
> > Sat Jan 18 17:49:05 2014 [ReM][D]: Req:5360 UID:0 HostPoolInfo result
> > SUCCESS, "<HOST_POOL><HOST><ID..."
> > Sat Jan 18 17:49:06 2014 [ReM][D]: Req:3328 UID:0 AclInfo invoked
> > Sat Jan 18 17:49:06 2014 [ReM][D]: Req:3328 UID:0 AclInfo result SUCCESS,
> > "<ACL_POOL><ACL><ID>0..."
> >
> >
> > On Fri, Jan 17, 2014 at 9:49 PM, Qiubo Su (David Su) <qiubosu at gmail.com>
> > wrote:
> >>
> >> Dear OpenNebula Community,
> >>
> >> 1) run "onedatastore list", get below return:
> >>
> >>   ID NAME                   CLUSTER         IMAGES TYPE     TM
> >>   0 system                    -                      0 -
> >> shared
> >>   1 default                     -                      2 fs
> >> shared
> >>
> >> run "onedatastore update 0" and change the TM_MAD from "shared" to "ssh"
> >> and save it, but the TM of datastore 0 is still "shared", doesn't
> change to
> >> "ssh". why?
> >>
> >> 2) manually create a datastore production, and "onedatastore list"
> return
> >> as below:
> >>
> >>   ID NAME                   CLUSTER         IMAGES TYPE     TM
> >>   0 system                    -                      0 -
> >> shared
> >>   1 default                     -                      2 fs
> >> shared
> >>   100 production            -                      vmware
> >> shared
> >>
> >> but there is /var/lib/one/var/datastores/100 directory, only
> >> /var/lib/one/var/datastores/0 and /var/lib/one/var/datastores/1
> directories.
> >> why?
> >>
> >> thanks for your help for these.
> >>
> >> best regards,
> >> q.s.
> >
> >
> >
> > _______________________________________________
> > Users mailing list
> > Users at lists.opennebula.org
> > http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20140124/ab7518fb/attachment-0002.htm>


More information about the Users mailing list