Windows 2008 and Hyper-V do not officially support Solaris. In fact, the only non-windows platform supported is SuSE Linux. Being a huge fan of Solaris and also a strong believer in Sun Ray, I had to take on the challenge and see what works and doesn't work. The first challenge was finding the right platform to build on - I have since done what follows on a x6250 blade as well as a x4150 1RU server. The folks at Microsoft were kind enough to provide me released version of Windows 2008 (x64) and the install was fairly smooth.
After the install, it was on to the Hyper-V configuration. For starters - it is not there by default. You need to add the role to the server for Hyper-V, and then the reboot. Since I am doing this for a demonstration and need to insure minimum configuration headaches I decided to forego the warning about saving a management network and just used a single (NIC0) network for both the server and the Hyper-V service. I also decided that I should start with a supported platform prior to branching out into uncharted territories. I loaded a copy of XP (sp3) as my first guest OS with little problems. During the install and subsequent reboots I figured there were bound to be problems down the road so I started using the tools that came with the system. Hyper-V does a very nice job (user interface) of providing some of the core utilities that are critical to this type of environment. Snapshots and exported existing VM's ended up saving me a bunch of time. More on that later.
Now that I had a guest OS that was functioning and capable of talking on the network it was time to roll up the sleeves and get .... 'bloody'. There have been reports of installing OpenSolaris on Hyper-V so I tried it. Sure enough I was able to get it working with little effort. There are also directions on running Sun Ray on OpenSolaris - I have done that too. I wanted to keep this as close to supportable has possible so I decided to stick with Solaris 10 and Sun Ray software that are both available directly from Sun ... with no caveats.
The initial install of Solaris went surprisingly well. No hang ups, the network worked and the install was relatively clean. After the installation reboot - it all changed. Yes, it boot clean and all appeared to be working well (however the mouse activation to the VM was a bit annoying) given I was in unchartered territory. However, I had no network (Microsoft's live.com to the rescue). While I did not find a clear solution I was able to figure out that the dnet (Decnet 21114) driver did not exist for the 64-bit OS. Reboot into 32-bit mode and the network is found. More to come on network challenges.
The installation of the Sun Ray software also worked (flawlessly) through utinstall, reboot, utconfig, utadm, utrestart. All worked well. So, I connected a Sun Ray 270 to the network and ..... nothing! Absolutely nothing on the wire. All I was trying to see was a login screen, but that was asking too much.
Since Sun Ray is a 100% network play I did what any other engineer would do - jumped in to the network. Ping the broadcast - nothing! Ping localhost - success! Ping the Hyper-V box - nothing! Ping the router - nothing! Hmmmm! Snoop the network while pinging the broadcast ---- data and a successful ping. More testing along this line found that while the dnet interface was up and running, unless snoop was running there was no data being passed. Snoop is a little too much overhead for my liking so I was concerned that I was not going to be able to make it work.
My good friend, Jim Fiori, took a look and in no time gave me a 'snoop light' binary to try. Sure enough it worked with less overhead. Yes, the network is still a bit slow as the binary causes the packets to travel all the way up to the STREAMS module but with no work but with no work being done on the actual packet .... overall a good effort. I placed a start up script in place to run the binary, reboot and the Sun Ray's were working.
From here, I took a quick snapshot of the Solaris VM and also exported it so that I could move it around later if needed. The rest of the work was somewhat downhill. Exported XP VM's were simply imported as new VM's to build a small stash of available images. Kiosk mode was enabled on the Sun Ray session server (Solaris VM) and I wrote a small wrapper that modified my previous post to deliver a customized desktop based on which user plugged in their smart card.
In the end, well worth the time spent to understand what works and doesn't. The x4150 used is now headed to the Microsoft facility in Reston, VA for their demonstration showcase. I will try to post pictures once it is installed.