- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: steps to be followed in change of package conf...
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
12-09-2001 10:36 PM
12-09-2001 10:36 PM
I have two R380 servers and 12H autoraid box in my office.
I had already configured a package in both nodes with node1 as primary and node2 as failover and successfully working for some time. But I have also installed oracle parallel server 8i (8.1.7) on these nodes.
One of our forum member had already suggested me to place startup and shutdown of oracle instances in customer defined functions section of package control script to start and shutdown oracle instances automatically.
I had written the startup and shutdown script for oracle instances.
What are the steps with commands now I need to follow and order of execution of the same for implementing the oracle server startup and shutdown while cluster is up.
Any help is welcome and thanks in advance.
Naga
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-10-2001 12:00 AM
12-10-2001 12:00 AM
Re: steps to be followed in change of package configuration
See the link for details
http://docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/B5158-90019/B5158-90019_top.html&con=/hpux/onlinedocs/B5158-90019/00/00/46-con.html&toc=/hpux/onlinedocs/B5158-90019/00/00/46-toc.html&searchterms=package%7coracle&queryid=20011209-235240
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-10-2001 01:43 AM
12-10-2001 01:43 AM
Re: steps to be followed in change of package configuration
Thank you for your reply.
I have gone through the link given by you
But I have oracle8i version 8.1.7 OPS which does not use the DLM or GMS scripts for startup or shutdown.
So Startup through DLM or GMS is not possible.
Any additional help will be valuable to me.
Bye
Naga
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-10-2001 02:03 AM
12-10-2001 02:03 AM
Re: steps to be followed in change of package configuration
Now I reboot the machine, what actually happens is vg_ops is getting activated and oracle is started on node1 but it does not happen in node2.
Is there anyway other than this?
I hope for an answer.
Bye
Naga
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-10-2001 11:45 AM
12-10-2001 11:45 AM
SolutionYou have to do this.
Let us assume your package is running on node1
1.) Shutdown your package on node1
# cmhaltpkg -v packge_name
2.) Edit the package control file (/etc/cmcluster/package_name/packge_contol_file) and add the oracle startup and shutdown script to the customer defined commands.
3.) Save the file and exit.
4.) Copy this file to the other node also.
# rcp /etc/cmcluster/packge_name/packge_contol_file node2:/etc/cmcluster/packge_name/packge_contol_file
5.) If you have created a script file and have just added the name of the script file in the customer defined startup and shutdown commands, for eg.: say the script file names are /usr/local/bin/db_start and /usr/local/bin/db_shut, then copy these two files to the other node, node2.
Now start the packge on node1,
# cmmodpkg -e package_name
This should start the packge on node1. Once it is started okay, check for the faiover. To do that, shutdown the package.
# cmhaltpkg -v packge_name
On node2, start the packge,
# cmrunpkg -v package_name
Check if the database has started properly. Before doing this, check and fix the file permissions for the shell scipt files you are copying across systems.
You don't have to do a "cmapplyconf' since the cluster binaries are not affected.
Hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-10-2001 09:50 PM
12-10-2001 09:50 PM
Re: steps to be followed in change of package configuration
Thank you for your solution.
I have done the things as requested by you and still it need a 'cmapplyconf'.
But commands in the shell script is perfectly working on cluster up but it works on the node1.
I have started the oracle server and listener on node2
through the same shell script but with 'remsh'.
It is working fine.
Thank you once again .
Bye
Naga