multiplexing control files

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




nobleitAsked:
Who is Participating?
 
slightwv (䄆 Netminder)Connect With a Mentor Commented:
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
 
slightwv (䄆 Netminder) Commented:
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
 
nobleitAuthor Commented:
no this is totally different for sure..thank you
0
Cloud Class® Course: Python 3 Fundamentals

This course will teach participants about installing and configuring Python, syntax, importing, statements, types, strings, booleans, files, lists, tuples, comprehensions, functions, and classes.

 
slightwv (䄆 Netminder) Commented:
Ok then...not sure...

What command syntax is wrong?
0
 
nobleitAuthor Commented:
To copy control file in 8 different locations..
0
 
slightwv (䄆 Netminder) Commented:
I mentioned I don't think copy works that way.

Did you try 8 individual copy commands?
0
 
nobleitAuthor Commented:
Could you please help me to multiplex control file..
Actually I was trying to multiplex...
0
 
slightwv (䄆 Netminder) Commented:
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.