[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

HA - Cluster: OCF Resource Agent

Posted on 2009-02-17
3
Medium Priority
?
842 Views
Last Modified: 2012-06-21
Hello,

i am using Linux CLuster with Centos 5.2 as OS,and heartbeat 2, DRBD , btw. MaxDB ..etc.

I trying to modify the Resource Agent "SAPDatabase" in "/usr/lib/ocf/resource.d/heartbeat" to start MaxDB automaticly after a failover!

it is not working!

i am trying this code:
<parameters>
 <parameter name="SID" unique="1" required="1">
  <longdesc lang="en">The unique SAP system identifier. e.g. P01</longdesc>
  <shortdesc lang="en">SAP system ID</shortdesc>
  <content type="string" default="MDB" />
 </parameter>
 <parameter name="DIR_EXECUTABLE" unique="1" required="0">
  <longdesc lang="en">The full qualified path where to find sapstartsrv and sapcontrol.</longdesc>
  <shortdesc lang="en">path of sapstartsrv and sapcontrol</shortdesc>
  <content type="string" default="/repdata/opt/sdb/programs/bin" />
 </parameter>
 <parameter name="DBTYPE" unique="1" required="1">
  <longdesc lang="en">The name of the database vendor you use. Set either: ORA,DB6,ADA</longdesc>
  <shortdesc lang="en">database vendor</shortdesc>
  <content type="string" default="MaxDB" />
 </parameter>
 
 
thanks alot for any help

Open in new window

0
Comment
Question by:XXXcool
1 Comment
 
LVL 27

Accepted Solution

by:
Nopius earned 1500 total points
ID: 23676106
Hi, xxxcool.

RedHat doesn't support MaxDB database resource type. You may either write your custom scripts or change your database to supported one:
Oracle, Postgres or MySQL.

https://www.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/5.2/html/Cluster_Administration/ap-ha-resource-params-CA.html

MaxDB from sapdb.org is not  SAP R/3, that is http://en.wikipedia.org/wiki/SAP_AG
0

Featured Post

Prepare for your VMware VCP6-DCV exam.

Josh Coen and Jason Langer have prepared the latest edition of VCP study guide. Both authors have been working in the IT field for more than a decade, and both hold VMware certifications. This 163-page guide covers all 10 of the exam blueprint sections.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Little introduction about CP: CP is a command on linux that use to copy files and folder from one location to another location. Example usage of CP as follow: cp /myfoder /pathto/destination/folder/ cp abc.tar.gz /pathto/destination/folder/ab…
Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
Suggested Courses
Course of the Month17 days, 22 hours left to enroll

830 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question