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
Solved

multiplexing control files

Posted on 2011-03-24
8
470 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
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.

 

Author Comment

by:nobleit
ID: 35212345
To copy control file in 8 different locations..
0
 
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.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
1 FROM DUAL wont work with additional columns ?? 4 45
Help on model clause 5 37
Oracle - Query link database loop 8 40
Oracle encryption 12 48
Working with Network Access Control Lists in Oracle 11g (part 1) Part 2: http://www.e-e.com/A_9074.html So, you upgraded to a shiny new 11g database and all of a sudden every program that used UTL_MAIL, UTL_SMTP, UTL_TCP, UTL_HTTP or any oth…
Working with Network Access Control Lists in Oracle 11g (part 2) Part 1: http://www.e-e.com/A_8429.html Previously, I introduced the basics of network ACL's including how to create, delete and modify entries to allow and deny access.  For many…
This video shows syntax for various backup options while discussing how the different basic backup types work.  It explains how to take full backups, incremental level 0 backups, incremental level 1 backups in both differential and cumulative mode a…
This video shows how to copy an entire tablespace from one database to another database using Transportable Tablespace functionality.

790 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