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
sppptun(1M)						  System Administration Commands					       sppptun(1M)

NAME
sppptun - PPP tunneling driver utility SYNOPSIS
sppptun plumb sppptun plumb protocol device sppptun unplumb interface sppptun query DESCRIPTION
The sppptun utility is used to configure and query the Solaris PPP tunneling device driver, /dev/sppptun. Currently, only PPP over Ether- net (PPPoE) is supported, so the plumb and unplumb arguments are used to specify Ethernet interfaces that are to be used for PPPoE, and the query option lists the plumbed interfaces. The use of sppptun to add interfaces is similar to the use of ifconfig(1M) to add interfaces to IP. The plumbing is done once for each interface, preferably at system start-up time, and is not normally manipulated on a running system. If multiple instances of PPP are run over a single interface, they share the plumbing to that interface. Plumbing for each session is not required (and not possible for PPPoE). The proper way to plumb interfaces for PPPoE is to list the interfaces, one per line, in the /etc/ppp/pppoe.if file. USAGE
sppptun plumb When specified with no additional arguments, the plumb argument lists the protocols that are supported by the utility. These are the strings that are used as the protocol argument below. sppptun plumb protocol device This plumbs a new interface into the driver. The protocol parameter is pppoe for the PPP-carrying "Session Stage" connection or pppoed for the PPPoE "Discovery Stage" connection. Both connections must be present for each Ethernet interface that is to be used for PPPoE. The device parameter is the path name of the Ethernet interface to use (use ifconfig(1M) to list available devices). If the path begins with /dev/, then this portion may be omitted. sppptun unplumb interface This removes an existing interface from the driver and terminates any PPP sessions that were using the interface. The interface parame- ter is the name of the interface as reported when the interface was plumbed. sppptun query Displays the canonical names of all interfaces plumbed into the /dev/sppptun device driver. EXAMPLES
Example 1: Setting up to Use PPPoE on hme0 Plumb the hme0 interface. # sppptun plumb pppoed hme0 hme0:pppoed # sppptun plumb pppoe hme0 hme0:pppoe Remove the hme0 interface. # sppptun unplumb hme0:pppoed # sppptun unplumb hme0:pppoe Example 2: Script to Remove All Plumbed Interfaces #!/bin/sh for intf in `sppptun query` do sppptun unplumb $intf done EXIT STATUS
The following exit values are returned: 0 Successful completion. 1 One or more errors occurred. FILES
/etc/ppp/pppoe.if list of Ethernet interfaces to be plumbed at boot time /usr/sbin/sppptun executable command /dev/sppptun Solaris PPP tunneling device driver ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWpppdt | +-----------------------------+-----------------------------+ SEE ALSO
pppd(1M), pppoec(1M), pppoed(1M), sppptun(7M) RFC 2516, Method for Transmitting PPP Over Ethernet (PPPoE), Mamakos et al, February 1999 SunOS 5.10 19 Mar 2001 sppptun(1M)
All times are GMT -4. The time now is 03:44 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy