4 Replies Latest reply: Sep 28, 2012 8:54 AM by Balazs Papp RSS

    Problem with converting single instance database to RAC with rconfig

    Ecimen
      Hello;

      i am trying to convert our database to rac with rconfig but having this error below;
         [oracle@localhost u01]$ rconfig ConvertToRAC_AdminManaged.xml
      <?xml version="1.0" ?>
      <RConfig version="1.1" >
      <ConvertToRAC>
          <Convert>
            <Response>
              <Result code="1" >
                Got Exception
              </Result>
             <ErrorDetails>
                   Node that has single instance database running should be specified in the NodeList. Please specify node localhost as part of NodeList.
      Operation Failed. Refer logs at /u01/app/oracle/cfgtoollogs/rconfig/rconfig_09_28_12_01_49_19.log for more details.
      
             </ErrorDetails>
            </Response>
          </Convert>
        </ConvertToRAC></RConfig> 
      here is the my ConvertToRAC_AdminManaged.xml;
      <?xml version="1.0" encoding="UTF-8"?>
      <n:RConfig xmlns:n="http://www.oracle.com/rconfig"
                 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                 xsi:schemaLocation="http://www.oracle.com/rconfig">
          <n:ConvertToRAC>
      <!-- Verify does a precheck to ensure all pre-requisites are met, before the conversion is attempted. Allowable values are: YES|NO|ONLY -->
              <n:Convert verify="ONLY">
      <!--Specify current OracleHome of non-rac database for SourceDBHome -->
                    <n:SourceDBHome>/oracle/product/11.2.0/db_1</n:SourceDBHome>
      <!--Specify OracleHome where the rac database should be configured. It can be same as SourceDBHome -->
                    <n:TargetDBHome>/oracle/product/11.2.0/db_1</n:TargetDBHome>
      <!--Specify SID of non-rac database and credential. User with sysdba role is required to perform conversion -->
                    <n:SourceDBInfo SID="test">
                      <n:Credentials>
                        <n:User>sys</n:User>
                        <n:Password>oracle</n:Password>
                        <n:Role>sysdba</n:Role>
                      </n:Credentials>
                    </n:SourceDBInfo>
      <!--Specify the list of nodes that should have rac instances running for the Admin Managed Cluster Database. LocalNode should be the first node in this nodelist. -->
                    <n:NodeList>
                      <n:Node name="node1"/>
                    </n:NodeList>
      <!--Instance Prefix tag is optional starting with 11.2. If left empty, it is derived from db_unique_name.-->
                    <n:InstancePrefix>test</n:InstancePrefix>
      <!-- Listener details are no longer needed starting 11.2. Database is registered with default listener and SCAN listener running from Oracle Grid Infrastructure home. -->
      <!--Specify the type of storage to be used by rac database. Allowable values are CFS|ASM. The non-rac database should have same storage type. ASM credentials are no needed for conversion. -->
                    <n:SharedStorage type="ASM">
      <!--Specify Database Area Location to be configured for rac database.If this field is left empty, current storage will be used for rac database. For CFS, this field will have directory path. -->
                      <n:TargetDatabaseArea>+DATA</n:TargetDatabaseArea>
      <!--Specify Flash Recovery Area to be configured for rac database. If this field is left empty, current recovery area of non-rac database will be configured for rac database. If current database is not using recovery Area, the resulting rac database will not have a recovery area. -->
                      <n:TargetFlashRecoveryArea></n:TargetFlashRecoveryArea>
                    </n:SharedStorage>
              </n:Convert>
          </n:ConvertToRAC>
      </n:RConfig>
      i have already modified my /etc/hosts file and add node1 with local ip and whenever i try to run addNode.sh from Oracle home , keep getting this error;
      /u01/app/oracle/product/11.2.0/dbhome_1/oui/bin/addNode.sh: line 4: ./runInstaller: No such file or directory