[one-users] Setting up a system datastore using ssh driver

kerryhall . kerryhall at gmail.com
Wed Jun 18 16:26:45 PDT 2014


Ok, in my excitement getting things tested here, I neglected to enable
virtualization in the BIOS on my second host. o_O

This works now!!

Thanks for the help Javier!!
Kerry


On Wed, Jun 18, 2014 at 3:47 PM, kerryhall . <kerryhall at gmail.com> wrote:

> Sorry if I'm not understanding this correctly.
>
> All running system disk images must fit in /var/lib/one on the frontend?
> /var/lib/one is currently 1TB on my frontend, but I have hundreds of hosts,
> each with 1-2TB of storage. I want the disk images for the running vms to
> live on the hosts *only*.
>
> If /var/lib/one/datastores/100 is a symlink to /one/system, but
> /var/lib/one is an nfs share on the frontend, mounted on all nodes, that
> means that the system disk images are going to be propagated to *all*
> nodes, doesn't it?
>
> I tested this with two worker nodes, and it looks like the disk images
> propagate to /one/system to the respective nodes (checking on the host
> itself), but sunstone is giving me errors for one of the worker nodes, but
> not the other.
>
> "Could not create domain from /var/lib/one//datastores/100/10/deployment.0"
>
> Thanks for the help!!
> Kerry
>
>
>
> On Wed, Jun 18, 2014 at 11:58 AM, Javier Fontan <jfontan at opennebula.org>
> wrote:
>
>> In the frontend the datastores are always at /var/lib/one/datastores.
>> The base path is only for nodes. If you want to use another filesystem
>> or path mount it in the datastore location or use a symlink.
>>
>> On Wed, Jun 18, 2014 at 8:23 PM, kerryhall . <kerryhall at gmail.com> wrote:
>> > Hi folks,
>> >
>> > I'm trying to set up my hosts to have the vm disk images stored locally.
>> > From the ONE docs, it looks like I need to create a system datastore
>> using
>> > the ssh driver. However, I have done so yet the disk images remain on
>> the
>> > frontend node.
>> >
>> > I used Sunstone to create a new datastore with the following parameters:
>> >
>> > Name: "New system"
>> > Presets: Filesystem
>> > Cluster: Default (I'm not using clusters just yet)
>> > Type: system
>> > Datastore: filesystem
>> > Transfer: ssh
>> > Safe directories: <blank>
>> > Restricted directories: <blank>
>> > Base Path: /one/system (which I created on my host, and chowned to
>> > oneadmin:oneadmin)
>> > Limit: <blank>
>> >
>> > I also removed the default system datastore, which is a shared
>> datastore.
>> >
>> > Expected behavior: disk images for new vms show up in /one/system on my
>> > hosts.
>> >
>> > Actual behavior: disk images show up in
>> > /var/lib/one/datastores/100
>> > on the frontend node.
>> > (100 is the ID of my new ssh system datastore)
>> >
>> > Any help would be greatly appreciated.
>> >
>> > Thanks!!
>> > Kerry
>> >
>> > _______________________________________________
>> > Users mailing list
>> > Users at lists.opennebula.org
>> > http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>> >
>>
>>
>>
>> --
>> Javier Fontán Muiños
>> Developer
>> OpenNebula - Flexible Enterprise Cloud Made Simple
>> www.OpenNebula.org | @OpenNebula | github.com/jfontan
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20140618/1d57ba27/attachment.htm>


More information about the Users mailing list