Zones are in Solaris Express (Solaris 10) 164
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."
Hmmm.... (Score:1, Interesting)
Re:Hmmm.... (Score:5, Insightful)
Re:Hmmm.... (Score:2, Informative)
Just install the kernel-uml rpm which is included with the standard installation media.
Re:Hmmm.... (Score:2, Insightful)
don't forget... (Score:5, Informative)
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)
Re:don't forget... (Score:2)
It's more like FreeBSD jail.
Re:don't forget... (Score:2, Informative)
Re:don't forget... (Score:2)
Re:Hmmm.... (Score:2, Informative)
I believe this is not too far from what you can achieve with user mode linux. We've been using similiar technology in unix classess 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, b
Re:Hmmm.... (Score:3, Informative)
You're right about not being as easy to setup, I suspect that Solaris has made it very easy to do - but this is speculation at this point.
Linux has such resource allocations. Checkout
Re:Hmmm.... (Score:2)
As for Karma, I don't know and don't care about it. It makes no difference to me.
Re:Hmmm.... (Score:4, Insightful)
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:Not Quite ! (Score:2, Informative)
> 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?
Very similar. You also get vps, vpstree, vtop, vkill, vdu utilities for management starting from security context 0 (hosting server, whic
Re:Not Quite ! (Score:2)
Yes. It's an official 2.6 feature.
Re:Hmmm.... (Score:5, Informative)
Re:Hmmm.... (Score:1, Interesting)
For instance, you can configure two partitions on Alpha, run an OpenVMS image on each of them and to even create a cluster on these two images. In this case if the first image fails for some reason, the secon
Re:Hmmm.... (Score:3, Informative)
Re:Hmmm.... (Score:2, Informative)
Or one can go [gmu.edu] (e.g.) to the original from IBM (first introduced in 1967).
Re:Hmmm.... (Score:4, Informative)
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.
Re:Hmmm.... (Score:3, Insightful)
Can this be used for honeypots? (Score:5, Interesting)
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)
You can find more info about it on linux-vserver.org [linux-vserver.org].
Re:Can this be used for honeypots? (Score:2)
*BLINK* Oranges are orange and Apache doesn't give me a pre-made web site...how is this a problem with the Linux kernel and vservers?
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:2, Informative)
Re:Can this be used for honeypots? (Score:5, Informative)
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:3, Interesting)
Re:Can this be used for honeypots? (Score:4, Informative)
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.
Re:Can this be used for honeypots? (Score:2)
Sun has gone to great lengths to make sure that a compromized zone does not imply compromize of other zones.
In fact, one of Suns examples is a Zone for each service, where the technician that explained to me explicitly said that if one of the Zones run a sendmail which is rooted, the others are unaffected because there are separate "root" accounts for each zone (and we're not just talking separare passwords but actual separate root:s).
They protect stuff like /dev/kmem, you can't access raw devices, and
Look up Argante (Score:5, Interesting)
Re:Look up Argante (Score:3, Insightful)
Question (Score:3, Interesting)
Re:Question (Score:1, Informative)
Re:Question (Score:3, Informative)
Re:Question (Score:3, Informative)
Linux equivalent is User-mode (Score:2)
Re:Question (Score:2)
With VMWare/Bochs, you are running multiple copies of the OS...one for each virtual machine, running under one master OS. With this zone method, it's basically the OS lying to it's programs about various things!
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.
FUD (Score:2, Informative)
Re:FUD (Score:2, Insightful)
Re:FUD (Score:4, Informative)
Re:FUD (Score:2)
Yeah, I don't even know why Sun ships that "Install CD", when the real install program is in CD1. The Install CD must be for the occasional sysadmin who needs a bib to protect his shirt from drool.
Re:FUD (OT) (Score:2)
I have the DVD-ROM version, you insensitive clod!
Actually, I have both CD and DVD media; I'd like to use the latter (no need to swap CDs in the middle of the installation), but I was foiled:
Re:Only if it works... (Score:2)
Just like Xen, in other words? (Score:4, Informative)
Jails vs. Zones (Score:2, Informative)
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:2)
Sure about that? All the zones share the same copy of Solaris, so how can you reboot one without rebooting all the others?
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.
Re:Jails vs. Zones (Score:2)
To add to the protection of chroot / "jails", the BSDs have the limit command to allow you to cap how much CPU and memory a process is al
Re:Jails vs. Zones (Score:2, Informative)
Re:Jails vs. Zones (Score:3, Informative)
But... does "rebooting" a zone fix issues? (Score:5, Interesting)
Re:But... does "rebooting" a zone fix issues? (Score:3, Informative)
This technology has already created a successful and useful market. I think we can only expect more.
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!"
Re:But... does "rebooting" a zone fix issues? (Score:2, Informative)
Re:But... does "rebooting" a zone fix issues? (Score:2, Funny)
This "rebooting" that you speak of...tell me more...it is forign to me.
Re:But... does "rebooting" a zone fix issues? (Score:2)
scripsit Spoing:
Hmm... What kernel version is that? And what's your IP?
Re:But... does "rebooting" a zone fix issues? (Score:2)
The neatest benefit (Score:5, Funny)
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
Re:Solaris Express (Score:2)
Interesting. That's not what Sun says, and I'm more inclined to believe them over you.
Software Express for Solaris home page [sun.com]The general program is Software Express, which is what you described. The specific program which gives access to a preview of Solaris 10 is called Solaris Express. So the article is using the right term.
linux-vserver/BSD jail (Score:5, Informative)
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)
Re:bah (Score:1)
Re:bah (Score:2)
It should be shameless.
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
Re:Sun says this isn't like a VM thing (Score:1)
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.
Nice addition to the existing domain capabilities (Score:5, Informative)
This will help with consolidation and utilisation on existing machines, I think.
Re:Nice addition to the existing domain capabiliti (Score:3, Informative)
With the mix of software 'zones' and Sun's hardware oriented dynamic system domains, you have something that's a lot more powerful than IBM's LPARs.
HP can do what I believe they call
Re:Nice addition to the existing domain capabiliti (Score:2)
AIX5.2 does require the allocation of an entire CPU, hard drive, and network adapter to each partition though, and this is the real problem - there's no hardware virtualisation.
The AIX5.3 update and the soon to be released Power5 hardware supports 10 partitions per CPU, and virtual disks and ethernet adapters.
Ewan
Questions (Score:2, Interesting)
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).
Is this like CHROOT in Linux? (Score:2)
Re:Is this like CHROOT in Linux? (Score:3, Informative)
Zones are full application environments with their own network addresses, their own filesystems, etc etc. They look to users and applications like separate machines, but their are acutally all running on a single Solaris kernel that ensures resource and security isolation between
Whoo hoo. (Score:2)
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)
Re:Sun Discovers LPARs... (Score:3, Informative)
FWIW: LPARs were introduced by IBM in 1987 (plus or minus a year), and it was imita
How is this similiar to user-mode Linux and jails? (Score:2)
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 promisin
Re:How is this similiar to user-mode Linux and jai (Score:2)
Any other recent operating system has proper memory and resource protection. The worst your assembly program will do is cause the operating system to terminate it.
The assembly language is not a gateway to rampant system destruction.
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
Re:UML honeypot? what does Fowler's book have here (Score:5, Informative)
You are refering to UML as Unified Modelling Language
Re:UML honeypot? what does Fowler's book have here (Score:2)
Thanks for the clarification. As an basic unix user I was having a hard time following these threads until I realised UML was not what I was thinking it was!
Re:UML honeypot? what does Fowler's book have here (Score:4, Funny)
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 po
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: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:Solaris Needs to Pay More Attention to Detail (Score:2)
Have you tried FreeBSD? Just curious.
Re:Solaris Needs to Pay More Attention to Detail (Score:2)
As for your problems with the Ultra 2, I've never experienced anything like that and I've installed Solaris 8 and 9 on all sorts of kit over the last couple of years. SunScreen is a nightmare to administer though, I have to agree.
Re:Solaris Needs to Pay More Attention to Detail (Score:2)
Re:Solaris Needs to Pay More Attention to Detail (Score:3, Interesting)
Re:So... (Score:2)
Re:Zones aren't going to help (Score:3, Informative)
Unlike LPARS or Sun Fire Domains this does NOT require any additional hardware for a Zone. You could hosts hundreds of Zones on a single CPU machine with a single disk and single network interface, you are limited only by what they do.