I have created the zone cluster and its Resource group but while creating the resource I am getting the below error "clrs: (C779822) Resource type SUNW.HAStoragePlus is not registered" but HAStoragePlus Resource type is already register.
Please help me to get out of this situation.
Note: I cannot unregister ond then register HAstoragplus resource type as there are other resource group present like HA zone , normal FS movement under RG in cluster
Code:
bash-3.2#
bash-3.2# zpool create oxyZCpool c1t600144F05A10A466000800275B827100d0
bash-3.2#
bash-3.2# clzc configure oxyZC
clzc:oxyZC> add dataset
clzc:oxyZC:dataset> set name=oxyZCpool
clzc:oxyZC:dataset> end
clzc:oxyZC> verify
clzc:oxyZC> commit
clzc:oxyZC> exit
bash-3.2#
bash-3.2#
bash-3.2# clrg create -Z oxyZC -n oxy1zone,oxy2zone oxyrg
bash-3.2# clrs create -g oxyrg -t SUNW.HAStoragePlus -p zpools=oxyZCpool -Z oxyZC oxyrs
clrs: (C779822) Resource type SUNW.HAStoragePlus is not registered
bash-3.2#
bash-3.2# clrt list
SUNW.LogicalHostname:4
SUNW.SharedAddress:2
SUNW.HAStoragePlus:10
SUNW.gds:6
bash-3.2#
bash-3.2#
bash-3.2# clrt register SUNW.HAStoragePlus
clrt: (C771701) HAStoragePlus: resource type exists; cannot create
bash-3.2#
bash-3.2#
bash-3.2#
bash-3.2#
bash-3.2# clrt list
SUNW.LogicalHostname:4
SUNW.SharedAddress:2
SUNW.HAStoragePlus:10
SUNW.gds:6
bash-3.2#
bash-3.2#
bash-3.2#
bash-3.2# clzc status
=== Zone Clusters ===
--- Zone Cluster Status ---
Name Node Name Zone Host Name Status Zone Status
---- --------- -------------- ------ -----------
oxyZC ozone1 oxy1oxyZC Online Running
ozone2 oxy2oxyZC Online Running
bash-3.2#
bash-3.2# clrg status -Z oxyZC
=== Cluster Resource Groups ===
Group Name Node Name Suspended Status
---------- --------- --------- ------
oxyZC:oxyrg oxy1oxyZC No Unmanaged
oxy2oxyZC No Unmanaged
bash-3.2#
bash-3.2#
bash-3.2#
bash-3.2#
Hi,
Does anyone has idea how to implement Veritas Cluster Server 5.3 (SF 5.3) for Oracle 10g on Solaris Zone (Containers).
Please let me know any of you folks have worked on similar implementation and if you could pass on some information related to it.
BR,
Shreeram Rane (1 Reply)
Hi
i have created a solaris zone but have not yet connected any network cables for this new zone,
can i set the zone up without running the command 'add net' and not adding an ip or physical interface?
i tried to add dummy internet settings and get this
zonecfg:coddr> add net... (4 Replies)
Hi there,
Apologies if this question has been asked and answered already but I've not been able to find the thread.
Question: Is it possible to apply the Solaris 10 Recommended Patch Cluster to a whole root (non-global) zone locally? I.E. apply the patch cluster from the non-global in... (3 Replies)
I have two physical servers, with zones that mount local storage.
We were using "raw device" in the zonecfg to point to a metadevice on the global zone (it was not mounted in the global zone at any point).
It failed to mount on every boot because the directory existed in the zone.
I... (6 Replies)
Hello experts -
I am planning to install a Sun cluster 4.0 zone cluster fail-over. few basic doubts.
(1) Where should i install the cluster s/w binaries ?. ( global zone or the container zone where i am planning to install the zone fail-over)
(2) Or should i perform the installation on... (0 Replies)
Hi All,
Below is the configuration of my sun cluster.
root@glob-one # clzc status
=== Zone Clusters ===
--- Zone Cluster Status ---
Name Node Name Zone HostName Status Zone Status
---- --------- ------------- ------ -----------
data ... (0 Replies)
I have a question about losing a node in a zone cluster. Hopefully I can explain enough for someone to answer.
Let's say I have a zone cluster spread over 3 physical nodes. If Node1 crashes, would I be correct in assuming I would lose all zones on Node1?
If I lost Node1 below, would I lose... (4 Replies)
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
LEARN ABOUT OPENSOLARIS
scha_resource_setstatus
scha_resource_setstatus(3HA) Sun Cluster HA and Data Services scha_resource_setstatus(3HA)NAME
scha_resource_setstatus, scha_resource_setstatus_zone - set resource status functions
SYNOPSIS
cc [flags...] -I /usr/cluster/include file -L /usr/cluster/lib -l scha
#include <scha.h>
scha_err_t scha_resource_setstatus(const char *rname, const char *rgname,
scha_rsstatus_t status, const char *status_msg);
scha_err_t scha_resource_setstatus_zone(const char *rname, const char *rgname,
const char *zonename, scha_rsstatus_t status, const char *status_msg);
DESCRIPTION
The scha_resource_setstatus() and scha_resource_setstatus_zone() functions set the Status and Status_msg properties of a resource that is
managed by the Resource Group Manager (RGM). A resource's monitor uses these functions to indicate the resource's state as perceived by the
monitor.
Use the scha_resource_setstatus() and scha_resource_setstatus_zone() functions only for resource types whose Global_zone property is set to
TRUE. These functions are not needed if the Global_zone property is set to FALSE. For more information, see the rt_properties(5) man page.
The rname argument names the resource whose status is to be set.
The rgname argument is the name of the resource group that contains the resource.
The zonename argument is the name of the non-global zone in which the resource group is configured to run. If the Global_zone property is
set to TRUE, methods execute in the global zone even if the resource group that contains the resource runs in a non-global zone.
The status argument is an enum value of type scha_rsstatus_t: SCHA_RSSTATUS_OK, SCHA_RSSTATUS_OFFLINE, SCHA_RSSTATUS_FAULTED, SCHA_RSSTA-
TUS_DEGRADED, or SCHA_RSSTATUS_UNKNOWN.
The status_msg argument is the new value for the Status_msg property. The status_msg argument can be NULL.
A successful call to the scha_resource_setstatus() or scha_resource_setstatus_zone() function causes the Status and Status_msg properties
of the resource to be updated with the supplied values. The update of the resource status is logged in the cluster system log and is acces-
sible by cluster administration tools.
RETURN VALUES
The scha_resource_setstatus() and scha_resource_setstatus_zone() functions return 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_resource_setstatus_zone() Function
#include <scha.h>
scha_err_t err_code;
const char *rname = "example_R";
const char *rgname = "example_RG";
err_code = scha_resource_setstatus_zone(rname, rgname,
SCHA_RSSTATUS_OK, "No problems");
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 scha_resource_setstatus(1HA), scha_calls(3HA), scha_strerror(3HA), attributes(5), rt_properties(5)Sun Cluster 3.2 7 Sep 2007 scha_resource_setstatus(3HA)