If you have an Oracle Database installation using Oracle Restart (an Oracle Grid Infrastructure installation for a standalone server), you can reconfigure that server as a cluster member node, then complete the following tasks.
srvctl config database -db db_unique_name srvctl config service -db db_unique_name srvctl config listener -listener lsnrname
Grid_home\crs\install
, where Grid_home is the location of your Oracle Grid Infrastructure home (Grid home) directory, for example:
C:\> cd app\12.2.0\grid\crs\install
C:\..\install> roothas.bat -deconfig -force
Option | Description |
---|---|
Installing in the Same Location as Oracle Restart |
Proceed to step 7. |
Installing in a Different Location than Oracle Restart |
Set up Oracle Grid Infrastructure software in the new Grid home software location, then proceed to step 7. |
export oracle_install_asm_UseExistingDG=true or false export oracle_install_asm_DiskGroupName=disk_group_name export oracle_install_asm_DiskDiscoveryString=asm_discovery_string export oracle_install_asm_ConfigureGIMRDataDG=true or false export oracle_install_asm_GIMRDataDGName=disk_group_name
You can complete the installation interactively, or if you want to perform a silent installation, then save and stage the response file. After saving the response file, run the following command. For the -responseFile
parameter, specify the full path name where the response file was saved, for example:
C:\> Grid_home\gridSetup.bat -silent -responseFile C:\Users\dba1\scripts\GI.rsp
volenable
command to enable all Oracle Restart disk group volumes.C:\> cd app\grid\product\12.2.0\grid\bin C:\..bin> srvctl add filesystem -device \\.\ORCLDATADISK4 -diskgroup ORestartData -volume db1 -mountpointpath C:\app\grid\prodcut\12.2.0\dbhome1 -user grid
srvctl add database -db db_unique_name -spfile -pwfile -oraclehome %ORACLE_HOME% -node nodename
%ORACLE_HOME%
environment variable is set to the location of the database home directory.mydb
, enter the following command:
srvctl add database -db mydb -spfile -pwfile -oraclehome %ORACLE_HOME% -node node1
srvctl add service
. For example:
srvctl add service -db mydb -service myservice
See Also:
"Recording Response Files" for more information about saving the response file.
Oracle Clusterware Administration and Deployment Guide for information about adding notes to your cluster