solaris 10 on vmware
My direction over the past month has been towards building a developer platform on vmware. More time than usual has been expended toward getting Solaris 10 to run correctly, so this post documents where I've been and where I'm going. This started on a vmware forum: Dear Dr VM Ware, I am so confused
- Sun and vmware have been in a strategic partnership for about two years. So when does Solaris break out of the "experimental" stage into a fully supported host and guest. I asked this question on a vmware forum.
- I've been installing Solaris 10 in the experimental mode on both vmware Workstation and the free VMserver product. The problem is the lack of vmtools support for the Solaris platform, and Juergen Winkelmann provided a brilliant solution for vmware ESX server; use the linux version of vmtools, and run it on Solaris with "lxrun".
- I tried Juergen's implemenation on vmware Workstation, and it worked fine. When I deployed Solaris 10 on VMserver, it destroyed my Solaris 10 install with endless illegal references to /kernel symbols. I haven't worked out the issue there yet.
- Solaris 10 Update 2 beta was announced, and I successfully deployed that on both VMserver and Workstation. I just didn't apply the vmtools.
- The Solaris 10 Update 2 install on vmware, requires two manual steps to make it work correctly.
- From command line, run kdmconfig, change the implemenation from Xorg to Xsun, and reboot the system. The Java Desktop comes up fine.
- Follow the instructions for getting DHCP to properly configure the network, from the BigAdmin site, Setting Up Solaris to work with cable modems. For vmware:
cd /etc
touch dhcp.pcn0
cp /dev/null hostname.pcn0
cp /dev/null notrouter
cp /dev/null resolv.conf
vi nsswitch.com ... /hosts: ...hosts: files dns
reboot
- Installing software on Solaris on vm
The simplest way to deliver software to the Solaris virtual machine is by attaching virtual cd images (.iso) to the drive.
You avoid all the complications of managing downloads and sharing filesystems, and the .iso image can be delivered to any virtual machine. It is by far the easiest medium for all VM's, and especially Solaris. For example, on my Windows machine:
- Download Studio 11
- Start cygwin console
- gunzip2 xxx.tar.gz | tar -xvf -
- Bring up winiso 5.3, drag the untarred files to the window,
File/Save-As ss11.iso.
- In vm, Edit machine settings, choose the CD drive, and attach the .iso to that drive.
- Bring up the Solaris 10 virtual machine, and the ss11 CD icon will be on the desktop.

0 Comments:
Post a Comment
<< Home