Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

multiplexing control files

Posted on 2011-03-24
8
Medium Priority
?
480 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

 

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 2000 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

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

Question has a verified solution.

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

How to Create User-Defined Aggregates in Oracle Before we begin creating these things, what are user-defined aggregates?  They are a feature introduced in Oracle 9i that allows a developer to create his or her own functions like "SUM", "AVG", and…
Cursors in Oracle: A cursor is used to process individual rows returned by database system for a query. In oracle every SQL statement executed by the oracle server has a private area. This area contains information about the SQL statement and the…
This video explains at a high level about the four available data types in Oracle and how dates can be manipulated by the user to get data into and out of the database.
This video shows setup options and the basic steps and syntax for duplicating (cloning) a database from one instance to another. Examples are given for duplicating to the same machine and to different machines

604 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