We help IT Professionals succeed at work.

We've partnered with Certified Experts, Carl Webster and Richard Faulkner, to bring you two Citrix podcasts. Learn about 2020 trends and get answers to your biggest Citrix questions!Listen Now

x

How to find the global zone from the non-global zone in solaris 10 zones

sgravi05
sgravi05 asked
on
Medium Priority
2,826 Views
Last Modified: 2013-12-27
How to find the global zone from the non-global zone in solaris 10 zones
Comment
Watch Question

Commented:
Will this work?

# zoneadm list -iv
CERTIFIED EXPERT

Commented:
Hello ,

From a non global zone you can't see the other zone even the global zone that is the security feature of zone , it is like a jail chrooted system


from the global zone you can see all the zone

Regards
Brian UtterbackPrinciple Software Engineer
CERTIFIED EXPERT

Commented:
What do you mean by "find"? If you want the name of the global zone, then it is always "global". You cannot reach any of the files of the global zone from within the local zone. Do you mean how to see if you are in the global zone or not?
Commented:
you will not be able to find any information about global zone from a non-global zone.
every non-global zone is treated as a separate server to the outside world, though they may be running vitrually in one server.
System admin needs to have a track of which is global zone and what kind or how many non-global zones are running under that server.

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts
There is a way to "SORT OF" find the global zone....
from any zone:

"netstat -p | grep SPLA"

will show you all the zones (including the global) on the local host.  If you have a standard naming convention for your global zones such as starting them all with "GLOB" then you can:
"netstat -p | grep SPLA | grep GLOB" from any zone and find the global.
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.