I have 2 systems Node1 and Node2 running VCS5.1 MP1 with solaris10_u8. I want to configure an oracle database in solaris zone which is able to failover to other node. Current Configuration is as following
The Zone root is on shared storage zonedg. And the zone is able to start on both the systems node1 and node2 when the zonedg ( zoneroot) is switched over. Now i do not know how to configure
the zone under VCS control with hazonesetup
Assuming you want to set the zone up in the existing group (zoneSG) then
resource: (whatever you want to call the zone resource, eg: myzoneres)
zonename: (name of the zone, eg: myzone)
autostart: (1 if you want it to start when vcs starts, 0 if you want to start it manually on cluster restart)
Systems: (list of systems that can run the zone, in this case node1, node2)
Edit: the following whitepaper may also be helpful:
How to configure failover of Solaris non-global zones using Storage Foundation for Oracle/HA Procedural steps to set up a highly available Oracle application in a Solaris nonglobal zone environment
Ok that worked thanks for that ....... but once the zone is up and running and if i want to run a an oracle instance .. which resources should be configured
I 'm not getting .. how the resources like oracle server, listener, etc should be created ..
Now, most of agents provide facility to monitor resources in local zone while agents are installed in Gloabal zone. "containername" attribute is introduced to bring this flexibility.
If you want to run Oracle and Listener in local zone and monitor them through VCS agents. You can install agents in Global Zone and use containername attribute ( use local zone name ) with resource to make them monitoring in local zone.
You can refer the document provided by Lee for more details or agent guide for Oracle.