OracleAS 10.1.2 clustering
Please excuse my lack of knowledge but this project has just been dumped on me.
We have two Oracle Application Servers running forms and reports and which I would like to cluster. I have downloaded and attempted to read the High availability guild which I could not make any sense out of, so I searched the help files on the OracleAS.
From reading this am I correct in thinking that too set up the cluster I'm going to need set-up a OracleAS farm, which needs Metadata repository and Internet Directory Server?
Is the Internet Directory server part of OracleAS or will I have to purchase it?
If I do need to purchase Internet Directory server is there another way creating a cluster?
Thanks for your help
Thanks for your rely. I Have also posted the foloowing question:
Hi,
I am trying to setup a two node reports server configuration on an Application Server 10.1.2 "Forms and Report Services" install.
Our application software uses the RUN_REPORT_OBJECT and SRW APIs for submitting reports, which I understand interface via an Rwclient.
The Application Server 10.1.2 documentation states that Reports Server clusters have been deprecated.
Section 5.4.3 of the 10g Application Server High Availability guide states that active-active configurations are not supported for Rwclient.
Section 5.4.4 however states that active-passive configurations are supported, by using a "provided script".
Could anyone please provide further information on the "provided script" and how to configure an active-passive Reports Server configuration for rwclient based reports requests.
Thanks,
Similar Messages
-
OracleAS 9.0.4 Clustering and HttpSession
Does OracleAS 9.0.4 Clustering replicate HttpSession state between cluster nodes or just stateful session bean state?
Thanks
Bill"Checking operating system version: must be 5200 Failed <<<<"
So don't install this version on AIX 5.3. AS 9.0.4 has been desupported. Please don't get yourself into the hell of installing it and especially not on AIX.
Install 10.1.2.0.2, and not before you have read the certification notes on MetaLink and taken every step you need to install on this challenging platform! -
Error when connecting to Oracle DataSource in a clustered environment
Trying to connect to a ORACLE 9.1 datasource in a remote clustered environment. Getting the following exception. The code works fine when connecting to a local non-clustered server. Any help will be greatly appreciated.
---------------------Stack trace--------------
weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ Failed to generate
class for weblogic.jdbc.rmi.internal.ConnectionImpl_weblogic_jdbc_wrapper_JTACon
nection_weblogic_jdbc_wrapper_XAConnection_oracle_jdbc_driver_LogicalConnection_
812_WLStub ] - with nested exception:
[java.lang.reflect.InvocationTargetException - with target exception:
[java.lang.ArrayIndexOutOfBoundsException: 164]]
at weblogic.rmi.internal.StubGenerator.generateStub(StubGenerator.java:8
07)
at weblogic.rmi.internal.StubGenerator.generateStub(StubGenerator.java:7
90)
at weblogic.rmi.extensions.StubFactory.getStub(StubFactory.java:79)
at weblogic.rmi.utils.io.RemoteObjectReplacer.resolveObject(RemoteObject
Replacer.java:237)
at weblogic.rmi.internal.StubInfo.readResolve(StubInfo.java:142)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at java.io.ObjectStreamClass.invokeReadResolve(Unknown Source)
at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
at java.io.ObjectInputStream.readObject0(Unknown Source)
at java.io.ObjectInputStream.defaultReadFields(Unknown Source)
at java.io.ObjectInputStream.readSerialData(Unknown Source)
at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
at java.io.ObjectInputStream.readObject0(Unknown Source)
at java.io.ObjectInputStream.readObject(Unknown Source)
at weblogic.common.internal.ChunkedObjectInputStream.readObject(ChunkedO
bjectInputStream.java:119)
at weblogic.rjvm.MsgAbbrevInputStream.readObject(MsgAbbrevInputStream.ja
va:112)
at weblogic.rmi.internal.ObjectIO.readObject(ObjectIO.java:56)
at weblogic.rjvm.ResponseImpl.unmarshalReturn(ResponseImpl.java:159)
at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteR
ef.java:285)
at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteR
ef.java:244)
at weblogic.jdbc.common.internal.RmiDataSource_812_WLStub.getConnection(
Unknown Source)Trying to connect to a ORACLE 9.1 datasource in a remote clustered environment. Getting the following exception. The code works fine when connecting to a local non-clustered server. Any help will be greatly appreciated.
---------------------Stack trace--------------
weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ Failed to generate
class for weblogic.jdbc.rmi.internal.ConnectionImpl_weblogic_jdbc_wrapper_JTACon
nection_weblogic_jdbc_wrapper_XAConnection_oracle_jdbc_driver_LogicalConnection_
812_WLStub ] - with nested exception:
[java.lang.reflect.InvocationTargetException - with target exception:
[java.lang.ArrayIndexOutOfBoundsException: 164]]
at weblogic.rmi.internal.StubGenerator.generateStub(StubGenerator.java:8
07)
at weblogic.rmi.internal.StubGenerator.generateStub(StubGenerator.java:7
90)
at weblogic.rmi.extensions.StubFactory.getStub(StubFactory.java:79)
at weblogic.rmi.utils.io.RemoteObjectReplacer.resolveObject(RemoteObject
Replacer.java:237)
at weblogic.rmi.internal.StubInfo.readResolve(StubInfo.java:142)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at java.io.ObjectStreamClass.invokeReadResolve(Unknown Source)
at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
at java.io.ObjectInputStream.readObject0(Unknown Source)
at java.io.ObjectInputStream.defaultReadFields(Unknown Source)
at java.io.ObjectInputStream.readSerialData(Unknown Source)
at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
at java.io.ObjectInputStream.readObject0(Unknown Source)
at java.io.ObjectInputStream.readObject(Unknown Source)
at weblogic.common.internal.ChunkedObjectInputStream.readObject(ChunkedO
bjectInputStream.java:119)
at weblogic.rjvm.MsgAbbrevInputStream.readObject(MsgAbbrevInputStream.ja
va:112)
at weblogic.rmi.internal.ObjectIO.readObject(ObjectIO.java:56)
at weblogic.rjvm.ResponseImpl.unmarshalReturn(ResponseImpl.java:159)
at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteR
ef.java:285)
at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteR
ef.java:244)
at weblogic.jdbc.common.internal.RmiDataSource_812_WLStub.getConnection(
Unknown Source) -
Separate versions of Oracle in a Sun Clustered enviroment?
Hi,
I was wondering if it is possible to have 2 different versions of Oracle (9i and 10g) registered with a Sun Clustered enviroment ?
Thanks in advance,
NikeshYes , some of the applications are on 8i , because those applications will be phased out in other 2-3 months, and because of certification problems of Applications with new db releases we did not want to upgrade those
-
Oracle Identity Federation Configuration Clustered mode
Hi,
I am facing issue while configuring OIF in clustered HA Mode in Linux env. The steps followed are:
1. Installed weblogic 10.3.2 and applied patch for 10.3.3 in both host machines
2. Ran the RCU utility for OIF successfully.
3. Installed Oracle Identity Management 11.1.1.2.0 by using the Universal Installer and than patch applied for 11.1.1.3 succesfully in both machines
4. Ran the Configuration script to configure OIF succesfully from Oracle_HOME/bin/ dir from first machine
5. Ran the pack.sh command to pack the configured domain from machine 1 by using the command
pack.sh -domain=/MW_HOME/user_projects/domains/OIFDomain/ -template=/opt/oifDomainTemplate.jar -template_name=OIF_Dom1
6. Ran the unpack script as below in the second host machine:
unpack.sh -template=/opt/oifDomainTemplate.jar -domain=/MW_HOME/user_projects/domains/OIFDomain
user_projects dir created successfuly on the second hosts
7. Now ran the config.sh script from Oracle_home/bin/ dir on the second host, selected the "Expand Cluster Configuration", provided the URL,port,username,pwd for host 1.
On the last screen under Expand cluster configuration, it is failing to start the Managed server. I am getting eeror as below:
Initializing WebLogic Scripting Tool (WLST) ...
Welcome to WebLogic Server Administration Scripting Shell
Type help() for help on available commands
Error: addTemplate() failed. Do dumpStack() to see details.
oracle.as.provisioning.util.ConfigException:
Error Applying template.
Cause:
A WLST Error occurred: Problem invoking WLST - Traceback (innermost last):
File "/tmp/tmp1330940819839.py", line 7, in ?
File "/tmp/WLSTOfflineIni7777084344564586922.py", line 89, in addTemplate
at com.oracle.cie.domain.script.jython.CommandExceptionHandler.handleException(CommandExceptionHandler.java:51)
at com.oracle.cie.domain.script.jython.WLScriptContext.handleException(WLScriptContext.java:1538)
at com.oracle.cie.domain.script.jython.WLScriptContext.addTemplate(WLScriptContext.java:420)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
com.oracle.cie.domain.script.jython.WLSTException: com.oracle.cie.domain.script.jython.WLSTException: com.oracle.cie.domain.script.ScriptException: com.oracle.cie.domain.ConfigGroupsException: Multiple definitions of server-group JRF-ADMIN-SVR are not allowed
Action:
See logs for more details.
at oracle.as.provisioning.util.ConfigException.createConfigException(ConfigException.java:123)
at oracle.as.provisioning.weblogic.ASDomain._addTemplate(ASDomain.java:4206)
at oracle.as.provisioning.weblogic.ASDomain.addTemplate(ASDomain.java:4021)
at oracle.as.provisioning.engine.WorkFlowExecutor._addTemplates(WorkFlowExecutor.java:1395)
at oracle.as.provisioning.engine.WorkFlowExecutor.executeWLSWorkFlow(WorkFlowExecutor.java:472)
at oracle.as.provisioning.engine.Config.executeConfigWorkflow_WLS(Config.java:866)
at oracle.as.idm.install.config.IdMClusterConfigManager.doExecute(IdMClusterConfigManager.java:827)
at oracle.as.install.engine.modules.configuration.client.ConfigAction.execute(ConfigAction.java:335)
at oracle.as.install.engine.modules.configuration.action.TaskPerformer.run(TaskPerformer.java:87)
at oracle.as.install.engine.modules.configuration.action.TaskPerformer.startConfigAction(TaskPerformer.java:104)
at oracle.as.install.engine.modules.configuration.action.ActionRequest.perform(ActionRequest.java:15)
at oracle.as.install.engine.modules.configuration.action.RequestQueue.perform(RequestQueue.java:63)
at oracle.as.install.engine.modules.configuration.standard.StandardConfigActionManager.start(StandardConfigActionManager.java:158)
at oracle.as.install.engine.modules.configuration.boot.ConfigurationExtension.kickstart(ConfigurationExtension.java:81)
at oracle.as.install.engine.modules.configuration.ConfigurationModule.run(ConfigurationModule.java:83)
at java.lang.Thread.run(Thread.java:619)
progress in calculate progress11...
Thanks in Advance.Hi iam37,
Follow this guide: http://docs.oracle.com/cd/E17904_01/core.1111/e12035/oif.htm#BAJGIAAA
Notice that you run the config.sh script on both OIF hosts and then run the pack.sh and unpack.sh. Be sure to use the pack.sh -managed=true from section 15.5 so that the AdminServer is not packed up and moved to oif host 2.
Seth -
Applying Oracle Patchset on a Clustered Oracle Database
Hi All,
I have Oracle 9i 9.2.0.4 (32bit on solaris 9) and its clustered with VERITAS Cluster Server Oracle Enterprise Extension and i am planning to apply patchset
Oracle 9iR2 Patchset 9.2.0.7.0 on it.
Kindly let me know how to apply patchset on a clustered oracle database and what are the steps to it and what precautions to be taken for this as it a very critical database.
Thanks in Advance
Deepak DGo to Metalink -> Patches & Updates, then select Advanced Search. You'll find all the instructions there, along with specifics for RAC.
-
Oracle on Linux and Clustering
Are there any solutions for Oracle Clustering on Linux?
nullHi,
the latest dev. kernel (2.3.12) contains raw device support. For
linux 2.2.10 there is a patch avail. from Stephen Tweedy. That
works great even with oracle8.
ftp://ftp.uk.linux.org/pub/linux/sct/fs/raw-io/
I guess it will be avail. in stable kernel soon.
Marcus
Douglas (guest) wrote:
: Linux does not support raw devices which are needed for OPS.
: Anyone fncy developing raw device support ?
: John Smiley (guest) wrote:
: : The Oracle product you need to support clusters for high
: : availability and scalability is Oracle Parallel Server
(OPS).
: : Unfortunately, the Linux Oracle8i documentation states that
OPS
: : is not yet available for Linux.
: : You could use a hot standby database as Freddy suggested, but
: : this does not require a clustered environment. Oracle 8i
: : (8.1.5) allows a hot standby database to be temporarily
placed
: : in an open, but read-only state. This is particularly useful
: : for batch reporting applications where the main database
needs
: : to be available 24x7 and the reporting load would degrade
: : performance of the main database. So, with Oracle8i, the hot
: : standby can be used as both a disaster recovery database, and
a
: : useful reporting database. With previous versions of Oracle,
: : the hot standby was not useable as anything but a disaster
: : recovery platform.
: : Freddy Wissing (guest) wrote:
: : : Volker Rath, DETECON (guest) wrote:
: : : : Are there any solutions for Oracle Clustering on Linux?
: : : I'm gonna begin experimenting with this.
: : : Oracle can do what's called a standby database, running on
a
: : : remote machine, possibly one in a linux cluster.
: : : The Linux HA project has come a long way, and I believe
could
: : : handle switching the standby database to active, and
assuming
: : the
: : : mac address, IP address and hostname, etc of the failed
node.
: : : Once I have time, I'm gonna try and put all this together.
: If
: : I
: : : have success, I'll be sure and post it.
: : : There are also commercial clustering solutions coming out
for
: : : Linux too. Either way, it won't be long.
: : : - Freddy Wissing
null -
Oracle 9i Real Application Clusters Failover
I am running CFMX 6.1 with the 3.5 JDBC drivers and
connecting to a 2 node Oracle 9i Real Application Cluster. The
problem I am having is when one of the 2 nodes becomes unavailable;
CFMX does not seem to be failing over seamlessly to the second
node. Its almost as if the database connections need to first reach
the timeout limit setup in the datasource setting in CF Admin
before the will start to failover. I’m not 100% sure that
they are always even failing over after that has expired. I usually
end up having to restart CFMX service to renew the DB connections.
This is a pest when doing DB maintenance since it causes errors on
our site.
I do have Maintain Connections checked, with a 5 minute
timeout. I have my datasources setup as "Other" and am using the
following connection string:
jdbc:macromedia:oracle://Node1:1521;SERVICENAME=heartdrp;AlternateServers=(Node2:1521);Loa dBalancing=true
Does anyone have an experience of had similar problems with
CFMX not failover DB connections on an Oracle RAC system? Ideally,
the connections would immediately go to the other node in the RAC
if one node went down, but CF seems to keep trying to connect to
the original node, thus not allowing for a true "failover" setup.
I can provide more info if needed......THANKS!!In this weekend I will begin that odessy...
I will give some feedback by monday!
FS -
Oracle Weblogic Load Balancing/Clustering
Can anyone tell me what the recommendation from Oracle is on how to best set up load balancing?
We currently use the configuration.properties file to identify the 2 servers we load balance. We will be implementing additional servers in the near future and we were wondering if this is the best way to load balance 4 or more weblogic servers or if there is some other way.
We set up one cluster address to utilize these servers and use a separate hardware load balancer device.
HRDEV\webserv\hrdev\applications\peoplesoft\PORTAL.war\WEB-INF\psftdocs\hrdev\configuration.properties
# To enable jolt failover and load balancing, provide a list of application server
# domains in the format of; psserver=AppSrvr:JSLport,...
# For example: psserver=SERVER1:9000,SERVER2:9010,SERVER3:9020As this is peoplesoft specific configuration
Please try positing here:
https://community.oracle.com/community/oracle-applications/peoplesoft_enterprise/peoplesoft_general_discussion?customTheme=otn
Best Regards
Luz -
Oracle AS adapter 10g R3 installation on clusters Application server
Hi,
I want documentations or steps for installing oracle AS adpater 10R3 on oc4j application server(clustered).
Existing components:
Oracle AS server in clustered mode
Oracle SOA Suite 10.1.3.5
Over this I want to install oracle AS adapter.I have few queries
1.Do I have to install AS adapter separately on each node of the cluster?
2. Is there any specific steps that need to be followed why installing AS adapter in clustered environment.
Thanks in advance
Regards,
Tharanath1.Do I have to install AS adapter separately on each node of the cluster?
Ans:Yes
2. Is there any specific steps that need to be followed why installing AS adapter in clustered environment.
Ans:No -
Clustering OC4J in a full installation OracleAS
I have a full OracleAS Infrastructure and 2 MiddleTier installation with OC4J,
Apache, Web Caché and Portal.
If I create an OC4J on each MiddleTier installation for my Java Application.
Can I create a cluster with the 2 OC4Js?
I'm asking this because in 9.0.2 the only way to create OC4J cluster was to
install a Java only OracleAS Instance.If by "clustering" you mean using dcm to create a dcm-managed cluster and mantain the configuration of multiple instances syncrhonized, then the answer is NO FOR PORTAL (you can't use dcm-managed clusters with OracleAS instances of type "Portal") If by clustering you mean enabling session replication for two OC4J instances that are created inside OracleAS instances of type "Portal", then the answer is YES; you can use sesison replication inside OC4J containers that are part of a Portal installation
HTH -
1. Is it recommended to use physical disks everywher for ORAHOME, base operating system root, OCR / Vote disks and ASM disks? At this point of time in my vm.cfg only the ASM disks are physical while the OCR / Vote disks and ORAHOME and operating system is on an image file using tap:aio (blktap) driver.
Current vm.cfg disk directive
disk = ['tap:aio:/var/ovs/mount/1FB2E6B36D21418792A1DD30B62C689F/running_pool/16_oeldb1/System.img,xvda,w',
'tap:aio:/var/ovs/mount/1FB2E6B36D21418792A1DD30B62C689F/running_pool/16_oeldb1/oracle.img,xvdb,w',
'tap:aio:/var/ovs/mount/1FB2E6B36D21418792A1DD30B62C689F/sharedDisk/oracle_oeldb2.img,xvdc,w!',
'tap:aio:/var/ovs/mount/1FB2E6B36D21418792A1DD30B62C689F/sharedDisk/asm_vote01.img,xvdd,w!',
'tap:aio:/var/ovs/mount/1FB2E6B36D21418792A1DD30B62C689F/sharedDisk/asm_vote02.img,xvde,w!',
'tap:aio:/var/ovs/mount/1FB2E6B36D21418792A1DD30B62C689F/sharedDisk/asm_vote03.img,xvdf,w!',
'tap:aio:/var/ovs/mount/1FB2E6B36D21418792A1DD30B62C689F/sharedDisk/asm_vote04.img,xvdg,w!',
'tap:aio:/var/ovs/mount/1FB2E6B36D21418792A1DD30B62C689F/sharedDisk/asm_vote05.img,xvdh,w!',
'tap:aio:/var/ovs/mount/1FB2E6B36D21418792A1DD30B62C689F/sharedDisk/db_disk_01.img,xvdi,w!',
'tap:aio:/var/ovs/mount/1FB2E6B36D21418792A1DD30B62C689F/sharedDisk/db_disk_02.img,xvdj,w!',
'tap:aio:/var/ovs/mount/1FB2E6B36D21418792A1DD30B62C689F/sharedDisk/db_disk_03.img,xvdk,w!',
'tap:aio:/var/ovs/mount/1FB2E6B36D21418792A1DD30B62C689F/sharedDisk/db_disk_04.img,xvdl,w!',
'tap:aio:/var/ovs/mount/1FB2E6B36D21418792A1DD30B62C689F/sharedDisk/oeldb_ocfs2.img,xvdm,w!',
'tap:aio:/var/ovs/mount/1FB2E6B36D21418792A1DD30B62C689F/sharedDisk/temp.img,xvdn,w!',
'phy:/dev/sdf,xvdo,w!',
'phy:/dev/sdg,xvdp,w!',
'phy:/dev/sdh,xvdq,w!',
'phy:/dev/sdi,xvdr,w!',
2. is it recommended to use OCFS2 base partitioned disks be used to create ASM disks. I want to use these disks for ASM. (OR should i destroy the filesystem at the hypervisor and just present raw disk)
[root@oeldb1 ~]# mounted.ocfs2 -d
Device FS UUID Label
/dev/xvdo ocfs2 67728d4c-f26d-4ec7-9ca1-4b25be453ec8 phydb1
/dev/xvdp ocfs2 6901ffd5-33cb-46f7-99bb-74fc712ea4db phydb2
/dev/xvdq ocfs2 95ed1075-f772-4c69-9ae0-9078b54bc8b5 phydb3
/dev/xvdr ocfs2 6b3c313e-cec0-4967-a670-8856d38b0cd1 phydb4
[root@oeldb1 ~]#Sebastian : Thanks. I did come across this white paper & now I have converted they ASM disks to physical. When you say just direcly pass LUNs from storage, its still going to be a virtual block device off the RAW lun to OVS, is that what you meant? .. ie RAW disk to OVS --> use phy: directive to present and xvd"n" to vm (PV block driver)
ssolbach wrote:
Hi,
1.) It is recommended to use physical disks for all ASM disks (also for OCR and Vote). If you use 11.2. then OCR/Vote are on ASM anyway.
See also: http://www.oracle.com/technetwork/database/clustering/oracle-rac-in-oracle-vm-environment-131948.pdf
2.) Just present RAW disks. Best is to directly pass the LUNs provided from the storage.
Regards
SebastianAvi : hdparam and dd tests do not say so. I have seen better performances with blktap driver. Even iostat run within ASM showed better response times. I serched on white paper and documents within metalink on blktap or file driver, but couldnt find any. (I did find some ex Oracle SE's journals recommending blktap driver for better performance). Are you referring to significant improvements in 3.0.2 ? because, in 2.2 the file: driver is poor performing.
Avi Miller wrote:
Also note that you should be using the file: driver with Oracle VM, not tap:aio -- all of the Oracle performance improvements went into the loopback driver that uses the file method.Edited by: Abhijit on Dec 8, 2011 7:14 AM
Edited by: Abhijit on Dec 8, 2011 7:15 AM
Edited by: Abhijit on Dec 8, 2011 7:18 AM
Edited by: Abhijit on Dec 8, 2011 7:19 AM -
How to Install 9i real application clusters on a PC!
How to install and deploy Oracle Real Application Clusters on a single Linux
server with a minimal configuration (less than $1000 worth of harware):
First of all to install Oracle cluster database you DON'T HAVE to have a cluster, but a
single PC may do as well (of course thi kind of installation will not be of
much use for a production DB). A minimal server that I HAVE TESTED is: Celeron 750 MhZ,
512 Mb of RAM, 2 IDE HD, Linux Suse 7.2
This document contains the steps needed to deploy a working Oracle 9i Database with a
minimal comment. For a complete discussion refer to Oracle documentation, namely:
Oracle 9i administrator's reference part number A90347-02
Oracle 9i Linux release notes part number A90356-01
Oracle 9i Real Application Clusters Administration part numebr A89869-01
1) set up the partitions to user for Oracle software and the ones to use as raw devices
for the cluster DB. Soppose you want to you use an HD mounted as the 3rd IDE device
(/dev/hdc) for the cluster DB. Then you have to partition it with fdisk with a large
extended partition (say hdc1). Create a large number of logical partitions inside hdc1
(say hdc5 till hdc20) of about 300 Mb in size (all of the same size for simplicity).
2) Real application clusters wants to store the DB strutures into raw devices or a
cluster filesystem. Create the raw devices using the following command (as superuser):
raw /dev/raw1 /dev/hdc5
raw /dev/raw2 /dev/hdc6 ... etc till /dev/hdc20
you will need to repeat these steps after every boot
3) Set up the Oracle user (already done with the Suse distribution), environment variables
and mount point.
Install Oracle software enterprise edition
4) Complete the installation with a custom install of the real application cluster option.
This will add a directory called oracm under your oracle home, which contains the
cluster manager software
5) edit $ORACLE_HOME/oracm/admin/nmcfg.ora, it contains 3 lines for the set-up of the
cluster manager sofware:
DefinedNodes=localhost
CmDiskFiles=/dev/raw2
CmHostName=localhost
6) edit /var/opt/oracle/srvConfig.loc. It contains 1 line with the location of a raw device
used to sync the cluster nodes:
srvconfig_loc=/dev/raw1
7) start the cluster manager software (as superuser):
$ORACLE_HOME/oracm/bin/ocmstart.sh
8) as the oracle user start the global cache service:
gsd
9) you can now create a cluster db. to use the configuration assistant you need to set
an extra environment variable:
export THREADS_FLAG=native
10) start the configuration assistant: dbca
expect some errors in the script the dbca generates, best is to review them before
execution
11) after the db creation you'll be able to start two instances on the same DB,
which means you will have a cluster DB!
12) the environment variable ORACLE_SID will determine the instance to which you can
connect by means of a special syntax: SID.parameter=value
this is used for example for paramters like instance_number, thread, etc
also the parameter cluster_database must be set to true
All these problems are normaly handled by the dbca.
Have fun,
Luca Canali
OCP-DBARedHat 7.1 with the some configuration I run a production 9.0.1
database: Compaq Proliant Hardware with a RA4100 storage.
The script created from the dbca seems fine, but the dbca give
me the
some error I get from:
srvconfig -init
[...]stop all daemons and oracle programs on both machines, then
start only $ORACLE_HOME/oracm/bin/ocmstart.sh,
then run the line
srvconfig -init
you can check it by running
srvconfig -version
it should output something like "9.0.0.0.0"
before running dbca, make sure ocmstart.sh and gsd are
running on both machines ("lsnodes -v" should putput sbshadow1
and dbshadow2).
BTW - I cant run clusca... Can somenome give a sample nmcfg.ora,
just to check my parameters? for dbshadow1:
DefinedNodes=dbshadow1 dbshadow2
CmDiskFiles=/dev/raw/raw2
CmHostName=dbshadow1
for dbshadow2:
DefinedNodes=dbshadow1 dbshadow2
CmDiskFiles=/dev/raw/raw2
CmHostName=dbshadow2
Saludos
--Marcos.
Ps: can you contact me by e-mail? i have some questions regarding
your HW -
OEM 10.2.0.5 Errors Monitoring Oracle 11g on RHEL 5.3 64-bit
Hi,
I am trying to setup a grid control box to monitor two 11gR1 databases on a RAC cluster. We have Oracle CRS for the clustering software and we are using OEM GC 10.2.0.5. I have cloned 10.2.0.5 agents from the OMS install and the hosts show up in OEM.
The listener shows as down in the EM console. The database shows down too with "Agent Connection to Instance" failed with ORA-12545. Connect failed because target host or object does not exist (DBD ERROR: OCIServerAttach).
My emagemt_perl.trc has the following:
has_metrics.pl: Wed Jan 27 23:38:01 2010: WARN: WARN:has::Common:: has::Common::hasGetSQLResults: Could not
connect.
I discovered the targets with the agent, when it was added to EM. I also set the dbsnmp password but I am still getting the error.
Thanks for any ideas,
Pedro B. MoralesLSNRCTL> status
Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for Linux: Version 11.1.0.6.0 - Production
Start Date 28-JAN-2010 00:36:10
Uptime 0 days 17 hr. 11 min. 52 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /oracle/app/oracle/product/11.1.0/db/network/admin/listener.ora
Listener Log File /oracle/app/oracle/diag/tnslsnr/corp1052/listener/alert/log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=corp1052)(PORT=1521)))
Services Summary...
Service "+ASM" has 1 instance(s).
Instance "+ASM2", status READY, has 1 handler(s) for this service...
Service "+ASM_XPT" has 1 instance(s).
Instance "+ASM2", status READY, has 1 handler(s) for this service...
Service "dex.example.com" has 2 instance(s).
Instance "dex1", status READY, has 1 handler(s) for this service...
Instance "dex2", status READY, has 2 handler(s) for this service...
Service "dexXDB.example.com" has 2 instance(s).
Instance "dex1", status READY, has 1 handler(s) for this service...
Instance "dex2", status READY, has 1 handler(s) for this service...
Service "dex_XPT.example.com" has 2 instance(s).
Instance "dex1", status READY, has 1 handler(s) for this service...
Instance "dex2", status READY, has 2 handler(s) for this service...
The command completed successfully
The output of SQLPlus:
[oracle@dbhost: db]$ bin/sqlplus dex@DEX
SQL*Plus: Release 11.1.0.6.0 - Production on Thu Jan 28 18:40:11 2010
Copyright (c) 1982, 2007, Oracle. All rights reserved.
Enter password:
Connected to:
Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - 64bit Production
With the Partitioning, Real Application Clusters, OLAP, Data Mining
and Real Application Testing options -
Reporting Services connections are getting dropped by Oracle RAC
My current customer is using Oracle RAC (11g) for their data store. They currently are using SQL Server Reporting Services to connect to it. We are experiencing an issue where the connection appears to be redirected at the server which causes the connection to be lost with the client.
I am curious if this is "by design" or if we need to review some configuration settings to better handle this.
We have 3 VIPs fronting the RAC and they are all specified in the TNSNAMES.ORA file.
Any feedback or input on this issue would be greatly appreciated.Hi,
I suggest you look at:
http://www.oracle.com/technetwork/database/clustering/overview/awm11gr2-130711.pdf
and the similar paper from 11.1:
http://www.oracle.com/technetwork/database/clustering/overview/awmrac11g-133673.pdf
This explains the basic concept, of how clients should connect to the database, and probably clarifies your issue.
In generall Oracle will not redirect during runtime, only during connection time.
This however should not be of an issue, if you connect to a service. (You shouldn't connect to a SID since 8.1.7 anymore).
Regards
Sebastian
Maybe you are looking for
-
What are the key requirements to write a recursive cte?
what are the key requirements to write a recursive cte? when we will go for a recursive cte.
-
Load Balancing and Asynchronous Multimaster Replication
We are planning a new project with 2 server lines for load balancing reasons. We also plan to use sessions being valid for 30 minutes. Each of the 2 server lines has its own Oracle database (identical tables) for the transactions. Within one session
-
Hi All, I would like to change in ESS team calendar. ESSàworking time à Create leave request à team calendar, only reports on particular org unit employees will be display. I would like to change to view direct line manager and any staff in residing
-
All files in book suddenly View Only?! How to turn off?!
I am using FrameMaker 10 to open SGML/XML files for PDF printing. I have a lot of manual things I have to do to the pages to get them the way the customer wants them, although the EDD & template does most of the work. This is the second big book I ha
-
My daughter accidentally deleted my Pages program and icon from my toolbar while downloading free fonts off the internet. Now I can't create documents! How can I get it back?