Thursday Nov 01, 2007

Project Indiana on ESX

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.

 Indiana as viewed through the ESX VIC Console

Not many caveats with Fusion or ESX.  But there are a few:

  1. Choose Solaris 10 64 bit as your OS Type
  2. Tell VMWare to allocate the whole disk ahead of time.  Installs much quicker
  3. Choose Bridged Networking
  4. Of course, point your CD-ROM Drive at the in-preview.iso
  5. 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.

About

My name is Craig Bender aka ThinGuy. I'm a Principal Software Developer for Oracle's Virtual Desktop Engineering group.

I architect and evangelize the use of Oracle's Desktop technology including Sun Ray, Secure Global Desktop, and Oracle VDI.

Search

Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today