OpenSolaris From a Linux Admin and User Perspective
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."
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.
MP3 Search Engine
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.
http://blindscribblings.com - Tasty pop-culture in conceptual fashion.
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.
Sometimes the best solution is to stop wasting time looking for an easy solution.
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
ZFS kicks ass. Sun really raised the bar with it. There are some other FSs in development (Hammer, btrfs, etc), but they don't have the full integration that ZFS does. Maybe eventually, someone will write a patch so ZFS is just a patch and recompile away in Linux (although that approach is what made minix suck back in the day). Heh, minix will probably have ZFS support before Linux does.
Do you even lift?
These aren't the 'roids you're looking for.
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.
Who is general failure, and why is he reading my hard drive?
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.
This is a boring sig
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.
http://saveie6.com/
Excerpts from the article:
"... 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."
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.
GCHQ Quantum Insert installed. If only our tongues were made of glass, how much more careful we would be when we speak
Trying to harden Solaris is a nightmare. Mostly because so many packages in the Solaris install are interdependent. It is either install 90% of the packages or install nothing. Why do they even bother breaking the software packages if this is the end result? Getting rid of RPC can create so many problems it isn't even funny. Both BSD and Linux offer the option of only installing the base package and only choose the services you want with little to no other packages to depend on. This however absolutely cannot be the case for solaris because a single needed software package will require you to install nearly all services.
Where is the "Ignorant" mod tag?
It doesn't matter how many drivers any given kernel supports. All that matters is if it has drivers for the hardware you want to run it on. If you're buying a server then you will typically buy one which comes with support for the OS you want to run and so you won't encounter driver difficulties (although you might pay a bit more).
I am TheRaven on Soylent News
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?
SJW n. One who posts facts.
One of our Linux servers regularly copes with a load in excess of 100. Things slow down, but nothing breaks.
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"...
Who is general failure, and why is he reading my hard drive?
... between Solaris and Linux in the Enterprise is how they react to abuse - namely stupid people running ton of stupid memory hog applications.
Where I work we have Solaris 9 and 10 boxes running literally unattended for 600+ days - they are shared boxes, meaning lot many different applications run on the same OS/FS/Memory/CPUs .
When a particular app goes haywire and starts (many of them are 64-bit apps) - that particular app just gets a NULL back when there is no longer any memory available. The app can hopefully then calm itself down or release some of its caches etc. but the main point is that the other apps are unaffected and so is the OS.
I would not even begin to think how Linux could handle this. It has this insane notion of handing out virtually any amount of memory to applications whether or not there is actually that much memory and swap available. So when things get out of control the ugly and stupid OOM killer thinks it knows better which app to kill - depending on your luck you could end up with sshd or some other good behaving app being killed to give memory to this bad app.
That is scary. Arguably this is all fixable within the applications but ground reality is that App developers are incompetent - at least where I work, they are.
Plus the newer Solaris releases are close to Linux when it comes to performance. So the only incentive to run Linux is hardware support - if you are on non SPARC hardware that is.
Linux hopefully some day will have a good memory management subsystem soon - less fragmentation, more predictability, good accounting etc. But till that time Solaris for the stupid "Enterprise" .
Actually, Solaris doesn't use the BSD TCP stack. They completey replaced the stack in Solaris 10.
Couple points:
"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.
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.
"When the president does it, that means it's not illegal." - Richard M. Nixon
One of our Linux servers regularly copes with a load in excess of 100. Things slow down, but nothing breaks.
Be careful with comparisons like these.
Linux lumps disk I/O into the load average, whereas most "other" Unixes don't. I've seen a Linux box with a load of 300+ and idle CPU, and a Sun with a load of 2 that was near unusable because the disks were being thrashed to death.
Comparing the two can be unfair to either side depending on the context. It's apples and laundry detergent.
Brandon Hume
hume -> BOFH.Halifax.NS.Ca, http://WWW.BOFH.Halifax.NS.Ca/
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.
- oZ
// i am here.