Bug 204084
Summary: | SAP Resource Agent | ||
---|---|---|---|
Product: | [Retired] Red Hat Cluster Suite | Reporter: | Rob Kenna <rkenna> |
Component: | rgmanager | Assignee: | Marek Grac <mgrac> |
Status: | CLOSED ERRATA | QA Contact: | Cluster QE <mspqa-list> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 4 | CC: | adolf.rieger, alexander.krauth, bkahn, cluster-maint, ecs-dev-list, helge.deller, hlawatschek, jmh, kanderso, lhh, michael.hagmann, nphilipp |
Target Milestone: | --- | Keywords: | Documentation, Reopened |
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | RHBA-2007-1000 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2007-11-21 21:53:00 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 238916 | ||
Attachments: |
Description
Rob Kenna
2006-08-25 14:01:52 UTC
Development Management has reviewed and declined this request. You may appeal this decision by reopening this request. This is really 3 resource agents and requires multiple dependencies, which we do not currently have in rgmanager. Since we are working on the multiple dependency issue and this is not really a single bug, I'm closing this one for now. Alexander Krauth has worked on a generic resource agent for SAP server software, he'll attach the current revision to this BZ. Mind that this still needs multiple dependencies, as we need to specify that an SAP appserver needs a running SAP message server and database to be started. In the SAP case, we also need "weak" dependencies, i.e. the dependencies are only needed for starting, it handles reconnecting to the message server or DBMS by itself. Created attachment 138692 [details]
SAP ocf resource agent for Linux HA solutions
Here is the current SAP resource agent developed in the SAP LinuxLab. It is not jet completed and not completely tested (but basicaly working). It uses SAP Kernel 7.00 functionality which is planed to be "backported" to SAP 4.6D in the near future. It is generic to start,stop and monitor all types of SAP instances (systems). Another agent called SAPdatabase will (hopefully) follow soon, which will cover the SAP specific database features. It is planed that both agents will also be part of the cluster ha project that feads the heartbeat.rpm. Cheers, Alex As I suspected, that agent will only require very tiny modifications in order to work with rgmanager (ex: location of ocf-shellfuncs, for example, differs on rgmanager vs. heartbeat). Created attachment 138694 [details]
Check two places for ocf-shellfuncs in SAPInstance
Created attachment 138695 [details]
RHEL4 rgmanager patch to choose primary attr if none is provided
Created attachment 138696 [details]
RHEL5 rgmanager patch to choose primary attr if none is provided
With those patches, rgmanager can use the resource agent. I haven't fully tested it, but in cluster.conf, it would look like: <service name="example"> <SAPInstance InstanceName="test" DIR_EXECUTABLE="foo" DIR_PROFILE="bar" START_PROFILE="wachattamanga"/> <fs .../> <ip .../> </service> Note: case sensitive! Case sensitive is no problem because the 3 latter options are hardly if ever used (customers use the defaults given by the SAP installer, the options are just there for the sake of completeness, i.e. if some customer suffers from the NIH syndrome). Are there BZ entries that deal with the "multiple dependency" and "one service follows another" issues? Another question: to use that resource manager, does the <service> metadata need to be changed, i.e. does <service> need to know that SAPInstance is a valid child? Created attachment 142956 [details]
SAP ocf resource agent database for Linux HA solutions
Created attachment 142957 [details]
SAP ocf resource agent for Linux HA solutions
I attached the first full functional version of the SAPInstance and SAPDatabase resource agents. They are tested and working with the Linux-HA project (http://www.linux-ha.org/) right now. Tests with Red Hat Cluster Suite will follow asap. Are there any further dependencies on rgmanager that have not been resolved? Adding 'cc ecs-dev-list for tracking No deps on rgmanager; SAP resource agents are in the RHEL5 branch. I altered the scripts themselves to add the primary="x" attribute to the metadata rather than requiring core rgmanager changes. All we need to do here is check the ones from the RHEL5 branch in to CVS Alex, please attach the current versions of the SAP resource agent files to this bug. Thanks. Created attachment 157536 [details]
SAP ocf resource agent database for Linux HA solutions
actual version of SAPDatabase OCF agent attached
Created attachment 157537 [details]
SAP ocf resource agent for Linux HA solutions
actual version of SAPInstance OCF agent attached
Somebody who has permission: Please set that patch named: "Check two places for ocf-shellfuncs in SAPInstance" to obsolete. (In reply to comment #29) > Somebody who has permission: > Please set that patch named: "Check two places for ocf-shellfuncs in > SAPInstance" to obsolete. done. Patch in CVS Rather, RA's from RHEL5 branch checked in to RHEL4 branch. An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on the solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2007-1000.html |