- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: service gurad
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
04-01-2009 05:58 AM
04-01-2009 05:58 AM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-01-2009 06:56 AM
04-01-2009 06:56 AM
Re: service gurad
do you share executables between cluster nodes, or do you have local oracle binaries on each system?
do you monitor oracle processes?
Also when you say upgrade do you mean from or to 9i, and what are you upgrading from/to?
As usual in these forums, the metaphor here is you've gone to a mechanic and said - "I need a new engine for my vehicle" - but who knows what you're driving??
HTH
Duncan
I am an HPE Employee

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-01-2009 07:12 AM
04-01-2009 07:12 AM
Re: service gurad
For 9i RAC
http://www.docs.hp.com/en/T1859-90038/ch03s14.html
In general, there is a lot of commonality to doing ServiceGuard and RAC.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-01-2009 10:03 PM
04-01-2009 10:03 PM
Re: service gurad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-01-2009 10:19 PM
04-01-2009 10:19 PM
Re: service gurad
dear Shaik
please give me cmviewcl -v output
i think u have two node cluster with slvm
please send more details
Sajjad Sahir
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-01-2009 10:32 PM
04-01-2009 10:32 PM
Re: service gurad
if not, then you can probably just go ahead and upgrade to 10g without doing anything to Serviceguard.
The only thing I'd watch for is where the Oracle inventory pointer (OraInst.loc) for the OUI is... if Oracle wasn't installed by an experienced DBA, then chances are it is just in /var/opt/oracle on just one of the nodes. If it is then you'll need to do the upgrade on that node... if its somewhere else on one of your clustered filesystems you'll need to use the -invPtrLoc option on the runInstaller command line during the upgrade.
HTH
Duncan
I am an HPE Employee

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-01-2009 10:51 PM
04-01-2009 10:51 PM
Re: service gurad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-01-2009 11:35 PM
04-01-2009 11:35 PM
Re: service gurad
And if you don't need to halt the package, you don't need any instructions do you?
Duncan
I am an HPE Employee

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-01-2009 11:43 PM
04-01-2009 11:43 PM
Re: service gurad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-01-2009 11:55 PM
04-01-2009 11:55 PM
Re: service gurad
so I'mn assuming that your last comment meant that after the upgrade your ORACLE_HOME will have changed to a new location yes?
assuming that is what you meant my next questions are:
- is that ORACLE_HOME on a new filesystem, or one of the existing filesystems in the cluster? If on a new filesystem, is that
- are you sing the Enterprise Cluster Master Toolkit Oracle integration and if so waht version. Or has someone "rolled their own" cluster integration for Oracle?
- can you post the output of:
cmgetconf -p
replacing
HTH
Duncan
I am an HPE Employee

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-01-2009 11:56 PM
04-01-2009 11:56 PM
Re: service gurad
well now we're talking specifics of your environment... about which you have told us nothing...
so I'm assuming that your last comment meant that after the upgrade your ORACLE_HOME will have changed to a new location yes?
assuming that is what you meant my next questions are:
- is that ORACLE_HOME on a new filesystem, or one of the existing filesystems in the cluster? If on a new filesystem, is that in the same VG as existing cluster filesystems or in an entirely new VG?
- are you sing the Enterprise Cluster Master Toolkit Oracle integration and if so waht version. Or has someone "rolled their own" cluster integration for Oracle?
- can you post the output of:
cmgetconf -p
replacing
HTH
Duncan
I am an HPE Employee

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-02-2009 04:37 AM
04-02-2009 04:37 AM
Re: service gurad
1- stop package manualy not halting package
2- make upgrade oracle so that new path for home file at the same file system
3- reconfigure packge (control file)
4- ckeck package configuration
5-apply configuration of cluster package
please ckeck this steps and tell me the correct configuration if false
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-03-2009 06:15 AM
04-03-2009 06:15 AM
Re: service gurad
you shouldn't apply the package configuration again.
Unix operates with beer.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-03-2009 06:36 AM
04-03-2009 06:36 AM
Re: service gurad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-03-2009 10:51 PM
04-03-2009 10:51 PM
Re: service gurad
CLUSTER STATUS
sjodbcl up
NODE STATUS STATE
sjodbn1 up running
Cluster_Lock_LVM:
VOLUME_GROUP PHYSICAL_VOLUME STATUS
/dev/vgora /dev/dsk/c11t0d1 up
Network_Parameters:
INTERFACE STATUS PATH NAME
PRIMARY up 0/6/1/0 lan3
PRIMARY up 0/4/2/0 lan1
STANDBY up 0/2/1/0 lan4
PACKAGE STATUS STATE AUTO_RUN NODE
oradbpkg up running enabled sjodbn1
Policy_Parameters:
POLICY_NAME CONFIGURED_VALUE
Failover configured_node
Failback manual
Script_Parameters:
ITEM STATUS MAX_RESTARTS RESTARTS NAME
Service unknown 0 0 oracle_db
Subnet up 10.196.7.0
Node_Switching_Parameters:
NODE_TYPE STATUS SWITCHING NAME
Primary up enabled sjodbn1 (current)
Alternate up enabled sjodbn2
NODE STATUS STATE
sjodbn2 up running
Cluster_Lock_LVM:
VOLUME_GROUP PHYSICAL_VOLUME STATUS
/dev/vgora /dev/dsk/c11t0d1 up
Network_Parameters:
INTERFACE STATUS PATH NAME
PRIMARY up 0/6/1/0 lan3
PRIMARY up 0/4/2/0 lan1
STANDBY up 0/2/1/0 lan4
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-04-2009 12:05 AM
04-04-2009 12:05 AM
Re: service gurad
- are you sing the Enterprise Cluster Master Toolkit Oracle integration and if so what version. Or has someone "rolled their own" cluster integration for Oracle?
- if you're not sure we might be able to figure this out... the first stage of figuring this out is to post:
- the output of "cmgetconf -p oradbpkg"
- an "ls" of the packages directory (which presumably is /etc/cmcluster/oradbpkg)
The point is - this isn't Windows where the cluster configuration for an application is ususally restrictively consistent between different implementations - there are a dozen different ways to configure Oracle into a Serviceguard package (which is _good_ because it makes UNIX more flexible) and we don't know which way yours is configured so its very difficult to give advice...
HTH
Duncan
I am an HPE Employee

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-04-2009 01:31 AM
04-04-2009 01:31 AM
Re: service gurad
DBN1)/etc/cmcluster/oradbpkg $ll
total 544
-rwx------ 1 root sys 56842 Feb 14 2008 oradbpkg.cntl
-rwx------ 1 root sys 56842 Feb 14 2008 oradbpkg.cntl.bkg
-rw-r--r-- 1 root root 145889 Mar 26 19:24 oradbpkg.cntl.log
-rwx------ 1 root sys 16329 Aug 25 2007 oradbpkg.conf
attached is output of cmgetconf -p package
please i need steps to can make safe upgrade for oracle from 9i to 10g regarding to sg
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-04-2009 03:57 AM
04-04-2009 03:57 AM
Re: service gurad
So now look in the file oradbpkg.cntl
and find the section that looks like this:
# START OF CUSTOMER DEFINED FUNCTIONS
# This function is a place holder for customer define functions.
# You should define all actions you want to happen here, before the service is
# started. You can create as many functions as you need.
function customer_defined_run_cmds
{
...
}
I'm interested in what is in between the curly braces after the line:
function customer_defined_run_cmds
post that here - if it references another shell script, post the shell script here as well.
HTH
Duncan
I am an HPE Employee

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-04-2009 04:17 AM
04-04-2009 04:17 AM
Re: service gurad
so i need sequense of upgrade oracle by comand line
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-04-2009 05:08 AM
04-04-2009 05:08 AM
Re: service gurad
sourced from another script? It would be easier for me to follow if you just posted it...
we also need to see the lines taht read something like:
SERVICE_NAME[0]="oracle_db"
SERVICE_CMD[0]="..."
SERVICE_RESTART[0]="..."
again it would be easier if you just posted the whole file...
HTH
Duncan
I am an HPE Employee

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-04-2009 05:39 AM
04-04-2009 05:39 AM
Re: service gurad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-04-2009 06:14 AM
04-04-2009 06:14 AM
SolutionThat's certainly not a HP or Oracle provided script, so must be intrrnslly developed... however in all likelihood it will just contain a "ORACLE_HOME=/u01/oracle/proddb/9.2.0" statement that you can update (you might want to relocate the script somehwere under your new ORACLE_HOME as well)
Assuming that is the case, and assuming as you said that 10g is just going to be installed on a directory in an existing filesystem in the cluster then as I originally said there is no need to halt the cluster package. You might want to after the upgrade to test out failover, but you won't need to for the upgrade...
The tasks for upgrade will basically be:
1) With cluster package UP Follow standard Oracle upgrade process from 9i to 10g as described in the excellent metalink article 316889.1
2) When you are happy that the database has been fully upgraded, edit the package control file and update both the customer_defined_run_cmds and customer_defined_halt_cmds section to reflect the new path if you did move the file /u01/oracle/proddb/9.2.0/appsutil/scripts/PROD_sjodb/addbctl.sh
3) distribute the updated package control file to all cluster nodes
4) Now if you want to check everything is working correctly, just halt the package and restart (on both nodes if you want) to prove your changes worked... you seem to have indicated you know the process for this, but just in case...
cmhaltpkg oradbpkg
cmrunpkg -n
----------------------------
of course if you don't want to move the file /u01/oracle/proddb/9.2.0/appsutil/scripts/PROD_sjodb/addbctl.sh and you've no intention of removing the old Oracle 9i home under /u01/oracle/proddb/9.2.0, the you really don't need to change anything at all in Serviceguard - you just need to update the addbctl.sh script with the new paths
HTH
Duncan
I am an HPE Employee

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-04-2009 06:22 AM
04-04-2009 06:22 AM
Re: service gurad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-04-2009 06:33 AM
04-04-2009 06:33 AM
Re: service gurad
Juts remember to distribute the updated file to all cluster nodes
HTH
Duncan
I am an HPE Employee

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-04-2009 08:04 AM
04-04-2009 08:04 AM