Difference between revisions of "Stopping and starting all LPARS deployed on power servers for SAP App and DB"

From Notes_Wiki
(Created page with "<yambe:breadcrumb self="Stopping and starting all LPARS deployed on power servers for SAP App and DB">SAP setup and maintenance|SAP setup and maintenance</yambe:breadcrumb> =S...")
 
m
Line 69: Line 69:




Refer:
* https://documentation.suse.com/sle-ha/15-SP1/html/SLE-HA-all/cha-ha-maintenance.html






<yambe:breadcrumb self="Stopping and starting all LPARS deployed on power servers for SAP App and DB">SAP setup and maintenance|SAP setup and maintenance</yambe:breadcrumb>
<yambe:breadcrumb self="Stopping and starting all LPARS deployed on power servers for SAP App and DB">SAP setup and maintenance|SAP setup and maintenance</yambe:breadcrumb>

Revision as of 11:10, 22 July 2021

<yambe:breadcrumb self="Stopping and starting all LPARS deployed on power servers for SAP App and DB">SAP setup and maintenance|SAP setup and maintenance</yambe:breadcrumb>

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

  1. Put the Linux cluster related to SAP App and DB in maintenance mode
  2. SAP team should stop application servers
  3. SAP team should stop database servers
  4. Stop the pacemaker cluster serives in Application & Database servers as per Pacemaker start and stop for Hana DB and application servers
  5. Shutdown all the LPAR's using:
    shutdown -h now
    Note: Backup LPAR should be powered of at last
  6. Shutdown second VIOS server
  7. Shutdown first VIOS server
  8. Shutdown second physical host
  9. Shutdown first physical host
  10. Shutdown HMC VM
  11. Shutdown Physical server hosting HMC VM
  12. Shutdown storage
  13. Shutdown Tape Library


SAP Infra start up procedure

  1. Start Tape Library
  2. Start storage
  3. Start Dell host
  4. Start HMC VM
    Note: After storage, wait for 15-20mins for start physical hosts
  5. Start primary physical host
  6. Start seconday physical host
  7. Start primary VIOS server
  8. Start secondary VIOS server
  9. Start Database primary LPAR.
  10. Start Database secondary LPAR.
  11. SAP team start the Database in both the LPARs, Replication between the databases should work
  12. Start the pacemaker cluster in primary node as per Pacemaker start and stop for Hana DB and application servers
  13. Start the pacemaker cluster in secondary node
    Primary and Secondary nodes cluster services are in maintanence mode, because custer services was stopped in the maintenance mode state
  14. Get confirmation from SAP team on Database & Replication services working status
  15. Remove the database primary node from the maintenance using:
    crm node ready <nodename>
  16. Remove the database secondary node from the maintenance
  17. Get confirmation from SAP team on the Database & Replication services working status
  18. After nodes are in online state, Then only cluster services is in start state. Check cluster services health using:
    crm status
  19. Start the Application Primary LPAR
  20. Start the Application Secondary LPAR
    Primary and Secondary nodes are in maintanence mode, because custer services was stopped in maintenance mode state
  21. Remove the Application primary node from the maintenance using:
    crm node ready <nodename>
  22. Remove the Application secondary node from the maintenance.
  23. After nodes are in online state, Then cluster services is in start state and able to see all the mount points
  24. SAP team will start APP services in Primary & Secondary nodes as per Pacemaker start and stop for Hana DB and application servers
  25. Start all the LPARs
    Note: Backup LPAR should start last


Refer:


<yambe:breadcrumb self="Stopping and starting all LPARS deployed on power servers for SAP App and DB">SAP setup and maintenance|SAP setup and maintenance</yambe:breadcrumb>