- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Cluster package ..strt up databse in customer-...
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
Forums
Discussions
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
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
07-15-2007 06:47 PM
07-15-2007 06:47 PM
I have 2 node cluster....
In which i hv a package for which i have included the startup and haltdown database scripts in it ..
the databse is up fine .but when i check it through ps -ef|grep pmon its showing
ps -ef|grep pmon|grep daemon
daemon 18244 1 0 Jul 13 ? 0:13 ora_pmon_gb567890
daemon 17536 45678 1 0 Jul 13 ? 0:13 ora_pmon_g0
daemon 16630 1 0 Jul 13 ? 0:15 ora_pmon_g054346
i am seeing they r running as daemon...unlike the others which r running thr oracle user...
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-15-2007 08:02 PM
07-15-2007 08:02 PM
SolutionI have to look after several MC/SG clusters that run Oracle DBMS as packages.
These are usually started by some here file command to the Oracle utility sqlplus within an su to the user (usually oracle) under which the ora_* procs should run.
Check your run_commands block.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-15-2007 08:14 PM
07-15-2007 08:14 PM
Re: Cluster package ..strt up databse in customer-defined scripts..
e.g. I have a script named ora_start_stop, which starts/shuts down oracle database through cluster package control script. In the Cutome defined scripts for start cmds I use
su - oracle -c "/var/oracle/admin/scripts/ora_start_stop start"
How are you calling your script ? Are you running it as oracle user in the 1st place ?
Regards,
Ninad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-15-2007 08:30 PM
07-15-2007 08:30 PM
Re: Cluster package ..strt up databse in customer-defined scripts..
U r absolutely right wer not using
su - oracle...
we r planning to take a downtime and just reconfigure the scrpt...
Bur just tell me 1 one thing oracle running as daemon wont hamper my producn database right ?????.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-15-2007 08:39 PM
07-15-2007 08:39 PM
Re: Cluster package ..strt up databse in customer-defined scripts..
Your database knows exactly which user is allowed what accesses and privileges.
And further more, once your database is up, it has its own users with privileges to carry out tasks according to their roles and privileges.
Just take an outage, bring down the database cleanly and start database with user oracle.
Only one thing I would suggest you check is (Which I am not sure, but believe should not be a problem) is the ownership of the data and control files of your database, has it changed ?
Regards,
Ninad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-15-2007 09:52 PM
07-15-2007 09:52 PM
Re: Cluster package ..strt up databse in customer-defined scripts..
Thanx 4 ur suggestion....i have checked data and control files ..all r fine and owned by oracle only.......
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-15-2007 10:24 PM
07-15-2007 10:24 PM
Re: Cluster package ..strt up databse in customer-defined scripts..
Please bounce the database (starting as oracle user) and it should be fine.
By the way, thanks to you too as your points have enabled me to achieve my next milestone of 2500 points.
Regards,
Ninad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-15-2007 10:34 PM
07-15-2007 10:34 PM
Re: Cluster package ..strt up databse in customer-defined scripts..
U truly deserve those points...
I have posted one more query ,could u also look into it..subject being :->
Want to run a script/job as soon as file comes at a particular directory
Regards,
Boomer.