Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .wordlist.txt
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ bls
bluegreen
bluegreenpause
bootstrapservers
boutique
bpxrficyexamplekey
brms
bt
Expand Down Expand Up @@ -790,6 +791,7 @@ prereq
prereqs
prerequisitesrequirements
privatekey
privatevm
processserver
productization
productize
Expand Down Expand Up @@ -984,6 +986,7 @@ targetport
tbd
tcp
tdx
techdemo
techpreview
tee
tei
Expand Down
10 changes: 6 additions & 4 deletions content/patterns/ramendr-starter-kit/_index.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -52,16 +52,17 @@ 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`.

[cols="1,1,3",options="header"]
|===
| 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/<variant>/values-<managedClusterGroup.name>.yaml`.
Expand All @@ -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

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

s/Uses/uses


Expand All @@ -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

Expand Down
40 changes: 30 additions & 10 deletions content/patterns/ramendr-starter-kit/architecture.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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

Expand All @@ -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)
Expand All @@ -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:
Expand Down
85 changes: 55 additions & 30 deletions content/patterns/ramendr-starter-kit/connectivity.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -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`):

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This page doesn't have much of an introduction - is there something we can say in general about this file, rather than opening with the variants?

Additionally, this starts with a sentence fragment; recommend switching to:

s/Four install variants/There are four install variants


* **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"]
Expand All @@ -59,6 +60,20 @@ flowchart LR
</pre>
++++

[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`

Expand All @@ -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
Expand All @@ -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)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should 389 for Windows VM be 3389? 389 is more commonly LDAP

| 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"]
Expand All @@ -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.
Loading