When a node is restarted, confirm that Informix successfully starts up by monitoring
the startup progress.
About this task
Informix should automatically start up after a Kubernetes worker node is started and
the kubelet starts all the pods on the node. You can run a series of commands to
monitor the startup progress.
Procedure
-
Run the command
kubectl get nodes
and check the output to
verify the following:
- The Kubernetes worker nodes that were rebooted are in a ready
state.
- All nodes with the etcd operator role are in a ready state.
-
Monitor the Informix pod startup progress:
kubectl -n <namespace> get pods | grep informix
-
Check that all Informix database services pods are in a running state:
kubectl -n <namespace> get pods --selector app.kubernetes.io/name=informix-server-cr
-
Confirm that the Informix instance is healthy.
- Exec into the Informix pod.
- Run the following commands for a sanity test on the health of the
Informix
instance:
onstat - # Should show 'On-Line'
dbaccess sysmaster - # Confirm you can connect to the database