Monitoring Informix startup after rebooting a node

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

  1. 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.
  2. Monitor the Informix pod startup progress:
    kubectl -n <namespace> get pods | grep informix
  3. 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
    
  4. Confirm that the Informix instance is healthy.
    1. Exec into the Informix pod.
    2. 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