Difference between revisions of "Pacemaker start and stop for Hana DB and application servers"
From Notes_Wiki
m |
m |
||
Line 1: | Line 1: | ||
[[Main Page|Home]] > [[Suse]] > [[SAP setup and maintenance]] > [[Pacemaker start and stop for Hana DB and application servers]] | |||
=Stop Application servers= | |||
=Stopping services= | |||
For stopping services: | |||
* Stop Application servers | |||
* Stop Database servers | |||
* Stop NFS server | |||
==Stop Application servers== | |||
To stop application servers use: | To stop application servers use: | ||
# Put the cluster in maintenance mode: | # Put the cluster in maintenance mode: | ||
Line 9: | Line 16: | ||
#:</pre> | #:</pre> | ||
# Stop SAP services (PAS & AAS services) with help of SAP Application team | # Stop SAP services (PAS & AAS services) with help of SAP Application team | ||
# Stop cluster services on | # Stop cluster services on '''Secondary node''' | ||
### Stop pacemaker cluster | ### Stop pacemaker cluster | ||
##:<pre> | ##:<pre> | ||
Line 18: | Line 25: | ||
##:: crm status | ##:: crm status | ||
##:</pre> | ##:</pre> | ||
# Stop cluster services on | # Stop cluster services on '''Primary node''' | ||
## Stop pacemaker cluster | ## Stop pacemaker cluster | ||
##:<pre> | ##:<pre> | ||
Line 29: | Line 36: | ||
==Stop Database servers== | |||
=Stop Database servers | |||
To stop database server use: | To stop database server use: | ||
# Put the cluster in maintenance mode: | # Put the cluster in maintenance mode: | ||
Line 38: | Line 43: | ||
#:</pre> | #:</pre> | ||
# Stop SAP DB services with help of SAP team | # Stop SAP DB services with help of SAP team | ||
# Stop cluster services on | # Stop cluster services on '''Secondary node''' | ||
## stop pacemaker cluster | ## stop pacemaker cluster | ||
##:<pre> | ##:<pre> | ||
Line 52: | Line 57: | ||
##:: HDB info | ##:: HDB info | ||
##:</pre> | ##:</pre> | ||
# Stop cluster services on | # Stop cluster services on '''Primary node''' | ||
## Stop pacemaker cluster | ## Stop pacemaker cluster | ||
##:<pre> | ##:<pre> | ||
Line 68: | Line 73: | ||
=Starting services= | |||
To start services: | |||
* Start NFS servers | |||
* Start database servers | |||
* Start application servers | |||
==Start database servers== | |||
To start database server use: | To start database server use: | ||
# Start HANA DB manually '''on primary node'''. Take Help from SAP team | |||
# Start cluster services on '''Primary node''' | |||
## Start pacemaker cluster | ## Start pacemaker cluster | ||
##:<pre> | ##:<pre> | ||
Line 86: | Line 97: | ||
##:: crm status | ##:: crm status | ||
##:</pre> | ##:</pre> | ||
# After starting the services in master node, '''wait for 5-10 minutes''' | |||
# Start cluster services on '''Secondary node''' | |||
## Start pacemaker cluster | ## Start pacemaker cluster | ||
##:<pre> | ##:<pre> | ||
Line 98: | Line 109: | ||
==Start application servers== | |||
= | |||
To start application servers use: | To start application servers use: | ||
# Start cluster services on | # Start cluster services on Primary node | ||
## Start pacemaker cluster | ## Start pacemaker cluster | ||
##:<pre> | ##:<pre> | ||
Line 115: | Line 125: | ||
##:</pre> | ##:</pre> | ||
## Start SAP services (PAS & AAS services) with help of SAP Application team | ## Start SAP services (PAS & AAS services) with help of SAP Application team | ||
# Check the cluster services on | # Check the cluster services on Secondary node | ||
## Slave node | ## Slave node might automatically restart due to fencing, after the pacemaker cluster is started on the Primary node | ||
## Check cluster services status | ## Check cluster services status | ||
##:<pre> | ##:<pre> | ||
Line 128: | Line 138: | ||
[[Main Page|Home]] > [[Suse]] > [[SAP setup and maintenance]] > [[Pacemaker start and stop for Hana DB and application servers]] |
Revision as of 03:29, 6 April 2022
Home > Suse > SAP setup and maintenance > Pacemaker start and stop for Hana DB and application servers
Stopping services
For stopping services:
- Stop Application servers
- Stop Database servers
- Stop NFS server
Stop Application servers
To stop application servers use:
- Put the cluster in maintenance mode:
- crm configure property maintenance-mode=true
- Stop SAP services (PAS & AAS services) with help of SAP Application team
- Stop cluster services on Secondary node
- Stop pacemaker cluster
- systemctl stop pacemaker.service
- Check services status
- crm status
- Stop cluster services on Primary node
- Stop pacemaker cluster
- systemctl stop pacemaker.service
- Check cluster services status
- crm status
- Stop pacemaker cluster
Stop Database servers
To stop database server use:
- Put the cluster in maintenance mode:
- crm configure property maintenance-mode=true
- Stop SAP DB services with help of SAP team
- Stop cluster services on Secondary node
- stop pacemaker cluster
- systemctl stop pacemaker.service
- Check cluster services status
- crm status
- Check HANA DB services status
- su - <username>
- HDB info
- stop pacemaker cluster
- Stop cluster services on Primary node
- Stop pacemaker cluster
- systemctl stop pacemaker.service
- Check cluster services status
- crm status
- Check HANA DB services status
- su - <username>
- HDB info
- Stop pacemaker cluster
Starting services
To start services:
- Start NFS servers
- Start database servers
- Start application servers
Start database servers
To start database server use:
- Start HANA DB manually on primary node. Take Help from SAP team
- Start cluster services on Primary node
- Start pacemaker cluster
- systemctl start pacemaker.service
- Remove cluster from maintenance mode:
- crm configure property maintenance-mode=false
- Check cluster services status
- crm status
- Start pacemaker cluster
- After starting the services in master node, wait for 5-10 minutes
- Start cluster services on Secondary node
- Start pacemaker cluster
- systemctl start pacemaker.service
- Check cluster services status
- crm status
- Start pacemaker cluster
Start application servers
To start application servers use:
- Start cluster services on Primary node
- Start pacemaker cluster
- systemctl start pacemaker.service
- Remove cluster from maintenance mode:
- crm configure property maintenance-mode=false
- Check cluster services status
- crm status
- Start SAP services (PAS & AAS services) with help of SAP Application team
- Start pacemaker cluster
- Check the cluster services on Secondary node
- Slave node might automatically restart due to fencing, after the pacemaker cluster is started on the Primary node
- Check cluster services status
- crm status
Refer:
Home > Suse > SAP setup and maintenance > Pacemaker start and stop for Hana DB and application servers