- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Need oracle sample script
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
тАО01-04-2011 10:41 PM
тАО01-04-2011 10:41 PM
Need oracle sample script
i installed sg cluster 11.20 on two nodes. now i need to install oracle 11g. i don't have oracle toolkit for service guard. so i need a sample script of oracle to configure in a service guard cluster. i installed hp-ux 11.31 on the server.
plz anyone help me for this installation of oracle without oracle toolkit
- Tags:
- Oracle
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-06-2011 07:48 AM
тАО01-06-2011 07:48 AM
Re: Need oracle sample script
You are searching for the HP Serviceguard Enterprise Cluster Master Toolkit:
http://h71028.www7.hp.com/enterprise/w1/en/os/hpux11i-serviceguard-toolkits-ecmt.html
Regards,
Viktor
Unix operates with beer.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-06-2011 09:38 AM
тАО01-06-2011 09:38 AM
Re: Need oracle sample script
If I'm understanding you correctly, you don't need a script. The oracle *installation* is the same regardless of cluster status.
The process I follow is:
1. Manually configure vgs/lvs and IPs
2. Install oracle
3. Configure/generate database and ensure it's running - fully mission capable.
4. Configure the cluster and packages.
One of the important parts is to ensure the IP address is plumbed up and available otherwise, there's a rather large chunk of sqlnet that needs to be reconfigured to use the package IP address.
Hope that helps.
Doug O'Leary
------
Senior UNIX Admin
O'Leary Computers Inc
linkedin: http://www.linkedin.com/dkoleary
Resume: http://www.olearycomputers.com/resume.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-06-2011 03:06 PM
тАО01-06-2011 03:06 PM
Re: Need oracle sample script
thnx for the reply. i have the cluster master toolkit. but i don't know how to use it. i make a basic pkg for mounting the storage volume for cluster. now i want to install oracle on shared storage. installation is normal but when my one node is down how the 2nd node start the oracle? should i write a script for that? i give a virtual ip for my basic package. i can login with that ip. can i have to use that ip for listener for oracle???
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-07-2011 07:40 AM
тАО01-07-2011 07:40 AM
Re: Need oracle sample script
As I mentioned previously, I won't even create the package until the database is up, running, and tested. Trying to do that at the same time as package creation is just asking for problems.
So, the first thing to do is build the system as if this were a standalone database. Create the volume groups, the logical volumes and plumb up the IP address that will be used as the failover IP.
Once all that's done, install oracle as you normally do. The one change is that you use the hostname/IP associated with the package instead of the standalone host.
After you or your uses says "Yea, verily, the database is running the way we want it", you shut it down, unplumb the IP address, unmount the filesystems and turn off the volume groups.
From there, generate the package. I typically use this checklist: http://www.olearycomputers.com/ll/mcsg/mcsg_mkpkg.html
Update the customer_defined_run_cmds to start your databbase. I typically have a few more bells and whistles, but at a minimum, you want:
function customer_defined_run_cmds
{
# start listener
su - oracle -c "lsnrctl start"
# start the database
su - oracle -c "/u01/app/oracle/product/11.2.0.1/bin/startdb"
}
and the contents of the stardb script are:
#!/bin/ksh
export ORACLE_SID=such-and-what
export ORACLE_HOME=...
export LD_LIBRARY_PATH=...
export PATH=${PATH}:${ORACLE_HOME}/bin
sqlplus / as sysdba << eof
startup;
exit;
eof
#EOF
The customer_defined_halt_cmds is left as an exercise for the reader.
None of this is particularly tricky if you take it one step at a time. Install the system, then install oracle, *then* create the package. Don't try to do everything simultaneously.
Hope that helps.
Doug
------
Senior UNIX Admin
O'Leary Computers Inc
linkedin: http://www.linkedin.com/dkoleary
Resume: http://www.olearycomputers.com/resume.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-13-2011 01:38 AM
тАО01-13-2011 01:38 AM
Re: Need oracle sample script
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-24-2011 02:05 AM
тАО02-24-2011 02:05 AM
Re: Need oracle sample script
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-24-2011 02:17 AM
тАО02-24-2011 02:17 AM
Re: Need oracle sample script
Using the Oracle Toolkit in a HP Serviceguard Cluster README Revision: B.06.00, August 2010
you can download it from here:
http://h20000.www2.hp.com/bizsupport/TechSupport/DocumentIndex.jsp?lang=en&cc=us&contentType=SupportManual&prodTypeId=18964&prodSeriesId=4162103&docIndexId=64255
Unix operates with beer.