[62252] in SAPr3-news

home help back first fref pref prev next nref lref last post

Re: ups shutdowns scripts for sap / oracle on win 2003

daemon@ATHENA.MIT.EDU (Gerhard Fricke)
Thu Nov 5 00:45:09 2009

To: sapr3-news@mit.edu
Date: Thu, 05 Nov 2009 06:44:41 +0100
From: Gerhard Fricke <gerhard.fricke@lsw.de>
Message-ID: <1257399881.43@user.newsoffice.de>

riggor9999 schrieb am 11.04.2009:


> "Christian Knappke" <chknews@gmx.net> wrote in message 
> news:hcrm7h$ls6$1@news.sap-ag.de...
>> riggor9999 schrieb:
>> 
>>> ==> I have tried using one sid1adm to do both - it does not work
>>> ==> I have tried using the windows "RUNAS" command for each line in the
>>> script - but it prompts for password an I have not found a way to hard 
>>> code
>>> it
>> 
>> Use the /savecred option of runas. The first time it asks for the
>> password ans then stores it. Use the user login that is supposed to
>> run the UPS scripts.
>> 
>> HTH and best regards

>> Christian

> Thanks - I will give it a try.

> If this works - I can have one script that will be able to issue all the 
> shutdown commands using different id / passwords.

Hi,
we have two systems with two oracle-db on one server. We start both 
SAP-systems with one batch- file und some sub-batch-files.

In the main batchfile for starting we call ths first sub-batch-file to 
set the enviroment for SY1 and then we start the services, the db and at 
last the SAP-system SY1.
After this the main batchfile call the second sub-batch-file to set the 
enviroment for SY2 and then we start the services, the second db and at 
last the SAP-system SY2.

If we want to stop both systems, we are using a stop-routine like the 
start-batch-files.

If you want more informations, send a mail to me.

best regards

gerd



home help back first fref pref prev next nref lref last post