Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

HA zone in offline state

39 views
Skip to first unread message

Rick Smith

unread,
Nov 26, 2010, 10:54:41 AM11/26/10
to
I am using Solaris 10 10/09 and Sun Cluster 3.3, I am following some
instructions for SC 3.2 has anything changed in the process between
SC3.2 and SC3.3?

I am not able to get my HA zone to come up, it stays in offline state
and a clresource enable <ha zone resource> does not help, this is the
message I get:
cluster status
,snip>
Resource Name Node Name State Status Message
------------- --------- ----- --------------
hazone-zone CCC Offline Offline
BBB Starting Unknown - Starting


This is what I did:
clresourcetype register SUNW.HAStoragePlus
clresourcegroup create hazone-rg
clresource create -t SUNW.HAStoragePlus -g hazone-rg -p
Zpools=hazonepool -p AffinityOn=True hazone-zpool
clreslogicalhostname create -g hazone-rg -h hazone-lh hazone-lh
clresourcegroup online -M hazone-rg
On one node: zonecfg -z hazone
set zonepath=/hazonepool/zones/hazone
then
clresourcegroup switch -n node2 hazone-rg
mv /hazonepool/zones/hazone/root /hazonepool/zones/hazone/root.old
zonecfg -z hazone
set zonepath=/hazonepool/zones/hazone

clresourcetype register SUNW.gds
vi /etc/zones/sczbt_config
# The resource group that contains the resources the zones depend on
RG=hazone-rg
# The name of the zone resource to create
RS=hazone-zone
# The directory where this configuration file is stored
PARAMETERDIR=/etc/zones
SC_NETWORK=true
# Name of the logical hostname resource
SC_LH=hazone-lh
# Name of the zone you passed to zonecfg -z
Zonename=hazone
Zonebrand=native
Zonebootopt=”"
Milestone=”multi-user-server”
FAILOVER=true
# ZFS pool that contains the zone
HAS_RS=hazone-zpool

cd /opt/SUNWsczone/sczbt/util
./sczbt_register -f /etc/zones/sczbt_config

The resource hazone-zone shows up offline..............

Sami Ketola

unread,
Nov 26, 2010, 1:32:16 PM11/26/10
to
Rick Smith <ricksmit...@gmail.com> wrote:
> The resource hazone-zone shows up offline..............

Did you remember to do console login on the zone for the first boot
initial setup?

Sami

Rick Smith

unread,
Nov 26, 2010, 4:36:31 PM11/26/10
to
On Nov 26, 12:32 pm, Sami Ketola <Sami.Ket...@iki.finland.invalid>
wrote:

yes

Sami Ketola

unread,
Nov 26, 2010, 6:10:41 PM11/26/10
to
Rick Smith <ricksmit...@gmail.com> wrote:
> On Nov 26, 12:32 pm, Sami Ketola <Sami.Ket...@iki.finland.invalid>
>> Did you remember to do console login on the zone for the first boot
>> initial setup?
> yes

And still if you import the pool manually and star the zone manually
you are able to start the zone with no problems?

Sami

Rick Smith

unread,
Nov 27, 2010, 12:02:42 PM11/27/10
to
On Nov 26, 5:10 pm, Sami Ketola <Sami.Ket...@iki.finland.invalid>
wrote:

Thanks for following up. I appreciate it. Yes the zones start on both
nodes no problem.

Rick Smith

unread,
Nov 29, 2010, 12:09:18 PM11/29/10
to

Without cluster hooks - The zones start on either node without issue -
my issue is that when I put in the zone resource by using the /opt/
SUNWsczone/sczbt/util/sczbt_register script the zone stays on OFFLINE
state on both nodes, clresource enable <resource name> brings it
online - after a while. The zone then comes online but does not
failover.

0 new messages