Validating the restored Cloud Pak for Data instance

Important: IBM Cloud Pak® for Data Version 4.7 will reach end of support (EOS) on 31 July, 2025. For more information, see the Discontinuance of service announcement for IBM Cloud Pak for Data Version 4.X.

Upgrade to IBM Software Hub Version 5.1 before IBM Cloud Pak for Data Version 4.7 reaches end of support. For more information, see Upgrading IBM Software Hub in the IBM Software Hub Version 5.1 documentation.

After you restore a Cloud Pak for Data instance, validate the instance to ensure that the restore was successful.

Procedure

  1. Validate operator visibility:
    oc get nss -n ${PROJECT_CPD_INST_OPERATORS} common-service -o jsonpath='{.status.validatedMembers} {"\n"}' 

    Check that the output of the command is like in the following example:

    ["cpd-operators","cpd-instance"]
  2. Validate CommonService custom resources by running the following commands:
    oc get commonservice -n ${PROJECT_CPD_INST_OPERANDS} common-service -o yaml

    Check that the output of the command is like in the following example:

    apiVersion: operator.ibm.com/v3
    kind: CommonService
    metadata:
      name: common-service
      namespace: cpd-instance
    spec:
      license:
        accept: false
      operatorNamespace: cpd-operator
      ...
      servicesNamespace: cpd-instance
      size: small
    status:
      phase: Succeeded
    oc get commonservice -n ${PROJECT_CPD_INST_OPERATORS} common-service -o yaml

    Check that the output of the command is like in the following example:

    apiVersion: operator.ibm.com/v3
    kind: CommonService
    metadata:
      name: common-service
      namespace: cpd-operator
    spec:
      license:
        accept: false
      operatorNamespace: cpd-operator
      ...
      servicesNamespace: cpd-instance
      size: small
    status:
      phase: Succeeded
  3. Validate EDB Postgres:
    oc get clusters.postgresql.k8s.enterprisedb.io -n ${PROJECT_CPD_INST_OPERANDS}
    Check that the output of the command is like in the following example:
    NAME                AGE   INSTANCES   READY   STATUS                     PRIMARY
    zen-metastore-edb   30s   2           2       Cluster in healthy state   zen-metastore-edb-1