SUMMARY: How can I find out to which Global Zone a Solaris Virtual Server belongs to from within the server itself....

From: German, Vinnie <vinnie.german_at_credit-suisse.com>
Date: Tue Dec 09 2008 - 10:30:58 EST
Summary:

If you're running Veritas, just cat the following file which will
contain the hostname of Global Zone to which
Your local zone is attaching to.

Vch23a-2008# cat /etc/VRTSvcs/.vcshost

To probe it, just run command "hostid" on local zone and same command
"hostid" on global zone and
The "hostid" for both of them should be the same.


Thanks,
Vinnie.



> _____________________________________________
> From: 	German, Vinnie
> Sent:	Friday, November 07, 2008 11:30 AM
> To:	'sunmanagers@sunmanagers.org'
> Subject:	How can I find out to which Global Zone a Solaris
> Virtual Server belongs to from within the server itself....
>
>
>
> Hello managers,
>
> Let's say I have a Virtual server named "vch23a-2008" and I'm already
> logged into that server but I would like
> To find out to which Global Zone this server belongs to, how can I
> find that out?  Any command I could type or
> File which will give me this info on the virtual machine itself?
>
> Thanks in advance,
>
> Vinnie German.
>

=============================================================================
=
Please access the attached hyperlink for an important electronic
communications disclaimer:

http://www.credit-suisse.com/legal/en/disclaimer_email_ib.html
=============================================================================
=
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
Received on Tue Dec 9 10:31:22 2008

This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:44:13 EST