cancel
Showing results for 
Search instead for 
Did you mean: 

DB shutdown

anvardheen_jabarullah
Participant
0 Kudos


Hi All,

In our HA server We want to bring down the full appliactions for the Maintenance activity. First I will bring down the applications and then cluster nodes.

How to stop DB?  Can We bring down by the following command "shutdown database" or any other method?

Also let me know how to check whether DB is up or not?

Accepted Solutions (1)

Accepted Solutions (1)

Reagan
Advisor
Advisor
0 Kudos

Hello

You need to provide more details regarding the OS and the database.

If this is Oracle database then from the SQL prompt you can issue :

shutdown immediate

As this is a cluster you can take the cluster resources offline.

Regards

RB

anvardheen_jabarullah
Participant
0 Kudos

Thanks for your prompt reply Benjamin.
Our server is Windows+Oracle PLATFORM

Reagan
Advisor
Advisor
0 Kudos

The cluster resources can be taken offline with the help of the cluster administrator.

If you only want to only stop SAP and Oracle manually then use SAP MMC to stop SAP and then connect to the database and stop the database as suggested.

Regards

RB

anvardheen_jabarullah
Participant
0 Kudos

Thanks.. is there any way to check whether DB is up or not?

Reagan
Advisor
Advisor
0 Kudos

1 - select name, open_mode from v$database;

2 - check for oracle processes at the OS level

3 - check the alert log whether the database has been shutdown or not.

Regards

RB

anvardheen_jabarullah
Participant
0 Kudos

As per your comments, in Oracle system I can bring down the DB by using the commant " sql*plus "/as sysdba" --> shutdown immediate"

What about in SQL db?

Reagan
Advisor
Advisor
0 Kudos

To the best of my knowledge when you stop SAP from SAP MMC the MSSQL database will also be stopped.

Regards

RB

Answers (2)

Answers (2)

former_member45419
Active Contributor
0 Kudos
Former Member
0 Kudos

Hi,

For start/stop in windows and MSSQL follow the below link.

http://scn.sap.com/community/netweaver-administrator/blog/2012/05/14/start-and-stop-an-sap-central-i...

For the sequence you can follow below blog.

http://scn.sap.com/thread/1832882

You can also check the installation guide as the sequence is always given in there also.

Thanks

Rishi Abrol

anvardheen_jabarullah
Participant
0 Kudos

Thanks Rishi...