SAP HANA Server (SUSE) – Service Restart Procedure || Server Maintance


1. Login to the SAP HANA Server

  • Log in to the SUSE (HANA) server using root access.
  • Verify which user you are logged in as:

# who am i

Note: As a best practice, take a full backup of all databases before starting the following activity.

2. Stop All HANA Services

Run the following commands to stop all SAP HANA-related services:

  • systemctl stop sapb1servertools-authentication.service
  • systemctl stop authentication.service
  • systemctl stop sapb1edfbackend.service
  • systemctl stop b1s.service
  • systemctl stop sapb1servertools.service

3. Verify That Services Are Stopped

Check the status of each service:

# systemctl status sapb1servertools-authentication.service

The Active status should be inactive.

4. Login as NDB User

# su – ndbadm

5. Check the HDB Status

ndbadm@SAPSERVER:/usr/sap/NDB/HDB00> HDB info

If multiple services are shown as running, it means the HDB service is still active.

6. Stop the HDB

ndbadm@SAPSERVER:/usr/sap/NDB/HDB00> HDB stop

Note: Please wait until the process is fully stopped before proceeding. This may take 10 to 20 minutes, depending on the server configuration.

7. Verify That HDB Has Stopped Completely

ndbadm@SAPSERVER:/usr/sap/NDB/HDB00> HDB info

8. Reboot the SUSE (HANA) Server

# reboot

9. After Reboot – Login as Root

Once the server is up and running again, log in with root privileges.

10. Login as NDB User

# su – ndbadm

11. Start the HDB

ndbadm@HANA3:/usr/sap/NDB/HDB00> HDB start

12. Start the NDB Services

Run the following commands to start all related services:

  • systemctl start sapb1servertools-authentication.service
  • systemctl start authentication.service
  • systemctl start sapb1edfbackend.service
  • systemctl start b1s.service
  • systemctl start sapb1servertools.service

13. Verify That All Services Are Running

# systemctl status sapb1servertools-authentication.service

Ensure the Active status shows as active (running).

14. Final Step

Log in to SAP and verify that all functionalities are working correctly.

Comments

Popular posts from this blog

SAP B1SiteUser Password Reset || SAP Business One

Service pack migration SLES 15 SP1 to SLES 15 SP5 x86_64