Skip to content
This repository has been archived by the owner on May 4, 2024. It is now read-only.

Latest commit

 

History

History
74 lines (69 loc) · 4.6 KB

README.md

File metadata and controls

74 lines (69 loc) · 4.6 KB

Cloud Pak for Data (CPD) Disaster Recovery Tests

Clusters ibm-common-services and cpd-operators protection CPD deploy steps CPD undeploy method Hook execution Test description VRG file Test results Slack link VRG timestamp
1 VRGs 1-5 CPD undeploy procedure VRGs derived from recipes w/ labelSelectors present vrgs-cpd-labels.yaml
1 VRGs 1-5 CPD undeploy procedure VRGs derived from recipes w/ labelSelectors absent vrgs-cpd.yaml 4 of 8 pods ready https://ibm-research.slack.com/archives/G01EC1VVA56/p1661300185045649
1 VRGs 1 CPD undeploy procedure KubeObjectProtection: {} vrgs-cpd-everything-namespaced.yaml
1 VRGs 1 CPD undeploy procedure KubeObjectProtection: includeClusterResources: true vrgs-cpd-everything.yaml https://ibm-research.slack.com/archives/G01EC1VVA56/p1661445646846479
1 none 1-11 (new steps added) Offline procedure: Delete namespace, remove finalizers delete-cpd-instance.sh options:
  • VRG spec 1, hook, VRG spec 2
  • velero hooks
  • SPP method?
  • other, use option 1 in test
test procedure vrg-capture.yaml vrg-restore-1.yaml vrg-restore-2.yaml test result https://ibm-research.slack.com/archives/G01EC1VVA56/p1661795759986199 https://ibm-research.slack.com/archives/G01EC1VVA56/p1661796307489459 https://ibm-research.slack.com/archives/G01EC1VVA56/p1661796526936669
2 cpd-br tool? 1-11
1 wordpress testing N/A N/A N/A test procedure vrg test result timestamp

CPD deploy steps:

  1. create cp4d foundation services
  2. create ws operators
  3. create db2wh operators
  4. create wkc operator
  5. create cp4d
  6. create ws service
  7. create db2wh service
  8. create wkc service
  9. run ws app
  10. run db2wh app
  11. run wkc app

Hook setup and execution

Questions for Andy

  1. Which github.ibm.com organization and repos are the CPD code stored in?
    1. github.ibm.com/IBMPrivateCloud?
    2. How can we get read access to them?
    3. Where are the recipe hook scripts located?
     - command: '["/cpdbr-scripts/cpdops/files/cpd-operators.sh", "backup", "--backup-iam-data",
         "--operators-namespace", "${PARENT_NAMESPACE}", "--foundation-namespace",
         "${FOUNDATION_NAMESPACE}"]'
       container: main
       name: operators-backup
       timeout: 600
     - command: '["/cpdbr-scripts/cpdops/files/cpd-operators.sh", "restore", "--operators-namespace",
         "${PARENT_NAMESPACE}", "--foundation-namespace", "${FOUNDATION_NAMESPACE}"]'
       container: main
       name: operators-restore
       timeout: 3600
     - command: '["/cpdbr-scripts/cpdbr/checkpoint_create.sh", "--include-namespaces=${GROUP.cpd-instance-resources.namespaces}"]'
       container: main
       name: checkpoint
       timeout: 1800
     - command: '["/cpdbr-scripts/cpdbr/checkpoint_backup_prehooks.sh", "--include-namespaces=${GROUP.cpd-instance-resources.namespaces}"]'
       container: main
       name: pre-backup
       timeout: 600
     - command: '["/cpdbr-scripts/cpdbr/checkpoint_backup_posthooks.sh", "--include-namespaces=${GROUP.cpd-instance-resources.namespaces}"]'
       container: main
       name: post-backup
       timeout: 600
     - command: '["/cpdbr-scripts/cpdbr/checkpoint_restore_preworkloadhooks.sh", "--include-namespaces=${GROUP.cpd-instance-resources.namespaces}"]'
       container: main
       name: pre-workload
       timeout: 600
     - command: '["/cpdbr-scripts/cpdbr/checkpoint_restore_posthooks.sh", "--include-namespaces=${GROUP.cpd-instance-resources.namespaces}"]'
       container: main
       name: post-workload
       timeout: 3600
  2. Have the recipes been tested?
    1. for all 3 namespaces?
      1. ibm-common-services
      2. cpd-operators
      3. cpd-instance
    2. The ibm-common-services/cpd-operators recipe seems to include rolebindings, but not roles or clusterroles