Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

For configuring and enabling Pre/Post processing you need to prepare DDC variable DBV_PRE_POST_PROC_NAME and create the Pre/Post processing script itself.

...

By default, Dbvisit expects that Pre/Post processing script is $DBVISIT_BASE/standbymp/oracle/dbv_pre_post_processing.sh on Linux or %DBVISIT_BASE\standbymp\oracle\dbv_pre_post_processing.cmd on Windows. This is represented by variable DBV_PRE_POST_PROC_NAME which has initial value “dbv_pre_post_processing” You can modify this variable as follows:

...

Last step is to copy your action script to primary and standby server. The script must be always in $DBVISIT_BASE/oracle (%DBVISIT_BASE%\oracle) and must have same name (which you defined in DBV_PRE_POST_PROC_NAME variable) on both servers.

...

We’re happy with default value DBV_PRE_POST_PROC_NAME = dbv_pre_post_processing so there’s no need for any DDC modification. So we can completely skip step “2.1 Prepare DDC Parameter” and we will only create script /usr/dbvisit/standbymp/oracle/dbv_pre_post_processing (as per 2.2 Creating Pre/Post Script) and upload it to /tmp:

...

Same as for the Linux example - we’re not going to change DBV_PRE_POST_PROC_NAME, we can skip step “2.1 Prepare DDC Parameter” and we will only create script dbv_pre_post_processing.cmd (as per 2.2 Creating Pre/Post Script) and upload it to both servers to C:\Program Files\Dbvisit\standbymp\oracle (2.3 Deploying the Pre/Post Script):

...