About this task
BVQ has to be updated
Applies to
BVQ Docker
Procedure
For an Offline-Update place the files in a specific folder on the docker host.
An update is only possible to a specific version, depending on the running BVQ.
This is also true for the running MongoDB, a higher BVQ version may only work with a higher MongoDB version.
The update of the MongoDB is similar to the "standard" update of the Server, Scanner and Grafana.
For updates where the running MongoDB version does not need to be updated,
the 3 following files must be downloaded
gzip -d output
docker-bvq-grafana-2023.HX.X.tar.gz
docker-bvq-scanner-2023.HX.X.tar.gz
docker-bvq-server-2023.HX.X.tar.gz
- Connect the the host
- Switch to root user
- List running processes
- Check the server performance
- Move to the folder where the new BVQ files are located and unzip all 3 files
*the additional "-d" removes the zipped file afterwards
gzip -d docker-bvq-XXXXX-2023.H2.4.tar.gz |
---|
gzip -d output
[bvq@bvqlinux2 tmp]$ ls
docker-bvq-grafana-2023.H2.4.tar.gz docker-bvq-scanner-2023.H2.4.tar.gz docker-bvq-server-2023.H2.4.tar.gz
[bvq@bvqlinux2 tmp]$ gzip -d docker-bvq-grafana-2023.H2.4.tar.gz
[bvq@bvqlinux2 tmp]$ gzip -d docker-bvq-scanner-2023.H2.4.tar.gz
[bvq@bvqlinux2 tmp]$ gzip -d docker-bvq-server-2023.H2.4.tar.gz
[bvq@bvqlinux2 tmp]$ ls
docker-bvq-grafana-2023.H2.4.tar docker-bvq-scanner-2023.H2.4.tar docker-bvq-server-2023.H2.4.tar
- Load and restore images
docker load -i docker-bvq-grafana-2023.H2.4.tar |
---|
docker load -i output
[bvq@bvqlinux2 tmp]$ docker load -i docker-bvq-grafana-2023.H2.4.tar.gz
[bvq@bvqlinux2 tmp]$ docker load -i docker-bvq-scanner-2023.H2.4.tar.gz
[bvq@bvqlinux2 tmp]$ docker load -i docker-bvq-server-2023.H2.4.tar.gz
- Check the new images
- Move to the correct BVQ folder
- Open the env file
- Modify the env file
-use "i" to write and change the BVQ_Branch to the new Version 2022.H2.2 → 2023.H2.4
-if you are also updating the MongoDB version, the DB_Versionhas to adjusted as well
- Recreate server and scanner
- list running processes
- Check the server performance