Move the data files on the standby server without moving primary Oracle 11 g r2
Hi allOracle 11g 2 with EBS 11.5.0.2 version.
The size of one of the mounting points on the standby is full and I'm going through one of the data files to another mount point without making any changes to the primary level.
I tried Google and came across this link:
http://oraclesea.blogspot.in/2011/12/move-datafiles-on-standby-server.html
But it did not work... I had to start the database with the spfile to work.The steps mentioned in the blog:
Include below parameter in standby parameter file
DB_FILE_NAME_CONVERT = '/primary_location/xyz.dbf','/standby_location/xyz.dbf'
ALTER DATABASE RECOVER MANAGED STANDBY DATABASE cancel;
shut immediate
startup nomount pfile=initSCSL.ora
alter database mount standby database ;
alter system set standby_file_management='MANUAL' SCOPE=MEMORY ;
! cp /primary_location/xyz.dbf' /standby_location/xyz.dbf
alter database rename file '/primary_location/xyz.dbf' to '/standby_location/xyz.dbf';
alter system set standby_file_management='AUTO' SCOPE=MEMORY ;
alter database recover managed standby database parallel 4 disconnect from session;
Can you please help me with the right steps...Concerning
KK
Edited by: 903150 Sep 26, 2012 22:41
Here is an example for you.
Database pending:
SQL> select status,instance_name,database_role from v$database,v$instance; STATUS INSTANCE_NAME DATABASE_ROLE ------------ ---------------- ---------------- OPEN srprim PHYSICAL STANDBY SQL> select file_name from dba_data_files; FILE_NAME -------------------------------------------------------------------------------- C:\APP\SHIVANANDA.RAO\ORADATA\SRPRIM\USERS01.DBF C:\APP\SHIVANANDA.RAO\ORADATA\SRPRIM\UNDOTBS01.DBF C:\APP\SHIVANANDA.RAO\ORADATA\SRPRIM\SYSAUX01.DBF C:\APP\SHIVANANDA.RAO\ORADATA\SRPRIM\SYSTEM01.DBF C:\APP\SHIVANANDA.RAO\ORADATA\SRPRIM\USERS02.DBF SQL> select process,status,sequence# from v$managed_standby; PROCESS STATUS SEQUENCE# --------- ------------ ---------- ARCH CONNECTED 0 ARCH CONNECTED 0 ARCH CONNECTED 0 ARCH CONNECTED 0 RFS IDLE 0 RFS IDLE 154 MRP0 WAIT_FOR_LOG 154 7 rows selected. SQL> show parameter name_convert NAME TYPE VALUE ------------------------------------ ----------- ------------------------------ db_file_name_convert string log_file_name_convert string SQL> alter database recover managed standby database cancel; Database altered. SQL> shut immediate Database closed. Database dismounted. ORACLE instance shut down. SQL> exit Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production With the Partitioning, OLAP, Data Mining and Real Application Testing options M:\>copy C:\APP\SHIVANANDA.RAO\ORADATA\SRPRIM\USERS02.DBF C:\APP\SHIVANANDA.RAO\ORADATA\DBTEST\USERS02.DBF 1 file(s) copied. M:\>sqlplus sys/oracle@srprim as sysdba SQL*Plus: Release 11.2.0.1.0 Production on Thu Sep 27 14:57:16 2012 Copyright (c) 1982, 2010, Oracle. All rights reserved. Connected to an idle instance. SQL> startup mount ORACLE instance started. Total System Global Area 778387456 bytes Fixed Size 1374808 bytes Variable Size 494929320 bytes Database Buffers 276824064 bytes Redo Buffers 5259264 bytes Database mounted. SQL> alter system set standby_file_management=manual; System altered. SQL> alter database rename file 'C:\APP\SHIVANANDA.RAO\ORADATA\SRPRIM\USERS02.DBF' to 'C:\APP\SHIVANANDA.RAO\ORADA A\DBTEST\USERS02.DBF'; Database altered. SQL> alter database recover managed standby database disconnect from session; Database altered. SQL> select process,status,sequence# from v$managed_standby; PROCESS STATUS SEQUENCE# --------- ------------ ---------- ARCH CONNECTED 0 ARCH CONNECTED 0 ARCH CONNECTED 0 ARCH CONNECTED 0 RFS IDLE 0 RFS IDLE 155 MRP0 WAIT_FOR_LOG 155 7 rows selected. SQL> select name from v$datafile; NAME -------------------------------------------------- C:\APP\SHIVANANDA.RAO\ORADATA\SRPRIM\SYSTEM01.DBF C:\APP\SHIVANANDA.RAO\ORADATA\SRPRIM\SYSAUX01.DBF C:\APP\SHIVANANDA.RAO\ORADATA\SRPRIM\UNDOTBS01.DBF C:\APP\SHIVANANDA.RAO\ORADATA\SRPRIM\USERS01.DBF C:\APP\SHIVANANDA.RAO\ORADATA\DBTEST\USERS02.DBF
1. you must close the database pending.
2 copy the file that you want to move to the different mount point using the OS commands.
3. Mount the standby database.
4 rename the data through database level. Make sure that the standby_file_management is set to MANUAL
5. start the MRP on the standby database.
Please do not use more than one response to the thread ID. Because you created this thread with ID 903150, I propose to answer with the same ID, not the ID of the other.
Tags: Database
Similar Questions
-
How to recover missing the mounting point on the standby server
Environment: Oracle 11.2.0.3 EE on Solaris
I have a Production database with a physical standby created and run in our remote data center and this configuration worked well for several years.
Recently, I had 2 two new mount points, added to the Production Server but unfortunately do not have their created on the standby server. I did not remapped mounting points, so the layout is identical between the Production and standby. At least it was.
I created several new data files on the Production Server using the new mount points.
Once I realized my mistake, I had additional mounting points created on the standby server.
I STANDBY_FILE_MANAGEMENT = AUTO on the day before, but obviously the new data file was not created since mount points were not available when they were added in the Production.
Without the mount points and therefore the new data files, on the eve, archive logs are not applied on the day before. There are currently about 150 newspapers that must be applied.
Question: Can I copy the files of existing data from the Production Server to the standby server and Data Guard will know which archives newspapers must be applied to standby data files to bring them current with the files of Production data?
If this is not the case, how can I get the new data files created on the eve and a return to synchronization with the Production?
Thanks a lot for your help!
-gary
Once the mount points are created on the eve, manually resume the managed recovery. The day before would have abandoned managed recovery so you don't have to make it work again. The transaction that has been reproduced that requires mount points should not proceed. Given enough time, the wait will catch up to where it should be. If it's not fast enough, then use RMAN to roll forward the day before as indicated in a previous answer.
> Can I copy the existing data files on the Production Server to the standby server
N ° you can not do this.
See you soon,.
Brian -
[Recovery] Move the Essbase server to another physical server
Hi all
I have 3 part of EMP 11.1.2.1 Solaris Server environment:Server1.company.com:
- Foundation, APS, EAS services
Server2.company.com:
- Essbase, Essbase Studio Server.
- Installation on a SAN using Userid hypadmin drive
Server3.company.com:
- *Nothing installed here *.
- His case Server2 breaks down, the standby server.
Note: I couldn't find documentation for my approach below... So please understand the risk involved before trying the same thing.
Prior to disaster:- I copy the base directory of hypadmin to Server2 to Server3.
During disaster recovery:
- I update the host name Essbase server from Server2.company.com to Server3.company.com and similarly update the opmn.xml file.
- Finally, mount the SAN on Server2, and start the services.
--
Anyone has done the same... ? Have been facing problems? Is there a better way to do this?
Thank you
Kind regards
Kent
Hello
I think that the usual way to proceed is to have a DR environment, rather than a single server (so for you, you would have 2dr servers). DR environment has entries from the hosts file to map the host names of Production at the addresses IP of DR.
The RD you are connected to a separate instance of SQL and you install and configure products exactly as you would for Production (exactly the same names).
Finally when you are finished you stop the DR environment and on newspapers SQL data bases of Production and DR.
If your Production environment breaks down you stop SQL log shipping, then you can bring up DR and change (if necessary) DNS names to give access to your users.
For the storage of Essbase you can save Production to DR cubes or mount SAN Production DR. The only problem with it is that if Production falls down and the SAN is lost, you cannot bring up DR entirely or the other.
Let me know if you still have any questions.
-Dan
-
ORA-01017: name of user and password invalid. logon denied in the standby server
Hello
In the standby server, when the execution log process, it displays an error.
It happens suddenly
Now the PRD standby logs does not apply.
Error log is:
BR0002I BRARCHIVE 7,00 (42)
BR0006I start of the process of recovery offline journal: 2012-01-17 aehrjpck.svd 08.38.34
BR0484I BRARCHIVE log file: /oracle/PRD/saparch/aehrjpck.svd
Timestamp of BR0280I BRARCHIVE: 2012-01-17 08.38.34
BR0301W SQL error-1017 to the location BrDbConnect-2, SQL statement:
'CONNECT system/***@PRD. WORLD '
ORA-01017: name of user and password invalid. connection refused
BR0310W to connect to the instance PRD/PRIMARY database has failed.
BR0338E application of recovery offline log file /oracle/PRD/oraarch/standby/PRDarch1_24090_696018700.dbf is not
BR0338E application of recovery offline log file /oracle/PRD/oraarch/standby/PRDarch1_24091_696018700.dbf is not
Transformed, total size of the log files of recovery offline BR0016I 0.000 MB 0
Timestamp of BR0280I BRARCHIVE: 2012-01-17 08.38.36
BR0301W SQL error-1017 to the location BrDbConnect-2, SQL statement:
'CONNECT system/***@PRD. WORLD '
ORA-01017: name of user and password invalid. connection refused
BR0310W to connect to the database instance PRD/PRIMARY has failed
BR0007I end of the treatment of recovery offline journal: 2012-01-17 aehrjpck.svd 08.38.36
Timestamp of BR0280I BRARCHIVE: 2012-01-17 08.38.36
BR0005I BRARCHIVE completed with errors
DB pending is in State of Mt.
I checked of v$ instance.
# Select status from v$ instance;
MOUNTED
Newspapers commadt application is as follows:
# brarchive u system/systempwd - c f d disk - M30 - sd
How can I check whether it is, the status of the user of the SYSTEM?
Since the watch is in State of Mount, im not allowed to query DBA_USERS
How can I check if SYSTEM user is locked or not.
Is it possible to change the password of the SYSTEM, while DB is in a State of mounting.
I tried like this;
#sqlplus
/ as sysdba
< it connect as sys - success >
Conn SYSTEM
Enter the password: systempwd
ERROR:
ORA-01033: ORACLE initialization or shutting
WARNING: You are no longer connected to ORACLE
Im not able to log in as user SYSTEM.
What should be the solution to this effect;
Kind regards
ZerandibYou can not connect to your database other than the user SYS pending until you Cancel the recovery and OPEN the database in READ-ONLY MODE.
Once the database is open, then only you can connect to the database in waiting for other users.
You can try it.
-
I am faced with a kind of strange and unusual error. in my office, the internet is accessible with the proxy server. without him we cannot access the internet. However, there is a laptop computer on which some time the internet is accessible only when I leave the proxyserver only on that machine... any idea?
Hello
Work on a domain environment?
Changing the proxy settings is something that you usually only have to do if you connect to the Internet via a corporate network. By default, Internet Explorer automatically detects proxy settings. However, you may need to manually set a proxy with information supplied by your network administrator.
If you are on a domain environment then please post the question on the link mentioned below using:
http://social.technet.Microsoft.com/forums/en/w7itpronetworking/threads -
Best method to move the VCenter server on new server
I need to move my VCenter server to a new machine.
The computer name and the IP address will be different from the original.
1 should I use the existing database or there will be too many references to the old server vCenter Server?
2. should I start from scratch on a new server and import my 5 ESX servers? (Story not so important for me)
If I start, unplug the old and add it again or just to add again and it will automatically remove the old?
Best methods out there? A document any?
Thanks for any help in advance
Brian
Hello.
See KB 5850444.
Good luck!
-
We have two ESX 3.0.1 servers boot from local disks. These are servers blades that are also connected to a San. Most of our servers virtual residence on Lun presented to the ESX Server. I have two virtual servers that have been setup on the local disks of blades and I want to move them to the SAN. What is the best way to achieve this? We do not have Virtual Center or Vmotion.
My apologies, it's still early here and I don't read original post correctly. You do not have vCenter you cannot use the option migrate.
For your situation, I think VMware vCenter Converter Standalone might be your best option.
again, sorry for the confusion.
-
Copy of database (data file?) on new server
I have trouble finding a clear documentation on this topic. Here is my scenario: I have an existing Oracle to install (let's call O1) with a single logical disk space, which has a single data file. I need to copy all of the database ' ' (tables, procedures, triggers, funcitons, data) to a new Oracle instance (let's call O2). Both servers are on networks separated - directly linking the two is out of the question.
The O2 already has the exact structure of the table even as O1. I simply need to copy all the data, procedures, triggers, etc. from O1 to O2. I want that all the data/functions/procedures/etc already O2 to remove. Can someone point me in the right direction?
Thank youHello
Can someone point me in the right direction?
This resembles datapump will do the trick.
There is an Oracle forum as well.
Export/import/SQL Loader & Tables outside
As long as you are able to copy the dump created on the O1 server to a temporary location (your own PC?) and upload it on the server of the O2, you're in business by giving up the schema in the database of the O2 and import the dump O1.
Kind regards
Tycho -
I want to merge catalogs into a single master. When I import the catalog to another catalog, option by default, with on the displacement of the original files, I want to move these original files I combine catalogs. What Miss me?
Thank you very much for your answer. I don't expect really something like your very comprehensive and understandable solution. It is clear that you spent a lot of time to type the answer.
Thank you again so much.
Bruce Schuerman
-
How to move the ESXi server in a data center
Hello
I'm new to VMware so I hope someone can help me with this small request! Currently in our environment, we have two ESXi servers (both with several virtual machines) and we would like to add to vCenter. vCenter is configured, acting as a license server & when attempting to add a host to the data center, we get the following message "there is not enough licenses installed to run the operation. Is it possible to add an ESXi server to vCenter?
Thanks in advance,
Peter
Of http://www.vmware.com/products/esxi/uses.html
"In addition, manage a VMware ESXi with VMware vCenter Server host requires a VMware vCenter Server Agent for each host, available only with the purchase of a VMware Infrastructure license (Foundation, Standard, or Enterprise)."
-
Move the VCenter Server?
Our VMWare cluster was originally setup with a virtual machine running VCenter Server. We have now setup a physical machine to run VCenter, but I don't know how to say the cluster to point to the new vCenter server. I have installed VCenter and works on the new physical server and it can connect to the server VCenter existing without problem. I didn't chance to find documentation on how to do it.
Can someone help me?
Hello and welcome to the forums.
The 5850444 article should provide you with what you need.
Good luck!
-
Connect to the remote server without giving the SYSDBA password
Hi, I would like to backup RMAN script running from a catalog server using the windows scheduled task backup target running on the remote computer.
Is there a way I can connect to the remote machine target without giving the password in the script?
Server catalog and target server are 11.2.0.3
Srini-Hello;
I'd look to this to try to resolve this problem:
http://docs.Oracle.com/CD/B19306_01/network.102/b14266/cnctslsh.htm#i1006413
Best regards
mseberg
-
Import the SQL Server 2008 database to Oracle XE
Hello
I just installed oracle 10g Express Edition locally on my PC.
I would now like to import a SQL Server 2008 database (structure and data).
Is this possible? Y at - it a utility Oracle that I can use?
Thank you
M.R.You can use [Oracle SQL Developer | http://www.oracle.com/technology/products/database/sql_developer/index.html].
See also: [http://download.oracle.com/docs/cd/E12151_01/doc.150e12156.pdf |] Oracle SQL Developer for MS SQL Server, Sybase and other Documentation.]
Roberto.
Add help.
Published by: rober584812 on February 25, 2009 13:37 -
I found a tip online that says: select the clip and hold the option key and use the up/down arrow keys. But nothing happens! A bit tedious. There must be something simple.
Thank you people!
This option is one of the later versions of PP not CS6.
Just position the playhead (to focus) on the in or out-point of the clip and move it upwards or downwards.
-
Moving files from files/control/data files of recovery in a SAN
Hello world
Recently my body set up a San and I was instructed to move the data files of the current WINDOWS 2003 SERVER on the San. the way things are set up now, is that if I connect to my oracle server, I can see the local volumes on the SAN listed as disk drives.
I guess that software will remain on the oracle server, while the data files will be moved to the SAN. My question is what are the steps involved to address this question: can I first of all move DATA files, then the REDOLOG FILES, and CONTROL FILES? I never had to move my data files before on another server or on disk, so I'll just try get a feedback on the most convenient way to do so. Thanks in advance for the help.Hello!
To move the files to an Oracle database, you should close it. I guess that there are no problems with your San. I only describe the steps needed to move the files from a to b.
Movement of data - and redologfiles.
1.) query v$ data_fileSELECT name, file# FROM v$datafile;
This will give you a complete overview of the data files that you need to move.
2.) query v$ log_fileSELECT member FROM v$logfile;
This will give you a complete overview of the redologfiles, you need to move.
3.) stop your database.
4.) move all the data files to the new location.
5.) rename the data files in the databaseALTER DATABASE RENAME FILE 'old_path/filename' TO 'new_path/filename';
6.) move all the redolog files to the new location.
7.) rename the redologfiles in the database (see step # 5)
8.) create a pfile your spfile file (only if you use spfile)CREATE PFILE='C:\pfile.ora' FROM SPFILE;
9.) move your controlfiles to the new location
10.) Alter the CONTROLFILES parameter in the file pfile recently created.
11.) create a SPFILE from your newly created pfile.CREATE SPFILE FROM PFILE='C:\pfile.ora';
12.) start your database (and pray)
Yours sincerely
Florian W.
Maybe you are looking for
-
I really had a lot of problems recently first it started not being able to download anything and about an hour after the reset default firefox, now I can not connect to my bank first of all he says that this connection is Untrusted and I click I unde
-
My screen flickers when in the Itunes store
I've just updated to Itunes 12.3.2.35 and when I go to Itunes Store, my screen keeps flickering. I use Windows 7 on a Toshiba laptop. How can I solve this problem
-
Creation of DVD Windows closes when the file is moved to the work menu
"try burning .avi files to dvd using create DVD windows and when I drag the file to the creation of dvd or even to open it manually through the import that it cancels and closes saying ' stopped working '.
-
How uncheck you a checkbox?
I have an interactive form, downloaded from a Bank - and the shape a lot of Yes and no check boxes.I don't know if this is typical, but whenever I click on an area to get filled in, I can't understand how to clear this box. I can check another box a
-
Trial versions do not work... UGH!
I am running 10.6.8 on a MAC laptop with a processor clocked at 2.66. I am trying to download a trial version of lightroom or photoshop. After you download the trial version and installation, the dialog box requires that I filled in a serial key. The