Sponsored Content
Operating Systems Solaris Determine if you are in a Legacy Zone? Post 302962957 by hicksd8 on Monday 21st of December 2015 12:31:28 PM
Old 12-21-2015
Hmmmmm.......that's a good question (and although I've done a lot of work on legacy zones, I don't have one here right now). So I'll just give you my thoughts and you'll have to test them.

If there's a legacy zone (Solaris 8 or 9) running under Solaris 10 (since legacy is not supported under Solaris 11), then it must be whole root since it cannot share the system files with the global. Also, the legacy could be assigned an exclusive network interface for its use, or could share one with the global. I would expect sharing to be indicated by the interface showing as eg, hme0:1, hme0:2, and so on. That might tell you something.

Also, whilst even logged into the legacy as root I would expect commands such as 'format', 'prtdiag', and 'cfgadm' to fail with something like "you don't have the rights to do this" type message.

I would expect:

Code:
# uname -v

to output something like 'Generic' if the machine was not a physical box.

Just a few thoughts and pointers. I'll give it a go myself when I can.
 

9 More Discussions You Might Find Interesting

1. Solaris

Bind zone transfer recategorises zone file?

Hi, I have a primary/slave Bind 9 setup running on a Solaris 10 platform. Everything is hunky dorey, except for when I make a zone file change and up the serial the file that is transferred to the slave looses all its comments, and the entries are place in alphabetical order. I administer many... (1 Reply)
Discussion started by: fulhamfcboy
1 Replies

2. Solaris

Solaris Zone : Non global Zone check failed

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)
Discussion started by: jegaraman
7 Replies

3. Solaris

Solaris Cmd to determine type of zone?

I lost my notes on the subject, but I remember running across a single Solaris command that tells you the following Global zone vs local zone Sparse local zone vs Whole Root local zone Can anyone advise? Thanks-In-Advance!! (2 Replies)
Discussion started by: ckmehta
2 Replies

4. Solaris

how to add a default gateway in a zone of different VLAN of global zone

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)
Discussion started by: vvpotugunta
2 Replies

5. Solaris

Zone failes to boot due to mount issue, dir exists in zone.

I have two physical servers, with zones that mount local storage. We were using "raw device" in the zonecfg to point to a metadevice on the global zone (it was not mounted in the global zone at any point). It failed to mount on every boot because the directory existed in the zone. I... (6 Replies)
Discussion started by: BG_JrAdmin
6 Replies

6. Solaris

showing 2 different time zones in global zone and nonglobal zone

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)
Discussion started by: ravijanjanam12
3 Replies

7. Solaris

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: zonecfg -z zone1 select... (2 Replies)
Discussion started by: os2mac
2 Replies

8. UNIX for Advanced & Expert Users

Solaris 10: I forgot to detach a zone before zpool export. Uninstall zone?

Dear all, recently, I migrated a solaris zone from one host to another. The zone was inside of a zpool. The zpool cotains two volumes. I did the following: host1: $ zlogin zone1 shutdown -y -g0 -i0 #Zone status changes from running to installed $ zpool export zone1 host2: $ zpool... (2 Replies)
Discussion started by: custos
2 Replies

9. Solaris

Solaris 11 zone has no external network access (except to Global Zone)

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
named-checkzone(1)					      General Commands Manual						named-checkzone(1)

NAME
named-checkzone - zone validity checking tool SYNOPSIS
class] mode] mode] outfile] directory] directory] zonename [filename] DESCRIPTION
is a tool for performing integrity checks on the zone contents. It uses the same integrity checks as the daemon when loading a zone. This makes useful for checking zone files before configuring them into a name server. Zones and zone files are described in named.conf(4). Options Specify the class of the zone. Dump the zone file in canonical format. Enable debugging. Read the journal (if it exists) when loading the zone file. Perform checks with the specified failure mode. Possible modes are (default), and The option is described in named.conf(4). Specify whether NS records should be checked to see if they are addresses. Possible modes are (default), and Write zone output to outfile . Enable quiet mode for exit code only. Print the version of and exit. Change to directory (see chdir(2)) so that relative file names in master file directives work This is similar to the clause in Operands filename The file to use for checking the zone contents. The default is the file with the zone name. For the default to work, the file name for the zone in the statement of the file must be identical to the zone name. zonename The zone whose contents are to be checked. RETURN VALUE
sets the exit status to: Success. Errors were detected. EXAMPLES
To perform integrity checks on zone in the zone file and display debug information: AUTHOR
was developed by the Internet Systems Consortium (ISC). SEE ALSO
named(1M), chdir(2), named.conf(4). Requests for Comments (RFC): 1035, available online at available online at available from the Internet Systems Consortium at BIND 9.3 named-checkzone(1)
All times are GMT -4. The time now is 04:54 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy