Project Indiana on ESX
By ThinGuy on Nov 01, 2007
While I didn't achieve my goal of getting Sun Ray1 up on the "OpenSolaris Developer Preview" (aka Project Indiana) I did get it running on VMWare ESX. In fact, I built it on my Mac using VMWare Fusion, then used VMWare Converter to import into ESX.
Not many caveats with Fusion or ESX. But there are a few:
- Choose Solaris 10 64 bit as your OS Type
- Tell VMWare to allocate the whole disk ahead of time. Installs much quicker
- Choose Bridged Networking
- Of course, point your CD-ROM Drive at the in-preview.iso
- DO NOT INSTALL VMWare-Tools. You've been warned. If you do, you will have to ssh into the box and uninstall them.
Once in, you might want to used a fixed IP and other fixed network settings. To do this you are going to have to disable Network Auto-Magic Mode. This is simple to do, from a terminal as root do the following:
# svcadm disable svc:/network/physical:nwam
# svcadm enable svc:/network/physical:default
I didn't have much luck using the Network Settings applet to config everything correctly2, at least how I view it as correctly. In fact the only things I think it got right was /etc/netmasks, /etc/defaultrouter, and /etc/resolv.conf
The following files needed to be changed by hand: /etc/hosts, /etc/hostname.e1000g0, /etc/nsswitch.conf
For /etc/hosts I had to insert the hostname followed by the fixed IP, remove the hostname from the loopback address and add localhost to the loopback line.
For /etc/hostname.e1000g0 I replaced the IP address with the hostname.
For /etc/resolve.conf I had to add dns to the hosts line
That's about it. The installer is super cool, and I really (really!) love the "Live CD".
Updates in the future when I get Sun Ray up on it. (See below)
1 Project Indiana uses Xorg's X Server and does not include Sun's Xsun X Server. Today Sun Ray relies on Xsun. While we have a prototype based on Xorg, pkgadd is broken in Project Indiana and it is impossible to install Sun Ray Server without it. Well maybe not impossible, but extremely painful.
2 I based my network configuration based on the requirements of Sun Ray Servers utadm command. If I didn't make the changes I did, utadm would have failed.