Solaris Express 02/04 is now available with exciting new features: partitioning a single Solaris instance into isolated application environments called “zones.” It’s a project similar to Linux Virtual Server (LVS).
Solaris 10 Zones Appear on Solaris Express 02/04
About The Author
Eugenia Loli
Ex-programmer, ex-editor in chief at OSNews.com, now a visual artist/filmmaker.
Follow me on Twitter @EugeniaLoli
21 Comments
Linux VServer http://www.linux-vserver.org/ and Linux Virtual Server http://www.linuxvirtualserver.org/ are two different projects. Linux VServer is similar to Solaris zones.
Actually, the confusion could have been avoided entirely if the comparison had been made to FreeBSD jails, since those have been around for quite a while and provided the inspiration for Solaris zones.
Hi every one
I try downloading the solaris 10 install cd in zip format from sun website and have try it both with sun downloader and under IE 6 and i keep getting a damaged zip file. Has any one had same issue or know why this may be happioning?
I don’t know about most, but the only reason I even have heard of FreeBSD ‘jail’ is through their changelogs once when I decided to try out FreeBSD. Most have no reason to know what a jail on FreeBSD is, even if it did provide the inspiration for Solaris ‘zones’.
While I don’t doubt its simularities to jail, and while I don’t knock FreeBSD, hardly anyone cares/knows about it’s intracies…
One day, if Solaris every becomes a viable platform in terms of local usage, I might consider trying it again. As soon as I have reason to believe the ‘Slowaris’ label is no longer valid, I will give it another shot… Untill then, I think I will stick to my shinny Linux install
> Most have no reason to know what a jail on FreeBSD
Even less (or as many) know what LVS is…
I do love Solaris as a server OS, and the new Zones thing seems to be very interesting. I plan on using it to put away some old server (Ultra 1, Ultra 2, Sparc Station 10/20, etc). Still… I don’t see Solaris as a desktop OS yet (if ever). I ordered my JDS Evaluation CD and see if I can change my mind… so far… Linux is much more valuable on the desktop!
See ya!
Martin –
You cannot run Solaris 10 on (from your list): SS 10/20 or even ultra 1. The support is limited to sun4u only. One of the other things they are dropping support (down the road) is sbus. However, I have an e4500 and it’s supported until 2007, so I doubt it’ll go away that fast.
-Bruno
RE: Gabriel- Yeah, but it has ‘Linux’ in its name, so it automatically gets attention
RE: Martin- You do realize JDS is Linux (more specifically SUSE LINUX) right?
> You cannot run Solaris 10 on (from your list): SS 10/20 or even ultra 1.
This is not entirely correct, Ultra 1 is sun4u and will be supported for Solaris 10.
> I don’t see Solaris as a desktop OS yet (if ever).
Solaris is absolutely no worse for desktop than Linux or BSD for that matter if hardware is not bothering you, since almost 100% of all software for Linux/BSD is available is available for Solaris. I’m using Solaris for 100% of the tasks I do at work and at home.Thankfully StarOffice 7 has taken away the pain of resorting to Windows to do certain things.
> This is not entirely correct, Ultra 1 is sun4u and will
> be supported for Solaris 10.
Nope…it aint. See:
http://wwws.sun.com/software/solaris/solaris-express/supported_plat…
Also check comp.unix.solaris / announce / hardware for details
Bruno
>> This is not entirely correct, Ultra 1 is sun4u and will
>> be supported for Solaris 10.
>Nope…it aint. See:
>http://wwws.sun.com/software/solaris/solaris-express/supported_plat…..
Actually it is a sun4u system its not supported apparently because of the speed of the cpu, > 200Mhz
> Actually it is a sun4u system its not supported apparently because of the speed of the cpu, > 200Mhz
Last in the series Ultra 1 model 200E had a 200Mhz CPU, so might be in the range of possibility that Ultra 1 can indeed work with Solaris 10.
For anyone trying to install Solaris Express and using an Ultra 1 or 2 with UltraSparc I CPU’s don’t bother, the install will fail. Sun should be a little more specific with the minimum CPU recommendation.
As I was installing Solaris Express 9/03 I received warnings that UltraSparc I CPU’s would not be supported in future releases. Sure enough the 10/03 release would not support an UltraSparc I, which is why I sold my Ultra I and upgraded the CPU’s on my Ultra 2 to 300 MHz.
Solaris Express is now Single UNIX Specification, Version 3 compliant: http://www.unix-systems.org/version3/ ; also, it is called “Solaris Zones Partitioning Technology”, which is similar to what can be done on a mainframe. Turn a big iron into a bunch of small ones thus allowing you to allocate a specific amount of resources to a certain department, everything from CPU time to memory, hard disk, etc etc. Here is a repost of what is on the Solaris Intel Mailing list couticy of John Becks, one of the Zones gurus at SUN:
——– Original Message ——–
Subject: Introducing Solaris Zones
Date: Wed, 25 Feb 2004 22:23:34 +0000 (UTC)
From: John Beck <[email protected]>
Organization: Sun.Software.Solaris
Newsgroups: comp.unix.solaris
Hello world,
Solaris Express 02/04 is now available, and this post is to announce
one of the exciting new features, a means of partitioning a single
Solaris instance into isolated application environments called “zones.”
(Note that Zones and Resource Management are related subsets of “N1
Grid Containers”; N1GC = S10RM + Zones.) Each zone can be separately
administered and each zone can run an independent set of applications.
Zones allow one or more processes to run in isolation from other
activity on the system. Processes running in a given zone cannot
monitor or affect processes running in other zones. For example, a
process running in a zone will only be able to send signals to other
processes in the same zone, regardless of user id and other credential
information. Likewise, processes in zones will be unable to control
global aspects of the system configuration such as run level, most
physical devices, and network routing tables. (The exception is the
global zone, which is discussed under Security, below.)
Features:
* Security
Network services can be run in a zone, limiting the potential damage
in the event of a security violation. No process running within a
zone, even one with superuser credentials, is allowed to affect
activity in other zones. Certain activities, such as rebooting or
shutting down the system as a whole, will only be permitted in the
global zone. An administrator logged into the global zone can
monitor the activity of applications running in other zones and
control the system as a whole. The global, or default, zone will
always exist.
* Isolation
Zones allow the deployment of multiple applications on the same
machine, even if the applications operate in different trust domains,
require exclusive use of a global resource, or present difficulties
with global configurations. Individual zones can have their own set
of users and their own root password and when rebooted, any other
zones running on the system are unaffected.
* Virtualization
Zones provide a virtualized environment that can hide details such
as physical devices and the system’s primary IP address and host
name from the application. This can be useful in supporting rapid
deployment and redeployment of applications since the same environment
can be maintained on different physical machines.
* Granularity
Zones can provide isolation at almost arbitrary granularity. A
zone does not require a dedicated CPU, physical device, or chunk of
physical memory. These resources can either be multiplexed across
a number of zones running within a single system, or allocated on a
per-zone basis using resource management features available in the
operating system.
* Transparency
Zones avoid changing the environment in which applications execute
except when necessary to achieve the goals of security and isolation.
Zones do not present a new API or ABI to which applications must
be ported. Instead, they provide the standard Solaris interfaces
and application environment, with some restrictions that affect
applications attempting to perform privileged operations.
Here is a sample session of a configuring, installing and booting a
zone; note that the zlogin command in the second window is run between
commands 7 and 8 in the first window.
—– cut here: start first window —–
[root:1] zoneadm list -cv
ID NAME STATUS PATH
0 global running /
[root:2] zonecfg -z luke
luke: No such zone configured
Use ‘create’ to begin configuring a new zone.
zonecfg:luke> create
zonecfg:luke> set zonepath=/export/home/luke
zonecfg:luke> set autoboot=true
zonecfg:luke> add inherit-pkg-dir
zonecfg:luke:inherit-pkg-dir> set dir=/opt
zonecfg:luke:inherit-pkg-dir> end
zonecfg:luke> add net
zonecfg:luke:net> set address=129.146.86.66/24
zonecfg:luke:net> set physical=eri0
zonecfg:luke:net> end
zonecfg:luke> verify
zonecfg:luke> commit
zonecfg:luke> ^D
[root:3] zoneadm list -cv
ID NAME STATUS PATH
0 global running /
– luke configured /export/home/luke
[root:4] zoneadm -z luke install
Preparing to install zone <luke>.
Creating list of files to copy from the global zone.
Copying <2203> files to the zone.
Initializing zone product registry.
Determining zone package initialization order.
Preparing to initialize <905> packages on the zone.
Initialized <905> packages on zone.
Successfully initialized zone <luke>.
[root:5] zoneadm list -cv
ID NAME STATUS PATH
0 global running /
– luke installed /export/home/luke
[root:6] cat /usr/local/etc/luke.sysidcfg
system_locale=C
terminal=xterm
network_interface=primary {
hostname=luke
}
security_policy=NONE
name_service=NIS {
domain_name=sunsoft.eng.sun.com
}
timezone=US/Pacific
root_password=4bw/KFH3xRPUE
[root:7] cp /usr/local/etc/luke.sysidcfg /export/home/luke/root/etc/sysidcfg
[root:8] zoneadm -z luke boot
[root:9] zoneadm list -cv
ID NAME STATUS PATH
0 global running /
1 luke running /export/home/luke
[root:10]
—– cut here: end first window —–
—– cut here: start second window —–
[root:1] zlogin -C luke
[Connected to zone ‘luke’ console]
[NOTICE: zone booting up]
SunOS Release 5.10 Version s10_51 64-bit
Copyright 1983-2004 Sun Microsystems, Inc. All rights reserved.
Use is subject to license terms.
Hostname: luke
The system is coming up. Please wait.
starting rpc services: rpcbind keyserv ypbind done.
rebooting system due to change(s) in /etc/default/init
[NOTICE: zone rebooting]
SunOS Release 5.10 Version s10_51 64-bit
Copyright 1983-2004 Sun Microsystems, Inc. All rights reserved.
Use is subject to license terms.
Hostname: luke
The system is coming up. Please wait.
NIS domain name is sunsoft.eng.sun.com
starting rpc services: rpcbind keyserv ypbind done.
syslog service starting.
/etc/mail/aliases: 12 aliases, longest 10 bytes, 138 bytes total
Creating new rsa public/private host key pair
Creating new dsa public/private host key pair
The system is ready.
luke console login:
—– cut here: end second window —–
We encourage you to check out the AnswerBook at BigAdmin:
http://www.sun.com/bigadmin/content/zones
Or better yet, go to:
http://wwws.sun.com/software/solaris/solaris-express/get.html
There you can download Solaris Express 02/04 and try Zones yourself!
Enjoy,
— John Beck and the rest of the Zones team
“I don’t know about most, but the only reason I even have heard of FreeBSD ‘jail’ is through their changelogs once when I decided to try out FreeBSD. Most have no reason to know what a jail on FreeBSD is, even if it did provide the inspiration for Solaris ‘zones’.”
I haven’t really played around with jails too much but I think they are very useful for web hosting, where one machine is used to host many sites. It gives each person a virtual system so that they can’t screw someone elses website. On the otherhand, I think the idea of zones is much more useful for Solaris since you can get one really large machine and host thousands of websites on it. Once FreeBSD 5 hits stable, look for more companies taking advantage of its jails.
“While I don’t doubt its simularities to jail, and while I don’t knock FreeBSD, hardly anyone cares/knows about it’s intracies…”
That is not true. FreeBSD is actually a very innovative OS. Because of it’s maturity and it’s license, many people use it to develop a technology in the hopes of going private in the future. Compare the implementation of ipsec, acl, and jails to other OS. FreeBSD does them right, and other people then copy these ideas to their os.
“One day, if Solaris every becomes a viable platform in terms of local usage, I might consider trying it again. As soon as I have reason to believe the ‘Slowaris’ label is no longer valid, I will give it another shot… Untill then, I think I will stick to my shinny Linux install ”
Personally speaking, I don’t think Slowaris applies to x86 any longer. Somewhere between Solaris 9 x86 3-03 and Solaris 9 x86 12-03, Sun fixed it. Whereas I was getting horrible disk thrashing, slow boots, poor performance on all releases before 3-03, when I did a clean install of 12-03, it turned out to be a very stable, fast OS. I guess Sun finally did get serious about x86 and started fixing the kernel.
> Zones sounds like User Mode Linux. Is it w/o the performance loss?
Yes — unlike UML, Zones don’t need to emulate a whole operating system layer, and there is typically only a small performance slowdown, due to things like loopback mounts, etc.
Actually, zones looks like the inverse of LVS. LVS takes alot of servers and makes it look like a single server; zones takes one server and makes it look like many. Hmm… maybe if I layer one on top of the other…
LVS is a load balancing project, similiar to Cisco’s LocalDirector of F5’s BIG-IP. http://www.linuxvirtualserver.org“