Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 2230636

Summary: [RFE] Support the "SAPStartSrv" resource agent for managing a single SAP Instance
Product: Red Hat Enterprise Linux 9 Reporter: Joshua Baker <jobaker>
Component: resource-agents-sapAssignee: Janine Fuchs <jfuchs>
Status: CLOSED MIGRATED QA Contact: Amir Memon <amemon>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 9.4CC: aarnold, cbrune, fdanapfe, oalbrigt, sbednar
Target Milestone: rcKeywords: FutureFeature, MigratedToJIRA
Target Release: ---Flags: pm-rhel: mirror+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-09-05 18:34:23 UTC Type: Story
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Joshua Baker 2023-08-09 18:34:11 UTC
1. Proposed title of this feature request

    Support for the SAPStartSrv resource agent for use with running a simplified
    SAP Instance in Pacemaker clusters. 

2. Who is the customer behind the request?

     Account: Chevron Services Company (745769)

     TAM customer: yes
        Joshua Coopman ( jcoopman )

     SRM customer: no

     Strategic: yes

3. What is the nature and description of the request?

    Customer is requesting that we provide the SAPStartSrv resource agent and 
    assocated tools in order to provide a simplified cluster managed process
    for SAP Instnaces:

        SUSE/SAPStartSrv-resourceAgent
        https://github.com/SUSE/SAPStartSrv-resourceAgent

    Customer's description of the issue and request:
    
~~~
What are you experiencing? What are you expecting to happen?
We would like to see something similar to this capability created by SuSE Linux for a simplified mounting structure with SAP under Pacemaker:

https://www.suse.com/c/simple-mount-structure-for-sap-application-platform/


Define the value or impact to you or the business
Today, we actually implement our systems with a simplified mount structure in Azure (as a minor deviation from the documented process from RedHat + Microsoft). 

While this has not really been a problem functionally, it does have some confusing side effects as shown below:

kz2adm> sapcontrol -nr 96 -function GetSystemInstanceList

08.08.2023 19:17:16
GetSystemInstanceList
OK
hostname, instanceNr, httpPort, httpsPort, startPriority, features, dispstatus
kz2-ers, 97, 59713, 59714, 0.5, ENQREP, GRAY
kz2-ascs, 96, 59613, 59614, 1, GATEWAY|MESSAGESERVER|ENQUE|WEBDISP, GREEN
kz2-ascs, 96, 59613, 59614, 1, GATEWAY|MESSAGESERVER|ENQUE|WEBDISP, GRAY
kz2-ers, 97, 59713, 59714, 0.5, ENQREP, GREEN
sapkz2-d3pas0, 0, 50013, 50014, 3, ABAP|GATEWAY|ICMAN|IGS, GREEN
sapkz2-d3sas0, 1, 50113, 50114, 3, ABAP|GATEWAY|ICMAN|IGS, GREEN

We can see that both the ERS and ASCS show one GREEN record and one GRAY record. The GRAY records are on the node where the service is not active and the GREEN records are on the node where the service is active.

Functionally, everything has been working fine this way for 5+ years... but we never knew the cause until recently.

As we are now exploring the Microsoft ACSS capabilities (which require registering with the Message server) we cannot as that service is detecting multiple ASCS nodes.

After some research, we learned that this appears to be because both nodes have access to the profile directories for both ASCS and ERS.

We then learned of the SuSE implementation mentioned in the description, which we think is a much cleaner and simpler solution.
~~~


4. Why does the customer need this? (List the business requirements here)

    The new RA will provide a simpler and easier manage method of running SAP
    instances within pacemaker, then what's currently available. 

5. How would the customer like to achieve this? (List the functional requirements here)

    Add the "SAPStartSrv" resource agent and other needed services, for use within
    pacemaker. 

6. For each functional requirement listed, specify how Red Hat and the customer can test to confirm the requirement is successfully implemented.

    We would need to test the functionality of the Resource Agent and SAP
    instnaces running within a pacemaker cluster. This will require testing
    of all required functionalities, such as starting / stopping / monitoring
    the resource on each node, and testing of failover behaviors. 

7. Is there already an existing RFE upstream or in Red Hat Bugzilla?

    Yes: https://github.com/SUSE/SAPStartSrv-resourceAgent

8. Does the customer have any specific time-line dependencies and which release would they like to target (i.e. RHEL5, RHEL6)?

    None listed, and customer may already be running this config.

9. Is the sales team involved in this request and do they have any additional input?

    Not that I am aware of. 

10. List any affected packages or components.

    resource-agents-sap

11. Would the customer be able to assist in testing this functionality if implemented?

    They should be able to, and seem to be already running this configuration.

Comment 2 RHEL Program Management 2023-09-05 18:31:54 UTC
Issue migration from Bugzilla to Jira is in process at this time. This will be the last message in Jira copied from the Bugzilla bug.

Comment 3 RHEL Program Management 2023-09-05 18:34:23 UTC
This BZ has been automatically migrated to the issues.redhat.com Red Hat Issue Tracker. All future work related to this report will be managed there.

Due to differences in account names between systems, some fields were not replicated.  Be sure to add yourself to Jira issue's "Watchers" field to continue receiving updates and add others to the "Need Info From" field to continue requesting information.

To find the migrated issue, look in the "Links" section for a direct link to the new issue location. The issue key will have an icon of 2 footprints next to it, and begin with "RHEL-" followed by an integer.  You can also find this issue by visiting https://issues.redhat.com/issues/?jql= and searching the "Bugzilla Bug" field for this BZ's number, e.g. a search like:

"Bugzilla Bug" = 1234567

In the event you have trouble locating or viewing this issue, you can file an issue by sending mail to rh-issues.