Versions Compared

Key

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

This process is useful in many situations, for example, Initial proof of concept is completed and production installation needs to be done on different Server and Database.

These steps are provided as guidelines and extreme care must be taken during such migrations. This process is setup set up for Tomcat but variation variations of this process can be applied to WebLogic as well.

Warning

Make sure the source environment is Stopped before proceeding so that we have an accurate copy.

Export-Import Database

  • Export data from source FlexDeploy database.
  • Import data in to target FlexDeploy database.into target FlexDeploy database.

Export-Import Metrics Data

  • Startup InfluxDB so that the time series data can be exported from the source database

    Code Block
    languagebash
    -- Start up InfluxDB. You can determine the bin directory by looking at the classpath for the FlexDeploy process on the server command line
    cd /flexdeploy/apache-tomcat-flexdeploy/bin
    ./influxd-start.sh


  • Take a backup of the data present in the source Influx database

    Code Block
    languagebash
    -- Create a backup of all the data and resources in the source InfluxDB
    cd /flexdeploy/influxdb
    mkdir backup
    ./influx backup ./backup/
    tar -czvf /app/backup/flexdeploy_influx_data.tar.gz ./backup/*
    rm -rf ./backup


Copy Artifact Repository, Plugins Folder, Application Binaries

...