Why Linux administrators should consider OpenSolaris

 

Connecting state and local government leaders

Sun engineer Harry Foxwell lays out his case for what makes OpenSolaris a good open-source alternative to Linux.

When most people think of open-source operating systems, they tend to think of Linux. This irks the advocates of OpenSolaris to no end. After all, Sun Microsystems' Solaris was a fully matured version of Unix back when that Penguin-logo'ed Unix variant was just some uncompiled C code in Linus Torvald's desktop PC.

In 2005, Sun released the source code of Solaris under its own open-source license, calling this version OpenSolaris. Since then, Sun engineer Harry Foxwell has championed the OS, touting its benefits and working as an active member of the OS's developer forums. Earlier this year, Apress published a book Foxwell wrote with Christine Tran, entitled "Pro OpenSolaris: A New Open Source OS for Linux Developers and Administrators."

GCN: Why would Linux administrators want to take a look at OpenSolaris?

Henry Foxwell: Three reasons. First, it is designed to look like the environment that a Linux developer and administrator is familiar with. It has the Gnome [desktop environment] and all the GNU and Gnome tools. So the learning effort is not great, because the environment looks very much the same.

Foxwell: Another reason is that it includes all of the open-source AMP [Apache-MySql-PHP/Perl/Python] stack software that administrators and developers are familiar with. So again, the tools you use to build the infrastructure, the Web-based application services, will be familiar to you here.

The point that I made in the beginning of the book is that some people call themselves Linux developers but they really are open-source developers who happen to run their applications on a Linux OS. They could, in theory, use some other OS to support the tools they use. And OpenSolaris, in fact, does.

And third and most important reason is that we believe OpenSolaris has interesting technologies that are not in Linux. For example, it has built-in virtualization in the form of Zones. It includes the very popular ZFS [128-bit] file system, and the DTrace [debugger tool]. It includes a new way of managing services called the Service Management Facility.

How are services managed under this new system?

Foxwell: Historically, in Unix, services have been started, configured and managed with files in the /etc/rc directory. These are all controlled by scripts and each one has its own manner of starting a service or stopping a service. One of the things you can't get from that methodology is a common [way] for managing, monitoring or restarting the services. And you don't have any idea of the interdependencies of these services.

In Solaris, the Service Management Facility is a framework for managing all services. The key thing with this framework is the ability to understand the dependencies. So if something doesn't work, I know that service has something wrong [with it], or some dependency is broken. And that helps me determine why a particular service isn't functioning.

What are the steps for moving a server from Linux to OpenSolaris?

Foxwell: What you have would determine how much effort it would take to go from one to the other.

If you have a Web-based infrastructure — a Linux application server, database server and Web server -- moving from Linux to OpenSolaris would be fairly straightforward. The tools are pretty much the same, so essentially [all you'd need to do is] transfer your scripts, configuration files and data.

For custom C or C++ code, we do have the tools for recompiling. We have support for the GCC compiler or, of course, you could use the Sun compiler. And all the tools, the libraries and documentation are there to do that compilation.

Solaris has had the reputation for not having enough drivers for non-Sun hardware. Has support improved for OpenSolaris?

Foxwell: It certainly was a deserved reputation the past. With earlier versions of Solaris, especially for the Intel platform, it was difficult to find the drivers. Today, because of the great contribution of the OpenSolaris community, we have literally thousands of components that are supported. The place to go for these drivers is the Sun Web site's Hardware Compatibility List [www.sun.com/bigadmin/hcl/]. It is a listing of all the devices and components that work under Solaris. Certainly we are missing a few, but the most of the common ones are there.

Just as an example, I installed OpenSolaris on a random laptop the other day. And the only thing missing was the driver for the modem, which no one uses anyway.

How is OpenSolaris different from Solaris?

Foxwell: I guess the good analogy is the relationship between Fedora and Red Hat Enterprise Linux (RHEL). With Fedora, the open-source community gets the code, and has the ability to contribute, to change, to experiment with, and to add new features — that is what Fedora is all about. Periodically, Red Hat will take snapshots of that, run it through its quality control processes and ultimately produce something called RHEL. And most customers understand that RHEL is a supportable version of Linux, and Fedora is more for downloading, trying and playing around with.

So the same kind of relationship exists with Solaris and OpenSolaris. Solaris is the commercialized version. You can get 24/7/365 support for it. Most of our mission-critical customers are using Solaris for their mission-critical environments. With OpenSolaris, future technologies are developed, tried out and tested. Some of those technologies make their way back down into the commercial releases of Solaris. A good example of that is ZFS. It was first available in OpenSolaris, and later on it appeared in Solaris.

Can you run Solaris Trusted Extensions [Sun's mandatory access control technology for highly-secure environments] under OpenSolaris?

Foxwell: There is a very active security community in the OpenSolaris developer community (www.opensolaris.org), and there is an active community around Trusted Extensions. Trusted Extensions does indeed run on OpenSolaris, but at this time there is no direct support for Trusted Extension production deployments on OpenSolaris. If you want to run Trusted Extensions in a supported manner, then you need to run it on Solaris 10. But all the code is there, and all the features are there to try out.

How does OpenSolaris handle virtualization?

Foxwell: There are three different forms of virtualization that are supported by OpenSolaris.

The first one is probably fairly well-known. It called Containers or Zones. This is what people call a lightweight virtualization, where you don't have guest kernels running, but you have an environment that looks like it has a [dedicated] kernel, but all [the virtualized OSes] are running under one kernel, called the global kernel. Applications are then hosted in those zones. Each zone has a host name, an IP address, and a restricted space for its applications to run in.

Sun also has under development a product under the brand name XVM. I won't talk about the product, but within OpenSolaris, there is a component called the XVM Hypervisor, which is based on Xen. It is very much like what you do today in Linux with Xen support. And the third type of virtualization is based on the Sparc multithreading processors. The new version of OpenSolaris supports Sparc, and that gives you the opportunity to run a virtualization technology called Logical Domains, which is a chip-level virtualization technology.

Administrators might be worried about what direction Oracle may take with Solaris, should its acquisition of Sun go through. We understand that as a Sun employee you can't talk about the merger. But you can you say anything how OpenSolaris may be buffeted from the winds of change in this regard?

Foxwell: That certainly is a topic of discussion in the OpenSolaris community. I obviously can't say anything about the plans that Oracle may have around Solaris. But from what I understand, one of the reasons they went through the acquisition is the value they placed on technologies like Java and Solaris.

Today, the OpenSolaris trademark is certainly owned by Sun, and I guess it will transfer over to Oracle [if the acquisition goes through]. But OpenSolaris has a large and active community of users, developers and contributors — several hundred thousand people. I don't see that going away regardless of what will happen with the acquisition.

X
This website uses cookies to enhance user experience and to analyze performance and traffic on our website. We also share information about your use of our site with our social media, advertising and analytics partners. Learn More / Do Not Sell My Personal Information
Accept Cookies
X
Cookie Preferences Cookie List

Do Not Sell My Personal Information

When you visit our website, we store cookies on your browser to collect information. The information collected might relate to you, your preferences or your device, and is mostly used to make the site work as you expect it to and to provide a more personalized web experience. However, you can choose not to allow certain types of cookies, which may impact your experience of the site and the services we are able to offer. Click on the different category headings to find out more and change our default settings according to your preference. You cannot opt-out of our First Party Strictly Necessary Cookies as they are deployed in order to ensure the proper functioning of our website (such as prompting the cookie banner and remembering your settings, to log into your account, to redirect you when you log out, etc.). For more information about the First and Third Party Cookies used please follow this link.

Allow All Cookies

Manage Consent Preferences

Strictly Necessary Cookies - Always Active

We do not allow you to opt-out of our certain cookies, as they are necessary to ensure the proper functioning of our website (such as prompting our cookie banner and remembering your privacy choices) and/or to monitor site performance. These cookies are not used in a way that constitutes a “sale” of your data under the CCPA. You can set your browser to block or alert you about these cookies, but some parts of the site will not work as intended if you do so. You can usually find these settings in the Options or Preferences menu of your browser. Visit www.allaboutcookies.org to learn more.

Sale of Personal Data, Targeting & Social Media Cookies

Under the California Consumer Privacy Act, you have the right to opt-out of the sale of your personal information to third parties. These cookies collect information for analytics and to personalize your experience with targeted ads. You may exercise your right to opt out of the sale of personal information by using this toggle switch. If you opt out we will not be able to offer you personalised ads and will not hand over your personal information to any third parties. Additionally, you may contact our legal department for further clarification about your rights as a California consumer by using this Exercise My Rights link

If you have enabled privacy controls on your browser (such as a plugin), we have to take that as a valid request to opt-out. Therefore we would not be able to track your activity through the web. This may affect our ability to personalize ads according to your preferences.

Targeting cookies may be set through our site by our advertising partners. They may be used by those companies to build a profile of your interests and show you relevant adverts on other sites. They do not store directly personal information, but are based on uniquely identifying your browser and internet device. If you do not allow these cookies, you will experience less targeted advertising.

Social media cookies are set by a range of social media services that we have added to the site to enable you to share our content with your friends and networks. They are capable of tracking your browser across other sites and building up a profile of your interests. This may impact the content and messages you see on other websites you visit. If you do not allow these cookies you may not be able to use or see these sharing tools.

If you want to opt out of all of our lead reports and lists, please submit a privacy request at our Do Not Sell page.

Save Settings
Cookie Preferences Cookie List

Cookie List

A cookie is a small piece of data (text file) that a website – when visited by a user – asks your browser to store on your device in order to remember information about you, such as your language preference or login information. Those cookies are set by us and called first-party cookies. We also use third-party cookies – which are cookies from a domain different than the domain of the website you are visiting – for our advertising and marketing efforts. More specifically, we use cookies and other tracking technologies for the following purposes:

Strictly Necessary Cookies

We do not allow you to opt-out of our certain cookies, as they are necessary to ensure the proper functioning of our website (such as prompting our cookie banner and remembering your privacy choices) and/or to monitor site performance. These cookies are not used in a way that constitutes a “sale” of your data under the CCPA. You can set your browser to block or alert you about these cookies, but some parts of the site will not work as intended if you do so. You can usually find these settings in the Options or Preferences menu of your browser. Visit www.allaboutcookies.org to learn more.

Functional Cookies

We do not allow you to opt-out of our certain cookies, as they are necessary to ensure the proper functioning of our website (such as prompting our cookie banner and remembering your privacy choices) and/or to monitor site performance. These cookies are not used in a way that constitutes a “sale” of your data under the CCPA. You can set your browser to block or alert you about these cookies, but some parts of the site will not work as intended if you do so. You can usually find these settings in the Options or Preferences menu of your browser. Visit www.allaboutcookies.org to learn more.

Performance Cookies

We do not allow you to opt-out of our certain cookies, as they are necessary to ensure the proper functioning of our website (such as prompting our cookie banner and remembering your privacy choices) and/or to monitor site performance. These cookies are not used in a way that constitutes a “sale” of your data under the CCPA. You can set your browser to block or alert you about these cookies, but some parts of the site will not work as intended if you do so. You can usually find these settings in the Options or Preferences menu of your browser. Visit www.allaboutcookies.org to learn more.

Sale of Personal Data

We also use cookies to personalize your experience on our websites, including by determining the most relevant content and advertisements to show you, and to monitor site traffic and performance, so that we may improve our websites and your experience. You may opt out of our use of such cookies (and the associated “sale” of your Personal Information) by using this toggle switch. You will still see some advertising, regardless of your selection. Because we do not track you across different devices, browsers and GEMG properties, your selection will take effect only on this browser, this device and this website.

Social Media Cookies

We also use cookies to personalize your experience on our websites, including by determining the most relevant content and advertisements to show you, and to monitor site traffic and performance, so that we may improve our websites and your experience. You may opt out of our use of such cookies (and the associated “sale” of your Personal Information) by using this toggle switch. You will still see some advertising, regardless of your selection. Because we do not track you across different devices, browsers and GEMG properties, your selection will take effect only on this browser, this device and this website.

Targeting Cookies

We also use cookies to personalize your experience on our websites, including by determining the most relevant content and advertisements to show you, and to monitor site traffic and performance, so that we may improve our websites and your experience. You may opt out of our use of such cookies (and the associated “sale” of your Personal Information) by using this toggle switch. You will still see some advertising, regardless of your selection. Because we do not track you across different devices, browsers and GEMG properties, your selection will take effect only on this browser, this device and this website.