Edit non-global zone IP address - non-interactively
Hi there
I have a global zone with 178 zones on it :-)
The entire box is moving to an entirely new network and I need to write a script that will configure the zones config file in /etc/zones for each of them changing the IP address - but non-interactively
The line I need to change would be , for example
to a new IP ..
is there a way of me doing a 'one liner' to change the IP?
any help would be greatly appreciated
Last edited by bakunin; 06-19-2015 at 08:18 AM..
Reason: completed CODE-tag
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 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)
Hi Guys,
My requirement is I have file called /opt/orahome/.profile in non global zone.
PATH=/usr/bin:/usr/ucb:/etc:/usr/sbin:/usr/local/bin:/usr/openwin/bin:.
export PATH
PS1="\${ORACLE_SID}:`hostname`:\$PWD$ "
export PS1
EDITOR=vi
export EDITOR
ENV=/opt/orahome/.kshrc
export ENV... (1 Reply)
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)
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:
zonecfg -z zone1
select... (2 Replies)
hi all,
Just a simple question but i cant get the answers in the book -
In my globalzone , assuming i have 4 cpus (psrinfo -pv = 0-3), if i set dedicated-cpu (ncpus=2) for my local zone
Is my globalzone left with 2 cpus or still 4 cpus ? Does localzone "resource reservation.e.g. cpu in... (6 Replies)
Hi,
If I change date and time in global zone, then it will affect in non global zones.
During this process what files will get affect in non global zones and which mechanism it's using to change.
gloabl zone:Solaris 11.3 X86
TIA (1 Reply)
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
zcons
zcons(7D) Devices zcons(7D)NAME
zcons - Zone console device driver
DESCRIPTION
The zcons character driver exports the console for system zones. The driver is comprised of two "sides:" a master side with which applica-
tions in the global zone communicate, and a slave side, which receives I/O from the master side. The slave side is available in the global
zones.
Applications must not depend on the location of /dev or /devices entries exported by zcons. Inside a zone, the zcons slave side is fronted
by /dev/console and other console-related symbolic links, which are used by applications that expect to write to the system console.
The zcons driver is Sun Private, and may change in future releases.
FILES
/dev/zcons/<zonename>/masterconsole
Global zone master side console for zone <zonename>.
/dev/zcons/<zonename>/slaveconsole
Global zone slave side console for zone <zonename>.
/dev/zconsole
Non-global zone console (slave side).
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWcsu |
+-----------------------------+-----------------------------+
| Interface Stability |Sun Private |
+-----------------------------+-----------------------------+
SEE ALSO zoneadm(1M), zonecfg(1M), attributes(5), zones(5)SunOS 5.11 24 Aug 2003 zcons(7D)