Hi,
I was wondering if it's possible to find out to which global zone
a zone is related. (And not from Globalzone point of view!)
It might happen (as a sysadmin) that you login to a zone but you need to
perform maintenance in the global zone (i.e. Veritas VM -stuff).
Thanks in advance
Remco
(Replying to the correct thread this time)
Remco Fugers [EMAIL PROTECTED] writes:
Hi,
I was wondering if it's possible to find out to which global zone a
zone is related. (And not from Globalzone point of view!) It might
happen (as a sysadmin) that you login to a zone but you need to
Remco,
There is no command to display the Global zone of a non-global zone
but there are a few tricks that I have heard of.
One is to create a file in the zone path of each zone and then read it
from the non-global
On the Global
touch /zone_path/root/etc/global.hostname
On the non
In a related, but similar situation. How does one know that
they are
actually in a non-global zone vs a global zone? (Using a committed
interface).
zonename(1). And zonecfg(1M) states that the name 'global' is
reserved.
Steffen
Brandorr wrote:
On 8/29/07, John Chase [EMAIL PROTECTED]
Hi,
we implemented a cron-job in the global zone to run the following srcipt:
#!/bin/ksh
PATH=$PATH:/usr/sbin:/usr/bin
OSVERSION=`uname -r | awk -F. '{print $2}'`
if [ ${OSVERSION} -gt 9 ]; then
zonename | grep global /dev/null 21
[ $? -ne 0 ] exit 0
for i in `zoneadm
to find global-zone from zone
On 8/29/07, John Chase [EMAIL PROTECTED] wrote:
Remco,
There is no command to display the Global zone of a non-global zone
but there are a few tricks that I have heard of.
One is to create a file in the zone path of each zone and then read
it
from the non
On 8/29/07, John Chase [EMAIL PROTECTED] wrote:
Remco,
There is no command to display the Global zone of a non-global zone
but there are a few tricks that I have heard of.
One is to create a file in the zone path of each zone and then read it
from the non-global
On the Global
On 8/29/07, Brandorr [EMAIL PROTECTED] wrote:
In a related, but similar situation. How does one know that they are
actually in a non-global zone vs a global zone? (Using a committed
interface).
`ps -ef` and look for pid 0,1,2,3; these should only be visible in a
global zone.
--
Paul Kraus
Paul Kraus wrote:
On 8/29/07, Brandorr [EMAIL PROTECTED] wrote:
In a related, but similar situation. How does one know that they are
actually in a non-global zone vs a global zone? (Using a committed
interface).
`ps -ef` and look for pid 0,1,2,3; these should only be visible in a
global
Since this seems to be a common question that has shown up on this list
from time to time, I have added our method to our Solaris Zone RunBook
which is free and posted it at:
http://www.logiqwest.com/dataCenter/Demos/RunBooks/Zones/listingGlobal.html
Hope this helps till Sun finally puts a
10 matches
Mail list logo