Difference between revisions of "PEC-REP/Current/PulsePEGuide/Upgrade"

From Genesys Documentation
Jump to: navigation, search
(Published)
Line 21: Line 21:
 
|structuredtext====Delete ConfigMaps and Secrets===
 
|structuredtext====Delete ConfigMaps and Secrets===
  
*delete pulse-postgres-configmap configmap <source lang="text">source .shared_init_variables
+
#delete pulse-postgres-configmap configmap <source lang="text">
oc delete configmap pulse-postgres-configmap --namespace="${NAMESPACE}"</source>
+
oc delete configmap pulse-postgres-configmap -n="pulse"</source>
 
+
#delete pulse-redis-configmap configmap <source lang="text">
*delete pulse-redis-configmap configmap <source lang="text">source .shared_init_variables
+
oc delete configmap pulse-redis-configmap -n="pulse"</source>
oc delete configmap pulse-postgres-configmap --namespace="${NAMESPACE}"</source>
+
#delete pulse-postgres-secret secret <source lang="text">
 
+
oc delete secret pulse-postgres-secret -n="pulse"</source>
*delete pulse-postgres-secret secret <source lang="text">source .shared_init_variables
+
#delete pulse-redis-secret secret <source lang="text">
oc delete secret pulse-postgres-secret --namespace="${NAMESPACE}" </source>
+
oc delete secret pulse-redis-secret -n="pulse"</source>
 
+
#delete pulse-gws-secret secret <source lang="text">
*delete pulse-redis-secret secret <source lang="text">source .shared_init_variables
+
oc delete secret pulse-gws-secret -n="pulse"</source>
oc delete secret pulse-redis-secret --namespace="${NAMESPACE}"</source>
 
 
 
*delete pulse-gws-secret secret <source lang="text">source .shared_init_variables
 
oc delete secret pulse-gws-secret --namespace="${NAMESPACE}"</source>
 
  
 
===Uninstall Helm charts===
 
===Uninstall Helm charts===
 
+
#Uninstall init chart:
*Uninstall init chart <source lang="text">source .shared_init_variables
+
#:<source lang="bash">helm uninstall pulse-init --namespace=pulse</source>
helm uninstall init --namespace="${NAMESPACE}"</source>
+
#Uninstall pulse chart
 
+
#:<source lang="bash">helm uninstall pulse --namespace=pulse</source>
*Uninstall pulse chart <source lang="text">source .shared_init_variables
+
#Uninstall init-tenant chart:
helm uninstall pulse --namespace="${NAMESPACE}"</source>
+
#:<source lang="bash">helm uninstall pulse-init-tenant-<tenant-sid> --namespace=pulse</source>
 
+
#Uninstall dcu chart:
*Uninstall init-tenant chart <source lang="text">source .tenant_init_variables
+
#:<source lang="bash">helm uninstall pulse-dcu-<tenant-sid> --namespace=pulse</source>
helm uninstall "pulse-init-tenant-${TENANT_SID}" \
+
#Uninstall lds chart:
      --namespace="${NAMESPACE}"</source>
+
#:<source lang="bash">helm uninstall pulse-lds-<tenant-sid> --namespace=pulse</source>
*Uninstall dcu chart <source lang="text">source .tenant_init_variables
+
#:<source lang="bash">helm uninstall pulse-lds-vq-<tenant-sid> --namespace=pulse</source>
helm uninstall "pulse-dcu-${TENANT_SID}" \
+
#Uninstall permissions chart:
    --namespace="${NAMESPACE}"</source>
+
#:<source lang="bash">helm uninstall pulse-permissions-<tenant-sid> --namespace=pulse</source>
*Uninstall lds chart <source lang="text">source .tenant_init_variables
 
helm uninstall "pulse-lds-${TENANT_SID}" \
 
    --namespace="${NAMESPACE}"</source>
 
*Uninstall permissions chart <source lang="text">source .tenant_init_variables
 
helm uninstall "pulse-permissions-${TENANT_SID}" \
 
    --namespace="${NAMESPACE}"</source>
 
 
 
===Delete shared db and db user===
 
{{NoteFormat|All Genesys Pulse data contained in your Genesys Pulse database will be lost after execution of the below steps.|3}}
 
 
 
*Save as <tt>delete_shared_db_user.sql</tt> <source lang="text">DROP DATABASE "${DB_NAME_SHARED}";
 
DROP USER "${DB_USER_SHARED}@${DB_HOST}";</source>
 
*Run<source lang="text">source .shared_init_variables
 
 
envsubst < ./delete_shared_db_user.sql | \
 
PGPASSWORD="${DB_PASSWORD_SUPERUSER}" psql -h "${DB_HOST}" -p "${DB_PORT}" -U "${DB_NAME_SUPERUSER}" -f -</source>
 
 
|Status=No
 
|Status=No
 
}}
 
}}
 
|PEPageType=2cad3824-b3b9-43aa-a726-143cc1aaefe2
 
|PEPageType=2cad3824-b3b9-43aa-a726-143cc1aaefe2
 
}}
 
}}

Revision as of 19:15, March 30, 2022

This topic is part of the manual Genesys Pulse Private Edition Guide for version Current of Reporting.

Learn how to upgrade, rollback or uninstall Genesys Pulse. Service supports Helm rolling upgrade strategy.

Upgrade Genesys Pulse

Upgrade <image-version> and <chart-versions> inputs and follow instructions for installing helm charts in Shared Provisioning and Tenant Provisioning.

Rollback Genesys Pulse

Downgrade <image-version> and <chart-versions> inputs and follow instructions for installing helm charts in Shared Provisioning and Tenant Provisioning.

Uninstall Genesys Pulse

Delete ConfigMaps and Secrets

  1. delete pulse-postgres-configmap configmap
    oc delete configmap pulse-postgres-configmap -n="pulse"
  2. delete pulse-redis-configmap configmap
    oc delete configmap pulse-redis-configmap -n="pulse"
  3. delete pulse-postgres-secret secret
    oc delete secret pulse-postgres-secret -n="pulse"
  4. delete pulse-redis-secret secret
    oc delete secret pulse-redis-secret -n="pulse"
  5. delete pulse-gws-secret secret
    oc delete secret pulse-gws-secret -n="pulse"

Uninstall Helm charts

  1. Uninstall init chart:
    helm uninstall pulse-init --namespace=pulse
  2. Uninstall pulse chart
    helm uninstall pulse --namespace=pulse
  3. Uninstall init-tenant chart:
    helm uninstall pulse-init-tenant-<tenant-sid> --namespace=pulse
  4. Uninstall dcu chart:
    helm uninstall pulse-dcu-<tenant-sid> --namespace=pulse
  5. Uninstall lds chart:
    helm uninstall pulse-lds-<tenant-sid> --namespace=pulse
    helm uninstall pulse-lds-vq-<tenant-sid> --namespace=pulse
  6. Uninstall permissions chart:
    helm uninstall pulse-permissions-<tenant-sid> --namespace=pulse
Comments or questions about this documentation? Contact us for support!