07-24-2007
Sun Solaris 4 - Need to know zone setting procedure. Please help!
Sun
Solaris 4 - Need to know zone setting procedure. Please help!
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Tru64 (4.0D)
How to change the time zone setting for the system?
Sanjay (5 Replies)
Discussion started by: sanjay_g
5 Replies
2. Solaris
hi, can any body tell me the exact installation of the Sun solaris........ (5 Replies)
Discussion started by: devotedsinner
5 Replies
3. Solaris
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
4. Solaris
Hi,
A quick question: Can Solaris 10 local zones be moved to a Solaris 11 global zone and work well?
Thank you in advance! (5 Replies)
Discussion started by: aixlover
5 Replies
5. UNIX for Advanced & Expert Users
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
6. Solaris
Hi Gurus
I am not able to find the patching procedure for solaris 10 ( sol10 u11) to latest patchset with sun cluster having failover zones so that same I should follow.
Take an instance, there are sol1 and sol2 nodes and having two failover zones like sozone1-rg and sozone2-rg and currently... (1 Reply)
Discussion started by: nick101
1 Replies
7. Solaris
I am planning to do solaris 11 global zone patching having solaris 10 branded zone. I have a doubts on step 8 specially
Can someone clear my step 8 doubts or if anything wrong between step 1 to step 9 please correct that also as I have pretty good idea about Step 10 mean patching in solaris 10... (2 Replies)
Discussion started by: amity
2 Replies
8. Solaris
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
9. Solaris
Hi
I need to know the procedure to add the IP to Solaris 11 zone without rebooting the zone..
I did it on solaris 10 zones but don't know the procedure on solaris 11 zones without rebooting it (1 Reply)
Discussion started by: hb00
1 Replies
LEARN ABOUT OPENSOLARIS
scha_cluster_getzone
scha_cluster_getzone(3HA) Sun Cluster HA and Data Services scha_cluster_getzone(3HA)
NAME
scha_cluster_getzone - zone name access function
SYNOPSIS
cc [flags...] -I /usr/cluster/include file -L /usr/cluster/lib -l scha
#include <scha.h>
scha_err_t scha_cluster_getzone(char **zonename);
DESCRIPTION
The scha_cluster_getzone() function returns a string that identifies the zone from which the function is called. If you call this function
in a non-global zone, the zone name and the node name are returned, in the format nodename:zonename. If you call this function in the
global zone, only the node name is returned. The node name is not necessarily the same as the Solaris system name. The function returns an
error status. If successful, the function also returns a string that contains the node name and the zone name in the location that is
pointed to by the zonename argument.
If the call fails, the zonename argument is set to NULL. The caller of scha_cluster_getzone() is responsible for freeing the memory that is
allocated for the returned string by using the standard C library function free(3C). Freeing the memory is required only if the function
succeeds.
RETURN VALUES
The scha_cluster_getzone() function returns the following values:
0 The function succeeded.
nonzero The function failed.
ERRORS
SCHA_ERR_NOERR The function succeeded.
See scha_calls(3HA) for a description of other error codes.
EXAMPLES
Example 1 Using the scha_cluster_getzone() Function
scha_err_t err_code;
char *zonename;
err_code = scha_cluster_getzone(&zonename);
...
if (zonename != NULL) free(zonename);
FILES
/usr/cluster/include/scha.h Include file
/usr/cluster/lib/libscha.so Library
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWscdev |
+-----------------------------+-----------------------------+
|Interface Stability |Evolving |
+-----------------------------+-----------------------------+
SEE ALSO
free(3C), scha_calls(3HA), scha_cluster_get(3HA), scha_cluster_getnodename(3HA), scha_strerror(3HA), attributes(5)
Sun Cluster 3.2 7 Sep 2007 scha_cluster_getzone(3HA)