01-29-2010
How to identify a global or non-global Solaris server?
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
Last edited by DukeNuke2; 01-30-2010 at 04:43 PM..
10 More Discussions You Might Find Interesting
1. Solaris
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
2. Shell Programming and Scripting
Post has been removed. Prakash K :) (0 Replies)
Discussion started by: bullz26
0 Replies
3. Solaris
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
4. Solaris
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
5. Solaris
Hi All,
I want to know for non global zone there will be different kernal running? (1 Reply)
Discussion started by: vijaysachin
1 Replies
6. Solaris
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
7. Solaris
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
8. Shell Programming and Scripting
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
9. Solaris
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
10. Solaris
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
LEARN ABOUT CENTOS
showrev
showrev(1M) showrev(1M)
NAME
showrev - show machine, software revision, and patch revision information
SYNOPSIS
/usr/bin/showrev [-a] [-p | -p -R root_path] [-w] [-c command] [-s hostname]
showrev displays revision information for the current hardware and software. With no arguments, showrev shows the system revision informa-
tion including hostname, hostid, release, kernel architecture, application architecture, hardware provider, domain, and kernel version.
If a command is supplied with the -c option, showrev shows the PATH and LD_LIBRARY_PATH and finds out all the directories within the PATH
that contain it. For each file found, its file type, revision, permissions, library information, and checksum are printed as well.
The following options are supported:
-a Print all system revision information available. Window system and patch information are added.
-c command Print the revision information about command.
-p Print only the revision information about patches.
-R root_path Define the full path name of a directory to use as the root_path. By specifying the root path, showrev retrieves the revi-
sion information about the patch from package system information files located under a directory tree starting at
root_path. The root_path can be specified when retrieving installed patch information in a client from a server, for exam-
ple, /export/root/client1.
Note - The root file system of any non-global zones must not be referenced with the -R option. Doing so might damage the
global zone's file system, might compromise the security of the global zone, and might damage the non-global zone's
file system. See zones(5).
-s hostname Perform this operation on the specified hostname. The -s operation completes correctly only when hostname is running
Solaris 2.5 or compatible versions.
-w Print only the OpenWindows revision information.
OUTPUT
Varies, based on flags passed. If no flags are passed, output similar to the following appears:
Hostname: system1
Hostid: 7233808e
Release: 5.10
Kernel architecture: sun4u
Application architecture: sparc
Hardware provider: Sun_Microsystems
Domain: a.network.COM
Kernel version: SunOS 5.10 generic
The following error values are returned:
0 Successful completion.
>0 An error occurred.
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWadmc |
+-----------------------------+-----------------------------+
arch(1), ldd(1), mcs(1), sum(1), patchadd(1M), attributes(5)
For the -s option to work when hostname is running a version of Solaris prior to 2.5, the Solstice AdminSuite must be installed on host-
name.
6 Apr 2005 showrev(1M)