Slashdot Log In
Zones are in Solaris Express (Solaris 10)
Posted by
CmdrTaco
on Tue Mar 02, 2004 08:54 AM
from the i-want-my-processes-in-the-danger-zone dept.
from the i-want-my-processes-in-the-danger-zone dept.
snoofy writes "Zones, as people from SUN Microsystems have talked about for some time are now available in solaris express (the pre-release of Solaris 10). This will let you virtualize Solaris so that processes run in isolation from other activity on the system... A system can then be configured to run several zones which will make it look like different systems on the network
Some info from a posting to comp.unix.solaris. The cool stuff is that it works on both SPARC and x86."
This discussion has been archived.
No new comments can be posted.
Zones are in Solaris Express (Solaris 10)
|
Log In/Create an Account
| Top
| 164 comments
| Search Discussion
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.

Hmmm.... (Score:1, Interesting)
Re:Hmmm.... (Score:5, Insightful)
(http://eric.windisch.us/)
don't forget... (Score:5, Informative)
(http://simeonband.org/)
There are already a ton of viable OS virtualizers out there. This news is seriously a real yawner.
Re:don't forget... (Score:5, Informative)
(http://www.diginode.net/)
Re:Hmmm.... (Score:4, Insightful)
(http://slashdot.org/~Jotaigna/journal/126384 | Last Journal: Thursday January 12 2006, @07:21PM)
If we want to make OS software more succesful in the market, we have to come up with marketing schemes for it, they can be as important as good coding.
Not Quite ! (Score:5, Informative)
>the features Compaq/Hp have been shipping with
> their Tru64 Alpha Servers for _years_.
First I watched this movie, your comparsion is unfair; HP/Compaq/DEC partitions are more like Sun domains, i.e implemented in hardware. Domains have been around since say 1996 when E10K was introduced.
> Sorry people, but sun are pushing 20th century
> technology with some marketing spin to make it
> sound up to date.
While Solaris zones are similar to UML or other virtual OS instance technologies there are some innovative features which would be really useful say on multiprocessor Opteron that you want to consolidate some applications on:
1) Support: I can expect to run Oracle/websphere,
etc in this zone without having to say oh and this is UML (which I have seen many times on mailling lists) (I mean applications support the fact that a OS vendor is behind this is good news as well)
2) Integration with Global Zone. From the global zone you can control each zone and watch and cap resources within a zone. This means modications to ps/prstat(solaris's top) and other core OS utilities. How hard would this be under Linux? Is the UML patch even accepted by Linus yet?
3) Inteface bindings - can bind zone to specific NIC.
4) Greenline - init.d replacement becomes service aware and can stop/start zones at boot and monitor services within a zone.
5) Dtrace - the greatest thing even, dynamic tracing of the kernel. Fully integrated with Solaris Zones.
Re:Hmmm.... (Score:5, Informative)
(http://keithkris.com/ | Last Journal: Wednesday November 26 2003, @11:47AM)
Re:Hmmm.... (Score:4, Informative)
(Last Journal: Tuesday December 13 2005, @02:25PM)
Re:Hmmm.... (Score:5, Informative)
This is quite similar to vPar's in HP/UX (forgive me but I stopped paying attention to HP's ugly stepchildren Alpha & Tru64 a long time ago, it's too bad 'cause it was a great chip but its moribund, you would be wise to do the same pretty soon).
Hard partitions, like Sun Domains, HP's nPARs and IBM's LPARs slice up a physical machine and run an OS image on each slice. As far as I can tell here there is still just one OS image but applications running in these Zones can be isolated from each other. A malicous root user in the global zone is still able to make mischief in the zones if they want to.
The nice thing here unlike on HP is that you can slice up a uniprocessor machine if you have many tiny workloads that need to be isolated. IBM will too be able to do this soon with the next crank of their LPAR technology but a better implmentation with no issues with a global root user.
Can this be used for honeypots? (Score:5, Interesting)
(http://kylem.xwell.org/)
Re:Can this be used for honeypots? (Score:5, Insightful)
Most compromises break/modify some kernel/core components to achieve the compromise. If a honeypot/net were run using this configuration then, it seems, that once the honeypot/net were compromised, then the WHOLE system (read: the part you wanted to keep safe) would be compromised.
Technology, like VMWare, uses a completely virtualized OS from a seperate installation and running instance of its kernel/core files. A compromise on a VMWare honeypot is much easier to recover from using the Snapshot/Revert features.
Then again, I may not completely understand the technology.
Re:Can this be used for honeypots? (Score:5, Informative)
(http://virt.kernelnewbies.org/)
You can find more info about it on linux-vserver.org [linux-vserver.org].
Re:Can this be used for honeypots? (Score:4, Informative)
Re:Can this be used for honeypots? (Score:4, Informative)
Zones can't load kernel modules (except indirectly as protocol modules (eg telmod, rlmod), Zones can't (by default) access any raw devices and can't add new network interfaces by themselves.
Re:Can this be used for honeypots? (Score:5, Informative)
(http://www.tftpanel.hu/ | Last Journal: Monday June 13 2005, @06:22AM)
Almost everything written under "Features:" can be also said about jails: Security, Isolation, Virtualization, Granularity, Transparency. For instance, you can put one single binary in a jail (if it works) or you can put there an entire system. Or, if you want to run a service in a jail (isolation, security), you can build the entire system with make buildworld targetting a jail,and you can optimize that system for running a single service, by stripping out most parts in make.conf:
Jailed processes/systems are so isolated, that even if you root one jailed system, you won't have access to the others/host system (unless admin was stupid enough to have the same passwords). Jails have their own ip addresses and firewall rules as well. I guess (if I read this correctly) we can say there is nothing new under the Sun
Re:Can this be used for honeypots? (Score:4, Informative)
(http://www.bofh.halifax.ns.ca/)
A Solaris zone can be rebooted independant of the other zones on the machine; it can have resources added or removed from the zone (CPUs, for example) dynamically, etc.
I'm still installing my copy of SolExp, so I haven't played with the feature just yet. But it looks to be located somewhere between FreeBSD jails and a completely emulated machine like VMWare.
Look up Argante (Score:5, Interesting)
(http://sharpy.xox.pl/ | Last Journal: Wednesday September 14 2005, @02:12PM)
Question (Score:3, Interesting)
Only if it works... (Score:5, Interesting)
I've always been surprised how Linux installers can easily support the large variety of OEM Network cards available, and yet Sun can't make an installer that recognises their own hardware.
Re:FUD (Score:4, Informative)
Just like Xen, in other words? (Score:4, Informative)
Jails vs. Zones (Score:2, Informative)
(Last Journal: Thursday December 11 2003, @11:03AM)
Can anyone more knowledgeable comment on whether they use similar kinds of calls to set up a zone as opposed to a jail?
Re:Jails vs. Zones (Score:5, Informative)
Re:Jails vs. Zones (Score:5, Informative)
The zones routines, just re-read the zone config and re-initialise it. From the outside it can appear as an OS, but from another perspective (and this is gross over simplification but works for this point) it's just like loading an instance of an application.
But... does "rebooting" a zone fix issues? (Score:5, Interesting)
(http://www.devinmoore.com/ | Last Journal: Thursday May 24 2007, @06:16AM)
Re:But... does "rebooting" a zone fix issues? (Score:5, Interesting)
Yes there are other platforms that have similar features (AIX LPAR and DLPAR, HP-UX VPAR, Solaris Dynamic Domains). The problems are (1) you have to be using recent versions of the OS for the software virtualization (AIX 5L 5.2, HP-UX 11 and 11i) or (2) have the specific hardware necessary to use the hardware virtualization (AIX, HP-UX, and Solaris). And this hardware is costly (minimum cost for a Sun Sun Fire midrange to support dynamic domains is $100,000.00).
The other reason could be that management (particularly in DoD) won't allow the use of hardware or software virtualization despite the benefits. Management could see this as a "toy" rather than a feature. Of all the documentation I have read concerning DoD, implementation, security, etc., I have never read anything about setting up or using virtualization. Not to say that some DoD activities aren't using it, but they are not well "advertised". The last Navy project I worked on we tried to deploy an Open Source monitoring solution and was basically told "we will not the first in doing anything!"
The neatest benefit (Score:5, Funny)
(http://theblathering.com/ | Last Journal: Friday October 24 2003, @03:19PM)
What does that make man-to-man? P2P?
Solaris Express (Score:5, Informative)
Solaris Express is a program that they are using to give people early access to sun software. Solaris 10 is not solaris express
linux-vserver/BSD jail (Score:5, Informative)
(http://www.diginode.net/)
Linux-vserver is a great project. We have been running different services under differnt "virtual" servers for a while and its performance is stellar.
looking at the bootup of his system.... (Score:1, Interesting)
NIS+ or LDAP, folks....
bah (Score:4, Funny)
(http://slashdot.org/)
Sun says this isn't like a VM thing (Score:5, Informative)
It sounds to me more like a Java Servlet container model than a VM. There's even a "global zone" that can see all the others.
Here's [sun.com] a post about it.
Here's [sun.com] Sun's page on it
Jacques Gelinas' VServer (Score:5, Informative)
Xen, on the other hand is a much "heavier" approach, similar to VMWare, which virtualises the hardware, and emulates certain peripherals.
BSD Jails (Score:1, Informative)
(http://maitas.blogspot.com/)
Nice addition to the existing domain capabilities (Score:5, Informative)
This will help with consolidation and utilisation on existing machines, I think.
Details (Score:1, Redundant)
I believe this is not too far from what you can achieve with user mode linux. We've been using similiar technology in unix classes at school using uml.
There are however few differences:
1.) Solaris accesses host filesystem, while in user mode linux, you have to provide file or block device with disk image it will use. This is quite bad, because you have to preallocate space for zones. There is a project that aims to allow this, but I don't know how usable is this. You could of course overcome this by doing Root FS on NFS and dhcp and letting the guest os mount host's partition via NFS. This would probably have quite significant performance overhead though :(. Filesystem in filesystem is not very optimal too.
2.) It is not that easy to setup. This could be done with few scripts. I would love Debian and possibly other distros to have scripts, which would instantly create the zone's filesystem. Preferably, it would allow for some sharing (f.e. creating hard links to original data and kernel would unlink, copy transparently if slave wants to write -- some equivalent of copy on write seen in memory management).
3.) The networking is not so easy to setup. Could be also part of the script
4.) Linux does not have so well done resource allocation as Solaris. So the guest kernel should be able to limit itself (f.e. not to use more than 30% of cpu time). Is it possible to do some precise resource allocation under Linux (maybe using some patch to kernel, or something like that?)
Questions (Score:2, Interesting)
(http://www.readingfordummies.com/blog/ | Last Journal: Thursday November 21 2002, @05:10PM)
VMs are bad, if only because the I/O performance takes an obvious hit. Any attacker worth his/her salt would be able to tell that they're logged into a VM with a little experimentation...so this thing's use as an effective honeypot is pretty much (against a smart attacker).
Solaris Needs to Pay More Attention to Detail (Score:1, Troll)
(Last Journal: Tuesday October 16, @02:57AM)
For grins, I popped out the extra processor, and loaded, configured and deployed OpenBSD in all of three hours, NAT and Apache and DJBDNS and all.
I tried an earlier build of Solaris 10, and it didn't go at all well. I'll try this one (which purportedly has a Sun-comissioned version of IPfilter), and if I can't get it to do what I want in an afternoon, I'll slap SuSe on it instead. Or Gentoo... Gentoo might be fun, even if does take forever to compile.
SoupIsGood Food
Zones aren't going to help (Score:1)
Sun needs to lower the prices of sparc systems so that a 400mhz sparc doesn't cost $1000 in the year 2004. If it wasn't for Ebay sun would have disappeared in more places than just datacenters.
Is this like CHROOT in Linux? (Score:2)
Whoo hoo. (Score:2)
Sounds like IBM's venerable VM (Score:1)
(http://www.users.qwest.net/~intertwingled)
Solaris is for real users (Score:5, Insightful)
Zones fix some really important, real world problems. The main problem that it will solve for organizations is migration of apps from development to production boxes.
In Real Life (and in the well run organizations) there's a separation between dev, production, and sometimes test. There are a number of implications for this, the main one being this: there are usually two sets of hardware (or three, if there's a separate test area).
Now with a few moments of thought, you can see the problem. By moving the software from place to place you introduce changes. Change is bad, because change causes software to break. How many times have you had problems with your apps because you forgot to change some config file, or a machine name, or whatever?
With zones you don't need to change the machine to change the machine. You just copy your zone from one machine to another. Ta-da! You have no problem with changes impacting your app. If the app worked in test, it'll work in production. Do you need to mirror production in a test environment? Just create a bunch of zones and do it. You don't have to change the IP addresses or anything.
Need to migrate your app to a bigger box? Heck, just move your zone. No need to reinstall your app, synchronize and adjust all the configs, and repoint everyone and everything to the new box. Move it from that ultra 5 in the basement to the big cat in the data center.
I suppose you'll be able to auto-migrate zones between machines in later releases, in a form of cross data-center load balancing. Hey, that E450 is unused, let's move the web server there on the fly.
Just another step on the road to virtualization...
Sun Discovers LPARs... (Score:4, Funny)
(http://www.ancar.org/)
not a big deal as Virtuozzo is several years old (Score:1)
How is this similiar to user-mode Linux and jails? (Score:2)
(http://www.livejournal.com/users/sinistertim101 | Last Journal: Saturday March 24 2007, @12:32PM)
I am curious if I could write some assembly level programs in a virtual state or isolated area that will be bullet proof. As you all know you can screw up and freeze your system if you make a mistake in assembly.
I would love a way to write assembly level programs for computer science virtualized so if it freezes it wont take down the whole system.
I multitask alot and use FreeBSD which unfortunatly does not have a journaling filesystem.
User mode Linux seems promising and I was wondering if Solaris Zones or BSD jails had this type of functionality? They seem great for security but if there were VMware like would be a plus for development work as well.
Sun is still toast (Score:1, Funny)
Virtual routers anyone? (Score:2, Interesting)
It would be interesting to virtualize the machine down to the IP level. You could run separate instances of routed (or whatever) in each virtualized machine's space, then have a router cloud-in-a-box. Now you can play games like changing the data or error rate on certain links, bring routers up or down, etc.
Yes, I know you could use NISTnet [slashdot.org] but this would allow you to do other things. Besides, with a virtualized machine you get (?) more assurance that things are correct down to the Nth level.
I tried running four instances of UML on a 2400XP+ machine and it's usable, though not necessarily for 100Mb/s traffic. Doesn't give you much in the way of network depth though. Tried four instances of VMware+NetBSD on a P-III/500 and it's painful. Am currently struggling with Xen now, but I'm ready to try a userland VM instead.
zones allow s/w to failover onto another zone (Score:1)
linux zones (Score:1)
Re:UML honeypot? what does Fowler's book have here (Score:5, Informative)
(http://www.odi.ch/)
You are refering to UML as Unified Modelling Language
Re:in comparison? (Score:3, Insightful)
If your LinBSD chroot experiment screws up, you can get told to RTFM by the resident "expert" on your favourite mailing list. If your Sun box goes tits up, Mr. Sun engineer comes round and fixes it for you before you've finished typing the mail.
I'm not saying one method is better than the other for all people, but when you're betting a zillion pounds an hour on it working, it's nice to have backup :)
Re:in comparison? (Score:4, Informative)
no need to exaggerate here.
the differences between jails and zones should be quite clear, but I can see how someone not having a Sun engineer on the clock to explain it to them might not get it.
zones should be used for a completely different purpose than jails. chrooted 'jails' are for restricting the runtime and filesystems environments for a particular process. in most cases, chrooted jails have nothing but the bare minimum libs and binaries, but it spawned from the original kernel which the parent machines runs.
zones are more like vmware in the way that it is a self-contained runtime environment that has its own protected memory space and kernel...these can then be restricted and allowed for full destruction, since the parent OS is not ifluenced in the same way as a chrooted jail.
in my opinion, Sun's support has never been worse or better than SGI's, HP's or DEC's...and that is still true today. the guy asked a question about the differences between jails and zones, not which is better from a support standpoint. it's a digression, and somewhat of a trolling one at that.
Re:UML honeypot? what does Fowler's book have here (Score:4, Funny)
(Last Journal: Tuesday December 13 2005, @02:25PM)
Re:Partitions arent new... (Score:2)
The point is "It's available to Solaris users"!
It doesn't matter whether VMWare, User-Mode Linux, SGI, HP, Digital or whoever came up with this. The point is it's available in SOLARIS NOW! (well soon)
Re:um, freebsd jails (Score:1, Offtopic)
Re:So... (Score:2)
(Last Journal: Wednesday November 17 2004, @05:03PM)