Visit Our UNIX and Linux User Community


Some Question's about Zone


 
Thread Tools Search this Thread
Operating Systems Solaris Some Question's about Zone
# 8  
Old 11-07-2009
Quote:
Originally Posted by dellxmax
thanks sir for your effort
did you know how to reconfigure zone already exist?
vi command
please explain
If you want to completely reset zone's configuration, then login to zone through console (zlogin -C) and execute:

Code:
# sys-unconfig

Zone will reboot, and after that it will prompt you to enter configuration info.

Be carefull not to execute sys-unconfig from global zone.
# 9  
Old 11-07-2009
thanks bartus11 for your reply
i am specially asking about
1- if you assign for example 25% from processor to zone already exist
2- if you assign for example 25% from memory to zone already exist
3- add new folder to this zone it was in global zone and inherit from this folder
how to reconfigure
if you have any reference about all zone option i appreciated this for you
i am try to google about this topic but i did'nt found completed reference

thanks
Max
# 10  
Old 11-07-2009
It is all done via zonecfg command. Visit man pages section 1M: System Administration Commands - Sun Microsystems

For assigning maximum CPU time for zone check "capped-cpu" keyword.
For assigning maximum memory check "capped-memory" keyword.
For adding directory to zone, check "fs" and "dataset" keywords. There are nice examples at the end of that man page, so you should check them too.
# 11  
Old 11-07-2009
thanks bartus11 for your reply
i will going through man page
# 12  
Old 11-13-2009
Quote:
Originally Posted by bartus11
If you want to completely reset zone's configuration, then login to zone through console (zlogin -C) and execute:

Code:
# sys-unconfig

Zone will reboot, and after that it will prompt you to enter configuration info.

Be carefull not to execute sys-unconfig from global zone.
Folk, this what you just said is not true. # sys-unconfig should be used for local zone configuration from scratch, it has nothing to do with inherit directories from global zone.
If you would like to change global configuration for mentioned zone, you should use zonecfg -z zone_name, or eventually if you know what you are doing vi /etc/zones/zone_name.xml.
For claiming CPU you should use FSS / scheduling class / and not "capped-cpu".
This just for your info.....
# 13  
Old 11-13-2009
Well I just little misunderstood what he wants to do ;P He cleared that up in further posts.
# 14  
Old 11-18-2009
The reason you see "insufficient privileges" is that the zone doesnt actually own the underlying hardware devices. Run the dladm show-dev command in the global zone and it will work.

Zones dont own hardware devices and cant really run commands at hardware levels. Snoop is another command which doesnt work too well within a zone, even if you make the NIC exclusive to it.

SBK

Previous Thread | Next Thread
Test Your Knowledge in Computers #94
Difficulty: Easy
The mv command in Linux moves a file from one location to another, but only in the same directory.
True or False?

9 More Discussions You Might Find Interesting

1. Solaris

Solaris 11 zone has no external network access (except to Global Zone)

Hi, hoping someone can help, its been a while since I used Solaris. After creating a NGZ (non global zone), the NGZ can access the GZ (Global Zone) and the GZ can access the NGZ (using ssh, zlogin) However, the NGZ cannot access any other netwqork devices, it can't even see the default router ... (2 Replies)
Discussion started by: GazinLincoln
2 Replies

2. UNIX for Advanced & Expert Users

Solaris 10: I forgot to detach a zone before zpool export. Uninstall zone?

Dear all, recently, I migrated a solaris zone from one host to another. The zone was inside of a zpool. The zpool cotains two volumes. I did the following: host1: $ zlogin zone1 shutdown -y -g0 -i0 #Zone status changes from running to installed $ zpool export zone1 host2: $ zpool... (2 Replies)
Discussion started by: custos
2 Replies

3. Solaris

Zone Cluster Question

I have a question about losing a node in a zone cluster. Hopefully I can explain enough for someone to answer. Let's say I have a zone cluster spread over 3 physical nodes. If Node1 crashes, would I be correct in assuming I would lose all zones on Node1? If I lost Node1 below, would I lose... (4 Replies)
Discussion started by: MasonJ
4 Replies

4. Solaris

showing 2 different time zones in global zone and nonglobal zone

can some one help me out as it is showing 2 different time zones in global zone and nonglobal zone .In global zone it is showing in GMT while in nonglobal zone i it showing as PDT. System in running with solaris 10 (3 Replies)
Discussion started by: ravijanjanam12
3 Replies

5. Solaris

Zone ipf question

Hello, I was wondering, if your setting ipf filter rules on a Solaris 10 server with one or more full root zones. Where do you set it? I know that the place to set the rules is here; /etc/ipf/ipf.conf. Do I set it in each zone and the global? Or should I just set the rules at the global? ... (7 Replies)
Discussion started by: bitlord
7 Replies

6. Solaris

Zone failes to boot due to mount issue, dir exists in zone.

I have two physical servers, with zones that mount local storage. We were using "raw device" in the zonecfg to point to a metadevice on the global zone (it was not mounted in the global zone at any point). It failed to mount on every boot because the directory existed in the zone. I... (6 Replies)
Discussion started by: BG_JrAdmin
6 Replies

7. Solaris

how to add a default gateway in a zone of different VLAN of global zone

Hi Greetings... I have an issue in connecting the zone from outside the network and it is because of default gateway. I can ping default gateway from inside the zone and not able to ping from global zone due to different VLAN issue. If i add two different gateways and restart network services,... (2 Replies)
Discussion started by: vvpotugunta
2 Replies

8. Solaris

Question regarding Zone Migration

I have a general question regarding Zone Migration. I have an older system that is currently running a zone configured with ProFTPD & SSL. If I want to migrate or clone that zone to another (much newer) system, will I still have to setup & configure ProFTPD & SSL on the new system? (3 Replies)
Discussion started by: em23
3 Replies

9. Solaris

Solaris Zone : Non global Zone check failed

Hi All , I try to install some packages in my global zone... On the execution of the installion of the script it quits by saying the error "Non global zone check failed" Kindly help me in this regard Thanks in advance, jeganr (7 Replies)
Discussion started by: jegaraman
7 Replies

Featured Tech Videos