Solved

multiplexing control files

Posted on 2011-03-24
8
465 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 76

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 76

Expert Comment

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

What command syntax is wrong?
0
 

Author Comment

by:nobleit
ID: 35212345
To copy control file in 8 different locations..
0
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 
LVL 76

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 76

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 76

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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Join & Write a Comment

Truncate is a DDL Command where as Delete is a DML Command. Both will delete data from table, but what is the difference between these below statements truncate table <table_name> ?? delete from <table_name> ?? The first command cannot be …
Using SQL Scripts we can save all the SQL queries as files that we use very frequently on our database later point of time. This is one of the feature present under SQL Workshop in Oracle Application Express.
Via a live example show how to connect to RMAN, make basic configuration settings changes and then take a backup of a demo database
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…

705 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now