User's Manual
4.4 cloracpy - Oracle environment setup tool for
standby node
User
Oracle DBA user
Format
/opt/FJSVclora/sbin/cloracpy
Function
The required files in the operational node can be backed up in a tar format by executing
the “cloracpy” command. By deploying this backup data on the standby nodes, the file
copy and link settings are enabled.
Execute the “cloracpy” command
・$ORACLE_HOME and $ORACLE_BASE should be identical between the operational
node and the standby nodes.
・Oracle configuration should be the same between the operational node and the standby
nodes.
・Database should be created and set up on the operational node.
・The command should be executed using Oracle user.
・$ORACLE_BASE, $ORACLE_HOME, and $ORACLE_SID should be set in the Oracle
user environment variables.
The following backup files are stored in the tar file by executing the “cloracpy” command:
・All resources under $ORACLE_HOME/dbs/
・All resources under $ORACLE_BASE/admin/$ORACLE_SID/
・$ORACLE_HOME/network/admin/*.ora
These files should be contained in the “/tmp/oracle.$ORACLE_SID.tar” file. Copy this
file to the standby nodes. Then, the files in the operational node are deployed on the
standby nodes by executing the “tar xvf /tmp/oracle.$ORACLE_SID.tar” command.
This command stores the files in the tar file, and deploys by full path. The command
should not be executed if the $ORACLE_BASE or $ORACLE_HOME setup differs
between the operational node and the standby nodes. Also, if the operational method is
different between the operational node and the standby nodes, this command is not
enabled. The file that has a name same as other file will be overridden.
Parameter
None.
Exit status
0 : Normal termination
Other than 0 : Abnormal termination
33