the JRC, many cases can be on the same database server?
and if so, that that the advantage of this would be, because there would be no tolerance of breakdowns or of load balancing in question?im just curious,
Thank you
I hope that this is just a rhetorical question. If we keep data and you want to start the instance on the same machine, the db_unique_name would do the trick, giving each one a different name. But in the cars, the instance name will change keeping the db_name even and also, the Vip would be alone for two instances. So no real advantage to do so would not be possible at all. No TAF or these things would be there because CARS is used for HA and when the only machine would come down, you would have lost everything. That said, I am always doubtful that you can even start multiple instances on the same computer even or not.
Just my 2 cents.
Aman...
Tags: Database
Similar Questions
-
Cannot open 2 Virtual Machines at the same time to access the same database
People,
Hello.
I'm installing RAC Oracle Database 11 g 2 system with 2 Virtual Machines (rac1 and rac2) on top 3 VMPlayer.
The VM rac1 and rac2 when one of them is stopped.
Their locations are F:\VM_RAC\rac1 and F:\VM_RAC\rac2.
I opened rac1 rac2 is running. But this error message appears:
Error: "cannot open F:\VM_RAC\sharerac\asm1.vmdk drive or one instant records, that depends. Reason: cannot lock the file. »
While rac1 running, I opened rac2. But this error message appears:
Error: "cannot open F:\VM_RAC\sharerac\asm1.vmdk drive or one instant records, that depends. Reason: cannot lock the file. »
2 error messages are the same. This means that I can not open 2and rac1 rac2 VMs at the same time. When we run RAC system, must open 2 "machines" or machines to more than 2 at the same time, so that all machines can access the same database server.
My question is:
Can all folk tell me how have rac1 and rac2 run at the same time?
Thank you.Unfortunately no, Oracle RAC requires that all nodes can visit the same set of shared disks. If your database resides within the DSO, each instance ASM (one per node) must also see the same set of disks to ASM diskgroup containing the data of the database files.
Best regards
Bryan Wood -
Can I use the same NTP server configured in the firewall to guard
I configured the NTP server in my VCSC Expressway it synchronized correctly, but I'm unable to configured in my VCSC Gatekeeper with the same NTP server address that is configured in VCScExpresway.
Please suggest
Hello!
You use in.pool.ntp.org. This isn't a single ntp server, there is a pool of servers,
then you might see different ntp servers, and they can also change and sometimes
It can also happen that yo will get a limit down.
If I get him here, I have for exmple get:
$host in.pool.ntp.org
in.pool.ntp.org has address 113.30.137.34
in.pool.ntp.org has address 119.226.101.131
and a little later, I got:
$ host in.pool.ntp.org
in.pool.ntp.org has address 123.108.225.6
in.pool.ntp.org has address 125.62.193.121
In any case you want to configure multiple NTP server addresses.
So, if you want to use this area (India):
* You must configure these three host names as described here: http://www.pool.ntp.org/zone/in
* See who works for DNS resolution (which may also be the problem here)
* you have a suitable internet access
* see that the firewall is open to 123 to any host on the internet
* If you are not in India use a different area
On the VCS under Maintanance > tools > utilities you could for example check if you can resolve DNS and traceroute/ping external hosts on network.
The other option is to find at least 2 NTP servers you know and that you can use and set up.
then you could lock the specific IPS in the firewall, otherwise it should be open to all.
Its also not hard to set up your own server NTP, incidentally.
-
Replication to a different diagram in the same database is a problem?
Hello
I'm about to start an integration project in which data needs to be replicated from a schema from A to B schema. These patterns are in the same database. We are looking for a non intrusive process to move data in real time throughout the day. At night, the data must be prepared for treatment. I think GoldenGate might be the right choice for this case. However, some people think it's weird using GoldenGate for replication within the same database, despite being in the other schema data. I do not wish to use ODI or other intrusive process.
Is there a sort of recommendation in order to not to use GoldenGate in such situation (same database)?
Hello
Yes, it is possible and you can use Oracle GoldenGate for configuring replication between two schemas in the same databases. Only a GoldenGate environment is sufficient to achieve this goal.
Kind regards
Veera
-
The consecutive processes share the same database session?
Assuming that we have two processes on the same page, which are performed one after the other. Can we depend on that they are running within the same database session?
For example it is possible to define a database (sys_context) context in the first process, and refer to this context within a second (e.g. process DML).
Or asking in other words: is the session DB from the pool of connections apex reused or returned to the connection pool after the first process?
It's a little difficult to control, because only the negative case would be suffient to say it doesn't work that way. Just because the 10 tests on 10 worked will not guarantee that it is always the case.
Published by: Sven w. on June 28, 2012 15:04 - typo correctionSven wrote:
Assuming that we have two processes on the same page, which are performed one after the other. Can we depend on that they are running within the same database session?For example it is possible to define a database (sys_context) context in the first process, and refer to this context within a second (e.g. process DML).
Or asking in other words: is the session DB from the pool of connections apex reused or returned to the connection pool after the first process?
The same session of database is used for the duration of 'see the page' or 'accept the page' request. If a 'direct branch' (direction of the page without using the redirect) takes place after "accept page" the same session of treatment, is used to display the new page. See the use attributes initialization PL/SQL/cleaning of Code PL/SQL Code .
However, several operations may be involved, as APEX will issue engages on different session state changes.
-
RMAN and repositories on the same database grid control
What are the disadvantages of having the RMAN Repository and repository on the same database grid control?
What effect does this have
1. daily maintenance
2. after disaster or high availability... or the recovery scenarios.
3 is server performance with respect to the use of the CPU and memory - not desirable to have two repositories on the same database?
Currently we have not a RMAN or a repository of GC. We intend to implement both. Angle of savings, it would be good if we can just build another data base for two repositories on an existing database server with 2 production databases. The server has enough CPU and RAM face for 1 new database, but that would mean an exaggeration to have 2 new databases.
If it is not advisable to have two repositories on the same database, then we would need strictly two separate databases, in this case, we will need to go to a new database server host two databases, which the org seeks to avoid, as this would mean that to buy a new license.
I tried searching a few books, but don't have no clear guidance on the same. Any opionion would really help. Thank you.
Concerning
S dialloWhere this instance fails, all rman needs to restore is in the database control file. How to restore a database with rman from the command line, without a catalog. (The backup and Recovery Guide has details of how do.) This will get data back so that you can use the grid again control.
In order to insure against a default of the machine hosting the instance, verify that the database is in log mode archive and protected with scheduled backups of hot and copy the backup files to another server.
Other options for high availability, you have a license (Data Guard, RAC) could also be deployed for this instance, if you need more recovery options.
-
GoldenGate replication on the same physical server - REPLICATE always ABENDING
Dear expert GG,
I'm completely green with Golden Gate, so I would like to help on why my REPLICAT process abends right after that I put my source database object lines. I'm following the writeup of Gavin Soorma -.
I'm trying to implement CDC on the same physical server. I have a 11g source database that uses ASM and my target is the database 10g that is using traditional file system management. I am trying to map an object, ggs_owner.myobjects that I created in the two databases. EXTRACT both REPLICAT start very well, but as soon as I perform an insert in the 11g database and post the lines, my REPLICAT process abends.
Version information:
Oracle GoldenGate for Oracle shell
OGGCORE_11.2.1.0.1_PLATFORMS_120423.0230_FBO version 11.2.1.0.1
Linux, x 86, 32-bit (optimized), Oracle 11 g on April 23, 2012 08:09:25Copyright (C) 1995, 2012, Oracle and/or its affiliates. All rights reserved.
GGSCI (localhost) 3 > DBLOGIN Userid ggs_owner@ora11g, password ggs_owner
Connected to the database.GGSCI (localhost) 4 > RELEASES
Operating system:
Linux
Version #1 SMP kills Jan 4 15:24:05 EDT 2011 version 2.6.18 - 238.el5
Node: localhost.localdomain
Machine: i686Database:
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
PL/SQL Release 11.2.0.1.0 - Production
CORE 11.2.0.1.0 Production
AMT for Linux: Version 11.2.0.1.0 - Production
NLSRTL Version 11.2.0.1.0 - ProductionGGSCI (localhost) 7 > DBLOGIN Userid ggs_owner@ora10g, password ggs_owner
Connected to the database.GGSCI (localhost) 8 > VERSIONS
Operating system:
Linux
Version #1 SMP kills Jan 4 15:24:05 EDT 2011 version 2.6.18 - 238.el5
Node: localhost.localdomain
Machine: i686Database:
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Prod
PL/SQL Release 10.2.0.1.0 - Production
CORE 10.2.0.1.0 Production
AMT for Linux: Version 10.2.0.1.0 - Production
NLSRTL Version 10.2.0.1.0 - ProductionPRM file content
EXTRACT the content of the Param file
extract extlocal
SetEnv (ORACLE_HOME="/u01/app/oracle/product/11.2.0/dbhome_1')
SetEnv (ORACLE_SID = 'ora11g')
ggs_owner username, password ggs_owner
localhost.localdomain, mgrport 7809 rmthost
rmttrail ./dirdat/aa
TRANLOGOPTIONS ASMUSER sys@+ASM, oracle ASMPASSWORD
table ggs_owner.myobjects.Content of the file param REPLICAT
REPLICAT replocal
SETENV (ORACLE_HOME="/opt/oracle/product/10.2.0.1')
SETENV (ORACLE_SID = "ora10g")
ASSUMETARGETDEFS
Ggs_owner username, PASSWORD ggs_owner
DISCARDFILE. / dirrpt/discard.txt, APPEND, 20 MEGABYTES
CARD ggs_owner.myobjects, ggs_owner.myobjects, KEYCOLS (object_id) TARGET;Complete the following steps in GGSCI:
GGSCI (localhost) 103 > add extract extlocal tranlog start now
Added EXTRACT.
GGSCI (localhost) 104 > add rmttrail ./dirdat/aa gets extlocal
Added RMTTRAIL.
GGSCI (localhost) 105 > dblogin Userid ggs_owner@ora10g, password ggs_owner
Connected to the database.GGSCI (localhost) 106 > add replicat replocal exttrail ./dirdat/aa
ERROR: No control points table specified to add REPLICAT.
GGSCI (localhost) 107 > add replicat exttrail ./dirdat/aa NODBCHECKPOINT replocal
REPLICAT added.
GGSCI (localhost) 108 > dblogin Userid ggs_owner@ora11g, password ggs_owner
Connected to the database.GGSCI (localhost) 109 > start extract extlocal
Sending START request manager of...
EXTLOCAL EXTRACT from
GGSCI (localhost) 110 > newsProgram status group Lag time since Chkpt Chkpt
MANAGER RUNNING
EXCERPT FROM RUNNING EXTLOCAL 00:00:00 00:00:02
REPLICAT ORDER REPLOCAL 00:00:00 00:01:27
GGSCI (localhost) 111 > start replicat replocalSending START request manager of...
REPLICAT REPLOCAL from
GGSCI (localhost) 112 > newsProgram status group Lag time since Chkpt Chkpt
MANAGER RUNNING
EXCERPT FROM RUNNING EXTLOCAL 00:00:00 00:00:09
REPLICAT RUNNING REPLOCAL 00:00:00 00:00:04In another window, I do the following:
SQL > connect ggs_owner@ora11g
Enter the password:
Connected.
SQL > select count (*) from myobjects;COUNT (*)
----------
71932SQL > truncate table myobjects;
Table truncated.
SQL > insert into select MYOBJECTS * from DBA_OBJECTS;
71932 lines were created.
SQL > commit;
Validation complete.
When I return to GGSCI, I see that the process has added:
GGSCI (localhost) 132 > news
Program status group Lag time since Chkpt Chkpt
MANAGER RUNNING
EXCERPT FROM RUNNING EXTLOCAL 00:00:00 00:00:07
REPLICAT REPLOCAL ABENDED 00:00:00 00:00:02
When I can look at, or what can I add to the param REPLICAT file that might help identify the root cause.
Any help would be appreciated.
Thank you
Prom
Hello
Since no one has replied, I can go with my assumptions that replicat process searches across data dictionary, and since he is a 11g Golden Gate executable, its not backward compatible with 10g. To this end, I have duplicated my database with RMAN DUPLICATE ora11g, creating another database called ora11g2, changed my REPLOCAL. PRM file as follows (changes in bold):
REPLICAT replocal
SETENV (ORACLE_HOME = "/u01/app/oracle/product/11.2.0/dbhome_1")
SETENV (ORACLE_SID = "ora11g2")
ASSUMETARGETDEFS
Ggs_owner @ora11g2, ggs_owner PASSWORD username
DISCARDFILE. / dirrpt/discard.txt, APPEND, 20 MEGABYTES
DDL INCLUDE ALL
CARD ggs_owner.golden, TARGET ggs_owner.golden, KEYCOLS (gold);I then rebooted the components again, and finally, I was able to replicate the changes to the GGS_OWNER table. GOLD ora11g, at the same table in ora11g2.
Thank you all.
Prom
-
People,
Hello. I installed Oracle 11 GR 2 database server in the Oracle Linux 5 operating system.
All customers (NetCA, DBCA, GROUND Deveoper, sqlplus...) works properly on the database server. The LISTENER_PT853 listener is listening on client tools under Linux successfully.
I also installed Oracle database Client(SQL Developer, NetMgr, NetCA, sqlplus,...) in Windows XP. So that the client tools to connect to the database on Linux server, the listener in Linux must be tuned to the service in Windows XP.In Oracle Linux 5 Server Machine Net Manager:
Service name: PT853
Connection type: default database
"TCP/IP Protocol".
Host name: 192.168.196.102
Port: 1521
Listener: LISTENER_PT853
Protocol: TCP/IP
Host: 192.168.196.102
Port: 1521
I have test the Service PT853 with "SYS" username and password "SYS." The connection is successful.In the Windows XP Client computer, the information in the Net Manager is lower at:
Service name: PT853_Linux
Protocol: TCP/IP
The host of the database Machine name: 192.168.196.102
Port: 1521
I test the connection by using "SYS" username and password "SYS" and got this error: ORA - 12514:TNS: listener does not currently of service requested in connect descriptor. There may be an error in the input fields or server may be ready to connect.
Can I check the status of the listener in Linux Server machine as below:[user@localhost bin] $. / lsnrctl status LISTENER_PT853
Its release: Service PT853 has 1 instance. PT853 of the Forum, State LOAN, has 1 handler for this service.
Foregoing, we saw the listener in the Linux server machine only to listen to the PT853 service in Linux but not to listen to the service PT853_linux of the Windows XP client computer.Windows XP (192.168.196.101) and Linux (192.168.196.102) can ping each other successfully. So that client tools in Windows XP connection in Server database on Linux, the listener in Linux need to listen to on the service in Windows XP first.
In Net Linux Manager, I add an address more (TCP/IP, 192.168.196.101, PORT 1521) to LISTENER_PT853, but gets the error.
My question is:How have the Linux database server listener listen to the service in the Net of Windows XP Client Manager?
Thanks in advance.UserAL1178M wrote:
Hi you ave create listener.ora.
Actually, no he didn't "need to create listner.ora.
In fact, its problems stem from the fact that it * has * created one instead of letting some things by default.
I give an example of my environment
[oracle@home ~] $ cd /home/oracle/app/oracle/product/11.2.0/dbhome_1/network/admin/
[oracle@home admin] $ cat listener.ora
listener.ora # Network Configuration file: /home/oracle/app/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora
# Generated by Oracle configuration tools.
LISTENER =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP (PORT = 1522))(HOST = home.test.al))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = orcl.test.al)
)
)
ADR_BASE_LISTENER = / home/oracle/app/oracle
[oracle@home admin] $
Change host, name of service depending on your environment. Your port is 1521.
Then, first run all the listener and database startup. If you do the opposite, with that you will need to register the service change the order of system registry.
Let me now if you need another sth
Kind regards
-
Migration of the apex of one schema to another in the same database
Hello
I'm new to Apex and installed Apex 4.2 on a database and creates a dashboard based on some tables.
Now I have to create a diagram in the same database and have to replicate all tables and should have the same dashboard.
Now my question is-
1 can I install Apex on the other schema and then having to export and import dashboards and reports to the installed Apex?
2 is it possible that the installed Apex even can be used also for the other schema and can have two separate (Dev and Prod) environment?
Help, please... Please provide any document or link for the same.
Thanks in advance.
Kind regards
Sébastien PallavA database can have a single schema of apex (APEX_040200).
It is not a good idea for DEV and PROD in the same PB (so using the same data to the APEX). He makes hard development (because he may - or is - break PROD at one point).But - if you must - you can create two schemas: like A and B.
Export your APP1 then import it under a different id (in the same workspace - but you can also set up two work spaces).
Using the apex management console, change the schema by using your new imported application is to B. In this way, your app will run "as user B". -
Is it possible to run vCenter Server and AUVS in the same database?
Hello. My client has vCenter Server and VUM installed and running in the same database. Yes, the same database (not only same server database) and the same ODBC (ODBC VUM is 32-bit only).
My question is whether it is supported or not and I would like a source VMware information, not only "it works fine for me".
I can't find any definitive info on this VMware. Only something to wave in the installation and upgrade guides about or not to run in the same database ' ' (I guess they mean 'server') and it seems that the recommendation is to separate them for the 'large environments,' whatever that means.
The environment vSphere 4.1 is currently, and there are about 20 guests and 150 virtual machines.
If it is not supported, I guess the best way to go is to reinstall both from scratch?
Thanks in advance!
/ Anders
Yes, it is a supported configuration. Since VUM and vCenter using different tables, you can share the same DB
The database of the update manager that you use can be identical to the vCenter Server database. You can also use a
separate database, or you can use existing database clusters. For best results in a large scale environment, you
must use a dedicated Update Manager database that is located on one computer other than the
the vCenter Server system database. -
How to run 2 different applications of the same Application Server
Hello
I would like to know how to run two different applications of the same Application Server with different databases?
We use
Oracle Database 10g Enterprise Edition Release 10.2.0.4.0
Oracle Application Server 10g 10.1.2.0.2
Kind regards
HassanYou can have as much as you want, just your applications should have different names or URLs and point to a specific database (using data sources).
Greetings.
-
12 c upgrade using the same database
What is the process for the improvement of the 11.1.1.7 to the current version of 12 c? We will not do a full inplace upgrade. We have new hardware for the 12 c application layer, but will use the same database. Our database is multiple to and do not miss having to deal with all the data duplication and dealing with the deltas.
Is it possible to install 12 c on the new hardware, and then point the current patterns of these two instances? The upgrade of the patterns would be the only thing that needs to be done to allow the new instance to work with the new application?
This is described in detail in Note 2058358.1 support
-
DOUBLE DB: ORA-17629: unable to connect to the remote database server
[oracle@ora11g1 ~] $ export ORACLE_SID = sales
[oracle@ora11g1 ~] $ rman target sys/sales@sales
Recovery Manager: release 11.2.0.1.0 - Production Wed Jun 5 13:00:15 2013
Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
connected to target database: SALES (DBID = 690066655)
RMAN > Connect auxiliary sys/salestby2@salestby2
connected to the auxiliary database: SALES (not mounted)
RMAN > CURRENT SPFILE DATABASE of TARGET duplicate FOR THE EVE OF the DATABASE
2 > DB_NAME SET = 'sales '.
3 > SET DB_UNIQUE_NAME = "salestby2".
4 > control_files='/u02/oradata/salestby2/control01.ctl','/u02/oradata/salestby2/control02.ctl SET'
5 > SET DB_FILE_NAME_CONVERT = "/ u02/oradata/sales /", "/ u02/oradata/salestby2 / '.
6 > SET LOG_FILE_NAME_CONVERT = "/ u02/oradata/sales /", "/ u02/oradata/salestby2 / ';
From duplicate Db 5 June 13
using the control file of the target instead of recovery catalog database
allocated channel: ORA_AUX_DISK_1
channel ORA_AUX_DISK_1: SID = 20 type of device = DISK
content of Script memory:
{
backup that copy reuse
TargetFile ' / auxiliary format of the u01/app/oracle/product/11.2.0/dbhome_1/dbs/orapwsales
' / u01/app/oracle/product/11.2.0/dbhome_1/dbs/orapwsalestby2' targetfile
' / u01/app/oracle/product/11.2.0/dbhome_1/dbs/spfilesales.ora' auxiliary format
' / u01/app/oracle/product/11.2.0/dbhome_1/dbs/spfilesalestby2.ora';
clone of SQL 'alter system set spfile = "/u01/app/oracle/product/11.2.0/dbhome_1/dbs/spfilesalestby2.ora";
}
execution of Script memory
From backup 5 June 13
allocated channel: ORA_DISK_1
channel ORA_DISK_1: SID = 58 type of device = DISK
RMAN-03009: failure of the backup command on the channel ORA_DISK_1 at 05/06/2013 13:05:26
ORA-17629: unable to connect to the remote database server
ORA-17627: ORA-01017: name of user and password invalid. connection refused
ORA-17629: unable to connect to the remote database server
continue other job steps, not a not working will not re-run
RMAN-00571: ===========================================================
RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
RMAN-00571: ===========================================================
RMAN-03002: failure of Db in dual at 05/06/2013 13:05:27
RMAN-03015: an error has occurred in the script stored memory Script
RMAN-03009: failure of the backup command on the channel ORA_DISK_1 at 05/06/2013 13:05:27
ORA-17629: unable to connect to the remote database server
ORA-17627: ORA-01017: name of user and password invalid. connection refused
ORA-17629: unable to connect to the remote database serverWelcome to the oracle forums!
Please take the time to go through [url https://forums.oracle.com/forums/ann.jspa?annID=1535] FAQ PAGE
Always after 4 version oracle numbers and details of the OS.
Post any request outside has put between.
\
Tags
Mark your questions answers if you give the answer
Password for the SYS user on primary and standby must be the same. Copy the master password for the backup server
SCP $ORACLE_HOME/dbs/orapwv112
: /u01/app/oracle/product/11.2/dbs/orapwdupv112 -
ORA-17629: unable to connect to the remote database server
Hello
I have put Dataguard in place with primary and 1 physical standby for learning/test database:
I do NOT plan the unloading of RMAN backups on the physics of the day before.
Recorded the primary database with RMAN and when "resync catalog db_unique_name all;" is issued.
I get the following error:
---------------------------------------------------------------------------------------------------------------------
RMAN > catalog resync db_unique_name all;
from full resynchronization of the recovery catalog
full complete Resync
resynchronization of data base with DB_UNIQUE_NAME ASTTESTB
RMAN-00571: ===========================================================
RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
RMAN-00571: ===========================================================
RMAN-03002: failed to db_unique_name resynchronization command at 28/09/2011 11:34:23
ORA-17629: unable to connect to the remote database server
ORA-17628: Oracle 17629 error returned by remote Oracle Server
------------------------------------------------------------------------------------------------------------------
Configuration of RMAN for the main proceedings are the following:
RMAN > show all to db_unique_name asttest;
RMAN settings for database with db_unique_name ASTTEST are:
CONFIGURE RETENTION POLICY TO RECOVERY OF 7-DAY WINDOW;
CONFIGURE BACKUP OPTIMIZATION # by default
SET UP DEFAULT DISK DEVICE TYPE; # by default
CONFIGURE CONTROLFILE AUTOBACKUP # by default
CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO "%F" # by default
SET UP THE DEVICE TYPE DISK PARALLELISM 1 BACKUP BACKUPSET TYPE; # by default
CONFIGURE BACKUP OF DATA TO DISK FILE TYPE DEVICE TO 1; # by default
CONFIGURE BACKUP ARCHIVELOG FOR DEVICE TYPE DISK TO 1; # by default
CONFIGURE MAXSETSIZE TO UNLIMITED; # by default
CONFIGURE ENCRYPTION OF DATABASE # by default
CONFIGURE THE ENCRYPTION ALGORITHM "AES128"; # by default
CONFIGURE COMPRESSION ALGORITHM 'BASIC' AND 'DEFAULT' LIBERATION OPTIMIZE FOR TRUE LOAD; # by default
CONFIGURE DB Nom_unique "asttest" CONNECT IDENTIFIER ' ASTTEST. UMDNJ. EDU'; _
CONFIGURE DB "Asttestb" of nom_unique CONNECT IDENTIFIER "asttestb"; _
CONFIGURE ARCHIVELOG DELETION POLICY TO APPLIED ON ALL STANDBY;
CONFIGURE SNAPSHOT CONTROLFILE NAME TO ' / opt/oracle/product/11.2.0/dbhome_1/dbs/snapcf_asttest.f'; # by default
Configuration of RMAN for instance physical standby are:
RMAN > show all to db_unique_name asttestb;
RMAN settings for database with db_unique_name ASTTESTB are:
CONFIGURE RETENTION POLICY TO RECOVERY OF 7-DAY WINDOW;
CONFIGURE BACKUP OPTIMIZATION # by default
SET UP DEFAULT DISK DEVICE TYPE; # by default
CONFIGURE CONTROLFILE AUTOBACKUP ON;
CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO "%F" # by default
SET UP THE DEVICE TYPE DISK PARALLELISM 1 BACKUP BACKUPSET TYPE; # by default
CONFIGURE BACKUP OF DATA TO DISK FILE TYPE DEVICE TO 1; # by default
CONFIGURE BACKUP ARCHIVELOG FOR DEVICE TYPE DISK TO 1; # by default
CONFIGURE MAXSETSIZE TO UNLIMITED; # by default
CONFIGURE ENCRYPTION OF DATABASE # by default
CONFIGURE THE ENCRYPTION ALGORITHM "AES128"; # by default
CONFIGURE COMPRESSION ALGORITHM 'BASIC' AND 'DEFAULT' LIBERATION OPTIMIZE FOR TRUE LOAD; # by default
CONFIGURE DB Nom_unique "asttest" CONNECT IDENTIFIER ' ASTTEST. UMDNJ. EDU'; _
CONFIGURE DB "Asttestb" of nom_unique CONNECT IDENTIFIER "asttestb"; _
CONFIGURE ARCHIVELOG DELETION POLICY TO APPLIED ON ALL STANDBY;
CONFIGURE SNAPSHOT CONTROLFILE NAME TO ' / opt/oracle/product/11.2.0/dbhome_1/dbs/snapcf_asttest.f'; # by default
----------------------------------------------------------------------------------------------------------------------
When I tested missing missing datafile and control file scenario on the primary database, it worked (Advisor to recover data)
However, missing datafile scenario does not work on the physics of the day before.
Here are the steps I followed:
********************************************
1 renamed a file of physical data - in standby mode:
bash - $3.2 ls - ltr
Total 107832
-rw - r - 1 oracle oinstall 52429312 16 September 12:19 asttest_redo03.log
-rw - r - 1 oracle oinstall 61874176 Sep 29 15:41 asttest_temp01.dbf
-rw - r - 1 oracle oinstall 52436992 5 Oct 11:00 rmandg_data01.dbf
bash - $3.2 mv rmandg_data01.dbf rmandg_data01.dbf_old
bash - $3.2 ls - ltr
Total 107832
-rw - r - 1 oracle oinstall 52429312 16 September 12:19 asttest_redo03.log
-rw - r - 1 oracle oinstall 61874176 Sep 29 15:41 asttest_temp01.dbf
-rw - r - 1 oracle oinstall 52436992 5 Oct 11:00 rmandg_data01.dbf_old
2. restore the datafile (find the data file # view v$ recover_file):
RMAN > restore datafile 5;
From restoration to 5 October 11
Segmentation fault
3. in spite of the error, published "recover datafile command.
4 RMAN > recover datafile 5;
From pick up to 5 October 11
allocated channel: ORA_DISK_1
channel ORA_DISK_1: SID = 10 type of device = DISK
RMAN-00571: ===========================================================
RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
RMAN-00571: ===========================================================
RMAN-03002: failure of the command recover at 05/10/2011 12:00:40
RMAN-06094: datafile 5 must be restored.
5. manually copy the physical primary datafile - in standby mode, & then problem recover RMAN command:
bash - $3.2 scp oracle@msudrainier:/ora03/oradata/asttest/rmandg_data01.dbf.
rmandg_data01.dbf 100% 50 MB 16.7 MB/s 00:03
bash - $3.2 ls - ltr
Total 159096
-rw - r - 1 oracle oinstall 52429312 16 September 12:19 asttest_redo03.log
-rw - r - 1 oracle oinstall 61874176 Sep 29 15:41 asttest_temp01.dbf
-rw - r - 1 oracle oinstall 52436992 5 Oct 11:49 rmandg_data01.dbf_old
-rw - r - 1 oracle oinstall 52436992 5 Oct 12:01 rmandg_data01.dbf
RMAN > recover datafile 5;
From pick up to 5 October 11
using channel ORA_DISK_1
RMAN-00571: ===========================================================
RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
RMAN-00571: ===========================================================
RMAN-03002: failure of the command recover at 05/10/2011 12:01:59
RMAN-06067: RECOVER the DATABASE required with a backup control file or created
6. of course RMAN commands have failed to restore the missing data file;
So I renamed the file to original and rebooted repeat services applies - this restore the data file and now the configuration state of the DG is normal.
*********************************************************************************
Not quite sure if I'm still he hands the right way or if the error above is related to RMAN not able to synchronize with the physics of the day before.
The documentation I want to talk to is here (1 paragraph):
[http://download.oracle.com/docs/cd/B28359_01/server.111/b28294/rman.htm#BAJDFBDD | http://download.oracle.com/docs/cd/B28359_01/server.111/b28294/rman.htm#BAJDFBDD]
Any pointers/direction and advise is greatly appreciated.
Best regards
NKI got it!
/home/oracle:STANDBY >$ORACLE_HOME/bin/rman target sys/
catalog / @rcatalog Recovery Manager: Release 11.2.0.1.0 - Production on Fri Oct 7 14:12:10 2011 Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved. connected to target database: PRIMARY (DBID=1562898590, not open) connected to recovery catalog database RMAN> resync catalog from db_unique_name all; resyncing from database with DB_UNIQUE_NAME PRIMARY starting full resync of recovery catalog RMAN output not resynced for database with DB_UNIQUE_NAME PRIMARY full resync complete If the necessary connection string a target/sys and a catalogue
RMAN target sys /
catalog / @rcatalog I did my standby
Will try the primary
Best regards
mseberg
Work on both. Great question!
connected to target database: PRIMARY (DBID=1562898590) connected to recovery catalog database RMAN> resync catalog from db_unique_name all; starting full resync of recovery catalog full resync complete resyncing from database with DB_UNIQUE_NAME STANDBY RMAN output not resynced for database with DB_UNIQUE_NAME STANDBY RMAN>
Published by: mseberg on October 7, 2011 14:16
Thanks a ton for sticking to it. I'll add this little thing to my web site.
Published by: mseberg on October 7, 2011 14:22
-
Can I use an ACS as RADIUS and GANYMEDE to the same ASA Server?
I want to GANYMEDE to make the accounting of the SAA, meanwhile, the ASA need RADIUS for authentication ssl vpn. Is it possible to reach this object with only a CSA?
Yes, you can use both. Allows you to add ASA as radius and Ganymede.
ACS-->---> aaa-client network configuration
(1) ASA---> 1.1.1.1---> authentic using Ganymede
(2) ASA1---> 1.1.1.1---> optout by radius
Don't forget the host name cannot be the same.
Kind regards
~ JG
Note the useful messages
Maybe you are looking for
-
In previous versions of Firefox mousewheel scrolling pages upwards or downwards at a constant rate. This behavior has been changed causing the scrolling speed to slow down as the end or the beginning of a page is reached. This introduces additional d
-
Simple pass works only with Google Chrome.
One day Pass Simple just decided to stop working. I have stopeed receipt of notification to slide my finger. It does that with Internet Explorer.I tried to install Mozilla Firefox, it did not work. I have re-installed Chrome several times, tried diff
-
locked out of administrator account on dell inspiron 1525
I'm stuck on my screen to the administrator user. I have two user accounts on my computer, but all the important stuff is on the administrator account. I have not changed the password and it locked me. Don't know what happened. I tried the safe m
-
RAS error when you try to connect to the connection broadband cricket how can I solve this
error message
-
Pav HP dv7t-6100 CTO w/Beats Audio sound system resonates at levels above 50%.
HP Pavilion dv7t-6100 CTO Entertainment Notebook PC with Beats Audio sound system havingf volume distortion of the issues. At levels exceeding 50% a reverb effect to ab which gets worse the stronger volume. Using Win 7 Hm Prem