Pacemaker start and stop for Hana DB and application servers

From Notes_Wiki
Revision as of 11:10, 22 July 2021 by Saurabh (talk | contribs)

<yambe:breadcrumb self="Pacemaker start and stop for Hana DB and application servers">SAP setup and maintenance|SAP setup and maintenance</yambe:breadcrumb>

Pacemaker start and stop for Hana DB and application servers

Stop Application servers

To stop application servers use:

  1. Put the cluster in maintenance mode:
    crm configure property maintenance-mode=true
  2. Stop SAP services (PAS & AAS services) with help of SAP Application team
  3. Stop cluster services on Slave node
      1. Stop pacemaker cluster
      systemctl stop pacemaker.service
    1. Check services status
      crm status
  4. Stop cluster services on Master node
    1. Stop pacemaker cluster
      systemctl stop pacemaker.service
    2. Check cluster services status
      crm status


Stop Database servers:

To stop database server use:

  1. Put the cluster in maintenance mode:
    crm configure property maintenance-mode=true
  2. Stop SAP DB services with help of SAP team
  3. Stop cluster services on Slave node
    1. stop pacemaker cluster
      systemctl stop pacemaker.service
    2. Check cluster services status
      crm status
    3. Check HANA DB services status
      su - <username>
      HDB info
  4. Stop cluster services on Master node
    1. Stop pacemaker cluster
      systemctl stop pacemaker.service
    2. Check cluster services status
      crm status
    3. Check HANA DB services status
      su - <username>
      HDB info


Start Database servers

To start database server use:

  1. Start cluster services on Master node
    1. Start HANA DB manually. Take Help from SAP team
    2. Start pacemaker cluster
      systemctl start pacemaker.service
    3. Remove cluster from maintenance mode:
      crm configure property maintenance-mode=false
    4. Check cluster services status
      crm status
  2. Start cluster services on Slave node
    1. After starting the services in master node, wait for 5-10 minutes
    2. Start pacemaker cluster
      systemctl start pacemaker.service
    3. Check cluster services status
      crm status


Application servers

To start application servers use:

  1. Start cluster services on Master node
    1. Start pacemaker cluster
      systemctl start pacemaker.service
    2. Remove cluster from maintenance mode:
      crm configure property maintenance-mode=false
    3. Check cluster services status
      crm status
    4. Start SAP services (PAS & AAS services) with help of SAP Application team
  2. Check the cluster services on Slave node
    1. Slave node will automatically restarts, Once the pacemaker cluster started on the Master node
    2. Check cluster services status
      crm status


Refer:


<yambe:breadcrumb self="Pacemaker start and stop for Hana DB and application servers">SAP setup and maintenance|SAP setup and maintenance</yambe:breadcrumb>