Scripting changes to multiple zone configurations in the same Global Zone
So this is Solaris 11.1. I have a Global zone that has several non-global zones running in it. I want to change the capped-memory.physical resources setting in ALL the zone configs of the running zones.
if I were to do this manually here's what I would do:
Here's the question,
How do I script that?
If it was a regular setting say:
then I would do something like:
but the part I don't understand is how to do that to a subsection like
example zoneconfig:
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)
Hi Gurus
I am not able to ping the local zone from global zone
when i am trying to ping i am getting below
ICMP Host Unreachable from gateway zone ( 192.268.35.210)
for icmp from zone ( 192.168.35.210) to sun1 ( 192.168.35.210)
However i can ping local zone from global
please... (12 Replies)
Hi All
There is one folder in global zone I just want to share the same folder innon global zone. How can i do it?
pls send me script for this. (2 Replies)
Dears,
I would like to convert solaris 10 x86 and solaris 10 sparc (Global Zones) physical servers into Local zones.
i found a document which seems to be helpful but i'm stuck @ the 1st step.
to test this i want to do it 1st on x86 system running under vmware ESXi and if it succeeds i will... (1 Reply)
Hi,
We have had a hard drive failure on one of our sandbox OpenSolaris system. We had 2 solaris zones configured at /tank/zones/teamcity and /tank/zones/jira for respective products.
The zpool (tank) was mirrored (2 drives). I'd like to mount the non-faulty drive in the global zone and... (4 Replies)
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)
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)
Hi,
First post.
I have a script that I am having a little trouble with and I hope someone can help.
I will post the code for your input, but I want to read the lines of a file and use this as input to a command in a while loop...
#!/bin/sh
#
#
### Variables
MSG=/tmp/tmptest.txt... (7 Replies)
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
LEARN ABOUT OPENSOLARIS
brands
brands(5) Standards, Environments, and Macros brands(5)NAME
brands - alternate operating environments for non-global zones
DESCRIPTION
The branded zone (BrandZ) framework extends the Solaris Zones infrastructure described in zones(5) to include the creation of brands, which
provide non-global zones that contain non-native operating environments.
The term "brand" can refer to a wide range of operating environments. All brand management is performed as extensions to the current zones
structure.
Every zone is configured with an associated brand. The brand type is used to determine which scripts are executed when a zone is installed
and booted. In addition, a zone's brand is used to properly identify the correct application type at application launch time. The default
is the native brand.
A branded zone will support exactly one brand of non-native binary, which means that a branded zone provides a single operating environ-
ment. Once a zone has been assigned a brand, that brand cannot be changed or removed.
BrandZ extends the zones tools in the following ways:
o A brand is an attribute of a zone, set at zone create time.
o The zonecfg tool (see zonecfg(1M)) is used to set a zone's brand type and configure the zone.
o The zoneadm tool (see zoneadm(1M)) is used to report a zone's brand type and administer the zone.
Device Support
The devices supported by each zone are documented in the man pages and other documentation for that brand. The zones infrastructure detects
any attempt to add an unsupported device and issues a warning to the administrator. If the administrator chooses to add an unsupported
device despite that warning, that device might or might not work as expected. The configuration will be untested and unsupported.
ATTRIBUTES
See attributes(5) for a description of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWzoneu |
+-----------------------------+-----------------------------+
|Interface Stability |Evolving |
+-----------------------------+-----------------------------+
SEE ALSO mdb(1), zlogin(1), zonename(1), dtrace(1M), in.rlogind(1M), sshd(1M), zoneadm(1M), zonecfg(1M), kill(2), priocntl(2), getzoneid(3C),
ucred_get(3C), getzoneid(3C), proc(4), attributes(5), lx(5), native(5), privileges(5), zones(5), lx_systrace(7D), crgetzoneid(9F)SunOS 5.11 13 Feb 2009 brands(5)