diff --git a/.wordlist.txt b/.wordlist.txt index 97e448751..a2073ffe1 100644 --- a/.wordlist.txt +++ b/.wordlist.txt @@ -96,6 +96,7 @@ bls bluegreen bluegreenpause bootstrapservers +boutique bpxrficyexamplekey brms bt @@ -790,6 +791,7 @@ prereq prereqs prerequisitesrequirements privatekey +privatevm processserver productization productize @@ -984,6 +986,7 @@ targetport tbd tcp tdx +techdemo techpreview tee tei diff --git a/content/patterns/ramendr-starter-kit/_index.adoc b/content/patterns/ramendr-starter-kit/_index.adoc index da13c5d85..89622feae 100644 --- a/content/patterns/ramendr-starter-kit/_index.adoc +++ b/content/patterns/ramendr-starter-kit/_index.adoc @@ -52,7 +52,7 @@ selection, BYOC, required secrets, and verification steps. [id="install-variants"] === Install variants -The pattern ships three install variants under `variants/` in the repository. Set `main.variant` in +The pattern ships four install variants under `variants/` in the repository. Set `main.variant` in link:https://github.com/validatedpatterns/ramendr-starter-kit/blob/main/values-global.yaml[`values-global.yaml`] before install. The default is `odf`. @@ -60,8 +60,9 @@ before install. The default is `odf`. |=== | Variant | `main.variant` | Purpose | `odf` | `odf` (default) | Full {ocp-data-short} Regional DR with {VirtProductName} workloads, MirrorPeer, and failover-capable VMs +| `techdemo` | `techdemo` | Full {ocp-data-short} Regional DR with {VirtProductName}, plus {ansible} (AAP) config-as-code. Deploys the Boutique demo workload on spoke clusters, backed by a Redis RHEL VM, and a Windows Server 2022 desktop VM | `drpartner-s4` | `drpartner-s4` | Partner CSI foundation with hub S4 object storage: OADP, {VirtProductName}, Ramen/Multicluster Orchestrator; infrastructure DRClusters and a `2m-novm` DRPolicy without DRPC or VMs; Submariner disabled -| `drpartner-minimal` | `drpartner-minimal` | Partner CSI foundation without S4, Submariner, or DRCluster sync/validation: OADP, {VirtProductName}, and Ramen/Multicluster Orchestrator only (Hive or BYOC bring-up) +| `minimal` | `minimal` | Partner CSI foundation without S4, Submariner, or DRCluster sync/validation: OADP, {VirtProductName}, and Ramen/Multicluster Orchestrator only (Hive or BYOC bring-up) |=== Spoke configuration files nest under each variant as `variants//values-.yaml`. @@ -87,6 +88,7 @@ This pattern uses OpenShift Virtualization (the productization of Kubevirt) to s * Red Hat OpenShift GitOps (ArgoCD) * OpenShift Virtualization (Kubevirt) * Red Hat Enterprise Linux 9 (on the VMs) +* {rh-ansible} (`techdemo` variant) ==== Other technologies this pattern Uses @@ -95,14 +97,14 @@ This pattern uses OpenShift Virtualization (the productization of Kubevirt) to s === Architecture overview -The default `odf` variant deploys a three-cluster Regional DR layout with {ocp-data-short}, Submariner, DRPC-protected VMs, and failover workflows documented in link:/patterns/ramendr-starter-kit/getting-started/[Getting started]. +The default `odf` variant deploys a three-cluster Regional DR layout with {ocp-data-short}, Submariner, DRPC-protected VMs, and failover workflows documented in link:/patterns/ramendr-starter-kit/getting-started/[Getting started]. The `techdemo` variant uses the same Regional DR foundation and adds {ansible}, Boutique, a Redis RHEL VM, and a Windows desktop VM. .ramendr-architecture-diagram image::/images/ramendr-starter-kit/ramendr-architecture-odf.png[ramendr-starter-kit-architecture,title="RamenDR Starter Kit architecture (odf)"] draw.io source: link:/images/ramendr-starter-kit/ramendr-architecture-odf.drawio[`ramendr-architecture-odf.drawio`] -Partner variants use different S3 and replication models. See link:/patterns/ramendr-starter-kit/architecture/[Architecture] for per-variant schematics and draw.io sources, and link:/patterns/ramendr-starter-kit/connectivity/[Connectivity] for hub-to-managed network paths and ports. +Partner variants (`drpartner-s4`, `minimal`) use different S3 and replication models. See link:/patterns/ramendr-starter-kit/architecture/[Architecture] for per-variant schematics and draw.io sources, and link:/patterns/ramendr-starter-kit/connectivity/[Connectivity] for hub-to-managed network paths and ports. === Next steps diff --git a/content/patterns/ramendr-starter-kit/architecture.adoc b/content/patterns/ramendr-starter-kit/architecture.adoc index 44255b13e..17f2350b9 100644 --- a/content/patterns/ramendr-starter-kit/architecture.adoc +++ b/content/patterns/ramendr-starter-kit/architecture.adoc @@ -28,15 +28,20 @@ Each install variant has a full hub/spoke schematic exported as PNG from draw.io | link:/images/ramendr-starter-kit/ramendr-architecture-odf.png[`ramendr-architecture-odf.png`] | link:/images/ramendr-starter-kit/ramendr-architecture-odf.drawio[`ramendr-architecture-odf.drawio`] +| `ramendr-architecture-techdemo` +| `techdemo` +| link:/images/ramendr-starter-kit/ramendr-architecture-techdemo.png[`ramendr-architecture-techdemo.png`] +| link:/images/ramendr-starter-kit/ramendr-architecture-techdemo.drawio[`ramendr-architecture-techdemo.drawio`] + | `ramendr-architecture-drpartner-s4` | `drpartner-s4` | link:/images/ramendr-starter-kit/ramendr-architecture-drpartner-s4.png[`ramendr-architecture-drpartner-s4.png`] | link:/images/ramendr-starter-kit/ramendr-architecture-drpartner-s4.drawio[`ramendr-architecture-drpartner-s4.drawio`] -| `ramendr-architecture-drpartner-minimal` -| `drpartner-minimal` -| link:/images/ramendr-starter-kit/ramendr-architecture-drpartner-minimal.png[`ramendr-architecture-drpartner-minimal.png`] -| link:/images/ramendr-starter-kit/ramendr-architecture-drpartner-minimal.drawio[`ramendr-architecture-drpartner-minimal.drawio`] +| `ramendr-architecture-minimal` +| `minimal` +| link:/images/ramendr-starter-kit/ramendr-architecture-minimal.png[`ramendr-architecture-minimal.png`] +| link:/images/ramendr-starter-kit/ramendr-architecture-minimal.drawio[`ramendr-architecture-minimal.drawio`] | `hub-managed-connectivity` | All variants @@ -54,6 +59,21 @@ image::/images/ramendr-starter-kit/ramendr-architecture-odf.png[RamenDR architec draw.io source: link:/images/ramendr-starter-kit/ramendr-architecture-odf.drawio[`ramendr-architecture-odf.drawio`] +[id="architecture-techdemo"] +=== `techdemo` schematic + +Extends the `odf` Regional DR layout with {ansible} on the hub and demo workloads on the managed clusters. Hub connectivity, {ocp-data-short}, Submariner, MirrorPeer, and DRPC behavior match `odf`. Additional components: + +* {ansible} Operator, AAP instance, and `aap-config` application driven by the link:https://github.com/validatedpatterns-demos/ramendr-techdemo-config-as-code[`ramendr-techdemo-config-as-code`] repository +* Boutique demo application on spoke clusters, with Redis configured as an external service pointing at the Redis VM +* Redis RHEL 9 VM (`rhel9-redis-001`) for Boutique and AAP Redis discovery playbooks +* Windows Server 2022 desktop VM pulled from a private Quay image (requires `privatevm-credentials`) + +.ramendr-architecture-techdemo +image::/images/ramendr-starter-kit/ramendr-architecture-techdemo.png[RamenDR architecture for the techdemo variant,title="RamenDR Starter Kit architecture (techdemo)"] + +draw.io source: link:/images/ramendr-starter-kit/ramendr-architecture-techdemo.drawio[`ramendr-architecture-techdemo.drawio`] + [id="architecture-drpartner-s4"] === `drpartner-s4` schematic @@ -64,15 +84,15 @@ image::/images/ramendr-starter-kit/ramendr-architecture-drpartner-s4.png[RamenDR draw.io source: link:/images/ramendr-starter-kit/ramendr-architecture-drpartner-s4.drawio[`ramendr-architecture-drpartner-s4.drawio`] -[id="architecture-drpartner-minimal"] -=== `drpartner-minimal` schematic +[id="architecture-minimal"] +=== `minimal` schematic {rh-rhacm-first} and partner operators only. S3-compatible storage for OpenShift ADP is bring-your-own; this variant does not deploy S4. DRPolicies live on the hub and become volume replications and volume group replications on the managed clusters. The pattern does not create DR CRs. -.ramendr-architecture-drpartner-minimal -image::/images/ramendr-starter-kit/ramendr-architecture-drpartner-minimal.png[RamenDR architecture for the drpartner-minimal variant,title="RamenDR Starter Kit architecture (drpartner-minimal)"] +.ramendr-architecture-minimal +image::/images/ramendr-starter-kit/ramendr-architecture-minimal.png[RamenDR architecture for the minimal variant,title="RamenDR Starter Kit architecture (minimal)"] -draw.io source: link:/images/ramendr-starter-kit/ramendr-architecture-drpartner-minimal.drawio[`ramendr-architecture-drpartner-minimal.drawio`] +draw.io source: link:/images/ramendr-starter-kit/ramendr-architecture-minimal.drawio[`ramendr-architecture-minimal.drawio`] [id="tls-and-ca"] == TLS and CA (current implementation) @@ -87,7 +107,7 @@ Certificate handling is delivered by external charts deployed via Argo CD, not l | Differential CA bundle for cluster API/ingress CAs (all variants) | **opp-policy-chart** -| `s3CaInjector` injects `caCertificates` on Ramen `s3StoreProfiles` (`odf`, `drpartner-s4`) +| `s3CaInjector` injects `caCertificates` on Ramen `s3StoreProfiles` (`odf`, `techdemo`, `drpartner-s4`) |=== Chart overrides live in the pattern repository: diff --git a/content/patterns/ramendr-starter-kit/connectivity.adoc b/content/patterns/ramendr-starter-kit/connectivity.adoc index 1df3d0152..75b58b5ca 100644 --- a/content/patterns/ramendr-starter-kit/connectivity.adoc +++ b/content/patterns/ramendr-starter-kit/connectivity.adoc @@ -12,29 +12,30 @@ include::modules/comm-attributes.adoc[] [id="ramendr-connectivity"] = Hub-to-managed connectivity -Three install variants (`main.variant` in `values-global.yaml`): +Four install variants (`main.variant` in `values-global.yaml`): * **odf** (default) — full {ocp-data-short} Regional DR; MCG S3 on managed clusters; Submariner required for Ceph RBD replication +* **techdemo** — same hub-to-managed connectivity as `odf`, plus Boutique, a Redis RHEL VM, a Windows desktop VM, and hub {ansible} * **drpartner-s4** — partner CSI + hub S4; array-native volume replication; **Submariner disabled** (`submariner.enabled: false` in `opp-policy`) -* **drpartner-minimal** — partner CSI operators and Hive/BYOC plumbing only; no S4, DRClusters, or Submariner +* **minimal** — partner CSI operators and Hive/BYOC plumbing only; no S4, DRClusters, or Submariner Draw.io source with one tab per variant: link:/images/ramendr-starter-kit/hub-managed-connectivity.drawio[`hub-managed-connectivity.drawio`]. [id="variant-comparison"] == Variant comparison -[cols="2,1,1,1",options="header"] +[cols="2,1,1,1,1",options="header"] |=== -| Concern | odf | drpartner-s4 | drpartner-minimal - -| S3 / DR metadata | MCG buckets on each managed cluster | Hub S4 buckets (`vp-s4-storage`) | None -| Hub S3 reachability | Hub → each managed MCG endpoint | Hub + managed → hub S4 | n/a -| Peer S3 | Managed ↔ managed object-bucket metadata | Not used | Not used -| Volume replication | {ocp-data-short}/Ceph over Submariner | VSA ↔ VSA (array-native) | External / out of pattern -| Submariner | Required for Regional-DR volumes | **Disabled by default** | **Disabled** -| DRClusters / DRPolicy | MirrorPeer / MCO / regionaldr | regionaldr (`infrastructureEnabled`) | None -| DRPC / VMs | Yes (regionaldr resources) | No (`resourcesEnabled: false`) | No -| {rh-rhacm} + DNS | Required | Required | Required +| Concern | odf | techdemo | drpartner-s4 | minimal + +| S3 / DR metadata | MCG buckets on each managed cluster | Same as `odf` | Hub S4 buckets (`vp-s4-storage`) | None +| Hub S3 reachability | Hub → each managed MCG endpoint | Same as `odf` | Hub + managed → hub S4 | n/a +| Peer S3 | Managed ↔ managed object-bucket metadata | Same as `odf` | Not used | Not used +| Volume replication | {ocp-data-short}/Ceph over Submariner | Same as `odf` | VSA ↔ VSA (array-native) | External / out of pattern +| Submariner | Required for Regional-DR volumes | Required | **Disabled by default** | **Disabled** +| DRClusters / DRPolicy | MirrorPeer / MCO / regionaldr | Same as `odf` | regionaldr (`infrastructureEnabled`) | None +| DRPC / VMs / demo apps | Yes (regionaldr resources) | Yes + Boutique, Redis VM, Windows VM | No (`resourcesEnabled: false`) | No +| {rh-rhacm} + DNS | Required | Required | Required | Required |=== [id="connectivity-odf"] @@ -59,6 +60,20 @@ flowchart LR ++++ +[id="connectivity-techdemo"] +== `techdemo` + +Hub-to-managed connectivity matches `odf`: DNS-resolvable managed APIs, MCG S3 on each managed cluster, and **Submariner required** for {ocp-data-short} RBD replication. Demo additions do not change the Regional DR network paths: + +* Boutique on spokes uses Redis at `rhel9-redis-001.gitops-vms.svc` (in-cluster service to the Redis VM) +* Windows desktop VM uses RDP/SSH ports published by the VM service +* Hub {ansible} talks to managed clusters over the same API paths as {rh-rhacm} + +.ramendr-hub-managed-connectivity-techdemo +image::/images/ramendr-starter-kit/hub-managed-connectivity-techdemo.png[techdemo hub-to-managed connectivity,title="techdemo connectivity"] + +PNG from draw.io: link:/images/ramendr-starter-kit/hub-managed-connectivity-techdemo.png[`hub-managed-connectivity-techdemo.png`]. SVG source: link:/images/ramendr-starter-kit/techdemo-connectivity.svg[`techdemo-connectivity.svg`]. draw.io source: link:/images/ramendr-starter-kit/hub-managed-connectivity.drawio[`hub-managed-connectivity.drawio`] (**techdemo** tab). + [id="connectivity-drpartner-s4"] == `drpartner-s4` @@ -83,22 +98,22 @@ flowchart LR No managed ↔ managed S3 and no Submariner in `drpartner-s4`. -[id="connectivity-drpartner-minimal"] -== `drpartner-minimal` +[id="connectivity-minimal"] +== `minimal` {rh-rhacm-first} needs DNS resolvability of managed cluster APIs. The pattern deploys partner operators (MCO/Ramen, {VirtProductName}, OADP) and Hive/BYOC plumbing only — **no `vp-s4-storage`**, no DRClusters, no `s3StoreProfiles`, and **no Submariner**. Volume DR and S3 metadata are outside this pattern. -.ramendr-drpartner-minimal-connectivity -image::/images/ramendr-starter-kit/drpartner-minimal-connectivity.png[drpartner-minimal hub-to-managed connectivity,title="drpartner-minimal connectivity"] +.ramendr-minimal-connectivity +image::/images/ramendr-starter-kit/minimal-connectivity.png[minimal hub-to-managed connectivity,title="minimal connectivity"] -PNG from draw.io: link:/images/ramendr-starter-kit/hub-managed-connectivity-drpartner-minimal.png[`hub-managed-connectivity-drpartner-minimal.png`]. SVG source: link:/images/ramendr-starter-kit/drpartner-minimal-connectivity.svg[`drpartner-minimal-connectivity.svg`]. draw.io source: link:/images/ramendr-starter-kit/hub-managed-connectivity.drawio[`hub-managed-connectivity.drawio`] (**drpartner-minimal** tab). +PNG from draw.io: link:/images/ramendr-starter-kit/hub-managed-connectivity-minimal.png[`hub-managed-connectivity-minimal.png`]. SVG source: link:/images/ramendr-starter-kit/minimal-connectivity.svg[`minimal-connectivity.svg`]. draw.io source: link:/images/ramendr-starter-kit/hub-managed-connectivity.drawio[`hub-managed-connectivity.drawio`] (**minimal** tab). [id="shared-requirements"] == Shared requirements * **{rh-rhacm} + DNS** — Hub must resolve each managed cluster API hostname, then connect over HTTPS 443 / kube API 6443. -* **TLS / CA trust** — Trust custom certs for S4 (`drpartner-s4`) or MCG endpoints (`odf`) via `opp-policy` `s3CaInjector` where S3 is used. -* **Globalnet** — For `odf`, enable if managed cluster/service CIDRs overlap. +* **TLS / CA trust** — Trust custom certs for S4 (`drpartner-s4`) or MCG endpoints (`odf`, `techdemo`) via `opp-policy` `s3CaInjector` where S3 is used. +* **Globalnet** — For `odf` and `techdemo`, enable if managed cluster/service CIDRs overlap. [id="ports"] == Ports @@ -110,10 +125,12 @@ PNG from draw.io: link:/images/ramendr-starter-kit/hub-managed-connectivity-drpa | Hub DNS → managed API | All variants | DNS UDP/TCP 53 | Hub ↔ managed API | All variants | HTTPS 443; kube API 6443 | Clients → hub S4 | `drpartner-s4` | HTTPS 443 -| Hub / peers → managed MCG | `odf` | HTTPS 443 -| Cluster ↔ local VSA | `drpartner-s4`, `drpartner-minimal` | Vendor CSI / iSCSI / NVMe / mgmt -| VSA ↔ VSA replication | `drpartner-s4`, `drpartner-minimal` | Vendor replication ports -| Submariner | `odf` only | UDP 4500 / 4800 / 4490 +| Hub / peers → managed MCG | `odf`, `techdemo` | HTTPS 443 +| Boutique → Redis VM | `techdemo` | TCP 6379 (in-cluster service) +| Clients → Windows VM | `techdemo` | TCP 22 (SSH); TCP 389 (RDP as published) +| Cluster ↔ local VSA | `drpartner-s4`, `minimal` | Vendor CSI / iSCSI / NVMe / mgmt +| VSA ↔ VSA replication | `drpartner-s4`, `minimal` | Vendor replication ports +| Submariner | `odf`, `techdemo` | UDP 4500 / 4800 / 4490 |=== [id="related-diagrams"] @@ -127,25 +144,33 @@ PNG from draw.io: link:/images/ramendr-starter-kit/hub-managed-connectivity-drpa | link:/images/ramendr-starter-kit/ramendr-architecture-odf.png[`ramendr-architecture-odf.png`] | link:/images/ramendr-starter-kit/ramendr-architecture-odf.drawio[`ramendr-architecture-odf.drawio`] +| Full component schematic (`techdemo`) +| link:/images/ramendr-starter-kit/ramendr-architecture-techdemo.png[`ramendr-architecture-techdemo.png`] +| link:/images/ramendr-starter-kit/ramendr-architecture-techdemo.drawio[`ramendr-architecture-techdemo.drawio`] + | Full component schematic (`drpartner-s4`) | link:/images/ramendr-starter-kit/ramendr-architecture-drpartner-s4.png[`ramendr-architecture-drpartner-s4.png`] | link:/images/ramendr-starter-kit/ramendr-architecture-drpartner-s4.drawio[`ramendr-architecture-drpartner-s4.drawio`] -| Full component schematic (`drpartner-minimal`) -| link:/images/ramendr-starter-kit/ramendr-architecture-drpartner-minimal.png[`ramendr-architecture-drpartner-minimal.png`] -| link:/images/ramendr-starter-kit/ramendr-architecture-drpartner-minimal.drawio[`ramendr-architecture-drpartner-minimal.drawio`] +| Full component schematic (`minimal`) +| link:/images/ramendr-starter-kit/ramendr-architecture-minimal.png[`ramendr-architecture-minimal.png`] +| link:/images/ramendr-starter-kit/ramendr-architecture-minimal.drawio[`ramendr-architecture-minimal.drawio`] | Connectivity overview (`odf`) | link:/images/ramendr-starter-kit/hub-managed-connectivity-odf.png[`hub-managed-connectivity-odf.png`] | link:/images/ramendr-starter-kit/hub-managed-connectivity.drawio[`hub-managed-connectivity.drawio`] +| Connectivity overview (`techdemo`) +| link:/images/ramendr-starter-kit/hub-managed-connectivity-techdemo.png[`hub-managed-connectivity-techdemo.png`] +| link:/images/ramendr-starter-kit/techdemo-connectivity.svg[`techdemo-connectivity.svg`] + | Connectivity overview (`drpartner-s4`) | link:/images/ramendr-starter-kit/hub-managed-connectivity-drpartner-s4.png[`hub-managed-connectivity-drpartner-s4.png`] | link:/images/ramendr-starter-kit/drpartner-s4-connectivity.svg[`drpartner-s4-connectivity.svg`] -| Connectivity overview (`drpartner-minimal`) -| link:/images/ramendr-starter-kit/hub-managed-connectivity-drpartner-minimal.png[`hub-managed-connectivity-drpartner-minimal.png`] -| link:/images/ramendr-starter-kit/drpartner-minimal-connectivity.svg[`drpartner-minimal-connectivity.svg`] +| Connectivity overview (`minimal`) +| link:/images/ramendr-starter-kit/hub-managed-connectivity-minimal.png[`hub-managed-connectivity-minimal.png`] +| link:/images/ramendr-starter-kit/minimal-connectivity.svg[`minimal-connectivity.svg`] |=== See also link:/patterns/ramendr-starter-kit/architecture/[Architecture] for TLS/CA handling and full schematic context. diff --git a/content/patterns/ramendr-starter-kit/getting-started.adoc b/content/patterns/ramendr-starter-kit/getting-started.adoc index 2657671a2..b59347dfa 100644 --- a/content/patterns/ramendr-starter-kit/getting-started.adoc +++ b/content/patterns/ramendr-starter-kit/getting-started.adoc @@ -162,7 +162,7 @@ Paste the path to your locally stored private and public keys. If you do not hav path: ~/pull_secret.json ---- -.. If you selected the `drpartner-s4` variant, add the two Vault secrets required for hub `vp-s4-storage`. Paths must match the chart overrides in `variants/drpartner-s4/values-drpartner-s4.yaml` (`s4UICredentials.vaultKey` and `s4APICredentials.vaultKey`). The `drpartner-minimal` variant does not deploy `vp-s4-storage` and does not need these secrets. +.. If you selected the `drpartner-s4` variant, add the two Vault secrets required for hub `vp-s4-storage`. Paths must match the chart overrides in `variants/drpartner-s4/values-drpartner-s4.yaml` (`s4UICredentials.vaultKey` and `s4APICredentials.vaultKey`). The `minimal` variant does not deploy `vp-s4-storage` and does not need these secrets. + [source,yaml] ---- @@ -193,6 +193,20 @@ Paste the path to your locally stored private and public keys. If you do not hav + External Secrets merges both Vault entries into Kubernetes Secret `s4-credentials` in the `vp-s4-storage` namespace. Defaults in `values-secret.yaml.template` use `s4admin` for the UI user and access key ID; the password and secret key can be generated when `onMissingValue: generate` and `vaultPolicies.advancedPolicy` are set in your secrets file. +.. If you selected the `techdemo` variant, add the `privatevm-credentials` Vault secret so the pattern can pull the Windows Server 2022 disk image from the private Quay repository referenced in `variants/techdemo/values-egv-dr.yaml`. The Vault path must be `secret/data/global/privatevm-credentials`. ++ +[source,yaml] +---- + - name: privatevm-credentials + vaultPrefixes: + - global + fields: + - name: accessKeyId + value: '' + - name: secretKey + value: '' +---- + .. Add kubeconfig secrets for each regional DR cluster. See link:#using-byoc[Using bring your own cluster (BYOC)]. If you instead plan to disable BYOC in favor of Hive-provisioned managed clusters, you can skip this step. + [source,yaml] @@ -376,6 +390,17 @@ image::/images/ramendr-starter-kit/ramendr-starter-kit-failover-cleanup-script.p .ramendr-starter-kit-failover-reprotected image::/images/ramendr-starter-kit/ramendr-starter-kit-reprotected.png[ramendr-starter-kit-reprotected,title="RamenDR Starter Kit Reprotected"] +[id="verifying-techdemo-variant"] +== Verifying the `techdemo` variant + +After sync, expect the following differences from the default `odf` variant. + +* Hub operators and applications match `odf` Regional DR (including `odf-dr` and `regional-dr`), plus {ansible} Operator, AAP instance, and `aap-config` applications. +* ACM Observability is not deployed (simplified demo install). +* The `regional-dr` application uses `variants/techdemo/values-egv-dr.yaml` instead of the default edge-gitops-vms overrides. +* Spoke workloads include the Boutique demo application with external Redis pointed at the `rhel9-redis-001` VM service, a Redis RHEL 9 VM (`role: redis`), and a Windows Server 2022 desktop VM (`role: desktop`). +* Protected applications and failover workflows match the `odf` verification steps above. Confirm Boutique, the Redis VM, and the Windows VM on the primary cluster under *Virtualization → VirtualMachines* and the Boutique namespace. + [id="verifying-partner-variants"] == Verifying partner variants @@ -389,7 +414,7 @@ After sync, expect the following differences for the partner install variants. * The `regional-dr` application runs with `ramen.infrastructureEnabled: true`. It creates DRClusters, a single `2m-novm` DRPolicy (no `2m-vm`), and upserts hub `s3StoreProfiles` with `ensureBuckets: false`. It does not deploy DRPC or VMs. * The `opp-policy` application injects `caCertificates` on S3 profiles only. -=== `drpartner-minimal` +=== `minimal` * Same partner operators and plumbing as `drpartner-s4`, but without `vp-s4-storage` or Submariner (`submariner.enabled: false` in `opp-policy`). * The `regional-dr` application runs with both `ramen.resourcesEnabled` and `ramen.infrastructureEnabled` set to `false`. No DRPolicy, DRClusters, S3 profile work, or DRPC/VM workloads are deployed. diff --git a/content/patterns/ramendr-starter-kit/installation-details.adoc b/content/patterns/ramendr-starter-kit/installation-details.adoc index efe96bfbf..9a638c38e 100644 --- a/content/patterns/ramendr-starter-kit/installation-details.adoc +++ b/content/patterns/ramendr-starter-kit/installation-details.adoc @@ -16,7 +16,7 @@ The pattern executes the following steps on the cluster. Hub and spoke chart val link:#variant-installation-differences[Variant installation differences]. . Apply Subscriptions and Applications to the hub cluster. -. Install {rh-rhacm-first}, {ocp-data-short}, and the {ocp-data-short} Multicluster Orchestrator on the hub cluster for the `odf` variant. Partner variants install {rh-rhacm-first}, Multicluster Orchestrator (Ramen), {VirtProductName}, and OADP without ODF StorageSystem or MirrorPeer. +. Install {rh-rhacm-first}, {ocp-data-short}, and the {ocp-data-short} Multicluster Orchestrator on the hub cluster for the `odf` and `techdemo` variants. The `techdemo` variant also installs {ansible}. Partner variants install {rh-rhacm-first}, Multicluster Orchestrator (Ramen), {VirtProductName}, and OADP without ODF StorageSystem or MirrorPeer. . Build managed clusters (`ocp-primary` and `ocp-secondary`) with Hive. .. The managed clusters have identical subscription and application configuration, so they are both in the `resilient` cluster group. . The `opp-policy` application is responsible for copying CA certificates to the following places: @@ -24,11 +24,11 @@ link:#variant-installation-differences[Variant installation differences]. .. Assigning this ConfigMap to the proxy cluster resource. .. Adding the certificate material to the `ramen-dr-cluster-operator` config in `openshift-dr-system`. . The `regional-dr` application is responsible for: -.. Ensuring ODF is set up properly (`odf` variant). -.. Installing Submariner add-ons on managed clusters (`odf` variant; disabled for partner variants). -.. Creating DRPolicy, MirrorPeer, DRPC, and Placement objects for RamenDR (`odf` variant). +.. Ensuring ODF is set up properly (`odf` and `techdemo` variants). +.. Installing Submariner add-ons on managed clusters (`odf` and `techdemo` variants; disabled for partner variants). +.. Creating DRPolicy, MirrorPeer, DRPC, and Placement objects for RamenDR (`odf` and `techdemo` variants). .. Creating DRClusters and hub `s3StoreProfiles` without DRPC or VMs (`drpartner-s4` variant). -.. Installing the VM workload on the primary cluster (`odf` variant). +.. Installing the VM workload on the primary cluster (`odf` variant: default RHEL VMs; `techdemo` variant: Redis RHEL VM, Windows desktop VM, and Boutique). .. Disabling sync on the `regional-dr` application after settlement to prevent potential conflicts later. [id="variant-installation-differences"] @@ -60,16 +60,17 @@ See link:/patterns/ramendr-starter-kit/getting-started/#using-byoc[Using bring y [id="variant-component-differences"] === Variant component differences -[cols="1,1,1,1",options="header"] +[cols="1,1,1,1,1",options="header"] |=== -| Component | `odf` | `drpartner-s4` | `drpartner-minimal` -| Hub DRClusters | MirrorPeer / Multicluster Orchestrator | `regional-dr` (`ramen.infrastructureEnabled`) | none -| Hub `s3StoreProfiles` | MirrorPeer / Multicluster Orchestrator | `regional-dr` upsert (`ensureBuckets: false`) | none -| S3 buckets | ODF | `vp-s4-storage` (`s4Role.buckets`) | none -| CA on profiles | `opp-policy` `s3CaInjector` | `opp-policy` `s3CaInjector` | n/a -| Submariner | enabled | disabled | disabled -| DRPolicy / DRPC / VMs | `2m-vm` DRPolicy, DRPC, VMs | `2m-novm` only; no DRPC or VMs | none -| `odf-dr` application | yes | no | no +| Component | `odf` | `techdemo` | `drpartner-s4` | `minimal` +| Hub DRClusters | MirrorPeer / Multicluster Orchestrator | same as `odf` | `regional-dr` (`ramen.infrastructureEnabled`) | none +| Hub `s3StoreProfiles` | MirrorPeer / Multicluster Orchestrator | same as `odf` | `regional-dr` upsert (`ensureBuckets: false`) | none +| S3 buckets | ODF | ODF | `vp-s4-storage` (`s4Role.buckets`) | none +| CA on profiles | `opp-policy` `s3CaInjector` | `opp-policy` `s3CaInjector` | `opp-policy` `s3CaInjector` | n/a +| Submariner | enabled | enabled | disabled | disabled +| DRPolicy / DRPC / VMs | `2m-vm` DRPolicy, DRPC, VMs | `2m-vm` DRPolicy, DRPC, Redis + Windows VMs, Boutique | `2m-novm` only; no DRPC or VMs | none +| {ansible} / Boutique | no | AAP + `aap-config` + Boutique | no | no +| `odf-dr` application | yes | yes | no | no |=== [id="variant-layout"] @@ -82,13 +83,19 @@ variants/ odf/ values-odf.yaml values-resilient.yaml # full ODF spoke BOM + techdemo/ + values-techdemo.yaml # ODF hub BOM + AAP + aap-config + values-resilient.yaml # ODF spoke BOM + Boutique namespace + values-egv-dr.yaml # Redis VM, Windows VM, Boutique overrides + values-aap-config-rdr.yaml + values-console-plugins-*.yaml drpartner-s4/ values-drpartner-s4.yaml values-resilient.yaml # partner spoke BOM (no ODF) values-regional-dr.yaml # infrastructureEnabled: DRClusters + 2m-novm only + hub s3StoreProfiles values-console-plugins-*.yaml - drpartner-minimal/ - values-drpartner-minimal.yaml # no vp-s4-storage + minimal/ + values-minimal.yaml # no vp-s4-storage values-resilient.yaml values-regional-dr.yaml # resourcesEnabled + infrastructureEnabled false values-opp-policy.yaml # submariner.enabled: false @@ -113,7 +120,7 @@ Chart overrides live in the pattern repository. For TLS/CA roles and certificate Designed to be run when you need to manually clean up resources from a "failed" cluster. Intended to be run with the kubeconfig from the hub cluster; it will determine where to -delete resources based on the current DRPC state. Applies to the `odf` variant. +delete resources based on the current DRPC state. Applies to the `odf` and `techdemo` variants. * `scripts/download-kubeconfigs.sh` @@ -148,7 +155,7 @@ ODF PVC replication to work. Deploys the VM workload to the primary cluster. It uses the Validated Patterns Helm chart but is not an ArgoCD application to avoid starting up resources on clusters where you do not want them running. -Thus it runs from the hub cluster. Applies to the `odf` variant. +Thus it runs from the hub cluster. Applies to the `odf` and `techdemo` variants (`techdemo` uses `variants/techdemo/values-egv-dr.yaml`). * `charts/hub/rdr/scripts/drpc-health-check-argocd-sync-disable.sh` diff --git a/modules/ramendr-starter-kit/metadata-ramendr-starter-kit.adoc b/modules/ramendr-starter-kit/metadata-ramendr-starter-kit.adoc index 682c0715b..e5e0cc5e1 100644 --- a/modules/ramendr-starter-kit/metadata-ramendr-starter-kit.adoc +++ b/modules/ramendr-starter-kit/metadata-ramendr-starter-kit.adoc @@ -2,7 +2,7 @@ // Do not edit manually! :metadata_version: 1.0 :name: ramendr-starter-kit -:description: RamenDR Regional DR with Virtualization starter kit (odf, drpartner-s4, and drpartner-minimal variants) +:description: RamenDR Regional DR with Virtualization starter kit (odf, drpartner-s4, minimal, and techdemo variants) :pattern_version: 1.3 :display_name: RamenDR Starter Kit :repo_url: https://github.com/validatedpatterns/ramendr-starter-kit @@ -23,4 +23,4 @@ :extra_features_hypershift_support: false :extra_features_spoke_support: true :external_requirements: -:variants: [{"name"=>"odf", "default"=>true, "description"=>"Baseline full ODF Regional DR with Virtualization"}, {"name"=>"drpartner-s4", "description"=>"Partner CSI foundation with hub S4 object storage — OADP, OCP-V, preview RHDR; infrastructure DRPolicy/DRClusters without DRPC/VMs. Uses preview builds of RHDR (for testing only, not production)"}, {"name"=>"drpartner-minimal", "description"=>"Partner CSI foundation without S4, Submariner, or DRCluster sync/validation — OADP, OCP-V, preview RHDR only (Hive/BYOC bring-up; byoc true by default). Uses preview builds of RHDR (for testing only, not production)"}] +:variants: [{"name"=>"odf", "default"=>true, "description"=>"Baseline full ODF Regional DR with Virtualization"}, {"name"=>"drpartner-s4", "description"=>"Partner CSI foundation with hub S4 object storage — OADP, OCP-V, preview RHDR; infrastructure DRPolicy/DRClusters without DRPC/VMs. Uses preview builds of RHDR (for testing only, not production)"}, {"name"=>"minimal", "description"=>"Partner CSI foundation without S4, Submariner, or DRCluster sync/validation — OADP, OCP-V, preview RHDR only (Hive/BYOC bring-up; byoc true by default). Uses preview builds of RHDR (for testing only, not production)"}, {"name"=>"techdemo", "description"=>"Full ODF Regional DR with Virtualization and Ansible Automation Platform (AAP) config-as-code. Adds AAP instance and aap-config application driven by the ramendr-techdemo-config-as-code repo. Deploys the Boutique workload on spoke clusters for end-to-end demo scenarios."}] diff --git a/static/images/ramendr-starter-kit/drpartner-minimal-connectivity.png b/static/images/ramendr-starter-kit/drpartner-minimal-connectivity.png deleted file mode 100644 index deb585ce8..000000000 Binary files a/static/images/ramendr-starter-kit/drpartner-minimal-connectivity.png and /dev/null differ diff --git a/static/images/ramendr-starter-kit/hub-managed-connectivity-drpartner-minimal.png b/static/images/ramendr-starter-kit/hub-managed-connectivity-drpartner-minimal.png deleted file mode 100644 index a0d4fcacf..000000000 Binary files a/static/images/ramendr-starter-kit/hub-managed-connectivity-drpartner-minimal.png and /dev/null differ diff --git a/static/images/ramendr-starter-kit/hub-managed-connectivity-drpartner-s4.png b/static/images/ramendr-starter-kit/hub-managed-connectivity-drpartner-s4.png index 3202860ea..8c3b30f7a 100644 Binary files a/static/images/ramendr-starter-kit/hub-managed-connectivity-drpartner-s4.png and b/static/images/ramendr-starter-kit/hub-managed-connectivity-drpartner-s4.png differ diff --git a/static/images/ramendr-starter-kit/hub-managed-connectivity-minimal.png b/static/images/ramendr-starter-kit/hub-managed-connectivity-minimal.png new file mode 100644 index 000000000..9461bc311 Binary files /dev/null and b/static/images/ramendr-starter-kit/hub-managed-connectivity-minimal.png differ diff --git a/static/images/ramendr-starter-kit/hub-managed-connectivity-odf.png b/static/images/ramendr-starter-kit/hub-managed-connectivity-odf.png index 3202860ea..154d298da 100644 Binary files a/static/images/ramendr-starter-kit/hub-managed-connectivity-odf.png and b/static/images/ramendr-starter-kit/hub-managed-connectivity-odf.png differ diff --git a/static/images/ramendr-starter-kit/hub-managed-connectivity-techdemo.png b/static/images/ramendr-starter-kit/hub-managed-connectivity-techdemo.png new file mode 100644 index 000000000..1ddb7b1ef Binary files /dev/null and b/static/images/ramendr-starter-kit/hub-managed-connectivity-techdemo.png differ diff --git a/static/images/ramendr-starter-kit/hub-managed-connectivity.drawio b/static/images/ramendr-starter-kit/hub-managed-connectivity.drawio index 03a3c138d..3121fe9b5 100644 --- a/static/images/ramendr-starter-kit/hub-managed-connectivity.drawio +++ b/static/images/ramendr-starter-kit/hub-managed-connectivity.drawio @@ -8,28 +8,26 @@ - + - + - + - - - - - + + - - - - - + + + + + + @@ -49,6 +47,62 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -86,12 +140,12 @@ - + - + diff --git a/static/images/ramendr-starter-kit/minimal-connectivity.png b/static/images/ramendr-starter-kit/minimal-connectivity.png new file mode 100644 index 000000000..9461bc311 Binary files /dev/null and b/static/images/ramendr-starter-kit/minimal-connectivity.png differ diff --git a/static/images/ramendr-starter-kit/drpartner-minimal-connectivity.svg b/static/images/ramendr-starter-kit/minimal-connectivity.svg similarity index 98% rename from static/images/ramendr-starter-kit/drpartner-minimal-connectivity.svg rename to static/images/ramendr-starter-kit/minimal-connectivity.svg index fc483cc3b..5441d489c 100644 --- a/static/images/ramendr-starter-kit/drpartner-minimal-connectivity.svg +++ b/static/images/ramendr-starter-kit/minimal-connectivity.svg @@ -1,5 +1,5 @@ - drpartner-minimal hub and managed cluster connectivity + minimal hub and managed cluster connectivity diff --git a/static/images/ramendr-starter-kit/ramendr-architecture-drpartner-minimal.png b/static/images/ramendr-starter-kit/ramendr-architecture-drpartner-minimal.png deleted file mode 100644 index 1e7ab1dc6..000000000 Binary files a/static/images/ramendr-starter-kit/ramendr-architecture-drpartner-minimal.png and /dev/null differ diff --git a/static/images/ramendr-starter-kit/ramendr-architecture-drpartner-minimal.drawio b/static/images/ramendr-starter-kit/ramendr-architecture-minimal.drawio similarity index 99% rename from static/images/ramendr-starter-kit/ramendr-architecture-drpartner-minimal.drawio rename to static/images/ramendr-starter-kit/ramendr-architecture-minimal.drawio index 72811f5d8..22ba6f831 100644 --- a/static/images/ramendr-starter-kit/ramendr-architecture-drpartner-minimal.drawio +++ b/static/images/ramendr-starter-kit/ramendr-architecture-minimal.drawio @@ -1,10 +1,10 @@ - + - + diff --git a/static/images/ramendr-starter-kit/ramendr-architecture-minimal.png b/static/images/ramendr-starter-kit/ramendr-architecture-minimal.png new file mode 100644 index 000000000..9a20b4e87 Binary files /dev/null and b/static/images/ramendr-starter-kit/ramendr-architecture-minimal.png differ diff --git a/static/images/ramendr-starter-kit/ramendr-architecture-techdemo.drawio b/static/images/ramendr-starter-kit/ramendr-architecture-techdemo.drawio new file mode 100644 index 000000000..0c9f93007 --- /dev/null +++ b/static/images/ramendr-starter-kit/ramendr-architecture-techdemo.drawio @@ -0,0 +1,795 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/static/images/ramendr-starter-kit/ramendr-architecture-techdemo.png b/static/images/ramendr-starter-kit/ramendr-architecture-techdemo.png new file mode 100644 index 000000000..0fd802028 Binary files /dev/null and b/static/images/ramendr-starter-kit/ramendr-architecture-techdemo.png differ diff --git a/static/images/ramendr-starter-kit/techdemo-connectivity.png b/static/images/ramendr-starter-kit/techdemo-connectivity.png new file mode 100644 index 000000000..1ddb7b1ef Binary files /dev/null and b/static/images/ramendr-starter-kit/techdemo-connectivity.png differ diff --git a/static/images/ramendr-starter-kit/techdemo-connectivity.svg b/static/images/ramendr-starter-kit/techdemo-connectivity.svg new file mode 100644 index 000000000..6c396350e --- /dev/null +++ b/static/images/ramendr-starter-kit/techdemo-connectivity.svg @@ -0,0 +1,60 @@ + + techdemo hub and managed cluster connectivity + + + + + + + + + + + + + + + + + + + + Hub cluster + RHACM · MCO · Ramen · AAP + s3StoreProfiles → MCG + + + Primary managed + ODF · Ramen · MCG S3 + Boutique · Redis VM · Windows VM + + + Secondary managed + ODF · Ramen · MCG S3 + Boutique · Redis VM · Windows VM + + + Redis VM + TCP 6379 + + + Boutique app + + + Windows VM + + + ACM DNS + HTTPS / S3 + + + + Peer S3 metadata + + + + + + TCP 6379 + + Same Regional DR paths as odf, plus AAP on hub and Boutique / Redis / Windows workloads on the primary. Submariner required. +