- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- need advice
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
09-05-2002 02:59 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-05-2002 03:36 PM
09-05-2002 03:36 PM
Re: need advice
i would also change service name/commands in pkg1.cntl files
SERVICE_NAME[0]="PROD2_mon"
SERVICE_CMD[0]="/etc/cmcluster/pkg1/PROD2.sh monitor"
SERVICE_RESTART[0]=""
SERVICE_NAME[1]="PROD3_mon"
SERVICE_CMD[1]="/etc/cmcluster/pkg1/PROD3.sh monitor"
SERVICE_RESTART[1]=""
SERVICE_NAME[2]="PROD4_mon"
SERVICE_CMD[2]="/etc/cmcluster/pkg1/PROD4.sh monitor"
SERVICE_RESTART[2]=""
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-05-2002 07:06 PM
09-05-2002 07:06 PM
SolutionIt looks like you've got it all right. You'll have one package which handles three databases, which sounds like what you want. You won't need to do the cmmodpkg in step 2 if you are halting the package with a cmhaltpkg command in step 3. In step 5, you are right about having to rcp the .cntl file and the shell script to the other node.
One trick I like to use when I'm doing package work like this is to comment out the start and stop scripts in the user defined sections, and then test starting and stopping the package on each node. That will let you see if the filesystems are mounted correctly without having to worry about the database starting and stopping. Then, you can uncommment the start and stop scripts in the .cntl and test it again, letting it start and stop the database.
JP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-06-2002 07:41 AM
09-06-2002 07:41 AM
Re: need advice
YOu got everything right . In step 5 , yes you will have to rcp them to all nodes in the cluster .
You know your environment best , but I would put the three databases in three different packages , so that I can bring them down or up using package halt or run commands without affecting the other databases .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-06-2002 07:46 AM
09-06-2002 07:46 AM
Re: need advice
Hi - we run similarly with multiple oracle db's and sg.
One suggestion, you may want to have individual packages to handle the db's so that you can bring them up and down individually with no effect on the other db's. Just a thought since this seemed to cause you some issues in the past...
thanks,
c
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-06-2002 10:48 AM
09-06-2002 10:48 AM
Re: need advice
john, since i've 'global package switching' enabled for pkg1, when i halt them won't the package switch over to a 'configured node'. that's why i disabled switching first and then halt. do i miss anything here. your tip is very useful and will make use of them. thanks!
ashwani/charles, thanks for your suggestion. i really thought about it, but the reason for me to lean towards 3 databases in a single pacakage is that, all 3 databases are using the same volume group (vg_oracledb) in the disk array and when it comes to maintenance, i can always create 'NoMonitor_
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-06-2002 10:57 AM
09-06-2002 10:57 AM
Re: need advice
You don't have to worry about the global switching because you are halting the package. The switching only comes into play if the package fails, but since you are halting the package it won't be considered a failure.
JP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-06-2002 11:09 AM
09-06-2002 11:09 AM
Re: need advice
i got it. thanks.
stan