...
Tip |
---|
Recommendation for Oracle database backupYou will need to setup environment variables before running expdp. For example, |
It is recommended that a backup of the artifact repository file system be taken in case a back-out is required. The location of the artifact repository can be identified by looking at value of -Dflexagon.fd.repository.root in setenvoverrides.sh/setenv.sh This file will be in <FlexDeploy Home>/apache-tomcat-flexdeploy/bin/will be wherever you mounted the /home/oracle directory in the container the inside the repository folder. Standard file backup procedures can be followed. Optionally, the following command can be used to create a tar file backup of the entire directory.
Code Blocktip | |||
---|---|---|---|
| Backup Artifact Repository
| ||
cd <artifact repository location>tar –cvzf <mounted directory> tar –cvzf artifact.tar.gz<artifact repositorylocation> |
...
Step 3. Upgrade the FlexDeploy schemas
...
Step 4. Copy plugins from download zip for auto upload. This would be a inside of volume that you had configured during installation process.
...
Code Block |
---|
docker pull flexdeploy/fd_tcat_53:5.4.0.0:VERSION |
User same values as used for previous version of FlexDeploy when starting new version of image, other than the version. Here is a refresher of what the values are:
p
- in this example 8000 is the port which FlexDeploy will be accessed on mapping to port 8080 in the containerFLEX_DB_URL
- jdbc URL for accessing the database. See below for syntaxFD_ADMIN_PWD
- Password for the fdadmin user in the databaseTZ
- Time zone for the container. Given example is America/Chicago.dbtype
- if you are using postgres or oracle database.INFLUX_DB_USER
- Username for the built in influxdbINFLUX_DB_PASSWORD
- Password for the built in influxdb. Username and password are only used upon first initialization. After that token is used to connect to the database.INFLUX_DB_TOKEN
- Token used to connect to the built in influxdb.v
- This will set where your application, repository, vsm and logs folders will go on the docker host. Everything before the colon is on the local machine, after is inside the container. Leave that as /home/oracleLast is the image which will be flexdeploy/fd_tcat: and the version you want to run.
Code Block |
---|
docker run --name flexdeploy53flexdeploy -p 80048000:8080 -e FLEX_DB_URL="jdbc:oracle:thin:@129.213.91.244:1521@URL:PORT:xe" -e FD_ADMIN_PWD="welcome1"DATABASEPASSWORD -e TZ=America/Chicago -e dbtype=oracle|postgres -e INFLUX_DB_USER=flexdeploy -e INFLUX_DB_PASSWORD=INFLUXDBPASSWORD -e INFLUX_DB_TOKEN=INFLXUDBTOKENHERE -v /scratch/DockerVolume/flexdeploy:/home/oracle flexdeploy/fd_tcat_54:5.4.0.0:VERSION |
Tip |
---|
Example JDBC URL (FLEX_DB_URL)
|
...