05-15-2013 03:53 AM
getting this error message while offlining the oracle SG.
Solved! Go to Solution.
05-19-2013 11:20 PM
Also note that never manually edit any of the zone file like /etc/zones/index or /etc/zones/z5.xml.
If you want to manually change state of the zone from 'installed' to 'configured' run following command.
# /usr/sbin/zoneadm -z z5 detach
Manually editing these files may leave zone in inconsistent state.
05-15-2013 06:12 AM
Hi,
Could you also share zone configuration file for zone 'z3'? It would be @ /etc/zones/z3.xml
Also, did you online the z3grp through VCS comepletely or manually outside VCS?
05-18-2013 07:25 AM
Okay, Thanks for responding. I am able to get zone/database/listener up on all nodes in the VCS cluster. I am testing hagrp -switch z5grp -to solaris11-chi-1/solaris11-chi-2
I reinstalled VCS, so
However, the -switch, does not leave the zone in a configured state(when the SG is going offline), I have to manually set configured state for zone on both nodes.
I am attaching the main.cf as main.txt.
05-18-2013 09:52 AM
05-19-2013 05:47 AM
My issue is this:
failover is not working. zone remains in "installed" state from the original node it fails FROM, it get's into "running" mode just fine on the node it fails TO, all services come up, database, listener...I have to manually edit the index file to change the zone from installed to configured state for failovber to work....
05-19-2013 11:09 PM
Hi,
Zone agent does have an attibute to control whether to detach zone root on offline/clean - DetachZonePath.
Though your main.cf shows that DetachZonePath has its default value which is 1, I would request you to check the value of DetachZonePath on running clsuter just to capture any unsaved configuration changes. You could check the value of this attribute by following command:
# /opt/VRTSvcs/bin/hares -value z5_zone DetachZonePath
Value should be 1. If it is not 1, please run following command to set it to 1.
# /opt/VRTSvcs/bin/hares -modify z5_zone DetachZonePath 1
If you see the issue that even after offline zone is in installed state, please enable debug logs for Zone agent and reproduce the issue. Debug log would help capture the exact error.
Debug logs can be enalbed using following command:
# /opt/VRTSvcs/bin/hatype -modify Zone LogDbg 1 2 3 4 5
05-19-2013 11:20 PM
Also note that never manually edit any of the zone file like /etc/zones/index or /etc/zones/z5.xml.
If you want to manually change state of the zone from 'installed' to 'configured' run following command.
# /usr/sbin/zoneadm -z z5 detach
Manually editing these files may leave zone in inconsistent state.
05-20-2013 08:31 AM
I wish you continued comfort and peace.Thank you for responding. All values check out, debug levels are set as you suggested.
I did a
and saw this in the engine log:
05-20-2013 08:37 AM
05-20-2013 08:47 AM
05-20-2013 08:49 AM
05-21-2013 03:42 AM
This is where things are now:
I reset ZoneResName to null ONLY on the zone root pool z5_pool.
Now, i can switch to node 2 to node2 but cannot switch back to node 1.
I get the following message: