Solaris Zones | Unix Linux Forums | Solaris

  Go Back    


Solaris The Solaris Operating System, usually known simply as Solaris, is a Unix-based operating system introduced by Sun Microsystems. The Solaris OS is now owned by Oracle.

Solaris Zones

Solaris


Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 04-07-2009
tirupathiraju_t tirupathiraju_t is offline
Registered User
 
Join Date: Feb 2008
Last Activity: 10 December 2009, 8:45 AM EST
Location: Hyderabad
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
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???
4.how to find our in which zone we are running and how many zones are running
5.how to list the zones that already exist in a system??

Thanks in advance.
Sponsored Links
    #2  
Old 04-08-2009
DukeNuke2's Avatar
DukeNuke2 DukeNuke2 is offline Forum Staff  
Soulman
 
Join Date: Jul 2006
Last Activity: 20 September 2014, 8:45 AM EDT
Location: Berlin, Germany
Posts: 5,399
Thanks: 54
Thanked 230 Times in 223 Posts
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
Sponsored Links
    #3  
Old 04-08-2009
kumarmani kumarmani is offline
Registered User
 
Join Date: Sep 2008
Last Activity: 22 December 2011, 4:37 AM EST
Posts: 416
Thanks: 0
Thanked 3 Times in 3 Posts
1.what are types of zones we can install in global zone???

Quote:
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???

Quote:
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???

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

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

Last edited by kumarmani; 04-08-2009 at 10:06 AM..
    #4  
Old 04-08-2009
tirupathiraju_t tirupathiraju_t is offline
Registered User
 
Join Date: Feb 2008
Last Activity: 10 December 2009, 8:45 AM EST
Location: Hyderabad
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
Thanks a lot kumar
Sponsored Links
    #5  
Old 04-09-2009
jlliagre jlliagre is offline Forum Advisor  
ɹǝsn sıɹɐlos
 
Join Date: Dec 2007
Last Activity: 20 September 2014, 7:37 AM EDT
Location: Paris
Posts: 4,419
Thanks: 16
Thanked 466 Times in 421 Posts
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.
Sponsored Links
    #6  
Old 04-09-2009
kumarmani kumarmani is offline
Registered User
 
Join Date: Sep 2008
Last Activity: 22 December 2011, 4:37 AM EST
Posts: 416
Thanks: 0
Thanked 3 Times in 3 Posts
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?
Sponsored Links
    #7  
Old 04-09-2009
jlliagre jlliagre is offline Forum Advisor  
ɹǝsn sıɹɐlos
 
Join Date: Dec 2007
Last Activity: 20 September 2014, 7:37 AM EDT
Location: Paris
Posts: 4,419
Thanks: 16
Thanked 466 Times in 421 Posts
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.
Sponsored Links
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Solaris Zones goose25 Solaris 3 11-21-2008 12:46 PM
Regarding Solaris Zones jegaraman Solaris 9 11-11-2008 08:10 PM
Solaris zones jegaraman Solaris 13 10-29-2008 10:24 AM
Solaris 10 Zones configuration 23patrick Solaris 1 06-25-2008 03:33 PM
Solaris Zones Sarccastik Dude UNIX for Advanced & Expert Users 7 12-14-2006 12:08 PM



All times are GMT -4. The time now is 09:59 AM.