Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Note:
If the single-instance database is using ASM storage, then use rconfig to convert the database in
the following order:
1. Convert the single-instance ASM configuration to clustered ASM, substituting the file
ConverttoClusteredASM.xml as the input XML file for rconfig. The
ConverttoClusteredASM.xml file is located in the path
$ORACLE_HOME/assistants/rconfig/SampleXMLs.
2. Convert the single-instance database using the following procedure.
If the single-instance database is already using clustered ASM, then proceed directly to
conversion of the single-instance database.
See Also:
Oracle Database Upgrade Guide for information about upgrading existing Oracle Database
installations
Caution:
Set the convert option Convert verify="ONLY" to perform a test conversion to ensure
that a conversion can be completed successfully.
When you have completed making changes, save the file with the syntax filename.xml.
Make a note of the name you select.
3. Navigate to the directory $ORACLE_HOME/bin, and use the following syntax to run the
command rconfig:
4. rconfig input.xml
where input.xml is the name of the XML input file you configured in step 2.
For example, if you create an input XML file called convert.xml, then enter the
following command
$ ./rconfig convert.xml
Note:
The Convert verify option in the ConvertToRAC.xml file has three options:
• Convert verify="YES": rconfig performs checks to ensure that the prerequisites for
single-instance to Oracle RAC conversion have been met before it starts conversion
• Convert verify="NO": rconfig does not perform prerequisite checks, and starts
conversion
• Convert verify="ONLY" rconfig only performs prerequisite checks; it does not start
conversion after completing prerequisite checks
If performing the conversion fails, then use the following procedure to recover and reattempt the
conversion.:
1. Attempt to delete the database using the DBCA delete database option.
2. Restore the source database.
3. Review the conversion log, and fix any problems it reports that may have caused the
conversion failure. The rconfig log files are under the rconfig directory in
$ORACLE_BASE/cfgtoollogs.
4. Reattempt the conversion.
Oracle Database Upgrade Guide for information about upgrading existing ASM installations
Caution:
Set the convert option Convert verify="ONLY" to perform a test conversion to ensure
that a conversion can be completed successfully.
When you have completed making changes, save the file with the syntax filename.xml.
Make a note of the name you select.
3. Navigate to the directory $ORACLE_HOME/bin, and use the following syntax to run the
command rconfig:
4. rconfig input.xml
where input.xml is the name of the XML input file you configured in step 2.
For example, if you create an input XML file called convert.xml, then enter the
following command
$ ./rconfig convert.xml
Note:
The Convert verify option in the ConvertToRAC.xml file has three options:
• Convert verify="YES": rconfig performs checks to ensure that the prerequisites for
single-instance to Oracle RAC conversion have been met before it starts conversion
• Convert verify="NO": rconfig does not perform prerequisite checks, and starts
conversion
• Convert verify="ONLY" rconfig only performs prerequisite checks; it does not start
conversion after completing prerequisite checks
If performing the conversion fails, then use the following procedure to recover and reattempt the
conversion.:
1. Attempt to delete the ASM instance using the DBCA delete ASM option.
2. Restore the source ASM instance.
3. Review the conversion log, and fix any problems it reports that may have caused the
conversion failure. The rconfig log files are under the rconfig directory in
$ORACLE_BASE/cfgtoollogs.
4. Reattempt the conversion.
$ORACLE_HOME/assistants/rconfig/sampleXMLs
In this example, the XML input file is for converting a single-instance database with ASM to an
Oracle RAC database with ASM in the same Oracle home.
<n:ConvertToClusteredASM>
<!-- Verify does a precheck to ensure all pre-requisites are
met, before the conversion is attempted. Allowable values are: YES|NO|ONLY -->
<n:ConvertASM verify="YES">
<!--Specify current OracleHome of single instance ASM for
SourceASMHome -->
<n:SourceASMHome>/oracle/product/11.1.0/db_1</n:SourceASMHome>
<!--Specify OracleHome where the clustered ASM should be
configured. It can be same as SourceASMHome -->
<n:TargetASMHome>/oracle/product/11.1.0/db_1</n:TargetASMHome>
<!--Specify single instance ASM credentials -->
<n:ASMInfo SID="+ASM">
<n:Credentials>
<n:User>sys</n:User>
<n:Password>welcome</n:Password>
<n:Role>sysdba</n:Role>
</n:Credentials>
</n:ASMInfo>
<!--Specify the list of nodes that should have clustered ASM
instances running. LocalNode should be the first node in this nodelist. -->
<n:NodeList>
<n:Node name="node1"/>
<n:Node name="node2"/>
</n:NodeList>
<!--Specify port for the listener to be configured for
clustered ASM. If port="", listener existing on localhost will be used for
clustered ASM. The listener will be extended to all nodes in the nodelist -->
<n:Listener port=""/>
<!--Specify comma-seperated path of ASM diskstring to
discover diskgroups that will be mounted on clustered ASM instances. If this
path is not accessible from a node in the nodelist, the diskgroup will not be
mounted on that node. -->
<n:ASMDiskString>/dev/raw1/*,/dev/raw2/*</n:ASMDiskString>
</n:ConvertASM>
</n:ConvertToClusteredASM>
</n:RConfig>
• Follow the recommendations for using load balancing and transparent application
failover, as described in Oracle Real Application Clusters Administration and
Deployment Guide
• Use locally managed tablespaces instead of dictionary managed tablespaces to reduce
contention and manage sequences in Oracle RAC as described in Oracle Real Application
Clusters Administration and Deployment Guide
• Follow the guidelines for using automatic segment space management as described in
Oracle Real Application Clusters Administration and Deployment Guide
The buffer cache and shared pool capacity requirements in Oracle RAC are slightly greater than
the requirements for single-instance Oracle databases. Therefore, you should increase the size of
the buffer cache by about 10%, and the size of the shared pool by about 15%.