Running DX Core configuration tasks
This topic shows how to run manual Core configuration tasks on your HCL DX 9.5 CF197 and later container deployments.
Running Core Config Engine tasks
In an HCL Digital Experience 9.5 Container deployment using Helm, some DX 9.5 Core configuration tasks (such as change of context root) are now performed using the Helm upgrade route. However, others (such as database migration) are performed using a Config Engine task, as they would be in an on-premise or hybrid environment.
Steps to run a Config Engine task:
Open a shell on a DX Core pod.
The following example instructions uses pod ‘0’ as it should always be available:
kubectl exec -it -n < namespace > dx-deployment-core-0 -c core -- /bin/bash
Create the semaphore file.
On the Core pod, use the following command to create a file which tells the Kubernetes probes that a Configuration task is in progress:
Run the Config Engine command.
Follow the instructions for the particular configuration task that you need to perform. See DB Transfer Config Engine task for an example.
Remove the semaphore file.
On the Core pod, use the following command to delete the file which tells the Kubernetes probes that a configuration task is in progress:
rm -f /opt/app/configInProgress
You can now close the shell on the Core pod:
(Optional) Restart other Core pods.
If you have multiple Core pods running, and if the configuration task you just performed requires a server restart, you should now restart all the Core pods other than the one on which you ran the task.
To do this, run the following command for each other Core pod. For example, if you have Core pods
dx-deployment-core-2and performed the configuration task on pod 0, then run the following command below for pods
kubectl delete pod -n < namespace > < pod-name >
To reduce the impact on availability, it is recommended that you wait for a pod to be ready again before running the command for the next pod.