- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- oracle database schedule shutdown
Operating System - HP-UX
1752304
Members
4536
Online
108786
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
Discussions
Discussions
Forums
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
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
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
тАО05-16-2002 07:21 PM
тАО05-16-2002 07:21 PM
I've oracle installed on hpux 11.11. I need to shutdown the database and then the server at a scheduled time. Can anybody help me with the script.
Thanks & Regards
krishnankutty
Thanks & Regards
krishnankutty
Krishnan Kutty
Solved! Go to Solution.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-16-2002 07:47 PM
тАО05-16-2002 07:47 PM
Solution
First the script - put into a file (say /home/nielg/shut)
ORACLE_SID=your_SID_here
export $ORACLE_SID
svrmgrl < connect internal
shutdown immediate
END_MGR
shutdown -y 0
(remember to make the script executable)
Next to enable it all:
as root:
edit /etc/shutdown.allow
add the name of the oracle user in there
also add the name of the oracle user to /var/adm/cron/at.allow
now decide on the time you want it to run (say 10 PM tonight)
as the oracle user:
at -f /home/nielg/shut 2200
Hope that helps
N
ORACLE_SID=your_SID_here
export $ORACLE_SID
svrmgrl <
shutdown immediate
END_MGR
shutdown -y 0
(remember to make the script executable)
Next to enable it all:
as root:
edit /etc/shutdown.allow
add the name of the oracle user in there
also add the name of the oracle user to /var/adm/cron/at.allow
now decide on the time you want it to run (say 10 PM tonight)
as the oracle user:
at -f /home/nielg/shut 2200
Hope that helps
N
Well, we all try
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-16-2002 07:52 PM
тАО05-16-2002 07:52 PM
Re: oracle database schedule shutdown
Hi,
Use Neil script but recomment to use
su - oracle -c <script name>
place this in root's cron job for schedule down only database.
if you want to down both OS and database , add database shutdown script in rc.
Use Neil script but recomment to use
su - oracle -c <script name>
place this in root's cron job for schedule down only database.
if you want to down both OS and database , add database shutdown script in rc.
enjoy any little thing in my life
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.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP