1833866 Members
2389 Online
110063 Solutions
New Discussion

Re: Oracle RAC package

 
Bruno Bossier_1
Regular Advisor

Oracle RAC package

I have a 2 node Serviceguard cluster with CVM. Oracle RAC is currently being installed using raw volumes via CVM.

Does their exist some kind of template to create a package in the cluster ? I suppose I need to create 2 packages : one for the first node and one for the second node ?

Do I just run cmmakepkg -p ... and -s ... and fill all the necessary information ? What do I specify as RUN_SCRIPT and HALT_SCRIPT ? The standard Oracle start/stop scripts or the ones usually placed in /sbin/init.d or ... ?

Bruno
5 REPLIES 5
Sunil Sharma_1
Honored Contributor

Re: Oracle RAC package

Hi,

have a look on following thread.

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=186569

Sunil
*** Dream as if you'll live forever. Live as if you'll die today ***
G. Vrijhoeven
Honored Contributor

Re: Oracle RAC package

Hi Bruno,

Create a package on node A.
cmmakepkg -p and -s
fill out all the forms.

Info can be found on
http://docs.hp.com/hpux/ha/index.html

start and stop scripts can be the standard oracle start/stop scripts, just make sure no information/binaries are needed from vg00 ( /etc)

Copy the controle and config file to Node B.
Export the volumegroup info on node A ( preview) and import it on node B.
Create all needed mount points on Both nodes.

HTH,

Gideon
Bruno Bossier_1
Regular Advisor

Re: Oracle RAC package

Looks like I do not need any packages in an Oracle RAC environment as the 2 nodes from the cluster are defined in the configuration of the listener who take care of the necessary load-balancing.

Bruno
David Child_1
Honored Contributor

Re: Oracle RAC package

Bruno,

You don't need to create any packages. Oracle RAC is handling all the load balancing & failover for Oracle. MC/ServiceGuard OPS is there to provide the foundation to support RAC (mainly shared volume groups).

David
Not applicable

Re: Oracle RAC package

Although you can have an SGeRAC cluster without using packages to start RAC you would then need to be crareful to run your RAC startup at the right time. The documented and recommended approach is to use packages and to use the Oracle toolkit scripts as the basis for these packages.

Note that when they split SGeRAC out as an extension to SG rather than a separate product, they made a mistake when updating the documentation and did not include this in the first version of the manual.

I suggest you take a look at the latest June 2004 manual which describes this in the chapter, 'Using Packages to Configure Startup and Shutdown of RAC Instances'

The link to the html version of this is at:

http://docs.hp.com/hpux/onlinedocs/T1859-90017/00/00/21-con.html

This also includes a description of what you need to do this with CVM.