- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Re : startup and shutdown script for sap
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-21-2004 03:09 AM
10-21-2004 03:09 AM
Re : startup and shutdown script for sap
Does anyone have any sample of how to create a startup and shutdown script for sap in the rc level where hp unix is using to start and stop process ???
Regards
Vincent
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-21-2004 03:13 AM
10-21-2004 03:13 AM
Re: Re : startup and shutdown script for sap
# start/stop script for SAP PRD1
#
#LSNRCTL=/oracle/PRD1/bin/lsnrctl
LSNRCTL=/oracle/PRD1/817_64/bin/lsnrctl
PRD1_HOME=/home/PRD1adm
ORA_OWNER=oraprd1
SAP_OWNER=prd1adm
case "$1" in
start_msg)
echo "Start PRD1 subsystem"
;;
stop_msg)
echo "Stop PRD1 subsystem"
;;
start)
# Start the Oracle listener:
# The following command assumes that the oracle login will not prompt the
# user for any values
/bin/su - $ORA_OWNER -c "$LSNRCTL start"
/bin/su - $SAP_OWNER -c $PRD1_HOME/startsap_svr007_00
;;
stop)
# Stop the Oracle databases:
# The following command assumes that the oracle login will not prompt the
# user for any values
/bin/su - $SAP_OWNER -c $PRD1_HOME/stopsap_svr007_00
/bin/su - $ORA_OWNER -c "$LSNRCTL stop"
;;
esac
And attached as text..
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-21-2004 03:15 AM
10-21-2004 03:15 AM
Re: Re : startup and shutdown script for sap
This link from itrc might help,
http://www2.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000066028004
the itrc doc id is UNX1000484.
also take a look at the doc /usr/share/doc/start_up.txt on your system.
Hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-21-2004 01:53 PM
10-21-2004 01:53 PM
Re: Re : startup and shutdown script for sap
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-22-2004 03:19 AM
10-22-2004 03:19 AM
Re: Re : startup and shutdown script for sap
Thanks for sending the script, I will try it out next week and let you know the result. Thanks again.
Regards
Vincent