While creating Zone cluster getting error

Hi

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

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#

While doing clrt register, please try to provide a -Z flag.

clrt register SUNW.HAStoragePlus -Z oxyZC

A since zone cluster runs it's own cluster stack, you will need to register a resource inside it.

Hope that helps
Regards
Peasant.

Thanks Peasant for your suggestion but I am getting below error.

bash-3.2#
bash-3.2# clrt register SUNW.HAStoragePlus -Z oxyZC
clrt:  (C771701) HAStoragePlus: resource type exists; cannot create
clrt:  Registration file not found or has syntax errors for "-Z" in /usr/cluster/lib/rgm/rtreg or /opt/cluster/lib/rgm/rtreg. Use -f to get more details             on syntax errors.
clrt:  Registration file not found or has syntax errors for "oxyZC" in /usr/cluster/lib/rgm/rtreg or /opt/cluster/lib/rgm/rtreg. Use -f to get more details             on syntax errors.
bash-3.2#
bash-3.2#
bash-3.2# clrt register -f SUNW.HAStoragePlus -Z oxyZC
clrt:  (C564393) You must provide the name of the resource type to register.
clrt:  (C101856) Usage error.

Usage:    clrt register [<options>] + | <resourcetype> ...

Register resource types

OPTIONS:

  -?    Display this help text.

  -f <rtrfile|rtrfiledir>
        Specify the full path to an RTR file or a directory.

  -i {- | <clconfiguration>}
        Specify XML configuration as input.

  -N    Make resource type available on all cluster nodes.

  -n <node>[:<zone>][,...]
        Specify one or more nodes.

  -p <name>=<value>
        Set a resource type property.

  -v    Verbose output.

  -Z {global | <zone-cluster-name>}
        Specify a zone cluster name.

  -z <zone>
        Specify a zone.


bash-3.2#
bash-3.2#
bash-3.2# ls -l /usr/cluster/lib/rgm/rtreg
total 130
-r-xr-xr-x   1 root     bin         4883 Jul 27  2010 SUNW.Event
lrwxrwxrwx   1 root     other         40 Nov 20 23:19 SUNW.GeoCtlAVS -> /opt/SUNWscgrepavs/rt/etc/SUNW.GeoCtlAVS
lrwxrwxrwx   1 root     other         42 Nov 20 23:20 SUNW.GeoCtlSRDF -> /opt/SUNWscgrepsrdf/rt/etc/SUNW.GeoCtlSRDF
lrwxrwxrwx   1 root     other         38 Nov 20 23:20 SUNW.GeoCtlTC -> /opt/SUNWscgreptc/rt/etc/SUNW.GeoCtlTC
-r-xr-xr-x   1 root     bin         7279 Feb 21  2013 SUNW.HAStoragePlus
-r-xr-xr-x   1 root     bin         3943 Jan 30  2013 SUNW.HBmonitor
-r-xr-xr-x   1 root     bin         4280 Jul 27  2010 SUNW.LogicalHostname
-r-xr-xr-x   1 root     bin         1266 Jan 30  2013 SUNW.SCGeoInitSvc
-r-xr-xr-x   1 root     bin         1960 Jan 30  2013 SUNW.SCGeoZC
-r-xr-xr-x   1 root     bin         3515 Feb 21  2013 SUNW.ScalDeviceGroup
-r-xr-xr-x   1 root     bin         4278 Feb 21  2013 SUNW.ScalMountPoint
-r-xr-xr-x   1 root     bin         4602 Jul 27  2010 SUNW.SharedAddress
lrwxrwxrwx   1 root     root          50 Nov 20 23:18 SUNW.crs_framework -> ../../ucmm/rt/crs_framework/etc/SUNW.crs_framework
-r-xr-xr-x   1 root     bin         4412 Jul 27  2010 SUNW.derby
lrwxrwxrwx   1 root     other         34 Nov 20 23:17 SUNW.ds6ldap -> /opt/SUNWdsee/ds6/etc/SUNW.ds6ldap
lrwxrwxrwx   1 root     other         29 Nov 20 23:17 SUNW.iim -> /opt/SUNWiim/cluster/SUNW.iim
lrwxrwxrwx   1 root     other         27 Nov 20 23:17 SUNW.ims -> /opt/SUNWscims/etc/SUNW.ims
lrwxrwxrwx   1 root     root          50 Nov 20 23:18 SUNW.rac_framework -> ../../ucmm/rt/rac_framework/etc/SUNW.rac_framework
lrwxrwxrwx   1 root     root          38 Nov 20 23:18 SUNW.rac_svm -> ../../ucmm/rt/rac_svm/etc/SUNW.rac_svm
lrwxrwxrwx   1 root     other         29 Nov 20 23:17 SUNW.scics -> /opt/SUNWscics/etc/SUNW.scics
-r-xr-xr-x   1 root     bin         5083 Jul 27  2010 SUNW.scmasa
-r-xr-xr-x   1 root     bin         4078 Jul 27  2010 SUNW.sctelemetry
lrwxrwxrwx   1 root     root          43 Nov 20 23:16 SUNW.vucmm_cvm -> ../../vucmm/rt/vucmm_cvm/etc/SUNW.vucmm_cvm
lrwxrwxrwx   1 root     root          55 Nov 20 23:16 SUNW.vucmm_framework -> ../../vucmm/rt/vucmm_framework/etc/SUNW.vucmm_framework
lrwxrwxrwx   1 root     root          43 Nov 20 23:16 SUNW.vucmm_svm -> ../../vucmm/rt/vucmm_svm/etc/SUNW.vucmm_svm
-r-xr-xr-x   1 root     bin         1147 Jul 27  2010 SUNW.wait_zc_boot
bash-3.2#
bash-3.2# ls -ld /usr/cluster/lib/rgm/rtreg
drwxr-xr-x   2 root     bin           28 Nov 20 23:20 /usr/cluster/lib/rgm/rtreg
bash-3.2#
bash-3.2# ls -ld /opt/cluster/lib/rgm/rtreg.
/opt/cluster/lib/rgm/rtreg.: No such file or directory
bash-3.2#
bash-3.2# zlogin oxyZC
[Connected to zone 'oxyZC' pts/3]
Last login: Fri May  4 19:38:53 on pts/3
Oracle Corporation      SunOS 5.10      Generic Patch   January 2005
#
# 
# ls -ld /usr/cluster/lib/rgm/rtreg
drwxr-xr-x   2 root     bin           13 May  4 10:03 /usr/cluster/lib/rgm/rtreg
# ^D
[Connection to zone 'oxyZC' pts/3 closed]
bash-3.2#
bash-3.2#
bash-3.2# clrt register -f /usr/cluster/lib/rgm/rtreg SUNW.HAStoragePlus -Z oxyZC
clrt:  (C771701) HAStoragePlus: resource type exists; cannot create
clrt:  (C876954) Failed to find "-Z" in RTR directory "/usr/cluster/lib/rgm/rtreg".
clrt:  (C876954) Failed to find "oxyZC" in RTR directory "/usr/cluster/lib/rgm/rtreg".
bash-3.2#

Long time since i used one of those.
Only thing i can do is pop a two node cluster and virtualbox and test following documentation.

If i catch some time during this weekend i'll give a shot, since i need an iscsi setuped for that as well.

Regards
Peasant.

Many Thanks Peasant for your effort to resolve this issue