anishtv
asked on
Any syntax error for this clone.plscript
In db creation using dbca
perl /u01/app/oracle/product/12 .1.0.2/dbh ome_2/clon e/bin/clon e.pl \
ORACLE_HOME="/u01/app/orac le/product /12.1.0.2/ dbhome_2" ORACLE_HOME_NAME="dbhome_2 " \
ORACLE_BASE="/u01/app/orac le" '-o"CLUSTER_NODES={sev1,se v2}" ' ' -o"LOCAL_NODE=sev1" '
Any typo.
perl /u01/app/oracle/product/12
ORACLE_HOME="/u01/app/orac
ORACLE_BASE="/u01/app/orac
Any typo.
I don't see anything obviously wrong. What problem are you encountering? Did you write the clone.pl or is it provided by Oracle (or a third party)?
What errors are you receiving which leads you to believe you might have a syntax issue in the calling of the script?
Can you post the script?
Can you post the script?
ASKER
output of the script is as:
[oracle@dbadm02 bin]$ perl /u01/app/oracle/product/12 .1.0.2/dbh ome_2/clon e/bin/clon e.pl ORACLE_HOME="/u01/app/orac le/product /12.1.0.2/ dbhome_2" ORACLE_HOME_NAME="dbhome_2 " ORACLE_BASE="/u01/app/orac le" '-o"CLUSTER_NODES={dbadm01 ,dbadm02}" ' ' -o"LOCAL_NODE=dbadm01" '
./runInstaller -clone -waitForCompletion "ORACLE_HOME=/u01/app/orac le/product /12.1.0.2/ dbhome_2" "ORACLE_HOME_NAME=dbhome_2 " "ORACLE_BASE=/u01/app/orac le" "-o"CLUSTER_NODES={dbadm01 ,dbadm02}" " " -o"LOCAL_NODE=dbadm01" " -silent -paramFile /u01/app/oracle/product/12 .1.0.2/dbh ome_2/clon e/clone_or aparam.ini
Starting Oracle Universal Installer...
Checking Temp space: must be greater than 500 MB. Actual 23278 MB Passed
Checking swap space: must be greater than 500 MB. Actual 24574 MB Passed
Preparing to launch Oracle Universal Installer from /tmp/OraInstall2016-02-04_ 08-40-42AM . Please wait ...[INS-10015] Argument (-oCLUSTER_NODES=dbadm01 ) passed from the command line is invalid.
Usage:
runInstaller [-options] [(<CommandLineVariable=Val ue>)*]
Where options include:
-clusterware oracle.crs,<crs version>
Version of Cluster ready services installed.
-crsLocation <Path>
Used only for cluster installs, specifies the path to the crs home location. Specifying this overrides CRS information obtained from central inventory.
-invPtrLoc <full path of oraInst.loc>
Unix only. To point to a different inventory location. The orainst.loc file contains:
inventory_loc=<location of central inventory>
inst_group=<>
-jreLoc <location>
Path where Java Runtime Environment is installed. OUI cannot be run without it.
-logLevel <level>
To filter log messages that have a lesser priority level than <level>. Valid options are: severe, warning, info, config, fine, finer, finest, basic, general, detailed, trace. The use of basic, general, detailed, trace is deprecated.
-paramFile <location of file>
Specify location of oraparam.ini file to be used by OUI.
-responseFile <Path>
Specifies the response file and path to use.
-attachHome
For attaching homes to the OUI inventory.
-cfs
Indicates that the Oracle home specified is on cluster file system (shared). This is mandatory when '-local' is specified so that Oracle Universal Installer can register the home appropriately into the inventory.
-clone
For making an Oracle Home copy match its current environment.
-debug
For getting the debug information from OUI.
-detachHome
For detaching homes from the OUI inventory without deleting inventory directory inside Oracle home.
-enableRollingUpgrade
Used in cluster environment, to enable upgrade of a product on a subset of nodes (on which the product was installed).
-executeSysPrereqs
Execute system pre-requisite checks and exit.
-force
Allowing silent mode installation into a non-empty directory.
-help
Displays above usage.
-ignoreSysPrereqs
For ignoring the results of the system pre-requisite checks.
-local
Performs the operation on the local node irrespective of the cluster nodes specified.
-printdiskusage
Log debug information for disk usage.
-printmemory
Log debug information for memory usage.
-printtime
Log debug information for time usage.
-relink
For performing relink actions on the oracle home
Usage: -relink -maketargetsxml <location of maketargetsxml> [-makedepsxml <location of makedepsxml>] [name=value]
-silent
For silent mode operations, the inputs can be a response file or a list of command line variable value pairs.
-waitforcompletion
Installer will wait for completion instead of spawning the java engine and exiting.
-suppressPreCopyScript
Suppress the execution of precopy script.
-acceptUntrustedCertificat es
Accept untrusted certificates from a secure site.
-suppressPostCopyScript
Suppress the execution of postcopy script.
-noconfig
Do not execute config tools.
-noconsole
For suppressing display of messages to console. Console is not allocated.
-formCluster
To install the Oracle clusterware in order to form the cluster.
-remotecp <Path>
Unix specific option. Used only for cluster installs, specifies the path to the remote copy program on the local cluster node.
-remoteshell <Path>
Unix specific option. Used only for cluster installs, specifies the path to the remote shell program on the local cluster node.
-executePrereqs
To execute only the prerequisite checks.
-ignorePrereq
To ignore running the prerequisite checks.
-ignoreInternalDriverError
To ignore any internal driver errors.
-downloadUpdates
To download updates only.
-showProgress
To show the installation progress on the console. This option is supported only in case of silent installation.
-promptForPassword
To provide the passwords on the console during silent installation of Oracle Database.
-deinstall
To Uninstall the specified home
Usage:-home <Oracle_Home_Path>
-help: To see detailed usage Information
Command Line Variables Usage
Command line variables are specified using <name=value>; for example:
[ session: | compName: | compName:version: ]variableName=" valueOfVariable"]
Session/Installer variables are specified using:
[session:]varName=value
Ex 1: session:ORACLE_HOME_NAME=" OraHome"
Ex 2: ORACLE_HOME_NAME="OraHome"
The lookup order is session:varName then just varName. The session prefix is used to avoid ambiguity.
Component variables are specified using:
[compInternalName:[Version :]]varName
Ex 1: oracle.comp1:1.0.1:varName ="VarValue "
Ex 2: oracle.comp1:varName="VarV alue"
The lookup order is compInternalName:Version:v arName, then compInternalName:varName, then just varName.
[oracle@dbadm02 bin]$
[oracle@dbadm02 bin]$ perl /u01/app/oracle/product/12
./runInstaller -clone -waitForCompletion "ORACLE_HOME=/u01/app/orac
Starting Oracle Universal Installer...
Checking Temp space: must be greater than 500 MB. Actual 23278 MB Passed
Checking swap space: must be greater than 500 MB. Actual 24574 MB Passed
Preparing to launch Oracle Universal Installer from /tmp/OraInstall2016-02-04_
Usage:
runInstaller [-options] [(<CommandLineVariable=Val
Where options include:
-clusterware oracle.crs,<crs version>
Version of Cluster ready services installed.
-crsLocation <Path>
Used only for cluster installs, specifies the path to the crs home location. Specifying this overrides CRS information obtained from central inventory.
-invPtrLoc <full path of oraInst.loc>
Unix only. To point to a different inventory location. The orainst.loc file contains:
inventory_loc=<location of central inventory>
inst_group=<>
-jreLoc <location>
Path where Java Runtime Environment is installed. OUI cannot be run without it.
-logLevel <level>
To filter log messages that have a lesser priority level than <level>. Valid options are: severe, warning, info, config, fine, finer, finest, basic, general, detailed, trace. The use of basic, general, detailed, trace is deprecated.
-paramFile <location of file>
Specify location of oraparam.ini file to be used by OUI.
-responseFile <Path>
Specifies the response file and path to use.
-attachHome
For attaching homes to the OUI inventory.
-cfs
Indicates that the Oracle home specified is on cluster file system (shared). This is mandatory when '-local' is specified so that Oracle Universal Installer can register the home appropriately into the inventory.
-clone
For making an Oracle Home copy match its current environment.
-debug
For getting the debug information from OUI.
-detachHome
For detaching homes from the OUI inventory without deleting inventory directory inside Oracle home.
-enableRollingUpgrade
Used in cluster environment, to enable upgrade of a product on a subset of nodes (on which the product was installed).
-executeSysPrereqs
Execute system pre-requisite checks and exit.
-force
Allowing silent mode installation into a non-empty directory.
-help
Displays above usage.
-ignoreSysPrereqs
For ignoring the results of the system pre-requisite checks.
-local
Performs the operation on the local node irrespective of the cluster nodes specified.
-printdiskusage
Log debug information for disk usage.
-printmemory
Log debug information for memory usage.
-printtime
Log debug information for time usage.
-relink
For performing relink actions on the oracle home
Usage: -relink -maketargetsxml <location of maketargetsxml> [-makedepsxml <location of makedepsxml>] [name=value]
-silent
For silent mode operations, the inputs can be a response file or a list of command line variable value pairs.
-waitforcompletion
Installer will wait for completion instead of spawning the java engine and exiting.
-suppressPreCopyScript
Suppress the execution of precopy script.
-acceptUntrustedCertificat
Accept untrusted certificates from a secure site.
-suppressPostCopyScript
Suppress the execution of postcopy script.
-noconfig
Do not execute config tools.
-noconsole
For suppressing display of messages to console. Console is not allocated.
-formCluster
To install the Oracle clusterware in order to form the cluster.
-remotecp <Path>
Unix specific option. Used only for cluster installs, specifies the path to the remote copy program on the local cluster node.
-remoteshell <Path>
Unix specific option. Used only for cluster installs, specifies the path to the remote shell program on the local cluster node.
-executePrereqs
To execute only the prerequisite checks.
-ignorePrereq
To ignore running the prerequisite checks.
-ignoreInternalDriverError
To ignore any internal driver errors.
-downloadUpdates
To download updates only.
-showProgress
To show the installation progress on the console. This option is supported only in case of silent installation.
-promptForPassword
To provide the passwords on the console during silent installation of Oracle Database.
-deinstall
To Uninstall the specified home
Usage:-home <Oracle_Home_Path>
-help: To see detailed usage Information
Command Line Variables Usage
Command line variables are specified using <name=value>; for example:
[ session: | compName: | compName:version: ]variableName=" valueOfVariable"]
Session/Installer variables are specified using:
[session:]varName=value
Ex 1: session:ORACLE_HOME_NAME="
Ex 2: ORACLE_HOME_NAME="OraHome"
The lookup order is session:varName then just varName. The session prefix is used to avoid ambiguity.
Component variables are specified using:
[compInternalName:[Version
Ex 1: oracle.comp1:1.0.1:varName
Ex 2: oracle.comp1:varName="VarV
The lookup order is compInternalName:Version:v
[oracle@dbadm02 bin]$
Assuming that you are trying to follow the directions here -> http://docs.oracle.com/database/121/LADBI/app_cloning.htm#LADBI7853
Where did you get cluster parameters from? I don't see any of those in the documentation.
Where did you get cluster parameters from? I don't see any of those in the documentation.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks perfect.