Stopping and starting an Informix instance

Stop and start an Informix instance inside a container to perform maintenance tasks.

Procedure

  1. Temporarily disable the live-ness probe:
    oc annotate pod <Informix server pod name> --overwrite  livenessprobe=disabled
  2. Run the exec command on the Informix pod.
  3. Run the onmode -kuy command and perform the maintenance tasks that you want.
  4. When the maintenance tasks are completed, restart Informix with the oninit command.
  5. Confirm that the Informix server is online:
    onstat -
  6. Exit the pod.
  7. Re-enable the live-ness probe:
    oc annotate pod <Informix server pod name> --overwrite livenessprobe=enabled
    Note: You might have to run these commands several times before the Informix server is shown as online.