[62245] in SAPr3-news
ups shutdowns scripts for sap / oracle on win 2003
daemon@ATHENA.MIT.EDU (riggor9999)
Tue Nov 3 10:34:25 2009
To: sapr3-news@mit.edu
Date: Tue, 3 Nov 2009 10:34:11 -0500
From: "riggor9999" <riggor9999@nospam_yahoo.com>
Message-ID: <hcpihl$a8u$1@news.eternal-september.org>
Reply-To: "riggor9999" <riggor9999@nospam_yahoo.com>
Hello -
We normally run Unix / Oracle but I now have a sandbox running two SAP
instances (Sol Man 7.0 and NetWeaver 7.0) on Windows 2003.
I am trying write windows scripts to stop SAP and stop Oracle when the UPS
senses a power failure / low battery. This was very easy with Unix as
"stopsap" will stop SAP and Oracle. While in windows "stopsap" only stops
SAP, not Oracle.
Years ago - on Win2K / 4.6C ... I could issue a "sapdba -shutdown" command
and that worked just fine, but I am now having trouble with brtools and
brspace at the command line. When I issue a "brspace -f dbshut -mode
normal -confirm force" ... I still get the brtools menu to confirm /
interact. I need this to be automated without human interaction.
Does anyone have any experience with this? I have googled and searched but
have not found a simple / elegant way.
The other factor is that I have two SAP instances and two Oracle instances -
which probably need two diff scripts running under diff userids.
Bottom line is - I need a windows 2003 cmd script to run an automated sap
and oracle shutdown when the OS / UPS sense a power loss / low battery
condition.
Thanks in advance.
--
to reply via email, remove the "nospam_" from the return address