We help IT Professionals succeed at work.

We've partnered with Certified Experts, Carl Webster and Richard Faulkner, to bring you two Citrix podcasts. Learn about 2020 trends and get answers to your biggest Citrix questions!Listen Now

x

HA - Cluster: OCF Resource Agent

Medium Priority
865 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

Comment
Watch Question

system administrator
Top Expert 2007
Commented:
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

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.