My Answers to Outstanding OpenSolaris Questions
I received a comment the other day from James McGovern pointing me to a link on his blog where he has a list of outstanding questions. I've taken the time to do a bit of research (it is Christmas after all so things are a bit quieter) and this is what I've found:
- Q: It is now popular for a software vendor to offer an appliance version of their product. It seems as if most appliances run Intel chips. Any reason why they aren't using Sparc chips?
A: I can't think of any good reason other than possibly cost and trends. The following points come to mind:
- Sun doesn't have the resources to produce SPARC CPUs other than for it's own purposes. Unlike Intel, Sun has always been more interested in shipping more systems than parts. Sun is a systems company after all.
- SPARC has had quite a thriving OEM market for some time now (see the members section on SPARC.org) - it's just not well known.
- SPARC has never kept up with the whole "MHz myth" that Intel has focused on over the years. Accordingly, many people have this mis-conception that SPARC processors are way slower. This isn't really surprising considering the market Intel primarily aims at.
- Not many people know the SPARC architecture is and has been freely available for years. (SPARC.org)
- Linux is the current big buzz and it's primarily developed and aimed at x86 machines, so people are already doing the work in the x86 field. Now Ubuntu runs on UltraSPARC T1, things could change.
- A lot of appliance companies already use ARM, PowerPC or Intel. Adding another processor adds complexity and cost - it's much cheaper to continue working on what you've already got.
That said, STMicroelectronics have apparently created a single core version of the UltraSPARC T1 (the world's first GPL'd CPU) called the "S1" which "...can run Ubuntu Linux, and targets embedded devices such as PDAs, set-top boxes, and digital cameras...".
Watch this space - the T1 is an awesome processor that a lot can be done with. And by the fact it has been released under the GPL, we should see a lot more people seriously considering it.
What's more, Sun is effectively entering into part of the appliance market (granted it's x86 not SPARC), specifically the storage market at the moment, with things like the X4500 (aka Thumper).
- Q: Does Sun help software companies build price-competitive appliances built on the Sparc chip or does one have to look elsewhere?
A: I believe Sun does. Sun has quite an OEM following (though not to the scale of Intel, ARM or IBM), so there's got to be something there. Why not drop the OEM team a line or two to find out more.
- Q: I am aware of companies such as MBX Systems that make appliances but can't seem to find any industry analyst information on the appliance building space. Who is king of the hill?
A: I have no idea and wouldn't like to hazard a guess. The notion of "king of the hill" is also very circumstantial and dependent on what area within the appliance market you're referring to. Take the home appliance market, AEG would like the market to think it's king of washing machines or fridges, whilst Pace would like the market to think it's king of satellite receivers.
- Q: Any software companies out there that make an appliance form factor running Solaris on Intel?
A: Probably. I couldn't say for sure as it's not really a field I've ventured into much. Check out the companies listed on the SPARC.org site and the Sun OEM site for a start.
- Q: If they also wanted to run Open Solaris on this appliance, what documents should they read so that they can strip the operating system down to bare minimum functionality?
A: Minimization has always been a bone of contention when it comes to support at Sun. However things have changed and there's a lot more talk and agreement on the concept of minimization.
A good place to start would be Infodoc 86177 (requires a login).
There's also a fair bit of activity over at the appliances community on this exact question (I believe started by James in some way too).
Glenn Brunette lays down a good foundation for a minimal Solaris 10 build and Eric Boutilier has also a series of posts (Part 1, Part 2, Part 3, Part 4, Part 5, Part 6, Part 7) on building a minimal Solaris OE - whilst not entirely supported, it's certainly a good read.
- Q: Is anyone working on getting Open Solaris to join an Active Directory Domain? I know that there are several third-party products in this space but curious when it will be native?
A: It depends. If you're referring to using the Active Directory for authentication and authorization with LDAP or Kerberos, then you can already and this is all nicely documented in a document by Microsoft.
If you're using "winbind" on your AD server then you've got no choice but to use Samba and I believe the Samba supplied with OpenSolaris now works with AD (I stand to be corrected, I've not tested this). Some how I don't think Sun will ever implement "winbind" natively given Microsoft's reputation for sharing code.
- Q: Are there any coding "best practices" to take advantage of Solaris containers?
A: I don't believe so. Essentially, if it works in the global zone, then it should work in the local zone, with a few exceptions - you've got to keep in mind what you can and can't access from the local zones, and also the fact that there's a single kernel, and accordingly, anything that taps into the kernel, like device drivers, can only be run from the global zone. Check the developer docs for more details. There's also tons of stuff on the Developers Network.
- Q: Does Xen currently working with Open Solaris?
A: Yes and no. Yes it's been shown to work in the lab and with certain publically available code. No in that this code hasn't been integrated into the OpenSolaris codebase. See the XEN community for more details.
- Q: Can Open Solaris support headless and diskless operation?
A: Yup. Both of these have been a feature Solaris as far back as I can remember (even on x86).
- Q: Are there legal implications in using Open Solaris in either appliance or embedded designs?
A: I couldn't answer that, I'm not a lawyer. I'd check the license T's & C's of the OS and maybe contact the Sun legal department.
- Q: Is there merit in doing a port of Open Solaris to the Z/390 platform?
A: If there's the demand for it, I'd say there's merit. There's nothing stopping you from creating your own port in much the same way as people are doing for the PowerPC architecture (see the PowerPC community). I suppose the biggest limiting factor is getting enough interest.
Well, those are my answers. I stand to be corrected if I've missed something obvious. The ultimate place to go to get answers for all you questions is probably the many forums on OpenSolaris.org.
Oh, and naturally, these are my opinions and points of view and don't necessarily reflect those of Sun Microsystems.