Visit Our UNIX and Linux User Community

Solaris Zones

Thread Tools Search this Thread
Operating Systems Solaris Solaris Zones
# 1  
Old 04-07-2009
Java Solaris Zones

Hi Every,

I would like to know some questions on Zones???

1.what are types of zones we can install in global zone???
2.Exact difference between sparce root and whole root???
3.can we change the ip address of a running zone??? to find our in which zone we are running and how many zones are running to list the zones that already exist in a system??

Thanks in advance.
# 2  
Old 04-08-2009
please read the zone documentation from sun. all questions are answered there. get the docs at:

System Administration Guide: Solaris Containers-Resource Management and Solaris Zones - Sun Microsystems
# 3  
Old 04-08-2009
1.what are types of zones we can install in global zone???

There are two type of zone which can be installed into the global zone and they are whole root zone and sparse root zone
2.Exact difference between sparce root and whole root???

In case of sparse root zone there are limited file system which are installed apart from that there are other which are inherited from global zone where in you do not have write access. In case of whole zone it do not share solaris file system with global zone. Means all the OS file systems are local in case of whole root.

In case of sparce zone the non –global zone share the file system with global zone. Only the basic file systems which are required is installed in the non global zone and rest file system is shared form global zone
3.can we change the ip address of a running zone???

If you want to assign a new ip to any interface you have to take it down. to find our in which zone we are running and how many zones are running

You will only able to list the entire zone from global zone. To find which zone you are , you can use hostname. to list the zones that already exist in a system??
# zoneadm list –cv ( from global zone )

Last edited by kumarmani; 04-08-2009 at 11:06 AM..
# 4  
Old 04-08-2009
Thanks a lot kumar
# 5  
Old 04-09-2009
I'm not supporting people doing other people's homework especially when no sign of personal effort is shown.

Moreover, Kumarmani's answers are partially incomplete/incorrect,

1: There are different types of whole root zones.
2: You can have read-only filesystems on whole root zones too. Sparse zones specificity is more about packages handling.
3: The answer is both off topic and incorrect
4: Partly incorrect, hostname doesn't tell you in which zone you are.
5: Correct.
# 6  
Old 04-09-2009
Hi jlliagre , I never thought this I am doing some ones home work. Also I am going through this topics so my idea was to get validate my understanding on given questions.

Can you please help on 3 and 4th question?
# 7  
Old 04-09-2009
No problem.

You can change any of the IP addresses of a running zone from the global one without taking it down or whatever. This is certainly not recommended as it would break ongoing TCP/IP communication from/to that zone using that IP address and might confuse the zone too.

The command "zonename", not "hostname" will tell you what zone you are in.

Finally, you didn't asked but branded and native zones a certainly different types of zones that can be installed on the global one.

Previous Thread | Next Thread
Test Your Knowledge in Computers #386
Difficulty: Medium
The Linux telnet command provides a user interface to a remote system using the SSH protocol.
True or False?

10 More Discussions You Might Find Interesting

1. Solaris

Migration of Solaris 10 on physical host to Solaris Zones

Hi All Kindly let me know how can I move Solaris 10 OS running update 10 on physical machine to another machine solaris zone running Solaris 10 update 11 (2 Replies)
Discussion started by: amity
2 Replies

2. Solaris

Solaris zones

Hi guys and gals, Does anyone know how to import solaris zones from the xml files that sit in /etc/zones? I want the zones from one machine to another, all I have is the XML files for the zones, so I can't export them first. Thanks in advance Martin (1 Reply)
Discussion started by: callmebob
1 Replies

3. Solaris

Solaris Zones

Hi friends, Actually I faced problem in solaris zone. i was created 4 zones on my server. but one of them is not working ? so, where i wll get the error logs, and how to troubleshoot the problem. i have some kind of urgency. Please reply. (2 Replies)
Discussion started by: rajaramrnb
2 Replies

4. UNIX for Dummies Questions & Answers

Solaris Zones

Hi Guys, I haven't worked on solaris zones earlier. I have a query regarding the zones. We have MQ software installed on a solaris container. I am not sure on which zone this s/w is intalled. I have logged into this container via putty. When I search for the package, I got the package... (7 Replies)
Discussion started by: vandi
7 Replies

5. Solaris

Solaris zones and PATH

Hi, I use a zoned solaris box, 5.10 Generic_118833-33, E2900. It is used for both a database and application. The databases are installated on one zone and then there are separate live, development and test application zones. There has been a requirement to install openldap on the... (1 Reply)
Discussion started by: jabberwocky
1 Replies

6. Solaris

Solaris zones

Hi, I created a zone with separate /usr for the zone. when I do ping to newly created zone it showing alive, I am able to login through zone console zlogin -C -E <zone name> I created a test account on zone which is already existing under global zone and try to ssh, it is working fine but... (1 Reply)
Discussion started by: alberto
1 Replies

7. Solaris

Solaris Zones

I have a Solaris 10 box configured with a global zone and 3 non-global zones. All of the zones need to be configured so they can access and run an application in the global zone located at /export/home. How do i make this application and all of its accompanying files available to the 3 non-global... (3 Replies)
Discussion started by: goose25
3 Replies

8. Solaris

Regarding Solaris Zones

Hello All, I have a list of Local Zones in my list. I want to find out their Global Zone names exactly....I know the command "arp ..."But I dont know how to filter it correctly and find it out. Thanks in advance, Jacky (9 Replies)
Discussion started by: jegaraman
9 Replies

9. Solaris

Solaris zones

Hi All, I am getting zone error # /usr/sbin/zoneadm -z asflxpoc1 boot -s could not verify net address= physical=ce0: No such device or address could not verify net address= physical=ce0: No such device or address Any ideas for this error message. The... (13 Replies)
Discussion started by: jegaraman
13 Replies

10. UNIX for Advanced & Expert Users

Solaris Zones

okay people i need some help: i was able to configure zones on my solaris 10 server, the problem is I can't ssh into the zones!!! I can zlogin -C zone2 successfully for both zones. Am I missing something? I can ping the zones, but can't ssh. From the zones, I can ping my global server. (7 Replies)
Discussion started by: Sarccastik Dude
7 Replies

Featured Tech Videos