How to identify a global or non-global Solaris server?


 
Thread Tools Search this Thread
Operating Systems Solaris How to identify a global or non-global Solaris server?
# 15  
Old 02-12-2010
Quote:
Originally Posted by kalpeer
Hi,
I have Solaris zone configured with Solaris 9 and 10.
In Solaris 10(non global), I use the command “zonename” to get whether it is global or non-global server.
For Solaris 9, what command I can use to get whether it is global or non-global server.

Regards,
Kalai Smilie
I Hope in solaris 9 zones are not available . Difference b/t global & non-global is global zone is nothing but the physical machine , non-global zone are the virutal OE . Even though zones are not available on solaris 9 , conceptually speaking , solaris 9 is global zone, a physical system by default is global zone .
# 16  
Old 02-12-2010
Quote:
Originally Posted by udhayashankar
Even though zones are not available on solaris 9.
Solaris 9 zones are definitely available.
1.Introduction to Solaris 9 Containers (System Administration Guide: Solaris 9 Containers) - Sun Microsystems
Please read this thread from the start to avoid posting confusing statements.
# 17  
Old 02-18-2010
how to get a non booted zone's list (means not running now).
# 18  
Old 02-18-2010
Code:
zoneadm list -cv

will show you all zones with their states.
# 19  
Old 02-18-2010
Quote:
Originally Posted by sunnybee
how to get a non booted zone's list (means not running now).
man zoneadm
# 20  
Old 02-19-2010
netstat -in & arp -a should give some clue about global zone.

Last edited by sri243; 02-20-2010 at 12:02 AM..
# 21  
Old 02-22-2010
Quote:
When you create a zone, you produce an application execution environment in which processes are isolated from the rest of the system. This isolation prevents processes that are running in one zone from monitoring or affecting processes that are running in other zones. Even a process running with superuser credentials cannot view or affect activity in other zones.
a non-global zone should have no indications/signs that it is in fact a non-global zone.

as far as what sri243 posted, `netstat -in` doesn't show me anything to be noted on a non-global zone. `arp -a` could, however. you just need to realize that the mac addresses are the same for two ips. but that doesn't mean its a non-global size as you can create multiple instances for a single interface. i would have to say that `ifconfig -a` will show you a second instance of the loop back and in my case, a second instance on the main interface. that might be your best bet. obviously the global-zone shows both instances.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. 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

2. 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

3. Shell Programming and Scripting

Why global var is not global with export

Hi, I try to define global var assuming that I can acces it from multiple sessions/terminal windows, but I can't do this with either comand line or script delcaratino/export. I'm not a root user doing this, but is this should not be matter. Even if I do this lines below in script, being in the... (3 Replies)
Discussion started by: trento17
3 Replies

4. Solaris

How to see global hostname by logging in non global zones?

Hi guru Could any one help me by letting me know, how to see global hostname by logging in non global zones Regards (2 Replies)
Discussion started by: girish.batra
2 Replies

5. 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

6. Solaris

Is there two different kernel`s running in global and non global zone?

Hi All, I want to know for non global zone there will be different kernal running? (1 Reply)
Discussion started by: vijaysachin
1 Replies

7. Solaris

How can we copy a directory from Global to Non-global zone?

Hi All, How can we copy a directory from global zone to non-global zone using SCP command? (8 Replies)
Discussion started by: vijaysachin
8 Replies

8. Solaris

DHCP Server in Non-Global Zone

I am having trouble starting the DCHP server in a non-global zone that has exclusive access to an interface. Every time I attempt to start it goes in to maintenance mode and the error in the log shows this: I have seen on a thread on Sun's forums that addressed this but it was dealing with Solaris... (9 Replies)
Discussion started by: Lespaul20
9 Replies

9. Shell Programming and Scripting

Script for exporting FS into non global server automaticaly.

Post has been removed. Prakash K :) (0 Replies)
Discussion started by: bullz26
0 Replies

10. Solaris

How to know the global zonename from non-global zone?

It is easy to list all zones from global zones, but how to find out the global zone name from non-global zone? thx (11 Replies)
Discussion started by: honglus
11 Replies
Login or Register to Ask a Question