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

Posted on 2009-02-16
Last Modified: 2013-12-27
How to find the global zone from the non-global zone in solaris 10 zones
Question by:sgravi05
    LVL 6

    Expert Comment

    Will this work?

    # zoneadm list -iv
    LVL 5

    Expert Comment

    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

    LVL 22

    Expert Comment

    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?
    LVL 4

    Accepted Solution

    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.


    Expert Comment

    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.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Why You Should Analyze Threat Actor TTPs

    After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

    When you do backups in the Solaris Operating System, the file system must be inactive. Otherwise, the output may be inconsistent. A file system is inactive when it's unmounted or it's write-locked by the operating system. Although the fssnap utility…
    This tech tip describes how to install the Solaris Operating System from a tape backup that was created using the Solaris flash archive utility. I have used this procedure on the Solaris 8 and 9 OS, and it shoudl also work well on the Solaris 10 rel…
    Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
    This tutorial goes over how to archive and restore FreeBSD jails that are managed by ezjail.

    759 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    7 Experts available now in Live!

    Get 1:1 Help Now