Versions Compared

Key

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

These steps can be useful if you are installing a new FlexDeploy environment, and want to load it with specific configurations from a different environment with same FlexDeploy versionenvironment but without execution data. For this process, source environment must be same FlexDeploy version as target.

These steps are provided as guidelines and extreme care must be taken to not disrupt your production environments.

Info

This process should only be followed to perform configuration setup for brand new installation of FlexDeploy from another installation of FlexDeploy. Purpose of this document is to only copy configuration details and not execution data. If you run this against active Production FlexDeploy, you will lose all execution details.

This process is only applied for 4.0, 4.0.x 5.3 version of FlexDeploy. Also, source and target version of FlexDeploy must be the same.

  • Export data from Stop source FlexDeploy database. You will be prompted to enter password for system user.
    • This step will create fd_bkup.dmp file with all details from FD,FF and FD_ADMIN schemas. File should be in data pump directory, for example - C:\oraclexe\app\oracle\admin\XE\dpdump.

...

  • server in order to take cold backup.
  • Export data from source FlexDeploy database

...

  • . (FF, FD

...

  • Copy fd_bkup.dmp file on to )
  • Stop target FlexDeploy database server in to data pump directory, for example - C:\oraclexe\app\oracle\admin\XE\dpdumpserver at this point.
  • Import data in to into target FlexDeploy database. You will be prompted to enter password for system user.
    • Make sure there are no errors in import process. If there are errors, make corrections appropriately and restart import process.

...

languagesql
titleImport data in to target FlexDeploy database

...

  • (FF, FD

...

  • )
  • At this point the target FlexDeploy database should be an exact copy of the source database. But in this scenario, we do Often times you will not need or want any of the execution details, so let's delete execution data using following commands. Make sure to run these commands on target FlexDeploy database. Keep in mind that in this process we have not copied artifact repository as goal was to not include execution details.
    • If there are errors in delete process below you can run it multiple times. In case of issues, please contact us at http://support.flexagon.com.

      Code Block
      languagesql
      themeRDark
      titleDelete execution data in target FlexDeploy database
      delete from FD.

...

    • PIPELINE_STAGE_

...

    • STEP_

...

    • EXEC_

...

    • WFRQ;
      delete from FD.

...

    • PIPELINE_

...

    • STAGE_

...

    • EXEC_

...

    • INFO;
      delete from FD.

...

    • PIPELINE_STAGE_STEP_EXEC;
      delete from FD.

...

    • PIPELINE_STAGE_

...

    • GATE_

...

    • EXEC;
      delete from FD.

...

    • PIPELINE_

...

    • STAGE_

...

    • EXEC;
      delete from FD.

...

    • PIPELINE_EXEC;
      delete from FD.

...

    • REL_

...

    • SNAPSHOT_

...

    • VERSION_

...

    • REQ;
      delete from FD.

...

    • REL_

...

    • SNAPSHOT_VERSION;
      delete from FD.

...

    • REL_

...

    • SNAPSHOT;
      delete from FD.

...

    • REL_

...

    • BUILD_

...

    • MONITOR;
      delete from FD.TEST_DEF_QUALIFIER_

...

    • VALUE;
      delete from FD.

...

    • TEST_

...

    • RESULT;
      delete from FD.

...

    • TEST_

...

    • DEFINITION_

...

    • RUN;
      delete from FD.

...

    • TEST_

...

    • SET_

...

    • QUALIFIER_VALUE;
      delete from FD.

...

    • TEST_

...

    • SET_

...

    • RUN;
      delete from FD.

...

    • TEST_RUN;
      delete from FD.PLUGIN_EXECUTION_OUTPUT_

...

    • VALUE;
      delete from FD.

...

    • PLUGIN_EXECUTION_

...

    • OUTPUT;
      delete from FD.

...

    • PLUGIN_

...

    • EXECUTION_

...

    • LOG;
      delete from FD.

...

    • PACKAGE_OBJECT_EXECUTION;
      delete from FD.PLUGIN_EXECUTION;
      delete from FD.

...

    • WORKFLOW_EXECUTION_DATA;
      delete from FD.

...

    • PACKAGE_

...

    • OBJ_

...

    • CURRENT_

...

    • STATUS;
      delete from FD.WORKFLOW_EXECUTION;
      delete from FD.

...

    • WORKFLOW_

...

    • REQUEST_INPUT;
      delete from FD.

...

    • SCHEDULED_TASK;
      delete from FD.

...

    • HUMAN_TASK

...

    • _IDENTITY;
      delete from FD.

...

    • HUMAN_TASK;
      delete from FD.

...

    • FOLDER_REQUEST_CURRENT_

...

    • STATE;
      delete from FD.

...

    • PROJECT_

...

    • WF_

...

    • CURRENT_

...

    • STATUS;
      delete from FD.WORKFLOW_REQUEST_

...

    • INST;
      delete from FD.

...

    • WORKFLOW_

...

    • REQUEST_CMS_ISSUE

...

    • ;
      delete from FD.

...

    • WORKFLOW

...

    • _REQUEST;
      delete from FD.

...

    • FOLDER_REQUEST

...

    • ;
      delete from FD.

...

    • FOLDER_PROJECT_VERSION;
      delete from FD.PROJECT_VERSION_DATA_VAL;
      delete from FD.

...

    • PROJECT_VERSION_DATA

...

    • ;
      delete from FD.

...

    • PACKAGE_

...

    • OBJECT;
      delete from FD.

...

    • PROJECT_VERSION_ITS_

...

    • ISSUE;
      delete from FD.

...

    • PROJECT_

...

    • VERSION;

...

    •  

...

    • 
      delete from FD.

...

    • FOLDER_VERSION;

...

    • 
      delete from FD.

...

    • PURGE_

...

    • FOLDER_VERSION_KEY;
      delete from FD.

...

    • PURGE_PROJ_VERSION_KEY;
      delete from FD.

...

    • WEBHOOK_

...

    • MESSAGE_

...

    • LOG;
      delete from FD.

...

    • WEBHOOK_

...

    • MESSAGE_

...

    • FUNCTION;
      delete from FD.

...

    • WEBHOOK_

...

    • MESSAGE_

...

    • DATA;
      delete from FD.

...

    • WEBHOOK_MESSAGE;
      delete from 

...

    • FF.

...

    • SEQUENCE_BLOCK where SEQ_NAM like 'stream-%';
      delete from 

...

    • FF.

...

    • SEQUENCE_BLOCK where SEQ_NAM like 'package-%';
      delete from FF.SEQUENCE_BLOCK where SEQ_NAM like '

...

    • project-%';
      delete from FD_ADMIN.PS_TXN;
      commit;


  • We will not copy any Artifact Repository in this process, as we are not copying any purging the execution data.
  • FlexDeploy can now be installed in target environment as per FlexDeploy Installation Guide, but skip database tier as it was already copied from a different environment. You could do this step before database copy as well.
  • At the end of installation process, start FlexDeploy and validate that your configurations are present in various screens.
  • As necessary upgrade details like Security realm, group, user configurations, Email server settings etc.