florian at hastexo
Feb 28, 2012, 1:51 AM
Post #2 of 2
Re: Oracle instance to be managed by an heartbeat based Linux Cluster
[In reply to]
On Mon, Feb 27, 2012 at 11:37 PM, Michel Lion <mlion [at] allot> wrote:
> I would need to configure a Linux Cluster for an Oracle instance.
> I found some very interesting scripts for starting up and shutting down the database to be used inside the heartbeat configuration files (https://raw.github.com/ClusterLabs/resource-agents/master/heartbeat/oracle).
> However, I could not figure out exactly where to configure that and how to use those scripts.
> I understand that the line " node1 10.0.0.170 oracle::RK1::/oracle/10.2::orark1" should be configured in the /etc/ha.d/haresources but what should I do with the script itself? Would you have some document or guide that describes how to proceed?
> I am currently using the following heartbeat version package combinations:
> [root [at] oracle- ~]# rpm -qa | grep heartbeat
As Robert was saying, those releases are ancient. You need to
definitely go with Pacemaker 1.1.5+ and either Heartbeat 3.0.x or (my
preference) Corosync 1.4.2+.
If you haven't heard of any of these before, the following pages have
brief writeups of those three:
However, you're of course strongly encouraged to also take a look at
the respective project web sites which are linked from there.
As far as configuration is concerned, you might want to take a look at
http://youtu.be/3GoT36cK6os for an intro to the Pacemaker stack (if
you're unfamiliar with it at this point). For Oracle specifically, you
will need to configure at least two resources in your Pacemaker
configuration, one for the database instance and one for the TNS
Minimal resource configuration examples are included in the relevant
resource agent man pages:
Hope this helps.
Need help with High Availability?
Linux-HA mailing list
Linux-HA [at] lists
See also: http://linux-ha.org/ReportingProblems