Slashdot Log In
OpenSolaris From a Linux Admin and User Perspective
Posted by
timothy
on Tue Aug 19, 2008 09:34 AM
from the looks-quite-nice dept.
from the looks-quite-nice dept.
MSa writes "How does OpenSolaris, Sun's effort to free its big-iron OS, fare from a Linux user's point of view? Is it merely a passable curiosity right now, or is it truly worth installing? Linux Format takes OpenSolaris for a test drive, examining the similarities and differences between the OS and a typical Linux distro. If you want to sample the mighty ZFS filesystem, OpenSolaris is definitely the way to go."
Related Stories
Firehose:OpenSolaris from a Linux Admin Perspective by Anonymous Coward
[+]
Technology: Gnome's Nautilus Gets ZFS Integration, In OpenSolaris 38 comments
13bpower writes "Sun developer Erwann Chenede posted a new plugin for Nautilus that will integrate ZFS's backup capabilities with Nautilus. This should be a pretty killer feature." As one of the comments puts it, this adds a "Time Machine-esque" function to Solaris, through which a user can specify backup frequency, and when needed browse from available snapshots to restore files.
This discussion has been archived.
No new comments can be posted.
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
Full
Abbreviated
Hidden
Loading... please wait.

maybe I should go and play around with this! (Score:5, Interesting)
Ever since the demise of SGI I haven't looked at anything but Linux / BSD, but this makes me wonder if there is maybe life for Solaris after all.
Would be nice if this was more geared towards the server end of things, which is where I would expect you'd deploy solaris much sooner than on the desktop.
Re:maybe I should go and play around with this! (Score:5, Funny)
What do you mean, the demise of SG-1? The Apophis was defeated and the replicators contained.
Oh, SGI. Sorry.
Parent
Re:maybe I should go and play around with this! (Score:5, Informative)
OpenSolaris works well as a server OS - that
The ZFS filesystem is interesting for desktop installations - it does allow seamless use of the 1-2 terabyte desktop disk configurations that are now possible. ZFS was designed for the datacenter - eliminating the need for the time-honored but fragile combination of journaling filesystem over software volume manager (usually over HW RAID). It's the first real innovation in filesystem architecture since journaling filesystems were developed.
Additional software packages are available from 3 well-known (in the Solaris community, at least) sites. Sun has it's own freeware site, blastwave.org and sunfreeware.com
http://www.sun.com/software/solaris/freeware/s10pkgs_download.xml [sun.com]
http://www.blastwave.org/ [blastwave.org]
http://sunfreeware.com/ [sunfreeware.com]
The package manager for blastwave.org is their own, the others use the standard Solaris pkgadd commands. The package naming convention is a long-standing convention - each vendor uses a different prefix, making it easy to differentiate the source of packages.
OpenSolaris commands, where Sun hasn't replaced stock UNIX commands with their own, reflect SVR5 standard rather than the more Linux-ish BSD syntax.
One of the places where Sun has replaced "normal" functionality is the init process. SMF is Sun's attempt at fixing the long-standing problems and in-efficiencies of the BSD or SVR5 init process. Apple has launchd, there's openrc and gentoo's baselayout that all have similar goals. SMF works well and there's a fair amount of support on the net for integrating non-distro apps.
One of the "why OpenSolaris" answers is that there is value in running the same OS on the desktop as on the server. For Solaris shops OpenSolaris on the x86* servers provides a common platform that enables system management efficiencies to be extended.
Parent
Re:maybe I should go and play around with this! (Score:5, Insightful)
You've run ZFS in production, yet you can't see the improvement on Linux's model? You mean the fact that md is completely broken and LVM is unreliable and slow by comparison?
Parent
Re:maybe I should go and play around with this! (Score:5, Informative)
I'd like to give Znork some credit here.
ZFS is really, really nice but it does have some warts and the biggest for many would be that arcane operating system that's dangling off its nutsack. Yes the solaris kernel is great, scales like a champ etc. but the userland and the lack of centralized package management (in 2008, no less!) are bad joke.
Parent
Re:md broken? (Score:5, Interesting)
No offense taken, but your first line is a typical response from most linux users -- anything that goes wrong is either an admin issue or a hardware issue.
First, md forgetting drives is not a hardware issue. Linux sees the drive, the serial number of the drive is the same, the hardware does not change, the hardware works. Sometimes, you will boot, and it just loses the configuration, so you reconfigure the array, and wait for it to check everything out. For two hours. At 3am.
Wiping out configuration during upgrades happened for two consecutive releases of the master distribution. Everything is backed up, but 3/4's of the machines didn't boot properly after md was upgraded. Turned out this was a pretty known issue. No one ever thought that people would want things migrated. Everyone seems to have a few hours to manually move arrays over.
Look, I'm all for great, open, free technology. The problem is, most people don't think about the big picture. LVM and MD are fine for personal machines that don't do much more than serve up files, or play music, or what have you. Technology like ZFS is designed to be bulletproof, documented, and it has to be supported. Not only that, but given the right amount of RAM, ZFS can outperform many off the shelf RAID systems, and give you flexibility in mirroring, snapshots, and drive support that LVM cannot possibly compare to.
The only reason ZFS hasn't had much news in Linux land is that it 'wasn't invented here' and it isn't GPL. Last I heard, there was a movement underway to reimplement ZFS under the GPL. I would imagine we'll see something in five years or so.
Parent
Re:maybe I should go and play around with this! (Score:5, Funny)
I've been a sys admin for FreeBSD and Linux machines for a computer club for a few years now.
I bet you have to beat the ladies away with a stick...
Parent
Nexenta (Score:4, Insightful)
I'd try Nexenta, except I don't really want to use the Ubuntu repositories for my Linux packages. I'd prefer something with a good KDE desktop.
I'd consider it for a web-server box to test how the kernel handles I/O.
Re:Nexenta (Score:5, Interesting)
Someone asked me this question recently. And for the sixth time I answered with a laundry list of things I didn't like about it. Agian, I was modded Troll for stating I don't like Ubuntu/Kubuntu, and then people got all in a huff.
Like I always say, it is marketed at a certain target audience, and it isn't me.
I suggest that you try out a really good KDE desktop (Arch's KDEMod, Sabayon, openSUSE 11, etc) and the differences should be immediately apparent to you.
As far as whether or not the KDE packages are available in Nexenta, I'm not sure actually.
Parent
Re:Nexenta (Score:5, Insightful)
This is a matter of taste. "I don't like it" is sufficient reasoning for this arena, like it or not. Furthermore, you have no reasonable basis to say he's saying this "just to get a reaction". He doesn't give what you consider to be good reasons for his opinion, so he's stating his opinion just to get a reaction. Erm, no, it doesn't work that way.
People, not just on slashdot, but on internet forums in general, love to claim that those whose arguments they disagree with must be trolling. It's fucking pathetic, and is just a sign that these people can't handle an opposing point of view with any amount of dignity. Grow up already.
Parent
Love that they open sourced it... but... (Score:5, Interesting)
I love that Sun open sourced it, however I think that the greatest benifit is not that it's open but that the technologies it offers are available to be reproduced on other nix os's. The biggest issue I have with OpenSolaris is that it's still a single vendor OS. If it forks a few times and actually develops a culture and some competition between vendors than I think it will be more appealing.
That's actually what I hate and love about linux. It's a fragmented and ineffecient community, but because it's fragmented I don't have to worry that it's going away any time soon.
Re:Love that they open sourced it... but... (Score:5, Insightful)
He said 'other nix os's' not 'Linux'. The GPL may be incompatible with the CDDL, but the BSDL isn't, and bits of Solaris, such as ZFS and DTrace, have found their way into FreeBSD.
Saying the CDDL is incompatible with the GPL is misleading - the CDDL doesn't say anything about code not explicitly released under it. It is the GPL which imposes constraints on third-party code. If Linux used a more permissive license then it would be able to use OpenSolaris code, and OpenSolaris would be able to use Linux code just as it used to use a lot of BSD code back in the SunOS days.
Parent
Excerpts from the article: (Score:4, Informative)
"... I found OpenSolaris significantly slower than Ubuntu or OpenSUSE..."
"There are fewer packages available than for a mainstream Linux distro, although they do have over a thousand (and certainly enough for a fully-functioning system). The package naming is slightly odd; package names begin with a handful of capital letters (eg SUNW or FSW)."
"ZFS is transactional, meaning that the filesystem is always consistent (so fsck or equivalent isn't used or needed), and snapshots are intentionally both easy and cheap in terms of disk space."
"I'm very impressed with the concepts behind ZFS, but I'm also concerned that cross-functionality with Linux is limited."
"I did find it frustrating to have to relearn commands that I've been using without thinking for years now (eg ifconfig), and right now I'm not convinced that for me it's worth the mental effort, especially given the relative scarcity of external software available."
It's a bit late (Score:4, Interesting)
I was a Solaris admin back in the early 90s. I preferred SYSV to BSD for a lot of things. But at this point, I'm just not seeing a compelling reason to go back. Sure, ZFS sounds nice, but I don't really want a system that's slower and more RAM-hungry than Linux, and I don't want an OS with a GPL-incompatible license.
Re:From an experienced Admin's perspective (Score:5, Informative)
Horses for courses, but Solaris has much to offer even for shops that aren't traditionally tied to Sun. Hell, even my private ``1U box in someone else's datacentre'' server for my family is now a Solaris machine.
ian
Parent
Re:From an experienced Admin's perspective (Score:5, Insightful)
Parent
Re:From an experienced Admin's perspective (Score:5, Insightful)
"ZFS - Are you really using your server for data storage? SAN or NAS should be a better option depending on your price point"
Why not set up a server for data storage? Then you get all the ZFS checksum/auto-heal/snapshot goodness ?
"Zones - I still have yet to see a reason to use this except for dedicated virtualization servers."
Zones are so cheap, I run every single service in a zone so that they can be migrated between machines, any dependencies can be contained, etc. If you haven't seen a use for them it's because you haven't ever used them.
"rcapd - ulimit can do this per process, and there are also multiple 3rd party open source resource limiters."
And yanking the ram stick can do it per-machine. How coarse grained do you want to go before you look like a fool?
In almost every case, the Solaris and other random unix environments could be replaced with Linux at 1/10th the cost."
Solaris is free. Support is 1/3 the price of RHEL. It runs on cheap Dell/Supermicro whiteboxes.
Parent
Re:From an experienced Admin's perspective (Score:4, Interesting)
Ahem...
Actually the reverse is true...
Since release 10, Solaris has been pretty well stomping the competition in price, performance and throughput. With Solaris supporting pretty much every type of virtualization (including some not offered anywhere else), it's hard to beat.
Solaris as well as OpenSolaris are free, you can download and use either flavor with no cash outlay. Want support? It's cheaper to buy Solaris support from Sun than to buy Linux support from RedHat.
There's no *tying* with Solaris, it's all about choice. I personally choose Solaris over Linux for pretty much any task.
Parent
Re:From an experienced Admin's perspective (Score:5, Informative)
Having been a UNIX admin for 23 years and Solaris for 10 years, I'm not sure what you're drinking, but I'm staying away from it.
Solaris support has rocked. We've never had an issue that Sun hasn't been able to solve, and yes, we've thrown them some curves (and sliders for that matter). IBM's support has told us on multiple occasions to re-install the system as a fix for a problem. RedHat we've stumped more often than not. HP? Well - they still can't figure out how to handle more than 8 luns per target for scsi (as well as fibre)...
Solaris performance has been fantastic - outperforming Linux, AIX, HP-UX on modern equipment.
We've migrated workloads to and from Solaris - no big deal - as long as you know what you're doing.
(Our misguided DBA's started migrating from old SunOS 5.8 boxes to Linux - and are now migrating back.)
If you use tools that are available on multiple platforms, migrating isn't all that tough.
If you are developing native language apps, porting isn't terribly difficult although finding workarounds for pesky native quirks is troublesome at times.
So I guess it depends on what you call "experienced"...
Parent
Re:From an experienced Admin's perspective (Score:5, Interesting)
Ok, I'll call you on this one. I'm a SCSA (Solaris Certified System Administrator) and a former Sun SSE. I've worked with Solaris systems going back to 1996 on original Sparcstations (not even Ultrasparcs). I've also worked on Enterprise 10000, 15000, and 25000. We also have a smattering of Sun Fire X4600s, the new AMD Opteron boxes.
I tested Solaris 10 and Red Hat Enterprise Linux 4 (64-bit) on the exact same hardware (X4600), and you know what? Red Hat Enterprise Linux 4 performed better on massive storage I/O than Solaris 10. I have the Oracle ORION benchmarks to prove it. We have over 50 LUNs carved from an HP EVA 8100 and presented to these X4600s, on 4x 4gb HBAs per server. They run Oracle RAC, have 4x quad core AMD Opterons, and Red Hat Enterprise Linux.
Sorry, but Solaris used to be a good OS back in the 90s. They have fallen so far behind it's not even funny. The reality now is that I can run Red Hat and Oracle on a 32 core AMD Opteron box with a hundred LUNs on a fibre channel SAN and it outperforms Solaris now. ZFS is nice, but we use ASM (automated storage management) for Oracle anyway, so ZFS is unnecessary.
Solaris has unfortunately fallen far behind the performance curve, and I doubt they can ever catch up. Your BS about HP not supporting more than 8 LUNs per target is absolutely BS. I can do hundreds of LUNs, and I have systems like that in production.
On support, they all suck. Red Hat, HP, Sun, every one of them sucks. They have all been chasing the bottom and if it ever gets to the point where I'm stumped, they're going to be stumped as well.
Parent
Re:From an experienced Admin's perspective (Score:4, Insightful)
It all depends on the skill-set your admins already have. If you have a shop of 100% Linux admins with no Solaris experience, stay away. If your shop already has some Solaris machines on Sparc, go for it - although you should double check the license.
From my own perspective, I've invested several hours getting it running. Granted, I was running the 200805 OpenSolaris installed on ZFS which had some bugs in the boot process which left my system unbootable a few times. Some follow up releases fixed those problems. But as a guy who's been using Linux since 1993, old habits are hard to break.
Parent
Re:From an experienced Admin's perspective (Score:4, Interesting)
Stay away?
What if you need real uptime with a load of 80 on a 32 cpu system? Can Linux handle the load and have years of uptime?
Solaris just works and its made for servers. Linux seems always beta quality with its cutting edgness and is desktop oriented. I would not trust my job to it unless its Debian or RHES which costs $$$ as cutting edge features are not needed on a mission critical server. Solaris scales far better than any BSD or Linux distro out there.
Ask any *real* Unix admin who uses both and more than likely they will say Linux is great for small jobs but Solaris is king for anything else.
Oh and the article discussed a scarcity of third party apps. I found the opposite as most server ERP and database apps are on Solaris than Linux.
Parent
Re:From an experienced Admin's perspective (Score:5, Informative)
Solaris scales far better than any BSD or Linux distro out there.
Yeah, you know, the roadrunner team would like a word with you, as would pretty much everyone in the Top 500. For some business loads Solaris scales better. But the claim the "it scales far better" in general is as absurd as it is patently untrue.
Ask any *real* Unix admin who uses both and more than likely they will say Linux is great for small jobs but Solaris is king for anything else.
Ah, and no true scotsman^W UNIX admin would run a supercomputer, right?
Parent
Re:From an experienced Admin's perspective (Score:4, Informative)
Parent
Re:The syntax for ipconfig is different? (Score:5, Informative)
Parent