Acetylcholinesterase

Subscribe to Atom Feed Bookmark to delicious

How to export a desktop from VDI 3

This is a recipe how to export a VirtualBox desktop out of VDI 3 to a destination Solaris VirtualBox host. It is based on Dirk’s procedure and contains some modifications to make it work for me.

1. Tell the iSCSI initiator on the destination VitualBox host to accept static iSCSI connections:

iscsiadm modify discovery --static enable

2. Find out the IQN of the iSCSI target of the desktop to export. The easiest way is to look at the desktop as it is registered on the VirtualBox host. Here you can use the command:

VBoxManage list -l vms

It will show also the IQN and the host of the connected LUN. An IQN looks like this:

iqn.1986-03.com.sun:02:c856c247-you-do-not-have-to-read-this-9318dd9d6b48

3. Mount the LUN into your destination VirtualBox host:

iscsiadm add static-config <IQN>,<IP>

The IP is the IP of the storage server – it is not its host name.

4. List the new target

iscsiadm list target -S

The last line contains the important output: OS Device Name, e.g.:

/dev/rdsk/c2t600144F04AD2FA0C0000144FEDF91800d0s2

5. Make a raw copy of the content:

dd if=/dev/rdsk/c2t600144F04AD2FA0C0000144FEDF91800d0p0 of=/var/tmp/image.out

Note, replace the s2 at the end of the raw disk name with p0. Don’t ask why. And you will have a lot of time not to ask why because the copy operation takes quite some time.

6. Convert the raw image into a VDI file:

VBoxManage convertfromraw /var/tmp/image.out /var/tmp/image.vdi --format VDI --variant Standard

Dirk’s convertdd was not available on my Solaris machine, but VBoxManage convertfromraw does the same.

Last but not least it should be mentioned that all this is obsolete for VDI 3.1. We have added a function to export a VirtualBox desktop directly from the Sun VDI administration:

Dialog in VDI 3.1: Export Desktop to Folder

Sun VDI at EDUCAUSE 09

Sun VDI welcome screen at EDUCAUSE 2009

EDUCAUSE 2009 is ready to start this week in Denver /Colorado. Do not miss to check out Sun Virtual Desktop Infrastructure – Sun VDI –  at booth #415 (floor plan).

See also Dirk’s posting on Sun VDI for the Education Market.

Picks from the conference schedule:

Sun VDI 3 Press Release

Press Release: New Sun Virtual Desktop Infrastructure Software 3 Boosts Virtualization Flexibility, Significantly Reducing Storage Consumption And Costs

Sun VDI 3 launches today!

Sun Virtual Desktop Infrastructure 3 launches today. A cool team made this happen in about a year. Guys, you rock! Let's celebrate the launch of Sun VDI 3! (Actually I am just back from the release party in Hamburg.)

>> Learn More

>> Download Now

>> All articles with tag 'vdi'

desktop virtualization wiki relaunch

Sun's wiki space for Desktop Virtualization has been relaunched. New pages, and lots of feeds from Sun bloggers. Check it out at_  http://wikis.sun.com/display/DesktopVirtualization/

Sun VDI 3 is in Early Access

Read Stephanie's intro to learn about Sun VDI and dive deeper with several of Dirk's articles.

We also set up a forum on Sun VDI Software

And finally, here is the download link for Sun VDI 3.0 Early Access (scroll down)