Sponsored Content
Operating Systems Solaris Virtual Terminal (Console) showing non-global zone? Post 303037503 by LonnieTC on Saturday 3rd of August 2019 09:47:30 AM
Old 08-03-2019
Hello Hicksd8,

Thanks so much for your reply and let me give a little more information as I am a bit new to the Unix (Solaris 11 based) side of things while coming from the Linux world.

The version that I am using is actually SmartOS which is Illumos-based and I think that it is closest to Solaris 11 from the OpenSolaris branch, if my reading has been correct, but could be wrong on this.

So then, what I am thinking is this. When I boot, the result is that the system starts up and I have a physical console (wscons) that I can login to which is the Global Zone, from what I understand. From there, if I hist <Alt>+<F2>, then I get the "vt2" screen which will also allow me to login. Of course, it looks to be configured all of the way to "vt6" via <Alt>+<F6>. I have seen in the source code where this is setup so I now have a basic idea on the virtual terminals.

I am also figuring out the zone system which is similar to "jails", "sandboxes", or "chroot" in Linux and other systems so that they are basically configurable virtual machines akin to Docker containers which can also be configured as assigning physical devices to them from what I have read in the Solaris 11 world with "zonecfg".

I do not want to run many things in the global zone, so what I am attempting to figure out, if it is possible, is to have the Global Zone on, say "vt2" and have a Non-Global Zone on "wscons" since I want to have an xserver running in the non-global zone such that the xserver does not need to be added to the global zone. This way, the xserver and x11 application is in the non-global zone and comes up at boot time, and to access the global zone, I can use <Alt>+<F2>, for example and then login to it as needed.

Basically, the user interfaces via "wscons" console and admin stuff is in the global zone on "vt2", for example.

Something like this is what I was actually thinking.
Thanks
 

9 More Discussions You Might Find Interesting

1. Solaris

Adding multiple virtual interfaces on a non global zone.

Hello All, I have a requirement to add multiple virtual interfaces on a non-global zone (Solaris 10). The global zone is a 2 node Veritas Cluster Server. So, my question is do we have to make any modifications to the cluster config (which I think should not be the case)? Can anyone help with me... (11 Replies)
Discussion started by: mahive
11 Replies

2. Solaris

[b]How to mount a folder from global zone to non global zone??

Hi All There is one folder in global zone I just want to share the same folder innon global zone. How can i do it? pls send me script for this. (2 Replies)
Discussion started by: vijaysachin
2 Replies

3. Solaris

How to access ENV variables of non global zones in global zone???

Hi Guys, My requirement is I have file called /opt/orahome/.profile in non global zone. PATH=/usr/bin:/usr/ucb:/etc:/usr/sbin:/usr/local/bin:/usr/openwin/bin:. export PATH PS1="\${ORACLE_SID}:`hostname`:\$PWD$ " export PS1 EDITOR=vi export EDITOR ENV=/opt/orahome/.kshrc export ENV... (1 Reply)
Discussion started by: vijaysachin
1 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

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

6. Solaris

Global and non-global zone resource sharing - tricky

hi all, Just a simple question but i cant get the answers in the book - In my globalzone , assuming i have 4 cpus (psrinfo -pv = 0-3), if i set dedicated-cpu (ncpus=2) for my local zone Is my globalzone left with 2 cpus or still 4 cpus ? Does localzone "resource reservation.e.g. cpu in... (6 Replies)
Discussion started by: javanoob
6 Replies

7. Solaris

Date and time change in global and non global zone

Hi, If I change date and time in global zone, then it will affect in non global zones. During this process what files will get affect in non global zones and which mechanism it's using to change. gloabl zone:Solaris 11.3 X86 TIA (1 Reply)
Discussion started by: Sumanthsv
1 Replies

8. Solaris

Unable to login via console mode to non-global zone

tldr; We've installed a non-global-zone from a unified archive which once booted, we're unable to gain access to the system either through zlogin or zlogin -C. Errors; svc.startd: instance svc:/system/console-login:default exited with status 127 Investigation; 1) Already opened a SR with... (1 Reply)
Discussion started by: samthewildone
1 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
zcons(7D)							      Devices								 zcons(7D)

NAME
zcons - Zone console device driver DESCRIPTION
The zcons character driver exports the console for system zones. The driver is comprised of two "sides:" a master side with which applica- tions in the global zone communicate, and a slave side, which receives I/O from the master side. The slave side is available in the global zones. Applications must not depend on the location of /dev or /devices entries exported by zcons. Inside a zone, the zcons slave side is fronted by /dev/console and other console-related symbolic links, which are used by applications that expect to write to the system console. The zcons driver is Sun Private, and may change in future releases. FILES
/dev/zcons/<zonename>/masterconsole Global zone master side console for zone <zonename>. /dev/zcons/<zonename>/slaveconsole Global zone slave side console for zone <zonename>. /dev/zconsole Non-global zone console (slave side). ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWcsu | +-----------------------------+-----------------------------+ | Interface Stability |Sun Private | +-----------------------------+-----------------------------+ SEE ALSO
zoneadm(1M), zonecfg(1M), attributes(5), zones(5) SunOS 5.11 24 Aug 2003 zcons(7D)
All times are GMT -4. The time now is 05:28 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy