copyBinary Script Movement Scripts Syntax

20-14 Oracle Fusion Middleware Administrators Guide scratchOraclet2p_plansmoveplan.xml scratchOraclet2p_planscomposites scratchOraclet2p_planscompositesconfigplan1.xml scratchOraclet2p_planscompositesconfigplan2.xml scratchOraclet2p_plansadapters scratchOraclet2p_plansadaptersdeploymentplan1.xml scratchOraclet2p_plansadaptersdeploymentplan2.xml For system components, such as Oracle Internet Directory and Oracle Virtual Directory, it may extract the following: scratchOraclet2p_plansmoveplan.xml Table 20–6 describes the options for the extractMovePlan script: For information about the properties in the move plans, and which properties you should edit, see Section 20.4 .

20.3.1.7 pasteConfig Script for Java Components

Applies the copied configurations from the source environment to the target environment. Inputs for the script include the location of the configuration archive created with the copyConfig script for the Oracle WebLogic Server domain and the modified move plan. The pasteConfig script recreates the configuration information for the Oracle WebLogic Server domain in the target environment. It also merges the move plan property values for the target environment. The syntax is: pasteConfig -javaHome path_of_jdk -archiveLoc archive_location -targetDomainLoc trgt_domain_path -targetMWHomeLoc trgt_Middleware_Home_path -movePlanLoc move_plan_path -domainAdminPassword domain_admin_password_file [-appDir WLS_application_directory] [-logDirLoc log_dir_path] [-silent {true | false}] Table 20–6 Options for the extractMovePlan Script Options Shortcut Description Mandatory or Optional -javaHome NA The absolute path of the Java Developers Kit. If the operating system is SunOS, HP-UX, or Linux 64 bit, pass the -d64 option to the scripts in the command line. To set the runtime property, you can specify the -d64 option in the T2P_JAVA_OPTIONS environment variable. For example: setenv T2P_JAVA_OPTIONS -d64 -Djava.io.tmpdir=homet2ptemp Mandatory -archiveLoc -al The absolute path of the archive location. Use this option to specify the location of the archive file created by the copyConfig script. Mandatory -planDirLoc -pdl The absolute path to a directory to which the move plan, along with any needed configuration plans, is to be extracted. The directory must not exist. Mandatory -logDirLoc -ldl The location of an existing directory. A new log file is created in the directory. The default is the system Temp location. Optional Using the Movement Scripts 20-15 The following example shows how to apply the archive of the domain to the Middleware home MW_home1: pasteConfig.sh -javaHome scratchOracleMiddleware1jrockit_160_20_D1.1.0-18 -archiveLoc tmpjava_ee_cl.jar -targetDomainLoc scratchoracleMW_home1userprojectsdomainsdom_cl -targetMWHomeLoc scratchoracleMW_home1 -movePlanLoc scratchoraclejava_eemove_plan.xml -domainAdminPassword scratchpwd_dirpass.txt -logDirLoc tmplog Table 20–8 describes the options for the pasteConfig script for Java components. Table 20–7 Options for the pasteConfig Script for Java Components Options Shortcut Description Mandatory or Optional -javaHome NA The absolute path of the Java Developers Kit. If the operating system is SunOS, HP-UX, or Linux 64 bit, pass the -d64 option to the scripts in the command line. To set the runtime property, you can specify the -d64 option in the T2P_JAVA_OPTIONS environment variable. For example: setenv T2P_JAVA_OPTIONS -d64 -Djava.io.tmpdir=homet2ptemp Mandatory -archiveLoc -al The absolute path of the archive location. Use this option to specify the location of the archive file created by the copyConfig script. Mandatory -targetDomainLoc -tdl The absolute path of the target domain. The domain location must not exist for the specified Middleware home. The domain directory may be located outside of the directory structure of the Middleware home. Mandatory -targetMWHomeLoc -tmw The absolute path of the target Middleware home in which the domain is to be copied. Mandatory -movePlanLoc -mpl The absolute path of the move plan extracted from the source. Mandatory -domainAdminPassword -dap The absolute path of a secure file containing the password for the administrative user for the domain on target environment. You must provide a password file, even if you are not changing the configuration. Note that the password is based on the authentication provider for the domain. For example, the authenticator can be an embedded LDAP or an external LDAP. In previous releases, the shortcut was -domainpass, but that shortcut is now deprecated. Mandatory. -appDir -ad The absolute path of the Oracle WebLogic Server application directory on the target. Optional