Databases Reference
In-Depth Information
For example, the following sh script extracts the move plans from the domain
archive file (config_clone.jar) to the /home/oracle/mybook/
samples/migration/files/plans directory on the target host:
#!/bin/sh
MW_HOME=/u02/app/oracle/product/fmw
export MW_HOME
ORACLE_COMMON_HOME=$MW_HOME/oracle_common
export ORACLE_COMMON_HOME
JAVA_HOME=$MW_HOME/jdk160_21
export JAVA_HOME
ARCHIVE_LOC=/home/samples/migration/files/config_clone.jar
export ARCHIVE_LOC
$ORACLE_COMMON_HOME/bin/extractMovePlan.sh -javaHome $JAVA_HOME -archiveLoc $ARCHIVE_LOC -planDirLoc /home/oracle/mybook/samples/migration/files/plans
The directory specified for the planDirLoc property in the
extractMovePlan script must not exist in the file system.
However, its parent location must exist in the file system, and
have the write permission. In the previous example, the
/home/oracle/mybook/samples/migration/files
directory should be present in the file system, but the plans
sub-directory should not exist.
Editing move plans
Move plans are extracted and placed in the following directory structure:
<PLAN_DIR>/moveplan.xml: The main move plan configuration file
Search WWH ::




Custom Search