Solaris / OpenSolarisThis forum is for the discussion of Solaris, OpenSolaris, OpenIndiana, and illumos.
General Sun, SunOS and Sparc related questions also go here. Any Solaris fork or distribution is welcome.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
We are looking for a open source UNIX OS for implementation in our datacenter. Services such as DNS, FTP, SMTP, IMAP, HTTP would be run.
The obvious choices are FreeBSD and openSolaris. According to benchmarks and the size of communities, openSolaris is clearly ahead. So, which one would be the better choice? Or should I go for Solaris 10?
The most low-end servers in our datacenter are running on Intel Xeon with at least 2GB of RAM.
Last edited by the_gripmaster; 12-09-2008 at 06:46 AM.
Both would be perfect for that and Solaris is better on bigger iron. If you have more than one CPU or core, go for Solaris.
Solaris is slower on single-core/single-cpu boxes, so if you only have one CPU/one core, regardless of the speed, go for freebsd.
I use Solaris 10 as a workstation (AMD64) and FreeBSD as my ftp/nfs/smb server, on an old AMD Athlon. Before you go for OpenSolaris, make sure that the kit works well with it, if at all possible, get the hw from Sun.
I like Solaris for SMF, it is really coool and years ahead of anything similar I have seen! And last but not least, ZFS!!!!
We are looking for a open source UNIX OS for implementation in our datacenter. Services such as DNS, FTP, SMTP, IMAP, HTTP would be run.
The obvious choices are FreeBSD and openSolaris. According to benchmarks and the size of communities, openSolaris is clearly ahead. So, which one would be the better choice? Or should I go for Solaris 10?
The most low-end servers in our datacenter are running on Intel Xeon with at least 2GB of RAM.
Noth are good server OSes, on FreeBSD you would have great advantage of FreeBSD Ports, something that OpenSolaris will not have for longer time, current IPS repositories are a joke at most, if you add a blastwave repository to it, it starts to make sense.
On OpenSolaris you would have to learn SMF services management, very diffrent from standart /path/to/script start|stop|restart, especially when you have to write XML configuration for them, IMHO for services you mentioned FreeBSD would be better idea, while OpenSolaris would be better idea for virtualization other then OS level (FreeBSD Jails/OpenSolaris Containers/Zones) so for VirtualBox or Xen you would need OpenSolaris ... or NetBSD.
You don't have to create XML configurations for SMF ... thanks to inetconv. But stopping/restarting/status query is done differently, true. It is really so cool, that it is worth learning it!
Performance is better on Solaris, even the linked page states it ;-), but they do come close .... I guess a lot has happened in FreeBSD 7 ... I have used versions 4.2, 5 and 6 (6 very shortly, to be honest) ...
As for ports, there are certainly more for FreeBSD ... but the most useful ones I always use are also on sunfreeware ;-)
taste ...
I also assume FreeBSD has more hardware drivers than Solaris, but I am not so sure about that. So it might also depend on the hardware you plan to get or where you get it ...
Last edited by thecarpy; 12-10-2008 at 04:46 AM.
Reason: added also for sunfreeware
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789
Rep:
To the_gripmaster:
What OpenSolaris distribution are you targeting ? (OpenSolaris 2008.11, SolarisExpress, other ?)
Do you need commercial support ?
- - - -
I'm surprised about vermaden comments about SMF. SMF is a big improvement compared to the previous System rc script system and it is also, in my opinion, easier to learn and use.
Unless you develop your own services, there is no need to create XML files, and even that is not that complicate. For the casual administrator, there are just three commands to manage the whole thing (svcadm, svcs and inetadm). Services are restarted automatically, service dependency is handled gracefully.
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789
Rep:
If no formal support is needed, you do not need Solaris 10. OpenSolaris 2008.11 (which can be supported by the way) has some really cool unique features like the Nautilus time slider.
Other ones like Dtrace, Zones, ZFS (including ZFS boot), SMF (already discussed) can make the difference.
Disclaimer: I have not that much recent experience with FreeBSD while I have a lot with Solaris so my advice is probably biased. Moreover, unlike the linux kernel and its GPL constraints, BSDs ones can pick code from OpenSolaris (and vice versa) so both OSes can cross-pollinate to improve each other.
Distribution: Solaris 10, Solaris Express Community Edition
Posts: 547
Rep:
As jlliagre stated, SMF is pretty easy to learn for a novice and it can really ease your life. It certainly had been an ease for me, and I confess that XML makes more "nervous" than shell scripting, usually. When it came to writing my own service manifests (I had to do that plenty of times) I took inspiration from the SMF manifests that come with Solaris itself. Opensolaris.org, also, hosts a page dedicated to them which has been very useful to me in the past. The link should be this but the page seems to be down at the moment: http://www.opensolaris.org/os/community/smf/manifests/
To thecarpy: I don't think that inetconv is the swiss army knife for producing manifests. As far as I know, it's an utility which may help you transitioning classical inet-based services to SMF, but not every service (I would add only the smallest part) is inet based.
To vermaden: I mostly agree with you but I don't agree with your opinion about SMF. Moreover, the services that the poster wants to run on Solaris are good candidates for SMF in my opinion while you seem to state the contrary. It may be taste, but some of them are running on SMF out of the box.
I'm surprised about vermaden comments about SMF. SMF is a big improvement compared to the previous System rc script system and it is also, in my opinion, easier to learn and use.
Quote:
Originally Posted by jlliagre
Unless you develop your own services, there is no need to create XML files, and even that is not that complicate.
Did I said something wrong about SMF?
Its just other concept of handlig services (some services in solaris still use old RC scripts, is it so hard to rewrite them to SMF?), nice that SMF also makes sure that the service is really running, but writing XML configs without any generator is at least pain in th ass and not so much KISS way.
Quote:
Originally Posted by jlliagre
If no formal support is needed, you do not need Solaris 10. OpenSolaris 2008.11 (which can be supported by the way) has some really cool unique features like the Nautilus time slider.
Other ones like Dtrace, Zones, ZFS (including ZFS boot), SMF (already discussed) can make the difference.
Disclaimer: I have not that much recent experience with FreeBSD while I have a lot with Solaris so my advice is probably biased. Moreover, unlike the linux kernel and its GPL constraints, BSDs ones can pick code from OpenSolaris (and vice versa) so both OSes can cross-pollinate to improve each other.
DTrace, ZFS and Zones (FreeBSD Jails) are part of FreeBSD also.
Dtrace in 8-CURRENT, ZFS version 11? in 8-CURRENT, 7-STABLE and 7-RC1 if I recall correctly and FreeBSD Jails from FreeBSD 4.x propably
Quote:
Originally Posted by crisostomo_enrico
To vermaden: I mostly agree with you but I don't agree with your opinion about SMF. Moreover, the services that the poster wants to run on Solaris are good candidates for SMF in my opinion while you seem to state the contrary. It may be taste, but some of them are running on SMF out of the box.
What I said about SMF that you do not agree
SMF is ok, its just other concept for management, XML is not that big obstacle, but developers could use something more friendly here instead. I compare it to FreeBSD's RC scripts which are very good sollution with diversion into base system scripts (/etc/rc.d) and third party packages/ports (/usr/local/etc/rc.d), generaly this diversity is seen everywhere in FreeBSD system and allows easy cut packages from base system.
Scripts in runlevels (rc2.d ... ) with symlinks to /etc/init.d are pure mess of course, both FreeBSD's RC* and SMF are superior to this.
Distribution: Solaris 10, Solaris Express Community Edition
Posts: 547
Rep:
Hi Vermaden.
I was referring to the feeling I had reading your comment and, in fact, you sort of confirm that when you say:
Quote:
Its just other concept of handlig services (some services in solaris still use old RC scripts, is it so hard to rewrite them to SMF?), nice that SMF also makes sure that the service is really running, but writing XML configs without any generator is at least pain in th ass and not so much KISS way.
By the way, I agree that writing XML files at first seems an overhead and I feel more comfortable with shell scripts too. But after writing the first you discover it's not that hard and SMF advantages are worth writing some XMLs. Just that.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.