Solved

multiplexing control files

Posted on 2011-03-24
8
471 Views
Last Modified: 2012-05-11
I was trying to multiplexing control files
Database altered.

Elapsed: 00:00:04.64
SQL> alter database open;

Database altered.

Elapsed: 00:00:28.50
SQL> show parameters control_files;

NAME                                 TYPE        VALUE                          
------------------------------------ ----------- ------------------------------
control_files                        string      C:\APP\MATHEW\ORADATA\COMPANY\
                                                 CONTROL01.CTL, C:\APP\MATHEW\O
                                                 RADATA\COMPANY\CONTROL02.CTL,  
                                                 C:\APP\MATHEW\ORADATA\COMPANY\
                                                 CONTROL03.CTL                  
SQL> shutdown immediate
Database closed.
Database dismounted.
ORACLE instance shut down.
SQL> host copy C:\APP\MATHEW\ORADATA\COMPANY\CONTROL01.CTL C:\APP\MATHEW\ORADATA\COMPANY\CONTROL02.CTL C:\APP\MATHEW\ORADATA\COMPANY\CONTROL03.CTL
The syntax of command is incorrect. (The message is shown like this)
What could be the reason?

or else is there any way to multiplex the control files




0
Comment
Question by:nobleit
  • 5
  • 3
8 Comments
 
LVL 77

Expert Comment

by:slightwv (䄆 Netminder)
ID: 35212295
Is this related to your other question where the control file parameter is messed up?

The dos copy command is: copy from_file to_file

Try one copy at a time...

0
 

Author Comment

by:nobleit
ID: 35212321
no this is totally different for sure..thank you
0
 
LVL 77

Expert Comment

by:slightwv (䄆 Netminder)
ID: 35212329
Ok then...not sure...

What command syntax is wrong?
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:nobleit
ID: 35212345
To copy control file in 8 different locations..
0
 
LVL 77

Expert Comment

by:slightwv (䄆 Netminder)
ID: 35212357
I mentioned I don't think copy works that way.

Did you try 8 individual copy commands?
0
 

Author Comment

by:nobleit
ID: 35212400
Could you please help me to multiplex control file..
Actually I was trying to multiplex...
0
 
LVL 77

Expert Comment

by:slightwv (䄆 Netminder)
ID: 35212417
Going from memory:
Shut down the instance.

Make the copies (one at a time).

Startup nomount.

Alter the spfile with alter system commands
Or
Edit the pfile and startup with it.

Then open the database.

If started with pfile, then recreate the spfile.
 
0
 
LVL 77

Accepted Solution

by:
slightwv (䄆 Netminder) earned 500 total points
ID: 35214574
Here are the steps straight form the docs:  They are as I stated above.

http://download.oracle.com/docs/cd/B19306_01/server.102/b14231/control.htm#i1006277


Creating Additional Copies, Renaming, and Relocating Control Files

You can create an additional control file copy for multiplexing by copying an existing control file to a new location and adding the file name to the list of control files. Similarly, you rename an existing control file by copying the file to its new name or location, and changing the file name in the control file list. In both cases, to guarantee that control files do not change during the procedure, shut down the database before copying the control file.

To add a multiplexed copy of the current control file or to rename a control file:

   1.       Shut down the database.
   2.       Copy an existing control file to a new location, using operating system commands.
   3.       Edit the CONTROL_FILES parameter in the database initialization parameter file to add the new control file name, or to change the existing control filename.
   4.       Restart the database.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Oracle - SQL Query with Function 3 65
Database Design Dilemma 6 65
subtr returning incorrect value 8 63
scheduler notification 9 27
Configuring and using Oracle Database Gateway for ODBC Introduction First, a brief summary of what a Database Gateway is.  A Gateway is a set of driver agents and configurations that allow an Oracle database to communicate with other platforms…
Checking the Alert Log in AWS RDS Oracle can be a pain through their user interface.  I made a script to download the Alert Log, look for errors, and email me the trace files.  In this article I'll describe what I did and share my script.
This video explains at a high level with the mandatory Oracle Memory processes are as well as touching on some of the more common optional ones.
This video shows, step by step, how to configure Oracle Heterogeneous Services via the Generic Gateway Agent in order to make a connection from an Oracle session and access a remote SQL Server database table.

680 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question