Cloud pak for Watson AIOps 3.7.x AI Managerのデプロイを行う

下記のドキュメントを参考にIBM Cloud Pak for Watson AIOpsの構築を行う。
現在の最新バージョンは3.7.2。
検証環境をデプロイすることを前提とした記事なのであしからず。

↓　参考とするドキュメント　↓
https://www.ibm.com/docs/en/cloud-paks/cloud-pak-watson-aiops/3.7.2?topic=manager-starter-installation-cli

# 前提条件

- Watson AIOpsをインストールするOpenshift Container Platformがインストールできている

- 最低限Worker合計でリソースの余裕がある

    - vCPU:56
    - Memory:140GB
    - CoreoOS root disk 360GB

- Worker個々で以下のリソースがある(最低3worker必要)
    - vCPU:8
    - memory:12GB
    - Local disk Storage 120

- その他スループットなど細かいrequirementは下記を参照
https://www.ibm.com/docs/en/cloud-paks/cloud-pak-watson-aiops/3.7.2?topic=requirements-hardware

# インストール作業
## namespace 作成
    
    oc create namespace cp4waiops

## Operator Group作成

    cat << EOF | oc apply -f -
    apiVersion: operators.coreos.com/v1
    kind: OperatorGroup
    metadata:
      name: cp4waiops-operator-group
      namespace: cp4waiops
    spec:
      targetNamespaces:
        - cp4waiops
    EOF



## pullsecretを作成

$YOUR_ENTITLEMENT_KEYは
https://myibm.ibm.com/products-services/containerlibrary
より取得してください。


    oc create secret docker-registry ibm-entitlement-key \
        --docker-username=cp\
        --docker-password=$YOUR_ENTITLEMENT_KEY \
        --docker-server=cp.icr.io \
        --namespace=cp4waiops


## AI Managerの外向け通信を許可

    if [ $(oc get ingresscontroller default -n openshift-ingress-operator -o jsonpath='{.status.endpointPublishingStrategy.type}') = "HostNetwork" ]; then oc patch namespace default --type=json -p '[{"op":"add","path":"/metadata/labels","value":{"network.openshift.io/policy-group":"ingress"}}]'; fi

## カタログソース作成

    cat << EOF | oc apply -f -
    apiVersion: operators.coreos.com/v1alpha1
    kind: CatalogSource
    metadata:
      name: ibm-operator-catalog
      namespace: openshift-marketplace
    spec:
      displayName: ibm-operator-catalog
      publisher: IBM Content
      sourceType: grpc
      image: icr.io/cpopen/ibm-operator-catalog:latest
      updateStrategy:
        registryPoll:
          interval: 45m     
    EOF

## 前提条件のチェック
下記ツールでOCのバージョンや
https://github.com/IBM/cp4waiops-samples/tree/main/prereq-checker/3.7
### ツールのインストールと使用
    git clone https://github.com/IBM/cp4waiops-samples
    cd cp4waiops-samples/prereq-checker/3.7
    oc project cp4waiops
    ./prereq.sh

### 出力例

    [root@kurosaway 3.7]# ./prereq.sh
    Using project "cp4waiops" on server "https://yourocp.com".

    Starting IBM Cloud Pak for Watson AIOps AI Manager prerequisite checker v3.7...


    [INFO] =================================Openshift Container Platform Version Check=================================
    [INFO] Checking OCP Version. Compatible Versions of OCP are v4.10.46+ and v4.12.x
    [WARNING] We've detected you are using OCP 4.12... For CP4WAIOPS v3.7.1+, only fresh installs are supported for OCP v4.12. See the Readme for more context.
    [INFO] =================================Openshift Container Platform Version Check=================================

    [INFO] =================================Entitlement Pull Secret=================================
    [INFO] Checking whether the Entitlement secret or Global pull secret is configured correctly.
    [INFO] Checking if the job 'cp4waiops-entitlement-key-test-job' already exists.
    [INFO] The job with name 'cp4waiops-entitlement-key-test-job' was not found, so moving ahead and creating it.
    [INFO] Creating the job 'cp4waiops-entitlement-key-test-job'
    job.batch/cp4waiops-entitlement-key-test-job created
    [INFO] Verifying if the job 'cp4waiops-entitlement-key-test-job' completed successfully..
    [INFO] SUCCESS! Entitlement secret is configured correctly.
    job.batch "cp4waiops-entitlement-key-test-job" deleted
    [INFO] =================================Entitlement Pull Secret=================================

    [INFO] =================================Storage Provider=================================
    [INFO] Checking storage providers
    [INFO] No IBM Storage Fusion Found... Skipping configuration check.

    [INFO] No Portworx StorageClusters found with "Online" status. Skipping configuration check for Portworx.
    [INFO] Openshift Data Foundation found.
    [INFO] No IBM Cloud Storage found... Skipping configuration check for IBM Cloud Storage Check.

    Checking Openshift Data Foundation Configuration...
    Verifying if Red Hat Openshift Data Foundation pods are in "Running" or "Completed" status
    [INFO] Pods in openshift-storage project are "Running" or "Completed"
    [INFO] ocs-storagecluster-ceph-rbd exists.
    [INFO] ocs-storagecluster-cephfs exists.
    [INFO] No warnings or failures found when checking for Storage Providers.
    [INFO] =================================Storage Provider=================================

    [INFO] =================================Network Policy=================================
    [INFO] Checking Network Policy configuration
    [INFO] Namespace default has expected metadata label. Network policy configured correctly.
    [INFO] =================================Network Policy=================================

    [INFO] =================================Small or Large Profile Install Resources=================================
    [INFO] Checking for cluster resources

    [INFO] ==================================Resource Summary=====================================================
    [INFO]                                       Nodes   |      vCPU      |     Memory(GB)
    [INFO] Small profile(available/required)  [  5 / 3 ]   [  139 / 56 ]       [  596 / 140 ]
    [INFO] Large profile(available/required)  [  5 / 10 ]   [  139 / 156 ]       [  596 / 360 ]
    [INFO] ==================================Resource Summary=====================================================
    [INFO] Cluster currently has resources available to create a small profile of Cloud Pak for Watson AIOps AI Manager

    [INFO] =================================Small or Large Profile Install Resources=================================


    [INFO] =================================Prerequisite Checker Tool Summary=================================
          [  WARNING  ] Openshift Container Platform Version Check
          [  PASS  ] Entitlement Pull Secret
          [  PASS  ] Storage Provider
          [  PASS  ] Network Policy
          [  PASS  ] Small or Large Profile Install Resources
    [INFO] =================================Prerequisite Checker Tool Summary=================================


## AI Manager Operatorのインストールを行う

    cat << EOF | oc apply -f -
    apiVersion: operators.coreos.com/v1alpha1
    kind: Subscription
    metadata:
      name: ibm-aiops-orchestrator
      namespace: cp4waiops
    spec:
      config:
        env:
        - name: REDIS_CHANNEL
          value: v1.6
      channel: v3.7
      installPlanApproval: Automatic
      name: ibm-aiops-orchestrator
      source: ibm-operator-catalog
      sourceNamespace: openshift-marketplace
    EOF

### Operatorのインストール確認
下記コマンドでOperatorのインストールが上手く言っているかどうかが分かる

    oc get pods -n cp4waiops | grep ibm-aiops-orchestrator

### 出力例
    
    [root@kurosaway ~]# oc get pods -n cp4waiops | grep ibm-aiops-orchestrator
    ibm-aiops-orchestrator-controller-manager-d5f44c95d-jj7nm         1/1     Running     0              35h


## AI Managerをインストールする

変数である `storage_class_name`と
`large_block_storage_class_name`
は下記を参照。Storage providerにより値が変わります。

https://www.ibm.com/docs/en/cloud-paks/cloud-pak-watson-aiops/3.7.2?topic=requirements-storage

インストールコマンド(yamlをoc applyする)


    cat << EOF | oc apply -f -
    apiVersion: orchestrator.aiops.ibm.com/v1alpha1
    kind: Installation
    metadata:
      name: ibm-cp-watson-aiops
      namespace: cp4waiops
    spec:
      imagePullSecret: ibm-entitlement-key
      license:
        accept: true
      pakModules:
      - name: aiopsFoundation
        enabled: true
      - name: applicationManager
        enabled: true
      - name: aiManager
        enabled: true
      - name: connection
        enabled: false
      size: small
      storageClass: <storage_class_name>
      storageClassLargeBlock: <large_block_storage_class_name>
    EOF

私の環境ではODFを使用しているので

    storage_class_name=ocs-storagecluster-cephfs
    large_block_storage_class_name=ocs-storagecluster-ceph-rbd

となります

### デプロイ状況の確認

    oc get installation.orchestrator.aiops.ibm.com -n cp4waiops

### 出力例

    [root@kurosaway ~]# oc get installation.orchestrator.aiops.ibm.com -n cp4waiops
    NAME                  PHASE     LICENSE    STORAGECLASS                STORAGECLASSLARGEBLOCK        AGE
    ibm-cp-watson-aiops   Running   Accepted   ocs-storagecluster-cephfs   ocs-storagecluster-ceph-rbd   35

## インストールが成功しているかどうかを確認する。
https://github.com/IBM/cp4waiops-samples/tree/main/kubectl-plugin

出力結果（長いです）

    [root@kurosaway ~]# oc waiops status-all
    Already on project "cp4waiops" on server "https://xxxx.com".

    Cloud Pak for Watson AIOps AI Manager v3.7 installation status:
    ______________________________________________________________
    Installation instances:

    NAME                  PHASE     LICENSE    STORAGECLASS                STORAGECLASSLARGEBLOCK        AGE
    ibm-cp-watson-aiops   Running   Accepted   ocs-storagecluster-cephfs   ocs-storagecluster-ceph-rbd   36h

    ______________________________________________________________
    ZenService instances:

    KIND         NAME                 NAMESPACE   VERSION   STATUS      PROGRESS   MESSAGE
    ZenService   iaf-zen-cpdservice   cp4waiops   4.8.5     Completed   100%       The Current Operation Is Completed

    ______________________________________________________________
    AutomationUIConfig, AutomationBase, Cartridge, CartridgeRequirements, and EventProcessor instances:

    KIND                 NAMESPACE   NAME         VERSION   STATUS   MESSAGE
    AutomationUIConfig   cp4waiops   iaf-system   1.3.12    True     AutomationUIConfig successfully registered

    KIND             NAMESPACE   NAME                    VERSION   STATUS   MESSAGE
    AutomationBase   cp4waiops   automationbase-sample   2.0.12    True     AutomationBase instance successfully created

    KIND        NAMESPACE   NAME                  VERSION   STATUS   MESSAGE
    Cartridge   cp4waiops   cp4waiops-cartridge   1.3.12    True     Cartridge successfully registered

    KIND                    NAMESPACE   NAME                  VERSION   STATUS   MESSAGE
    CartridgeRequirements   cp4waiops   cp4waiops-cartridge   1.3.12    True     CartridgeRequirements successfully registered

    KIND             NAMESPACE   NAME                 VERSION   STATUS   MESSAGE
    EventProcessor   cp4waiops   aiops-ir-lifecycle   3.0.0     True     Event Processor is ready

    KIND             NAMESPACE   NAME                       VERSION   STATUS   MESSAGE
    EventProcessor   cp4waiops   cp4waiops-eventprocessor   4.0.13    True     Event Processor is ready

    ______________________________________________________________
    IRCore and AIOpsAnalyticsOrchestrator instances:

    KIND                  NAMESPACE   NAME    VERSION   STATUS   MESSAGE
    IssueResolutionCore   cp4waiops   aiops   3.7.2     Ready    All Services Ready

    KIND                         NAMESPACE   NAME    VERSION   STATUS   MESSAGE
    AIOpsAnalyticsOrchestrator   cp4waiops   aiops   3.7.2     Ready    All Services Ready

    ______________________________________________________________
    LifecycleService instances:

    KIND               NAMESPACE   NAME    VERSION   STATUS   MESSAGE
    LifecycleService   cp4waiops   aiops   3.7.2     <none>   All Services Ready

    ______________________________________________________________
    BaseUI instances:

    KIND     NAMESPACE   NAME              VERSION   STATUS   MESSAGE
    BaseUI   cp4waiops   baseui-instance   3.7.2     True     Ready

    ______________________________________________________________
    AIManager, ASM, AIOpsEdge, and AIOpsUI instances:

    KIND        NAMESPACE   NAME        VERSION   STATUS      MESSAGE
    AIManager   cp4waiops   aimanager   2.8.2     Completed   AI Manager is ready
    
    KIND   NAMESPACE   NAME             VERSION   STATUS
    ASM    cp4waiops   aiops-topology   2.13.2    OK

    KIND        NAMESPACE   NAME        STATUS       MESSAGE
    AIOpsEdge   cp4waiops   aiopsedge   Configured   all critical components are reporting healthy

    KIND      NAMESPACE   NAME               VERSION   STATUS   MESSAGE
    AIOpsUI   cp4waiops   aiopsui-instance   3.7.2     True     Ready

    ______________________________________________________________
    Kong instances:

    KIND   NAMESPACE   NAME      STATUS   MESSAGE
    Kong   cp4waiops   gateway   True     <none>

    ______________________________________________________________
    Vault (VaultDeploy and VaultAccess) instances:

    KIND          NAMESPACE   NAME               VERSION   STATUS   MESSAGE
    VaultDeploy   cp4waiops   ibm-vault-deploy   3.7.2     True     VaultDeploy completed successfully

    KIND          NAMESPACE   NAME               VERSION   STATUS   MESSAGE
    VaultAccess   cp4waiops   ibm-vault-access   3.7.2     True     VaultAccess completed successfully

    ______________________________________________________________
    Postgres instances:

    KIND      NAMESPACE   NAME                               STATUS
    Cluster   cp4waiops   ibm-cp-watson-aiops-edb-postgres   Cluster in healthy state

    ______________________________________________________________
    CSVs from cp4waiops namespace:

    NAME                        DISPLAY                       VERSION   REPLACES   PHASE
    aimanager-operator.v3.7.2   IBM Watson AIOps AI Manager   3.7.2                Succeeded

    NAME                        DISPLAY                 VERSION   REPLACES   PHASE
    aiopsedge-operator.v3.7.2   IBM Watson AIOps Edge   3.7.2                Succeeded

    NAME                  DISPLAY                             VERSION   REPLACES   PHASE
    asm-operator.v3.7.2   IBM Netcool Agile Service Manager   3.7.2                Succeeded

    NAME                     DISPLAY                                            VERSION   REPLACES   PHASE
    ibm-aiops-ir-ai.v3.7.2   IBM Watson AIOps Issue Resolution AI & Analytics   3.7.2                Succeeded

    NAME                       DISPLAY                                  VERSION   REPLACES   PHASE
    ibm-aiops-ir-core.v3.7.2   IBM Watson AIOps Issue Resolution Core   3.7.2                Succeeded

    NAME                            DISPLAY                                    VERSION   REPLACES   PHASE
    ibm-aiops-ir-lifecycle.v3.7.2   IBM Cloud Pak for Watson AIOps Lifecycle   3.7.2                Succeeded

    NAME                            DISPLAY                                     VERSION   REPLACES   PHASE
    ibm-aiops-orchestrator.v3.7.2   IBM Cloud Pak for Watson AIOps AI Manager   3.7.2                Succeeded

    NAME                          DISPLAY                          VERSION   REPLACES                      PHASE
    ibm-automation-core.v1.3.14   IBM Automation Foundation Core   1.3.14    ibm-automation-core.v1.3.13   Succeeded

    NAME                                     DISPLAY                                      VERSION   REPLACES                                 PHASE
    ibm-automation-eventprocessing.v1.3.14   IBM Automation Foundation Event Processing   1.3.14    ibm-automation-eventprocessing.v1.3.13   Succeeded

    NAME                     DISPLAY                     VERSION   REPLACES                 PHASE
    ibm-automation.v1.3.14   IBM Automation Foundation   1.3.14    ibm-automation.v1.3.13   Succeeded

    NAME                             DISPLAY       VERSION   REPLACES                         PHASE
    ibm-automation-elastic.v1.3.13   IBM Elastic   1.3.13    ibm-automation-elastic.v1.3.12   Succeeded

    NAME                           DISPLAY                           VERSION   REPLACES                       PHASE
    ibm-automation-flink.v1.3.13   IBM Automation Foundation Flink   1.3.13    ibm-automation-flink.v1.3.12   Succeeded

    NAME                               DISPLAY                  VERSION   REPLACES                           PHASE
    ibm-cloud-databases-redis.v1.6.7   IBM Operator for Redis   1.6.7     ibm-cloud-databases-redis.v1.6.6   Succeeded

    NAME                                  DISPLAY                               VERSION   REPLACES   PHASE
    ibm-common-service-operator.v3.23.4   IBM Cloud Pak foundational services   3.23.4               Succeeded

    NAME                         DISPLAY                                VERSION   REPLACES   PHASE
    ibm-management-kong.v3.7.2   IBM Internal - IBM Watson AIOps Kong   3.7.2                Succeeded

    NAME                        DISPLAY              VERSION   REPLACES   PHASE
    ibm-vault-operator.v3.7.2   IBM Vault Operator   3.7.2                Succeeded

    NAME                                  DISPLAY               VERSION   REPLACES   PHASE
    ibm-watson-aiops-ui-operator.v3.7.2   IBM Watson AIOps UI   3.7.2                Succeeded
    
    ______________________________________________________________
    CSVs from ibm-common-services namespace:

    NAME                              DISPLAY                       VERSION   REPLACES                          PHASE
    cloud-native-postgresql.v1.18.5   EDB Postgres for Kubernetes   1.18.5    cloud-native-postgresql.v1.18.4   Succeeded

    NAME                                DISPLAY            VERSION   REPLACES   PHASE
    ibm-cert-manager-operator.v3.25.4   IBM Cert Manager   3.25.4               Succeeded

    NAME                                  DISPLAY                               VERSION   REPLACES   PHASE
    ibm-common-service-operator.v3.23.4   IBM Cloud Pak foundational services   3.23.4               Succeeded

    NAME                            DISPLAY         VERSION   REPLACES   PHASE
    ibm-commonui-operator.v1.21.4   Ibm Common UI   1.21.4               Succeeded

    NAME                              DISPLAY          VERSION   REPLACES   PHASE
    ibm-crossplane-operator.v1.12.4   IBM Crossplane   1.12.4               Succeeded

    NAME                                                  DISPLAY                              VERSION   REPLACES   PHASE
    ibm-crossplane-provider-kubernetes-operator.v1.12.4   IBM Crossplane Provider Kubernetes   1.12.4               Succeeded

    NAME                         DISPLAY               VERSION   REPLACES   PHASE
    ibm-events-operator.v4.6.1   IBM Events Operator   4.6.1                Succeeded
    
    NAME                       DISPLAY   VERSION   REPLACES   PHASE
    ibm-iam-operator.v3.23.4   IBM IAM   3.23.4               Succeeded

    NAME                                 DISPLAY                      VERSION   REPLACES   PHASE
    ibm-ingress-nginx-operator.v1.20.4   IBM Ingress Nginx Operator   1.20.4               Succeeded

    NAME                             DISPLAY         VERSION   REPLACES   PHASE
    ibm-licensing-operator.v1.20.4   IBM Licensing   1.20.4               Succeeded

    NAME                                      DISPLAY              VERSION   REPLACES   PHASE
    ibm-management-ingress-operator.v1.20.4   Management Ingress   1.20.4               Succeeded
    
    NAME                           DISPLAY                VERSION   REPLACES   PHASE
    ibm-mongodb-operator.v1.18.4   IBM MongoDB Operator   1.18.4               Succeeded

    NAME                                   DISPLAY                       VERSION   REPLACES   PHASE
    ibm-namespace-scope-operator.v1.17.4   IBM NamespaceScope Operator   1.17.4               Succeeded

    NAME                                DISPLAY            VERSION   REPLACES   PHASE
    ibm-platform-api-operator.v3.25.4   IBM Platform API   3.25.4               Succeeded

    NAME                      DISPLAY           VERSION   REPLACES   PHASE
    ibm-zen-operator.v1.8.5   IBM Zen Service   1.8.5                Succeeded

    NAME                                           DISPLAY                                VERSION   REPLACES   PHASE
    operand-deployment-lifecycle-manager.v1.21.4   Operand Deployment Lifecycle Manager   1.21.4               Succeeded

    ______________________________________________________________
    Subscriptions from cp4waiops namespace:

    NAME                 PACKAGE              SOURCE                 CHANNEL
    aimanager-operator   aimanager-operator   ibm-operator-catalog   v3.7

    NAME                 PACKAGE              SOURCE                 CHANNEL
    aiopsedge-operator   aiopsedge-operator   ibm-operator-catalog   v3.7

    NAME           PACKAGE        SOURCE                 CHANNEL
    asm-operator   asm-operator   ibm-operator-catalog   v3.7

    NAME                     PACKAGE                  SOURCE                 CHANNEL
    ibm-aiops-orchestrator   ibm-aiops-orchestrator   ibm-operator-catalog   v3.7

    NAME                                                             PACKAGE          SOURCE                 CHANNEL
    ibm-automation-v1.3-ibm-operator-catalog-openshift-marketplace   ibm-automation   ibm-operator-catalog   v1.3

    NAME                                                                  PACKAGE               SOURCE                 CHANNEL
    ibm-automation-core-v1.3-ibm-operator-catalog-openshift-marketplace   ibm-automation-core   ibm-operator-catalog   v1.3

    NAME                                                                             PACKAGE                          SOURCE                 CHANNEL
    ibm-automation-eventprocessing-v1.3-ibm-operator-catalog-openshift-marketplace   ibm-automation-eventprocessing   ibm-operator-catalog   v1.3

    NAME                                                                     PACKAGE                  SOURCE                 CHANNEL
    ibm-automation-elastic-v1.3-ibm-operator-catalog-openshift-marketplace   ibm-automation-elastic   ibm-operator-catalog   v1.3

    NAME                                                                   PACKAGE                SOURCE                 CHANNEL
    ibm-automation-flink-v1.3-ibm-operator-catalog-openshift-marketplace   ibm-automation-flink   ibm-operator-catalog   v1.3

    NAME                                                                           PACKAGE                       SOURCE                 CHANNEL
    ibm-common-service-operator-v3.23-ibm-operator-catalog-openshift-marketplace   ibm-common-service-operator   ibm-operator-catalog   v3.23

    NAME                  PACKAGE               SOURCE                 CHANNEL
    ibm-management-kong   ibm-management-kong   ibm-operator-catalog   v3.7

    NAME                           PACKAGE                        SOURCE                 CHANNEL
    ibm-watson-aiops-ui-operator   ibm-watson-aiops-ui-operator   ibm-operator-catalog   v3.7
    
    NAME             PACKAGE           SOURCE                 CHANNEL
    ir-ai-operator   ibm-aiops-ir-ai   ibm-operator-catalog   v3.7

    NAME               PACKAGE             SOURCE                 CHANNEL
    ir-core-operator   ibm-aiops-ir-core   ibm-operator-catalog   v3.7

    NAME                    PACKAGE                  SOURCE                 CHANNEL
    ir-lifecycle-operator   ibm-aiops-ir-lifecycle   ibm-operator-catalog   v3.7

    NAME    PACKAGE                              SOURCE                 CHANNEL
    redis   ibm-cloud-databases-redis-operator   ibm-operator-catalog   v1.6

    NAME    PACKAGE              SOURCE                 CHANNEL
    vault   ibm-vault-operator   ibm-operator-catalog   v3.7

    ______________________________________________________________
    Subscriptions from ibm-common-services namespace:

    NAME                      PACKAGE                   SOURCE                 CHANNEL
    cloud-native-postgresql   cloud-native-postgresql   ibm-operator-catalog   stable

    NAME                        PACKAGE                     SOURCE                 CHANNEL
    ibm-cert-manager-operator   ibm-cert-manager-operator   ibm-operator-catalog   v3.23

    NAME                          PACKAGE                       SOURCE                 CHANNEL
    ibm-common-service-operator   ibm-common-service-operator   ibm-operator-catalog   v3.23

    NAME                    PACKAGE                     SOURCE                 CHANNEL
    ibm-commonui-operator   ibm-commonui-operator-app   ibm-operator-catalog   v3.23

    NAME                          PACKAGE                       SOURCE                 CHANNEL
    ibm-crossplane-operator-app   ibm-crossplane-operator-app   ibm-operator-catalog   v3.23

    NAME                                              PACKAGE                                           SOURCE                 CHANNEL
    ibm-crossplane-provider-kubernetes-operator-app   ibm-crossplane-provider-kubernetes-operator-app   ibm-operator-catalog   v3.23

    NAME                  PACKAGE               SOURCE                 CHANNEL
    ibm-events-operator   ibm-events-operator   ibm-operator-catalog   v3

    NAME               PACKAGE            SOURCE                 CHANNEL
    ibm-iam-operator   ibm-iam-operator   ibm-operator-catalog   v3.23

    NAME                         PACKAGE                          SOURCE                 CHANNEL
    ibm-ingress-nginx-operator   ibm-ingress-nginx-operator-app   ibm-operator-catalog   v3.23

    NAME                     PACKAGE                      SOURCE                 CHANNEL
    ibm-licensing-operator   ibm-licensing-operator-app   ibm-operator-catalog   v3.23

    NAME                              PACKAGE                               SOURCE                 CHANNEL
    ibm-management-ingress-operator   ibm-management-ingress-operator-app   ibm-operator-catalog   v3.23

    NAME                   PACKAGE                    SOURCE                 CHANNEL
    ibm-mongodb-operator   ibm-mongodb-operator-app   ibm-operator-catalog   v3.23

    NAME                           PACKAGE                        SOURCE                 CHANNEL
    ibm-namespace-scope-operator   ibm-namespace-scope-operator   ibm-operator-catalog   v3.23

    NAME                        PACKAGE                         SOURCE                 CHANNEL
    ibm-platform-api-operator   ibm-platform-api-operator-app   ibm-operator-catalog   v3.23

    NAME               PACKAGE            SOURCE                 CHANNEL
    ibm-zen-operator   ibm-zen-operator   ibm-operator-catalog   v3.23

    NAME                                       PACKAGE    SOURCE                 CHANNEL
    operand-deployment-lifecycle-manager-app   ibm-odlm   ibm-operator-catalog   v3.23

    ______________________________________________________________
    OperandRequest instances:

    NAMESPACE   NAME             PHASE     CREATED AT
    cp4waiops   aiopsedge-base   Running   2023-06-23T00:20:32Z

    NAMESPACE   NAME           PHASE     CREATED AT
    cp4waiops   aiopsedge-cs   Running   2023-06-23T00:20:32Z

    NAMESPACE   NAME                PHASE     CREATED AT
    cp4waiops   iaf-core-operator   Running   2023-06-23T00:06:53Z

    NAMESPACE   NAME                           PHASE     CREATED AT
    cp4waiops   iaf-eventprocessing-operator   Running   2023-06-23T00:06:46Z

    NAMESPACE   NAME           PHASE     CREATED AT
    cp4waiops   iaf-operator   Running   2023-06-23T00:06:46Z

    NAMESPACE   NAME         PHASE     CREATED AT
    cp4waiops   iaf-system   Running   2023-06-23T00:19:14Z

    NAMESPACE   NAME                        PHASE     CREATED AT
    cp4waiops   iaf-system-common-service   Running   2023-06-23T00:12:59Z

    NAMESPACE   NAME                                  PHASE     CREATED AT
    cp4waiops   operandrequest-kafkauser-iaf-system   Running   2023-06-23T01:32:14Z

    NAMESPACE   NAME                   PHASE     CREATED AT
    cp4waiops   ibm-aiops-ai-manager   Running   2023-06-23T00:12:55Z

    NAMESPACE   NAME                         PHASE     CREATED AT
    cp4waiops   ibm-aiops-aiops-foundation   Running   2023-06-23T00:12:55Z

    NAMESPACE   NAME              PHASE     CREATED AT
    cp4waiops   ibm-iam-service   Running   2023-06-23T01:17:09Z

    NAMESPACE             NAME                   PHASE     CREATED AT
    ibm-common-services   ibm-commonui-request   Running   2023-06-23T00:13:49Z

    NAMESPACE             NAME              PHASE     CREATED AT
    ibm-common-services   ibm-iam-request   Running   2023-06-23T00:13:49Z

    NAMESPACE             NAME                  PHASE     CREATED AT
    ibm-common-services   ibm-mongodb-request   Running   2023-06-23T00:15:13Z

    NAMESPACE             NAME                 PHASE     CREATED AT
    ibm-common-services   management-ingress   Running   2023-06-23T00:15:14Z

    NAMESPACE             NAME                   PHASE     CREATED AT
    ibm-common-services   platform-api-request   Running   2023-06-23T00:15:16Z
    
    ______________________________________________________________
    ODLM pod current status:

    ibm-common-services                                operand-deployment-lifecycle-manager-6df747945d-lqjn4             1/1     Running                  0              36h
    ______________________________________________________________
    Orchestrator pod current status:

    cp4waiops                                          ibm-aiops-orchestrator-controller-manager-d5f44c95d-jj7nm         1/1     Running                  0              36h

## URLとパスワードの取得
インストールの成功を確認後、URLとパスワードを取得


### パスワード取得

    oc -n ibm-common-services get secret platform-auth-idp-credentials -o jsonpath='{.data.admin_password}' | base64 -d

出力結果

    [root@kurosaway ~]# oc -n ibm-common-services get secret platform-auth-idp-credentials -o jsonpath='{.data.admin_password}' | base64 -d
    yourpasswordishogehoge

### URL取得

    oc get route -n cp4waiops cpd -o jsonpath='{.spec.host}'

出力結果

    [root@kurosaway ~]# oc get route -n cp4waiops cpd -o jsonpath='{.spec.host}'
    youraiopsurlsishogehoge.com

## ログインする
URLにWebブラウザでアクセス後、
admin/yourpasswordでログイン

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/293016/f58bcbb9-240f-9578-988b-58f3ea9ec81f.png)

お疲れ様でした。