Difference between revisions of "Stopping and starting all LPARS deployed on power servers for SAP App and DB"
From Notes_Wiki
m |
m |
||
Line 4: | Line 4: | ||
==SAP Infra shutdown process== | ==SAP Infra shutdown process== | ||
# | # Put both application and DB clusters in maintenance mode using: | ||
# | #:<pre> | ||
#:: crm configure property maintenance-mode=true | |||
#:</pre> | |||
#: See [[Pacemaker start and stop for Hana DB and application servers]] | |||
#: No point in stopping pacemaker service as anyway we are going to shutdown the LPARs | |||
# Stop SAP Application and then SAP DB | |||
# We can use vMHC to shutdown all LPARS using graphical shutdown option. After selecting shutdown choose "Operating System" option. There are also option such as "Delayed", "Immediate" or "Operating System Immediate". | |||
#: Refer: https://www.redbooks.ibm.com/redbooks/pdfs/sg247491.pdf | |||
# Or if vHMC based shutdown is not preferred, shutdown all the LPAR's using: | |||
#:<pre> | #:<pre> | ||
#:: shutdown -h now | #:: shutdown -h now | ||
#:</pre> | #:</pre> | ||
# Shutdown second VIOS server | # Shutdown second VIOS server | ||
#: In vHMC after clicking on a power server we get options such as LPARS and "VIOS Servers". LPARS are visible under LPARS and "VIOS servers" are visible under VIOS server. Same as for LPAR choose action "Shutdown" with option "Operating System" | |||
# Shutdown first VIOS server | # Shutdown first VIOS server | ||
# Shutdown second physical host | # Shutdown second physical host | ||
#: This can be done from vHMC. There is option to poweroff the servers. | |||
# Shutdown first physical host | # Shutdown first physical host | ||
# Shutdown HMC VM | # Shutdown HMC VM | ||
#: You might have to poweroff (unclean shutdown) of VM from ESXi. Still need to figure out how to shutdown vHMC VM properly. | |||
# Shutdown Physical server hosting HMC VM | # Shutdown Physical server hosting HMC VM | ||
# Shutdown storage | # Shutdown storage | ||
#: In a few storages option to shutdown can be part of Monitoring tab. | |||
# Shutdown Tape Library | # Shutdown Tape Library | ||
#: There might be option to change "Library State" to Offline, if there is no shutdown option. | |||
Line 24: | Line 36: | ||
# Start Tape Library | # Start Tape Library | ||
#: Might have to change Library state to Online | |||
# Start storage | # Start storage | ||
# Start | #: In a few storages there is only option to shutdown. There is no power on button. As soon as A/C power is restored the storage might get powered on automatically. | ||
# Start HMC VM | # Start host where vHMC VM is deployed. This can be done using OOBE such iDRAC, IMM or iLO, etc. | ||
# Start HMC VM after ESXi has booted properly. | |||
#: Note: '''After storage, wait for 15-20mins for start physical hosts''' | #: Note: '''After storage, wait for 15-20mins for start physical hosts''' | ||
# Start primary physical host | # Start primary physical host |
Revision as of 08:19, 17 April 2022
Home > Suse > SAP setup and maintenance > Stopping and starting all LPARS deployed on power servers for SAP App and DB
It is possible to required shutting down all LPARs, followed by power server for some UPS / Cooling / Network maintenance activity at DC. In such cases to shutdown and start entire SAP related infrastructure refer below steps:
SAP Infra shutdown process
- Put both application and DB clusters in maintenance mode using:
- crm configure property maintenance-mode=true
- See Pacemaker start and stop for Hana DB and application servers
- No point in stopping pacemaker service as anyway we are going to shutdown the LPARs
- Stop SAP Application and then SAP DB
- We can use vMHC to shutdown all LPARS using graphical shutdown option. After selecting shutdown choose "Operating System" option. There are also option such as "Delayed", "Immediate" or "Operating System Immediate".
- Or if vHMC based shutdown is not preferred, shutdown all the LPAR's using:
- shutdown -h now
- Shutdown second VIOS server
- In vHMC after clicking on a power server we get options such as LPARS and "VIOS Servers". LPARS are visible under LPARS and "VIOS servers" are visible under VIOS server. Same as for LPAR choose action "Shutdown" with option "Operating System"
- Shutdown first VIOS server
- Shutdown second physical host
- This can be done from vHMC. There is option to poweroff the servers.
- Shutdown first physical host
- Shutdown HMC VM
- You might have to poweroff (unclean shutdown) of VM from ESXi. Still need to figure out how to shutdown vHMC VM properly.
- Shutdown Physical server hosting HMC VM
- Shutdown storage
- In a few storages option to shutdown can be part of Monitoring tab.
- Shutdown Tape Library
- There might be option to change "Library State" to Offline, if there is no shutdown option.
SAP Infra start up procedure
- Start Tape Library
- Might have to change Library state to Online
- Start storage
- In a few storages there is only option to shutdown. There is no power on button. As soon as A/C power is restored the storage might get powered on automatically.
- Start host where vHMC VM is deployed. This can be done using OOBE such iDRAC, IMM or iLO, etc.
- Start HMC VM after ESXi has booted properly.
- Note: After storage, wait for 15-20mins for start physical hosts
- Start primary physical host
- Start seconday physical host
- Start primary VIOS server
- Start secondary VIOS server
- Start Database primary LPAR.
- Start Database secondary LPAR.
- Start NFS and Database servers as per Pacemaker start and stop for Hana DB and application servers
- Start the Application Primary LPAR
- Start the Application Secondary LPAR
- Start APP services in Primary & Secondary nodes as per Pacemaker start and stop for Hana DB and application servers
- Start all the LPARs
- Note: Backup LPAR should start last
Refer:
Home > Suse > SAP setup and maintenance > Stopping and starting all LPARS deployed on power servers for SAP App and DB