We recently moved to running the compute-worker within a domU instance.

We could make this move because domU can access VBDs in dom0-space by
performing a VBD.plug.

The problem is that we'd like to deal deal with whole VHDs rather than kernel,
ramdisk, and partitioning (the impetus of the unified-images BP).

So, for snapshots we stream the base copy VHD held in the SR into Glance,
and, likewise, for restores, we stream the snapshot VHD from Glance into the 
SR, rescan, and
then spin up the instance.

The problem is: now that we're running the compute-worker in domU, how can we
access the SR?  Is there a way we can map it into domU space (a la VBD.plug)?

The way we solved this for snapshots was by using the Glance plugin and
performing these operations in dom0.

So, my questions are:

1. Are SR operations something we need to use the Glance plugin for?

2. If we must use a dom0 plugin for this method of restore, does it make sense 
to just do
everything image related in the plugin?

-Rick


Confidentiality Notice: This e-mail message (including any attached or
embedded documents) is intended for the exclusive and confidential use of the
individual or entity to which this message is addressed, and unless otherwise
expressly indicated, is confidential and privileged information of Rackspace. 
Any dissemination, distribution or copying of the enclosed material is 
prohibited.
If you receive this transmission in error, please notify us immediately by 
e-mail
at ab...@rackspace.com, and delete the original message. 
Your cooperation is appreciated.

_______________________________________________
Mailing list: https://launchpad.net/~openstack-xenapi
Post to     : openstack-xenapi@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack-xenapi
More help   : https://help.launchpad.net/ListHelp

Reply via email to