Oracle10gR2 - TAF setup in RAC environment (Pls close this thread)
Hi,
I wish to setup TAF in my RAC environment.
1. Can I harness TAF advantages without doing any Application changes?
2. How much useful can TAF be if application changes are not done?
Thank you.
Regards.
Hi,
you don't need to make any changes in application level,
just add new tnsnamers.ora file with ur rac virtual ip address.
ur tnsnames.ora files look like
ORCLTEST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = rac1vip)(PORT = 1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = rac2vip)(PORT = 1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = rac3vip)(PORT = 1521))
(LOAD_BALANCE = yes)
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = orcl)
(FAILOVER_MODE =
(TYPE = SELECT)
(METHOD = BASIC)
(RETRIES = 180)
(DELAY = 5)
)Thanks
Kuljeet
Similar Messages
-
pls cancel this thread
Just answered this on your previous thread. Please check :
https://supportforums.cisco.com/message/3661583#3661583
-Thanks
Vinod -
RAC environment setup for OEM Grid Control
Hi All,
One of my customer is setting up RAC environment for OEM Grid Control, he has following questions.
1) Can I use the DirectNFS client on each RAC node to mount SAN storage created with an OCFS2 filesystem?
2) Can I use the DirectNSF client to mount the shared filesystem loader directory?
3) Should I be using DirectNFS for the shared filesystem loader at all? Or should I just use a normal Linux NFS mount?
4) Is OCFS2 preferred over NFS for the shared filesystem loader?
Any information is highly appriciated.
Thank you,
BhavinPlease check the below doc
http://www.oracle.com/technology/deploy/availability/pdf/MAA_WP_10gR2_EnterpriseManagerBestPractices.pdf -
Steps to do switchover / switchback in RAC environment
Hi folks,
I m having setup with 2 node RAC primary and 2 node RAC Dataguard on 10.2.0.4.0. Dataguard setup is working fine. Dataguard is setup with Standby Redo log group with managed recovery. There is no problem with transferring archives & applying on standby.
Now I want to do Switchover/Switchback between Primary and Standby for RAC. I am familiar with Single instance Switchover and Switchback but never did RAC environment Switchover/Switchback. Can anybody please elaborate steps or suggest any link for me??
regards,
manishHi Guys,
Today I performed RAC Switchover / Switchback for 2 Node Primary with 2 Node Standby on OEL. I expected some issues, but it was totally smooth. Giving you steps for the same, so it will be useful to you. Even this would be my first contribution to Oracle Forums.
DB Name DB Unique Name Host Name Instance Name
live live linux1 live1
live live linux2 live2
live livestdby linux3 livestdby1
live livestdby linux4 livestdby2
Verify that each database is properly configured for the role it is about to assume and the standby database is in mounted state.
(Verify all Dataguard parameters on each node for Primary & Standby)
Like,
Log_archive_dest_1
Log_archive_dest_2
Log_archive_dest_state_1
Log_archive_dest_state_2
Fal_client
Fal_server
Local_listener
Remote_listener
Standby_archive_Dest
Standby_archive_management
service_names
db_unique_name
instance_name
db_file_name_convert
log_file_name_convert
Verify that both Primary RAC & Dataguard RAC are functioning properly and both are in Sync
On Primary,
Select thread#,max(sequence#) from v$archived_log group by thread#;
On Standby,
Select thread#,max(sequence#) from v$log_history group by thread#;
Before performing a switchover from a RAC primary shut down all but one primary instance (they can be restarted after the switchover has completed).
./srvctl stop instance –d live –i live1
Before performing a switchover or a failover to a RAC standby shut down all but one standby instance (they can be restarted after the role transition has completed).
./srvctl stop instance –d live –i livestdby1
On the primary database initiate the switchover:
alter database commit to switchover to physical standby with session shutdown;
Shutdown former Primary database & Startup in Mount State.
Shut immediate;
Startup mount;
select name,db_unique_name, log_mode,open_mode,controlfile_type,switchover_status,database_role from v$database;
Make log_Archive_Dest_state_2 to DEFER
alter system set log_archive_dest_state_2='DEFER' sid='*';
On the (old) standby database,
select name,log_mode,open_mode,controlfile_type,switchover_status,database_role from v$database;
On the (old) standby database switch to new primary role:
alter database commit to switchover to primary;
shut immediate;
startup;
On new Primary database,
select name,log_mode,open_mode,controlfile_type,switchover_status,database_role from v$database;
Make log_Archive_Dest_state_2 to ENABLE
alter system set log_archive_dest_state_2='ENABLE' sid='*';
Add tempfiles in New Primary database.
Do some archivelog switches on new primary database & verify that archives are getting transferred to Standby database.
On new primary,
select error from v$archive_Dest_status;
select max(sequence#) from v$archived_log;
On new Standby, Start Redo Apply
alter database recover managed standby database using current logfile disconnect;
Select max(sequence#) from v$log_history; (should be matching with Primary)
Now Start RAC databases services (both Primary – in open & Standby – in mount)
On new Primary Server.
./srvctl start instance –d live –i livestdby2
Verify using ./crs_stat –t
Check that database is opened in R/W mode.
On new Standby Server.
./srvctl start instance –d live –i live2 –o mount
Now add TAF services on new Primary (former Standby) Server.
By Command Prompt,
./srvctl add service -d live -s srvc_livestdby -r livestdby1,livestdby2 -P BASIC
OR
By GUI,
dbca -> Oracle Read Application Cluster database -> Service Management -> select database -> add services, details (Preferred / Available), TAF Policy (Basic / Preconnect) - > Finish
Start the services,
./srvctl start service -d live
Verify the same,
./crs_stat -t
Perform TAF testing, to make sure Load Balancing & Failover.
regards,
manish
Email: [email protected]
Edited by: Manish Nashikkar on Aug 31, 2010 7:41 AM
Edited by: Manish Nashikkar on Aug 31, 2010 7:42 AM -
Concurrent Managers in a Non-PCP RAC environment
Hi Gurus,
If one of the RAC instance which is running most of the managers fails in RAC (Non-PCP) environment, what happens to the managers and requests?
How to ensure failover in this case?
Is it possible to start all the managers and requests on other RAC instance node without manual intervention?
Thanks in advance.
~Santoshuser8828742 wrote:
Hi Gurus,
If one of the RAC instance which is running most of the managers fails in RAC (Non-PCP) environment, what happens to the managers and requests?
How to ensure failover in this case?
Is it possible to start all the managers and requests on other RAC instance node without manual intervention?
Thanks in advance.
~SantoshPlease see these docs.
Failover is Not Working in E-Business RAC Environment. [ID 386685.1]
Can Automatic Failover Occur With Forms On a Multi-node Oracle RAC Database for E-Business Suite? [ID 1500213.1]
Using Oracle 11g Release 2 Real Application Clusters with Oracle E-Business Suite Release 12 [ID 823587.1] -- 3.9.2 Set Up PCP
How to Activate Parallel Concurrent Processing - Background Facts and Setup Steps [ID 602899.1]
Concurrent Manager Do Not Fail Over When One Rac Instance Goes Down. [ID 1335036.1]
Thanks,
Hussein -
Manually Setting up a Standby Database for RAC Environment
Hi,
I am a Junior DBA so apologies if this sounds like a silly question.
We have production 11g Extended RAC environment setup. Management have asked for a separate single instance database be setup as a standby DB on a separate 'cold' server in case we lose complete connection to both sides of the RAC. I read up on Oracle Data Guard and presented this as a solution, but they seem adamant about manually going in and copying out the latest backup and archive logs over to the standby database.
Can this be done? I mean, can ASM managed backup files and archive logs from one database be simply copied out of the backup directory and imported into a completely separate database as easy as that?
We are using ASM to manage to data files on the RAC. My understanding is that we cant manually access the files on an OS level when using ASM, but maybe I am wrong. Any help or opinions on this would be greatly appreciated.
Rgs,
RobHi,
Can this be done? I mean, can ASM managed backup files and archive logs from one database be simply copied out of the backup directory and imported into a completely separate >database as easy as that?Yes, but depends on DB version.
what is the DB version.
from 11g you have cp command so there is a possibility to copy generated archive logs to standby location, so that you can apply..
In 10g there is no such option. you need to create a standby database. with automatic shipping
Thanks -
Transaction Recovery within an Oracle RAC environment
Good evening everyone.
I need some help with Oracle 11gR1 RAC transaction-level recovery issues. Here's the scenario.
We have a three(3) node RAC Cluster running Oracle 11g R1. The Web UI portion of the application connects through WLS 9.2.3 with connection pooling set. We also have a command-line/SQL*Developer component that uses a TNSNAMES file that allows for both failover and load balancing. Within either the UI or the command line portion of the application, a user can run a process by which invokes one or more PL/SQL Packages to be invoked. The exact location of the physical to the database is dependent on which server is chosen from either the connection pooling or the TNSNAMES.ORA Load Balancing option.
In the normal world, the process executes and all is good. The status of the execution of this process is updated by the Packages once completed. The problem we are encountering is when an Oracle Instance fails. Here's where I need some help. For Application-level (Transaction Level) recovery, the database instances are first recovered by the database background proccesses and then Users must determine which processes were in flight and either re-execute them (if restart processing is part of the process) or remove any changes and restart from scratch. Given that the database instance does not record which processes are "in flight" it is the responsibility of the application to perform its own recovery processing. Is this still true?
If an instance fails, are "in flight" transactions/connections moved to other instances in the Grid/RAC environment? I don't think this is possible but I don't remember if this was accomplished through a combination of Application and Database Server features that provide feedback between each other. How is the underlying application notified of the change if such an issue occurs? I remember something similar to this in older versions of Oracle but I cannot remember what it was callled.
Any help or guidance would be great as our client is being extremely difficult in pressing this issue.
Thanks in advance
Stephen Karniotis
Project Architect - Compuware
[email protected]
(248) 408-2918You have not indicated whether you are using TAF or FCF ... that would be the first place to start.
My recommendation would be to let Oracle roll back the database changes and have the application resubmit the most recent work.
If the application knows what it did since the last "COMMIT" then you should be fine with the possible exception of variables stored
in packages. Depending on packages retaining values is an issue best solved with PRAGMA SERIALLY_REUSABLE ... in other words
not using the retention feature. -
Keep Sequences in Shared Pool for RAC Environment
Hi,
We have 2 node RAC setup for production environment. I want to pin cached sequences in my database. We are using following command for this purpose.
EXEC DBMS_SHARED_POOL.KEEP('HR.MySeq','Q');
Do I need to execute this command for each single node?Pinning is in the Shared Pool in the SGA. So it is local to an instance.
Therefore, you would need to execute it in each instance (i.e. on each node).
Note : However, with sequences in RAC, you have to be careful with the definition. Have you defined it or do you need to define it as CACHE/NOCACHE ? Have you defined it or do you need to define it as ORDER (to guarantee order generation in RAC) ?
Hemant K Chitale -
Replication between 2 node RAC environment and standalone
I would like to find out if we can setup replication between a (2 node) RAC environment and standalone database located at different location. Any help regarding this would be greatly appreciated.
Thanks for the reply.
Consider for a moment I cannot implement dataguard/stream -- because I believe both involves licensing issue --- now only option left is writing my own code. If I right my own code what are the prerequisites for this and what do I have to keep in (technically)mind before i start implementing this. Any help or any lead would be greatly appreciated. -
ASM Installation on Oracle 11g Clusterware (RAC) environment
Hi All,
I am trying to setup Oracle 11g Standared Edition RAC+ASM on RedHat Linux 5.0 VM ware box. As part of this RAC setup successfully completed. For this i have used raw devices and mounted using NFS.
In many of forumns i have read that ASM installtion on a cluster envioronmnet is different than non cluster environment.
I dont know how to start ASM installtion on RAC environment. Please share any documents if you have?
Thanks,
Rakeshwill the steps need to be done on two nodes of cluster or it is sufficient on first node.
"raw device" for OCR, VOTE, SPFILE_FOR ASM and ASM DISKGROUPs
before do "raw devices" you have to fdisk(make partitions) on share storages
node1:
# fdisk /dev/sdf
# ls /dev/sdf*
node2:
# ls /dev/sdf*
don't find...,so just fdisk -> l and -> w
fdisk how? http://linux.about.com/od/commands/l/blcmdl8_fdisk.htm
Example: /etc/sysconfig/rawdevices do it every nodes
#Oracle OCR File +~280M+
/dev/raw/raw1 /dev/sdf1
#Oracle Voting File +~280M+
/dev/raw/raw2 /dev/sdf2
#Oracle ASM spfile ~50M+
/dev/raw/raw3 /dev/sdf3
#Oracle ASM DISK Group1
/dev/raw/raw4 /dev/sdg1
#Oracle ASM DISK Group2
/dev/raw/raw5 /dev/sdh1
And oracle user.. can read /dev/raw/raw* You should find on every nodes
http://oraclepitstop.wordpress.com/2008/02/15/raw-devices-on-rhel-5-or-oel-5/
ls -la /dev/raw/raw*
crw-rw---- 1 root oinstall 162, 1 Jan 13 12:53 /dev/raw/raw1
crw-rw---- 1 oracle oinstall 162, 2 Jan 13 12:53 /dev/raw/raw2
crw-rw---- 1 oracle oinstall 162, 3 Jan 13 12:53 /dev/raw/raw3
crw-rw---- 1 oracle oinstall 163, 1 Jan 13 12:53 /dev/raw/raw4
crw-rw---- 1 oracle oinstall 164, 1 Jan 13 12:53 /dev/raw/raw5
do it on node1 but you have to pass phrase on every nodes Before
http://www.puddingonline.com/~dave/publications/SSH-with-Keys-HOWTO/document/html/SSH-with-Keys-HOWTO-5.html
example:
node01:
$ ssh node01 hostname
node01
$ ssh node02 hostname
node02
- Install + Setup Clusterware:
OCR = /dev/raw/raw1
VOTE = /dev/raw/raw2
- Install Oracle Database for ASM Home
spfile for ASM = /dev/raw/raw3
- after ASM started... create disk groups from /dev/raw/raw4 and /dev/raw/raw5
- Install Oracle Database for RDBMS Home
- Create Database to use ASM diskgroups
http://www.oracle-base.com/articles/11g/OracleDB11gR1RACInstallationOnRHEL5UsingVMwareESXAndNFS.php
Did you followed the same procedure to set up Oracle 11g RAC+ASM on RHEL 5.0.I'd done(test 11gRAC) it on RHEL 4 + 11g + ASM(on raw device)
on production, I use ASMlib... + ASM + 10g
you can read on metalink to help idea
465001.1
357492.1
605828.1
564580.1
on http://startoracle.com/2007/09/30/so-you-want-to-play-with-oracle-11gs-rac-heres-how/
Oracle 11g’s RAC.. I think.. that can help you ;)
Good Luck
Edited by: Surachart Opun (HunterX) on Jun 26, 2009 11:22 AM
Example from IBM... Deploying Oracle RAC 11g R1 on RHEL 5 or SLES 10 with Oracle ASM on the IBM DS3400, DS4200, DS4700, and DS4800 Storage Subsystems
http://www-03.ibm.com/support/techdocs/atsmastr.nsf/WebIndex/WP101323
Edited by: Surachart Opun (HunterX) on Jun 26, 2009 11:27 AM -
Need advice regarding physical standby databases in rac environment on orac
need advice regarding physical standby databases in rac environment on oracle 10G r2
I like to have have a Primary ( 10 node RAC cluster ) shipping to a physical standby ( 3 node RAC cluster ) shipping using LGWR .
So I have a lot of questions
1) What will be the performance overhead on the Primay if we are using LGWR SYNC option .
2) Does the overhead depends on the physical distance between primary & physical
3)Do you recommend a seperate private network for shipping logs between primary and standby.
4) I know that DGMGRL supports RAC only from 10g. So are there any know issues are bugs using DGMGRL is RAC environments.
Thanks in advance
-SatishGenerally you should have same CPU architecture and same operating system but it's not mandatory to have the exactly the same CPU model, the same number of CPU, the same RAM size etc.
Actually starting with 11.1 you don't need to have the same hardware setup: it 's even possible to have primary and standby database on different platforms: http://download.oracle.com/docs/cd/B28359_01/server.111/b28294/standby.htm#i72053. -
Streams Setup from RAC to Single instance
Does anyone have a document to setup streams from RAC to Non RAC. I successfully setup streams on 2 single instances but I am having issues in replicating, Streams is setup on node1 or Rac and Apply process is also setup on single node. but data is not replicating.
Appreciate any suggestions.From Metalink Note 418755.1:
Additional Configuration for RAC Environments for a Source Database Archive Logs
The archive log threads from all instances must be available to any instance
running a capture process. This is true for both local and downstream capture.
Queue Ownership
When Streams is configured in a RAC environment, each queue table has an
"owning" instance. All queues within an individual queue table are owned by
the same instance. The Streams components (capture/propagation/apply) all
use that same owning instance to perform their work. This means that
+ a capture process is run at the owning instance of the source queue.
+ a propagation job must run at the owning instance of the queue
+ a propagation job must connect to the owning instance of the target queue.
Ownership of the queue can be configured to remain on a specific instance,
as long as that instance is available, by setting the PRIMARY _INSTANCE
and/or SECONDARY_INSTANCE parameters of DBMS_AQADM.ALTER_QUEUE_TABLE.
If the primary_instance is set to a specific instance (ie, not 0), the queue
ownership will return to the specified instance whenever the instance is up.
Capture will automatically follow the ownership of the queue.If the ownership
changes while capture is running, capture will stop on the current instance
and restart at the new owner instance.
For queues created with Oracle Database 10g Release 2, a service will be
created with the service name= schema.queue and the network name
SYS$schema.queue.global_name for that queue. If the global_name of the
database does not match the db_name.db_domain name of the database, be sure
to include the global_name as a service name in the init.ora.
For propagations created with the Oracle Database 10g Release 2 code with
the queue_to_queue parameter to TRUE, the propagation job will deliver only
to the specific queue identified. Also, the source dblink for the target
database connect descriptor must specify the correct service (global name of
the target database ) to connect to the target database. For example, the
tnsnames.ora entry for the target database should include the CONNECT_DATA
clause in the connect descriptor for the target database. This claus should
specify (CONNECT_DATA=(SERVICE_NAME='global_name of target database')).
Do NOT include a specific INSTANCE in the CONNECT_DATA clause.
For example, consider the tnsnames.ora file for a database with the global name
db.mycompany.com. Assume that the alias name for the first instance is db1 and
that the alias for the second instance is db2. The tnsnames.ora file for this
database might include the following entries:
db.mycompany.com=
(description=
(load_balance=on)
(address=(protocol=tcp)(host=node1-vip)(port=1521))
(address=(protocol=tcp)(host=node2-vip)(port=1521))
(connect_data=
(service_name=db.mycompany.com)))
db1.mycompany.com=
(description=
(address=(protocol=tcp)(host=node1-vip)(port=1521))
(connect_data=
(service_name=db.mycompany.com)
(instance_name=db1)))
db2.mycompany.com=
(description=
(address=(protocol=tcp)(host=node2-vip)(port=1521))
(connect_data=
(service_name=db.mycompany.com)
(instance_name=db2)))
Use the italicized tnsnames.ora alias in the target database link USING clause.
DBA_SERVICES lists all services for the database. GV$ACTIVE_SERVICES identifies
all active services for the database In non_RAC configurations, the service
name will typically be the global_name. However, it is possible for users to
manually create alternative services and use them in the TNS connect_data
specification . For RAC configurations, the service will appear in these views
as SYS$schema.queue.global_name.
Propagation Restart
Use the procedures START_PROPAGATION and STOP_PROPAGATION from
DBMS_PROPAGATION_ADM to enable and disable the propagation schedule.
These procedures automatically handle queue_to_queue propagation.
Example:
exec DBMS_PROPAGATION_ADM.stop_propagation('name_of_propagation'); or
exec DBMS_PROPAGATION_ADM.stop_propagation('name_of_propagation',force=>true);
exec DBMS_PROPAGATION_ADM.start_propagation('name_of_propagation');
If you use the lower level DBMS_AQADM procedures to manage the propagation schedule,
be sure to explicitly specify the destination_queue name when queue_to_queue propagation has been configured.
Example:
DBMS_AQADM.UNSCHEDULE_PROPAGATION('source_queue_name','destination',destination_queue=>'specific_queue');
DBMS_AQADM.SCHEDULE_PROPAGATION('source_queue_name','destination',destination_queue=>'specific_queue');, DBMS_AQADM.ENABLE_PROPAGATION_SCHEDULE('source_queue_name','destination',destination_queue=>'specific_queue');,
DBMS_AQADM.DISABLE_PROPAGATION_SCHEDULE('source_queue_name','destination',destination_queue=>'specific_queue');, DBMS_AQADM.ALTER_PROPAGATION_SCHEDULE('source_queue_name','destination',destination_queue=>'specific_queue');
Changing the GLOBAL_NAME of the Source Database
See the OPERATION section on Global_name below. The following are some
additional considerations when running in a RAC environment.
If the GLOBAL_NAME of the database is changed, ensure that any propagations
are dropped and recreated with the queue_to_queue parameter set to TRUE.
In addition, if the GLOBAL_NAME does not match the db_name.db_domain of the
database, include the global_name for the queue (NETWORK_NAME in DBA_QUEUES)
in the list of services for the database in the database parameter
initialization file.
Section 4. Target Site Configuration
The following recommendations apply to target databases, ie, databases in which
Streams apply is configured.
1. Privileges
Grant Explicit Privileges to APPLY_USER for the user tables
Examples:
Privileges for table level DML: INSERT/UPDATE/DELETE,
Privileges for table level DDL: CREATE (ANY) TABLE , CREATE (ANY) INDEX,
CREATE (ANY) PROCEDURE
2. Instantiation
Set Instantiation SCNs manually if not using export/import. If manually
configuring the instantiation scn for each table within the schema, use the
RECURSIVE=>TRUE option on the DBMS_STREAMS_ADM.SET_SCHEMA_INSTANTIATION_SCN
procedure
For DDL Set Instantiation SCN at next higher level(ie,SCHEMA or GLOBAL level).
3. Conflict Resolution
If updates will be performed in multiple databases for the same shared
object, be sure to configure conflict resolution. See the Streams
Replication Administrator's Guide Chapter 3 Streams Conflict Resolution,
for more detail.
To simplify conflict resolution on tables with LOB columns, create an error
handler to handle errors for the table. When registering the handler using
the DBMS_APPLY_ADM.SET_DML_HANDLER procedure, be sure to specify the
ASSEMBLE_LOBS parameter as TRUE.
In Streams Concepts manual 10.2 chapter 22: Monitoring Apply
Displaying detailed information about Apply errors.
4. Apply Process Configuration
A. Rules
If the maintain_* procedures are not suitable for your environment,
please use the ADD_RULES procedures (ADDTABLE_RULES , ADD_SCHEMA_RULES ,
ADD_GLOBAL_RULES (for DML and DDL), ADD_SUBSET_RULES (DML only).
These procedures minimize the number of steps required to configure Streams
processes. Also, it is possible to create rules for non-existent objects,
so be sure to check the spelling of each object specified in a rule carefully.
APPLY can be configured with or without a ruleset. The ADD_GLOBAL_RULES can
be used to apply all changes in the queue for the database. If no ruleset is
specified for the apply process, all changes in the queue are processed by the apply process.
A single Streams apply can process rules for multiple tables or schemas
located in a single queue that are received from a single source database .
For best performance, rules should be simple. Rules that include LIKE clauses are
not simple and will impact the performance of Streams.
To eliminate changes for particular tables or objects, specify the
include_tagged_lcr clause along with the table or object name in the
negative rule set for the Streams process. Setting this clause will
eliminate all changes, tagged or not, for the table or object.
B. Parameters
Set the following parameters after a apply process is created:
+ DISABLE_ON_ERROR=N Default: Y
If Y, then the apply process is disabled on the first unresolved error,
even if the error is not fatal.
If N, then the apply process continues regardless of unresolved errors.
+ PARALLELISM=3* Number of CPU Default: 1
Apply parameters can be set using the SET_PARAMETER procedure from the
DBMS_APPLY_ADM package. For example, to set the DISABLE_ON_ERROR parameter
of the streams apply process named APPLY_EX, use the following syntax while
logged in as the Streams Administrator:
exec dbms_apply_adm.set_parameter('apply_ex','disable_on_error','n');
Change the apply parallelism parameter recommendation to a lower number.
In general, try 4 or 8 and increase or decrease as necessary for your workload.
In some cases, performance can be improved by setting the following hidden
parameter. This parameter should be set when the major workload is UPDATEs
and the updates are performed on just a few columns of a many-column table.
+ DYNAMICSTMTS=Y Default: N
If Y, then for UPDATE statements, the apply process will optimize the
generation of SQL statements based on required columns.
CHECKPOINTFREQUENCY=1000
Increase the frequency of logminer checkpoints especially in a
database with significant LOB or DDL activity.
exec dbms_capture_adm.set_parameter('capture_ex','_checkpoint_frequency','1000');
5. Additional Configuration for RAC Environments for a Apply Database
Queue Ownership
When Streams is configured in a RAC environment, each queue table has an
"owning" instance. All queues within an individual queue table are owned
by the same instance. The Streams components (capture/propagation/apply)
all use that same owning instance to perform their work. This means that
the database link specified in the propagation must connect to the owning
instance of the target queue. the apply process is run at the owning instance
of the target queue
Ownership of the queue can be configured to remain on a specific instance,
as long as that instance is available, by setting the PRIMARY _INSTANCE and
SECONDARY_INSTANCE parameters of DBMS_AQADM.ALTER_QUEUE_TABLE. If the
primary_instance is set to a specific instance (ie, not 0), the queue
ownership will return to the specified instance whenever the instance is up.
Apply will automatically follow the ownership of the queue. If the ownership
changes while apply is running, apply will stop on the current instance and
restart at the new owner instance.
Changing the GLOBAL_NAME of the Database
See the OPERATION section on Global_name below. The following are some
additional considerations when running in a RAC environment.
If the GLOBAL_NAME of the database is changed, ensure that the queue is
empty before changing the name and that the apply process is dropped and
recreated with the apply_captured parameter = TRUE. In addition, if the
GLOBAL_NAME does not match the db_name.db_domain of the database, include
the GLOBAL_NAME in the list of services for the database in the database
parameter initialization file. -
How to create a wallet in oracle RAC environment
How to create a wallet in oracle RAC environment.
While running following command "alter system set encryption key identified by "thalesdata4";
I am getting error message "cannot auto create wallet" or "failed to open wallet.
Please suggest correct way to create a wallet in RAC environment.
Thanks
Sudhirhi,
please refer for detailed explanation
Master Note for SSL Configuration in Fusion Middleware 11g [ID 1218695.1]
regards -
Instnce name in non-RAC environment
Hi!
In non-RAC environment V$INSTANCE.INSTANCE_NAME does not actually displays the name of the instance,that was set in INSTANCE_NAME parameter.
It always displays DB_NAME instead.
Is it any way to get instance_name that has service user connected to in this environment?
LSNRCTL for 32-bit Windows: Version 10.2.0.4.0 - Production on 28-JAN-2010 09:16:25
Copyright (c) 1991, 2007, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=vegas)(PORT=1524)))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for 32-bit Windows: Version 10.2.0.4.0 - Production
Start Date 28-JAN-2010 09:15:36
Uptime 0 days 0 hr. 0 min. 48 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File D:\oracle\db\product\10.2.0\network\admin\listener.ora
Listener Log File D:\oracle\db\product\10.2.0\network\log\listener.log
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=vegas)(PORT=1524)))
Services Summary...
Service "EMCOR" has 1 instance(s).
Instance "INST0", status READY, has 1 handler(s) for this service...
Service "EMCOR_XPT" has 1 instance(s).
Instance "INST0", status READY, has 1 handler(s) for this service...
Service "PLSExtProc" has 1 instance(s).
Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
Service "RESXDB" has 1 instance(s).
Instance "INST0", status READY, has 1 handler(s) for this service...
Service "SRV1" has 1 instance(s).
Instance "INST0", status READY, has 1 handler(s) for this service...
Service "SRV2" has 1 instance(s).
Instance "INST0", status READY, has 1 handler(s) for this service...
The command completed successfully
And SQLPLUS said
C:\Documents and Settings\oradba>sqlplus
SQL*Plus: Release 10.2.0.4.0 - Production on Thu Jan 28 09:44:59 2010
Copyright (c) 1982, 2007, Oracle. All Rights Reserved.
Enter user-name: emcos@emcor_srv2
Enter password:
Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
09:45:04 EMCOS@emcor_srv2 >select name from v$database;
NAME
EMCOR
Elapsed: 00:00:00.00
09:45:07 EMCOS@emcor_srv2 >select instance_name from v$instance;
INSTANCE_NAME
emcor
Elapsed: 00:00:00.01
09:45:21 EMCOS@emcor_srv2 >select service_name from v$session where sid=(select unique sid from v$mystat);
SERVICE_NAME
SRV2Hemant K Chitale wrote:
The documentation on INSTANCE_NAME in the 10gR2 Reference says :
"In a single-instance database system, the instance name is usually the same as the database name."
(this after
"In a Real Application Clusters environment, multiple instances can be associated with a single database service. Clients can override Oracle's connection load balancing by specifying a particular instance by which to connect to the database. INSTANCE_NAME specifies the unique name of this instance.")
This would imply that setting INSTANCE_NAME in non-RAC is ignored. The usage of the word "usually" is weak.
Hemant K ChitaleBut what do says lsnrctl - it says that it is not weak
11:33:28 SYS@EMCOR_SRV1 >show parameter instance_name
NAME TYPE VALUE
instance_name string INST0
11:33:36 SYS@EMCOR_SRV1 >host lsnrctl status
LSNRCTL for 32-bit Windows: Version 10.2.0.4.0 - Production on 28-JAN-2010 11:33:50
Copyright (c) 1991, 2007, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=vegas)(PORT=1524)))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for 32-bit Windows: Version 10.2.0.4.0 - Production
Start Date 28-JAN-2010 09:15:36
Uptime 0 days 2 hr. 18 min. 14 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File D:\oracle\db\product\10.2.0\network\admin\listener.ora
Listener Log File D:\oracle\db\product\10.2.0\network\log\listener.log
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=vegas)(PORT=1524)))
Services Summary...
Service "EMCOR" has 1 instance(s).
Instance "INST0", status READY, has 1 handler(s) for this service...
Service "EMCOR_XPT" has 1 instance(s).
Instance "INST0", status READY, has 1 handler(s) for this service...
Service "PLSExtProc" has 1 instance(s).
Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
Service "RESXDB" has 1 instance(s).
Instance "INST0", status READY, has 1 handler(s) for this service...
Service "SRV1" has 1 instance(s).
Instance "INST0", status READY, has 1 handler(s) for this service...
Service "SRV2" has 1 instance(s).
Instance "INST0", status READY, has 1 handler(s) for this service...
The command completed successfully
11:33:50 SYS@EMCOR_SRV1 >select sys_context('USERENV','INSTANCE_NAME') from dual;
SYS_CONTEXT('USERENV','INSTANCE_NAME')
emcor
Elapsed: 00:00:00.00
11:34:42 SYS@EMCOR_SRV1 >select service_name from v$session where sid=sys_context('USERENV','SID');
SERVICE_NAME
SRV1
Best regards, Sergey -
How to setup the cluster environment for BPM using weblogic
want to setup the cluster environment for BPM using weblogic....
i have installed the oracle weblogic server 10gr3 and oracle BPM enterprise for weblogic 10gR3
i have used the Admin tools from the "oracle BPM enterprise for weblogic" to setup the configuration and create the weblogic domain servers.
i can launch the process administrator and import the project exp file to domain server.
but what should i do to setup cluster environment using weblogic?
what i want to do is :
setup one admin machine..
setup two product machine..
enable the cluster so the admin machine can monitor the status of the product machine..
thanks a lot ...The install guide at http://download-llnw.oracle.com/docs/cd/E13154_01/bpm/docs65/config_guide/index.html gives a reasonable amount of info on how to do this.
Personally I have not used the OBPM option to configure WebLogic instead I've used the information in the above install guide to create the weblogic domain in advance of configuring OBPM.
Once you've setup WebLogic configure OBPM using the values I mention in the following thread: How to set the JMX Engine parameter in Process Administation?
Let me know any specific config questions and I'll do my best to answer them for you.
Thanks,
Mike
Maybe you are looking for
-
Headset does not work after latest update...
It is very "strange" that since the latest system update on my Z3 compact my headset is not working at all. I use my all time favourite iphone 4 headset. It worked flawlessly before the update but now if I plug it in, the phone is not recognizing it
-
Problem with SAPFTP hanging when run online
I searched earlier for a solution and didn't find anything, so hopefully this tip is not a repeat... If you use SAPFTP RFC destination (such as with function FTP_R3_TO_SERVER) which uses sapftp.exe on you local machine and your running Windows 7 it m
-
How to reduce time for gather statistics for a table.
I have a table size 520 gb Its one of the partition size is 38 gb and total indexes of related table is 412 gb. Server/instance details. ========== 56 cpu -> Hyper threading enable 280 gb ram 35 gb sga 27 gb buffer cache 4.5 gb shared pool size 25 gb
-
so the FAQ should be updated, ya
-
How to fetch absences configured for Company Code
I have to fetch absences configured for a particular company code. In which table are they available? If they are not maintained in a table, how to find them out? Thanks, Sasi.