While creating Zone cluster getting error


 
Thread Tools Search this Thread
Operating Systems Solaris While creating Zone cluster getting error
# 1  
Old 05-01-2018
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

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#

# 2  
Old 05-02-2018
While doing clrt register, please try to provide a -Z flag.
Code:
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.
# 3  
Old 05-04-2018
Thanks Peasant for your suggestion but I am getting below error.

Code:
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#

# 4  
Old 05-04-2018
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.
# 5  
Old 05-05-2018
Many Thanks Peasant for your effort to resolve this issue
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Solaris

Patching Procedure in Solaris 10 with sun cluster having Solaris zone

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

2. Solaris

Zone Cluster Question

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)
Discussion started by: MasonJ
4 Replies

3. Solaris

Help needed for patching on zone cluster

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)
Discussion started by: milindphanse604
0 Replies

4. Solaris

Sun cluster 4.0 - zone cluster failover doubt

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)
Discussion started by: NVA
0 Replies

5. Solaris

Zone failes to boot due to mount issue, dir exists in zone.

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)
Discussion started by: BG_JrAdmin
6 Replies

6. Solaris

High Availability zone on Sun Cluster

HI Experts, Could some one help me in configuring high availability zone on Sun Cluster Reg: Sudhan (3 Replies)
Discussion started by: sudhan143
3 Replies

7. Solaris

Applying Recommended Patch Cluster to Whole Root Zone

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)
Discussion started by: nm146332
3 Replies

8. Solaris

Creating A Solaris Zone - Unable to install - Are network settings required?

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)
Discussion started by: newbiesolaris10
4 Replies

9. UNIX for Dummies Questions & Answers

Veritas Cluster for Oracle on Soalris Zone

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)
Discussion started by: Shreeram Rane
1 Replies
Login or Register to Ask a Question