HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Script for shutting down application
Operating System - HP-UX
1835113
Members
2039
Online
110076
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
09-05-2008 01:00 PM
09-05-2008 01:00 PM
Script for shutting down application
Hi I Am looking for ascript which will help me in shutting down the sap and DB in all servers from a central point at the same time. I dont have any idea about script writing so expecting a help from you geniuses.
My requiremtn is this.
1) All servers have script called /SCRIPT/shut.sh ( which will bringdown sap and oracle)
2) Script should be executed as root
3) I need this script to run from one server and the shutdown process happens on all servers in parallel.
4) 3 servers are using diffrent scripts for shutting down. /SCRIPT/pre.sh , /SCRIPT/ov.sh, /SCRIPT/post.sh respectively.
I need these servers also go down at the same time.
Please help me with this.
Thanks in advance
My requiremtn is this.
1) All servers have script called /SCRIPT/shut.sh ( which will bringdown sap and oracle)
2) Script should be executed as root
3) I need this script to run from one server and the shutdown process happens on all servers in parallel.
4) 3 servers are using diffrent scripts for shutting down. /SCRIPT/pre.sh , /SCRIPT/ov.sh, /SCRIPT/post.sh respectively.
I need these servers also go down at the same time.
Please help me with this.
Thanks in advance
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-07-2008 04:58 AM
09-07-2008 04:58 AM
Re: Script for shutting down application
Shalom,
If the application does not come up with its own start/shut script.
cd /sbin/init.d
cp template appshut (give it a better name)
Modify this template to do the work you want it to do.
SEP
If the application does not come up with its own start/shut script.
cd /sbin/init.d
cp template appshut (give it a better name)
Modify this template to do the work you want it to do.
SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-07-2008 03:22 PM
09-07-2008 03:22 PM
Re: Script for shutting down application
Ku,
>>shutting down the sap and DB in all servers from a central point at the same time?<<
do you have any scheduling product running in your environement e.g. TWS (Tivoli Work scheduler)
This can help you to initiate script centrally...through scheduler..
>>shutting down the sap and DB in all servers from a central point at the same time?<<
do you have any scheduling product running in your environement e.g. TWS (Tivoli Work scheduler)
This can help you to initiate script centrally...through scheduler..
"There is always some scope for improvement"
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP