- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Start/stop script location and setting
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
Discussions
Discussions
Forums
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
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
тАО08-03-2006 10:34 PM
тАО08-03-2006 10:34 PM
Start/stop script location and setting
I need to integrate oracle database to the hp-ux OS using start stop script. When system will be down then database will be down and when the system will start then database will start. Can anybody tell me in which location I have to set these script in the system?
Rgds,
Rana
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-03-2006 10:37 PM
тАО08-03-2006 10:37 PM
Re: Start/stop script location and setting
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-03-2006 10:38 PM
тАО08-03-2006 10:38 PM
Re: Start/stop script location and setting
have a look in the /sbin/rc3.d area.
Look at some of the scripts. If you do a search on the ITRC forums, you should lots of advice on how to set it up.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-03-2006 10:42 PM
тАО08-03-2006 10:42 PM
Re: Start/stop script location and setting
no points for this follow-up.
For example:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1037789
and
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1033867
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-03-2006 10:45 PM
тАО08-03-2006 10:45 PM
Re: Start/stop script location and setting
these url should help you:
http://www.docs.hp.com/en/B2355-60127/rc.1M.html
http://docs.hp.com/en/934/startup.pdf
see also: http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1048583
kind regards
yogeeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-03-2006 11:23 PM
тАО08-03-2006 11:23 PM
Re: Start/stop script location and setting
- Create file /etc/oratab
#
# This file is used by ORACLE utilities. It is created by root.sh
# and updated by the Database Configuration Assistant when creating
# a database.
# A colon, ':', is used as the field terminator. A new line terminates
# the entry. Lines beginning with a pound sign, '#', are comments.
#
# Entries are of the form:
# $ORACLE_SID:$ORACLE_HOME:
#
# The first and second fields are the system identifier and home
# directory of the database respectively. The third filed indicates
# to the dbstart utility that the database should , "Y", or should not,
# "N", be brought up at system boot time.
#
# Multiple entries with the same $ORACLE_SID are not allowed.
#
#
BDNAME:/opt/oracle92:Y
and view next link,
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=7203&admit=-682735245+1154690426168+28353475
rgs,
ran
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-04-2006 12:37 AM
тАО08-04-2006 12:37 AM
Re: Start/stop script location and setting
the start stop scripts are in several locations
The main scripts is in /sbin/init.d. In fact, there is atemplate file there you can use to create a customized script for your app.
The script that controls whether the start/stop scripts executes is in /etc/rc.config.d. It contains avariable equal to 0 (do not run) or 1 (run)
When the the script runs/shuts down is controlled by links to the main script. They are usually located in /sbin/rc3.d (start) and /sbin/rc2.d. They start with a S for start or a K for stop. Thet letter is followed by a number. Convention has it that the two numbers equal 1000
Look at other scripts in these areas for further examples.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-05-2006 03:29 PM
тАО08-05-2006 03:29 PM