5. Update Instructions
Before updating OMNI Platform from version =<1.13.0 to version =>1.14.0, to maintain access to the database and basic configuration, migrate existing field values in files using the table below.
In the ingress.rules.gateway.host field
insert the full host name, for example, platform.example.com.
Dots in the field name denote nesting of yaml or json structure.
Old file | Field | New file | Field |
./setup/settings.env | MASTER_NODE_IP_ADDRESS | ./cfg/smc.settings.cfg | apiserver_advertise_address, external_ip_address |
POSTGRES_USER | ./cfg/platform.secrets.json | postgres-root-credentials.user | |
POSTGRES_PASSWORD | postgres-root-credentials.password | ||
SERVICE_KEY | platform-service-key.service_key | ||
LIC_SERVER_IP_ADDRESS | license-secret.server_url | ||
LIC_KEY | license-secret.key | ||
PLATFORM_ADMIN_EMAIL | platform-user-secret.admin_email | ||
PLATFORM_ADMIN_PASSWORD | platform-user-secret.admin_password | ||
PLATFORM_DEFAULT_EMAIL | platform-user-secret.default_email | ||
PLATFORM_DEFAULT_PASSWORD | platform-user-secret.default_password | ||
EMAIL_HOST | platform-email-secret.email_host | ||
EMAIL_HOST_USER | platform-email-secret.email_host_user | ||
EMAIL_HOST_PASSWORD | platform-email-secret.email_host_password | ||
EMAIL_FROM | platform-email-secret.email_from | ||
EMAIL_USE_SSL | platform-email-secret.email_use_ssl | ||
QUERY_LIMIT | ./cfg/platform.values.yaml | backend.query_limit | |
INDEX_UPDATE_PERIOD | backend.index_update_period | ||
USE_CUDA | processing.use_cuda | ||
DOMAIN | ingress.rules.gateway.host | ||
./setup/settings.env | LIC_KEY | ./cfg/license-server.settings.cfg | license-secret.key |
LIC_SERVER_IP_ADDRESS | license-secret.server_url | ||
./deploy/services_db_config.json | storage-engine-db.credentials.POSTGRES_USER | ./cfg/platform.secrets.json | storage-engine-postgres.user |
storage-engine-db.credentials.POSTGRES_PASSWORD | storage-engine-postgres.password | ||
storage-engine-db.credentials.POSTGRES_DB | storage-engine-postgres.db | ||
event-service-db.credentials.POSTGRES_USER | event-service-postgres.user | ||
event-service-db.credentials.POSTGRES_PASSWORD | event-service-postgres.password | ||
event-service-db.credentials.POSTGRES_DB | event-service-postgres.db |
Deleting the old Platform version
- Move to
on_premise
folder and stop OMNI Platform:
./setup/uninstall-platform.sh
- Make sure that all service containers are stopped:
watch 'kubectl get pods'
Service statuses should change from Running to Terminating. As a result, all services are removed from the console output.
- Delete the deployed Kubernetes cluster:
sudo kubeadm reset
- Delete auxiliary files of Kubernetes cluster:
sudo rm -rf ~/.kube/
- Reset IPVS tables of your system:
sudo ipvsadm --clear
When the Platform is deleted, the entire database is saved in the /kv/pgdata
directory. For further use of this database you need to specify the same authorization data and database name when installing the new version of the Platform. Otherwise, run the command below:
./cli.sh platform db-reset