diff --git a/modules/chapter4/images/hub_console_add_new_hosts.png b/modules/chapter4/images/hub_console_add_new_hosts.png new file mode 100644 index 0000000..0dd390f Binary files /dev/null and b/modules/chapter4/images/hub_console_add_new_hosts.png differ diff --git a/modules/chapter4/images/hub_console_create_cluster.png b/modules/chapter4/images/hub_console_create_cluster.png new file mode 100644 index 0000000..1ce2047 Binary files /dev/null and b/modules/chapter4/images/hub_console_create_cluster.png differ diff --git a/modules/chapter4/images/hub_console_host_inventory.png b/modules/chapter4/images/hub_console_host_inventory.png new file mode 100644 index 0000000..4535d43 Binary files /dev/null and b/modules/chapter4/images/hub_console_host_inventory.png differ diff --git a/modules/chapter4/images/hub_console_standalone.png b/modules/chapter4/images/hub_console_standalone.png new file mode 100644 index 0000000..b1741c1 Binary files /dev/null and b/modules/chapter4/images/hub_console_standalone.png differ diff --git a/modules/chapter4/images/hub_console_switch.png b/modules/chapter4/images/hub_console_switch.png new file mode 100644 index 0000000..e69f45e Binary files /dev/null and b/modules/chapter4/images/hub_console_switch.png differ diff --git a/modules/chapter4/images/hub_console_tenant_accept_risk.png b/modules/chapter4/images/hub_console_tenant_accept_risk.png new file mode 100644 index 0000000..4f33a42 Binary files /dev/null and b/modules/chapter4/images/hub_console_tenant_accept_risk.png differ diff --git a/modules/chapter4/images/hub_console_tenant_add_host_discovery_iso.png b/modules/chapter4/images/hub_console_tenant_add_host_discovery_iso.png new file mode 100644 index 0000000..a6810c1 Binary files /dev/null and b/modules/chapter4/images/hub_console_tenant_add_host_discovery_iso.png differ diff --git a/modules/chapter4/images/hub_console_tenant_advanced_risk.png b/modules/chapter4/images/hub_console_tenant_advanced_risk.png new file mode 100644 index 0000000..3f96727 Binary files /dev/null and b/modules/chapter4/images/hub_console_tenant_advanced_risk.png differ diff --git a/modules/chapter4/images/hub_console_tenant_approve_host.png b/modules/chapter4/images/hub_console_tenant_approve_host.png new file mode 100644 index 0000000..df403ca Binary files /dev/null and b/modules/chapter4/images/hub_console_tenant_approve_host.png differ diff --git a/modules/chapter4/images/hub_console_tenant_approve_host_1.png b/modules/chapter4/images/hub_console_tenant_approve_host_1.png new file mode 100644 index 0000000..854f81d Binary files /dev/null and b/modules/chapter4/images/hub_console_tenant_approve_host_1.png differ diff --git a/modules/chapter4/images/hub_console_tenant_approve_host_ready.png b/modules/chapter4/images/hub_console_tenant_approve_host_ready.png new file mode 100644 index 0000000..1a06f23 Binary files /dev/null and b/modules/chapter4/images/hub_console_tenant_approve_host_ready.png differ diff --git a/modules/chapter4/images/hub_console_tenant_approve_host_ready_1.png b/modules/chapter4/images/hub_console_tenant_approve_host_ready_1.png new file mode 100644 index 0000000..cf9e09f Binary files /dev/null and b/modules/chapter4/images/hub_console_tenant_approve_host_ready_1.png differ diff --git a/modules/chapter4/images/hub_console_tenant_automation.png b/modules/chapter4/images/hub_console_tenant_automation.png new file mode 100644 index 0000000..8a03892 Binary files /dev/null and b/modules/chapter4/images/hub_console_tenant_automation.png differ diff --git a/modules/chapter4/images/hub_console_tenant_copy_password.png b/modules/chapter4/images/hub_console_tenant_copy_password.png new file mode 100644 index 0000000..a51a9fd Binary files /dev/null and b/modules/chapter4/images/hub_console_tenant_copy_password.png differ diff --git a/modules/chapter4/images/hub_console_tenant_copy_password_1.png b/modules/chapter4/images/hub_console_tenant_copy_password_1.png new file mode 100644 index 0000000..e5e56c5 Binary files /dev/null and b/modules/chapter4/images/hub_console_tenant_copy_password_1.png differ diff --git a/modules/chapter4/images/hub_console_tenant_details.png b/modules/chapter4/images/hub_console_tenant_details.png new file mode 100644 index 0000000..8a2394f Binary files /dev/null and b/modules/chapter4/images/hub_console_tenant_details.png differ diff --git a/modules/chapter4/images/hub_console_tenant_details_1.png b/modules/chapter4/images/hub_console_tenant_details_1.png new file mode 100644 index 0000000..4584f03 Binary files /dev/null and b/modules/chapter4/images/hub_console_tenant_details_1.png differ diff --git a/modules/chapter4/images/hub_console_tenant_download_discovery_iso.png b/modules/chapter4/images/hub_console_tenant_download_discovery_iso.png new file mode 100644 index 0000000..1a3b120 Binary files /dev/null and b/modules/chapter4/images/hub_console_tenant_download_discovery_iso.png differ diff --git a/modules/chapter4/images/hub_console_tenant_generate_discovery_iso.png b/modules/chapter4/images/hub_console_tenant_generate_discovery_iso.png new file mode 100644 index 0000000..edaf28e Binary files /dev/null and b/modules/chapter4/images/hub_console_tenant_generate_discovery_iso.png differ diff --git a/modules/chapter4/images/hub_console_tenant_import_fail.png b/modules/chapter4/images/hub_console_tenant_import_fail.png new file mode 100644 index 0000000..4eef55e Binary files /dev/null and b/modules/chapter4/images/hub_console_tenant_import_fail.png differ diff --git a/modules/chapter4/images/hub_console_tenant_install_complete.png b/modules/chapter4/images/hub_console_tenant_install_complete.png new file mode 100644 index 0000000..78ef9f6 Binary files /dev/null and b/modules/chapter4/images/hub_console_tenant_install_complete.png differ diff --git a/modules/chapter4/images/hub_console_tenant_install_download.png b/modules/chapter4/images/hub_console_tenant_install_download.png new file mode 100644 index 0000000..c31d870 Binary files /dev/null and b/modules/chapter4/images/hub_console_tenant_install_download.png differ diff --git a/modules/chapter4/images/hub_console_tenant_install_proceed.png b/modules/chapter4/images/hub_console_tenant_install_proceed.png new file mode 100644 index 0000000..269631e Binary files /dev/null and b/modules/chapter4/images/hub_console_tenant_install_proceed.png differ diff --git a/modules/chapter4/images/hub_console_tenant_install_progress.png b/modules/chapter4/images/hub_console_tenant_install_progress.png new file mode 100644 index 0000000..a190b2c Binary files /dev/null and b/modules/chapter4/images/hub_console_tenant_install_progress.png differ diff --git a/modules/chapter4/images/hub_console_tenant_install_progress_1.png b/modules/chapter4/images/hub_console_tenant_install_progress_1.png new file mode 100644 index 0000000..89c9a6f Binary files /dev/null and b/modules/chapter4/images/hub_console_tenant_install_progress_1.png differ diff --git a/modules/chapter4/images/hub_console_tenant_install_progress_2.png b/modules/chapter4/images/hub_console_tenant_install_progress_2.png new file mode 100644 index 0000000..c3fb9a2 Binary files /dev/null and b/modules/chapter4/images/hub_console_tenant_install_progress_2.png differ diff --git a/modules/chapter4/images/hub_console_tenant_install_progress_3.png b/modules/chapter4/images/hub_console_tenant_install_progress_3.png new file mode 100644 index 0000000..57eae20 Binary files /dev/null and b/modules/chapter4/images/hub_console_tenant_install_progress_3.png differ diff --git a/modules/chapter4/images/hub_console_tenant_install_progress_4.png b/modules/chapter4/images/hub_console_tenant_install_progress_4.png new file mode 100644 index 0000000..c8dfe2e Binary files /dev/null and b/modules/chapter4/images/hub_console_tenant_install_progress_4.png differ diff --git a/modules/chapter4/images/hub_console_tenant_install_progress_5.png b/modules/chapter4/images/hub_console_tenant_install_progress_5.png new file mode 100644 index 0000000..5821dbd Binary files /dev/null and b/modules/chapter4/images/hub_console_tenant_install_progress_5.png differ diff --git a/modules/chapter4/images/hub_console_tenant_install_progress_6.png b/modules/chapter4/images/hub_console_tenant_install_progress_6.png new file mode 100644 index 0000000..7d4844c Binary files /dev/null and b/modules/chapter4/images/hub_console_tenant_install_progress_6.png differ diff --git a/modules/chapter4/images/hub_console_tenant_install_progress_7.png b/modules/chapter4/images/hub_console_tenant_install_progress_7.png new file mode 100644 index 0000000..ea65aff Binary files /dev/null and b/modules/chapter4/images/hub_console_tenant_install_progress_7.png differ diff --git a/modules/chapter4/images/hub_console_tenant_networking.png b/modules/chapter4/images/hub_console_tenant_networking.png new file mode 100644 index 0000000..effd52f Binary files /dev/null and b/modules/chapter4/images/hub_console_tenant_networking.png differ diff --git a/modules/chapter4/images/hub_console_tenant_networking_ready.png b/modules/chapter4/images/hub_console_tenant_networking_ready.png new file mode 100644 index 0000000..1a6a2f4 Binary files /dev/null and b/modules/chapter4/images/hub_console_tenant_networking_ready.png differ diff --git a/modules/chapter4/images/hub_console_tenant_pending_user_actions.png b/modules/chapter4/images/hub_console_tenant_pending_user_actions.png new file mode 100644 index 0000000..17ec714 Binary files /dev/null and b/modules/chapter4/images/hub_console_tenant_pending_user_actions.png differ diff --git a/modules/chapter4/images/hub_console_tenant_pending_user_actions_1.png b/modules/chapter4/images/hub_console_tenant_pending_user_actions_1.png new file mode 100644 index 0000000..d3bc2e6 Binary files /dev/null and b/modules/chapter4/images/hub_console_tenant_pending_user_actions_1.png differ diff --git a/modules/chapter4/images/hub_console_tenant_pending_user_actions_2.png b/modules/chapter4/images/hub_console_tenant_pending_user_actions_2.png new file mode 100644 index 0000000..0bea9f4 Binary files /dev/null and b/modules/chapter4/images/hub_console_tenant_pending_user_actions_2.png differ diff --git a/modules/chapter4/images/hub_console_tenant_public_key.png b/modules/chapter4/images/hub_console_tenant_public_key.png new file mode 100644 index 0000000..626818a Binary files /dev/null and b/modules/chapter4/images/hub_console_tenant_public_key.png differ diff --git a/modules/chapter4/images/hub_console_tenant_public_key_1.png b/modules/chapter4/images/hub_console_tenant_public_key_1.png new file mode 100644 index 0000000..f7f56bc Binary files /dev/null and b/modules/chapter4/images/hub_console_tenant_public_key_1.png differ diff --git a/modules/chapter4/images/hub_console_tenant_pull_secret.png b/modules/chapter4/images/hub_console_tenant_pull_secret.png new file mode 100644 index 0000000..309cd0b Binary files /dev/null and b/modules/chapter4/images/hub_console_tenant_pull_secret.png differ diff --git a/modules/chapter4/images/hub_console_tenant_ready.png b/modules/chapter4/images/hub_console_tenant_ready.png new file mode 100644 index 0000000..39f3a94 Binary files /dev/null and b/modules/chapter4/images/hub_console_tenant_ready.png differ diff --git a/modules/chapter4/images/hub_console_tenant_review_create.png b/modules/chapter4/images/hub_console_tenant_review_create.png new file mode 100644 index 0000000..789c974 Binary files /dev/null and b/modules/chapter4/images/hub_console_tenant_review_create.png differ diff --git a/modules/chapter4/images/hub_console_tenant_review_save.png b/modules/chapter4/images/hub_console_tenant_review_save.png new file mode 100644 index 0000000..581c7a7 Binary files /dev/null and b/modules/chapter4/images/hub_console_tenant_review_save.png differ diff --git a/modules/chapter4/images/sno1_console_cli_tools.png b/modules/chapter4/images/sno1_console_cli_tools.png new file mode 100644 index 0000000..bc6c33d Binary files /dev/null and b/modules/chapter4/images/sno1_console_cli_tools.png differ diff --git a/modules/chapter4/images/sno1_console_create_vm.png b/modules/chapter4/images/sno1_console_create_vm.png new file mode 100644 index 0000000..a5836b6 Binary files /dev/null and b/modules/chapter4/images/sno1_console_create_vm.png differ diff --git a/modules/chapter4/images/sno1_console_create_vm_1.png b/modules/chapter4/images/sno1_console_create_vm_1.png new file mode 100644 index 0000000..589e377 Binary files /dev/null and b/modules/chapter4/images/sno1_console_create_vm_1.png differ diff --git a/modules/chapter4/images/sno1_console_create_vm_10.png b/modules/chapter4/images/sno1_console_create_vm_10.png new file mode 100644 index 0000000..3901cab Binary files /dev/null and b/modules/chapter4/images/sno1_console_create_vm_10.png differ diff --git a/modules/chapter4/images/sno1_console_create_vm_11.png b/modules/chapter4/images/sno1_console_create_vm_11.png new file mode 100644 index 0000000..e867c49 Binary files /dev/null and b/modules/chapter4/images/sno1_console_create_vm_11.png differ diff --git a/modules/chapter4/images/sno1_console_create_vm_12.png b/modules/chapter4/images/sno1_console_create_vm_12.png new file mode 100644 index 0000000..8adf78d Binary files /dev/null and b/modules/chapter4/images/sno1_console_create_vm_12.png differ diff --git a/modules/chapter4/images/sno1_console_create_vm_13.png b/modules/chapter4/images/sno1_console_create_vm_13.png new file mode 100644 index 0000000..43aa8d4 Binary files /dev/null and b/modules/chapter4/images/sno1_console_create_vm_13.png differ diff --git a/modules/chapter4/images/sno1_console_create_vm_14.png b/modules/chapter4/images/sno1_console_create_vm_14.png new file mode 100644 index 0000000..749f59a Binary files /dev/null and b/modules/chapter4/images/sno1_console_create_vm_14.png differ diff --git a/modules/chapter4/images/sno1_console_create_vm_15.png b/modules/chapter4/images/sno1_console_create_vm_15.png new file mode 100644 index 0000000..02b35a2 Binary files /dev/null and b/modules/chapter4/images/sno1_console_create_vm_15.png differ diff --git a/modules/chapter4/images/sno1_console_create_vm_16.png b/modules/chapter4/images/sno1_console_create_vm_16.png new file mode 100644 index 0000000..fb012f8 Binary files /dev/null and b/modules/chapter4/images/sno1_console_create_vm_16.png differ diff --git a/modules/chapter4/images/sno1_console_create_vm_2.png b/modules/chapter4/images/sno1_console_create_vm_2.png new file mode 100644 index 0000000..52d9906 Binary files /dev/null and b/modules/chapter4/images/sno1_console_create_vm_2.png differ diff --git a/modules/chapter4/images/sno1_console_create_vm_3.png b/modules/chapter4/images/sno1_console_create_vm_3.png new file mode 100644 index 0000000..4e5b9f2 Binary files /dev/null and b/modules/chapter4/images/sno1_console_create_vm_3.png differ diff --git a/modules/chapter4/images/sno1_console_create_vm_4.png b/modules/chapter4/images/sno1_console_create_vm_4.png new file mode 100644 index 0000000..b32982c Binary files /dev/null and b/modules/chapter4/images/sno1_console_create_vm_4.png differ diff --git a/modules/chapter4/images/sno1_console_create_vm_5.png b/modules/chapter4/images/sno1_console_create_vm_5.png new file mode 100644 index 0000000..a8fd7b0 Binary files /dev/null and b/modules/chapter4/images/sno1_console_create_vm_5.png differ diff --git a/modules/chapter4/images/sno1_console_create_vm_6.png b/modules/chapter4/images/sno1_console_create_vm_6.png new file mode 100644 index 0000000..1cfa860 Binary files /dev/null and b/modules/chapter4/images/sno1_console_create_vm_6.png differ diff --git a/modules/chapter4/images/sno1_console_create_vm_7.png b/modules/chapter4/images/sno1_console_create_vm_7.png new file mode 100644 index 0000000..2fdc5a8 Binary files /dev/null and b/modules/chapter4/images/sno1_console_create_vm_7.png differ diff --git a/modules/chapter4/images/sno1_console_create_vm_8.png b/modules/chapter4/images/sno1_console_create_vm_8.png new file mode 100644 index 0000000..dfd2d7f Binary files /dev/null and b/modules/chapter4/images/sno1_console_create_vm_8.png differ diff --git a/modules/chapter4/images/sno1_console_create_vm_9.png b/modules/chapter4/images/sno1_console_create_vm_9.png new file mode 100644 index 0000000..2373b03 Binary files /dev/null and b/modules/chapter4/images/sno1_console_create_vm_9.png differ diff --git a/modules/chapter4/images/sno1_console_home.png b/modules/chapter4/images/sno1_console_home.png new file mode 100644 index 0000000..bad464a Binary files /dev/null and b/modules/chapter4/images/sno1_console_home.png differ diff --git a/modules/chapter4/images/sno1_console_tenant_iso_pvc.png b/modules/chapter4/images/sno1_console_tenant_iso_pvc.png new file mode 100644 index 0000000..d6eee51 Binary files /dev/null and b/modules/chapter4/images/sno1_console_tenant_iso_pvc.png differ diff --git a/modules/chapter4/images/sno1_console_virtctl.png b/modules/chapter4/images/sno1_console_virtctl.png new file mode 100644 index 0000000..1bbab36 Binary files /dev/null and b/modules/chapter4/images/sno1_console_virtctl.png differ diff --git a/modules/chapter4/images/sno1_console_virtctl_1.png b/modules/chapter4/images/sno1_console_virtctl_1.png new file mode 100644 index 0000000..50c2595 Binary files /dev/null and b/modules/chapter4/images/sno1_console_virtctl_1.png differ diff --git a/modules/chapter4/images/sno1_console_virtctl_2.png b/modules/chapter4/images/sno1_console_virtctl_2.png new file mode 100644 index 0000000..0cb2fb7 Binary files /dev/null and b/modules/chapter4/images/sno1_console_virtctl_2.png differ diff --git a/modules/chapter4/images/sno1_console_vm_add_disk.png b/modules/chapter4/images/sno1_console_vm_add_disk.png new file mode 100644 index 0000000..7f1a293 Binary files /dev/null and b/modules/chapter4/images/sno1_console_vm_add_disk.png differ diff --git a/modules/chapter4/images/sno1_console_vm_add_disk_iso.png b/modules/chapter4/images/sno1_console_vm_add_disk_iso.png new file mode 100644 index 0000000..b2b8c52 Binary files /dev/null and b/modules/chapter4/images/sno1_console_vm_add_disk_iso.png differ diff --git a/modules/chapter4/images/sno1_console_vm_add_disk_iso_1.png b/modules/chapter4/images/sno1_console_vm_add_disk_iso_1.png new file mode 100644 index 0000000..85f4df9 Binary files /dev/null and b/modules/chapter4/images/sno1_console_vm_add_disk_iso_1.png differ diff --git a/modules/chapter4/images/sno1_console_vm_boot_order.png b/modules/chapter4/images/sno1_console_vm_boot_order.png new file mode 100644 index 0000000..87ba166 Binary files /dev/null and b/modules/chapter4/images/sno1_console_vm_boot_order.png differ diff --git a/modules/chapter4/images/sno1_console_vm_boot_order_1.png b/modules/chapter4/images/sno1_console_vm_boot_order_1.png new file mode 100644 index 0000000..eb9e60e Binary files /dev/null and b/modules/chapter4/images/sno1_console_vm_boot_order_1.png differ diff --git a/modules/chapter4/images/sno1_console_vm_boot_order_tcn2.png b/modules/chapter4/images/sno1_console_vm_boot_order_tcn2.png new file mode 100644 index 0000000..d18a0c8 Binary files /dev/null and b/modules/chapter4/images/sno1_console_vm_boot_order_tcn2.png differ diff --git a/modules/chapter4/images/sno1_console_vm_boot_order_tcn2_1.png b/modules/chapter4/images/sno1_console_vm_boot_order_tcn2_1.png new file mode 100644 index 0000000..69d13e2 Binary files /dev/null and b/modules/chapter4/images/sno1_console_vm_boot_order_tcn2_1.png differ diff --git a/modules/chapter4/images/sno1_console_vm_boot_order_tcn2_2.png b/modules/chapter4/images/sno1_console_vm_boot_order_tcn2_2.png new file mode 100644 index 0000000..c1d2282 Binary files /dev/null and b/modules/chapter4/images/sno1_console_vm_boot_order_tcn2_2.png differ diff --git a/modules/chapter4/images/sno1_console_vm_boot_rhcos.png b/modules/chapter4/images/sno1_console_vm_boot_rhcos.png new file mode 100644 index 0000000..5e35316 Binary files /dev/null and b/modules/chapter4/images/sno1_console_vm_boot_rhcos.png differ diff --git a/modules/chapter4/images/sno1_console_vm_boot_tcn2.png b/modules/chapter4/images/sno1_console_vm_boot_tcn2.png new file mode 100644 index 0000000..abc2015 Binary files /dev/null and b/modules/chapter4/images/sno1_console_vm_boot_tcn2.png differ diff --git a/modules/chapter4/images/sno1_console_vm_config_tab.png b/modules/chapter4/images/sno1_console_vm_config_tab.png new file mode 100644 index 0000000..7f5522f Binary files /dev/null and b/modules/chapter4/images/sno1_console_vm_config_tab.png differ diff --git a/modules/chapter4/images/sno1_console_vm_start.png b/modules/chapter4/images/sno1_console_vm_start.png new file mode 100644 index 0000000..95fc0cb Binary files /dev/null and b/modules/chapter4/images/sno1_console_vm_start.png differ diff --git a/modules/chapter4/images/sno1_console_vm_stop.png b/modules/chapter4/images/sno1_console_vm_stop.png new file mode 100644 index 0000000..5156d08 Binary files /dev/null and b/modules/chapter4/images/sno1_console_vm_stop.png differ diff --git a/modules/chapter4/images/sno1_console_vm_stopped.png b/modules/chapter4/images/sno1_console_vm_stopped.png new file mode 100644 index 0000000..cfcb2fd Binary files /dev/null and b/modules/chapter4/images/sno1_console_vm_stopped.png differ diff --git a/modules/chapter4/images/sno1_console_vm_stopped_tcn2.png b/modules/chapter4/images/sno1_console_vm_stopped_tcn2.png new file mode 100644 index 0000000..c6db6f5 Binary files /dev/null and b/modules/chapter4/images/sno1_console_vm_stopped_tcn2.png differ diff --git a/modules/chapter4/images/tenant_console_access.png b/modules/chapter4/images/tenant_console_access.png new file mode 100644 index 0000000..236a573 Binary files /dev/null and b/modules/chapter4/images/tenant_console_access.png differ diff --git a/modules/chapter4/images/tenant_console_access_1.png b/modules/chapter4/images/tenant_console_access_1.png new file mode 100644 index 0000000..069e631 Binary files /dev/null and b/modules/chapter4/images/tenant_console_access_1.png differ diff --git a/modules/chapter4/nav.adoc b/modules/chapter4/nav.adoc index d6da93d..8530ff3 100644 --- a/modules/chapter4/nav.adoc +++ b/modules/chapter4/nav.adoc @@ -1,3 +1,5 @@ * xref:index.adoc[] ** xref:section1.adoc[] -** xref:section2.adoc[] \ No newline at end of file +** xref:section2.adoc[] +** xref:section3.adoc[] +** xref:section4.adoc[] \ No newline at end of file diff --git a/modules/chapter4/pages/index.adoc b/modules/chapter4/pages/index.adoc index d30768d..ecf66e7 100644 --- a/modules/chapter4/pages/index.adoc +++ b/modules/chapter4/pages/index.adoc @@ -1 +1,10 @@ -= Tenant Cluster Deployment \ No newline at end of file += Tenant Cluster Deployment + +This chapter covers deployment of _Tenant_ cluster. + +Chapter goals: + +* Deploy _Three-Node OpenShift Compact Tenant_ cluster as OpenShift Virtualization VMs using RHACM from _Hub_ cluster. +* Install OpenShift Data Foundation operator on _Tenant_ cluster. +* Deploy and configure applications on _Tenant_ Clusters. +* Test the high availability and resilience of deployed workloads. \ No newline at end of file diff --git a/modules/chapter4/pages/section1.adoc b/modules/chapter4/pages/section1.adoc index 0096716..67333d0 100644 --- a/modules/chapter4/pages/section1.adoc +++ b/modules/chapter4/pages/section1.adoc @@ -1,6 +1,150 @@ -= Tenant VM Configuration += Tenant VMs Deployment +:experimental: -OCP Virt VMs - Tenant1 VM on SNO1, Tenant2 VM on SNO2 and Tenant3 VM on SNO3 -Download virtctl from any SNO’s console -Upload discover iso to all SNOs -Assisted way compact deployment using RHACM from Hub cluster \ No newline at end of file +In this section, you will be creating three VMs using OpenShift Virtualization with name `tcn1.lab.example.com`, `tcn2.lab.example.com` and `tcn3.lab.example.com`. + +image::MCAP_setup.png[] + +== Prerequisites + +. Ensure the all sno clusters i.e. _Infrastructure_ clusters are deployed and available. ++ +.Sample output: +---- +[root@hypervisor ~]# oc get ManagedCluster + +NAME HUB ACCEPTED MANAGED CLUSTER URLS JOINED AVAILABLE AGE +local-cluster true https://api.hub.lab.example.com:6443 True True 3h14m +sno1 true https://api.sno1.lab.example.com:6443 True True 164m +sno2 true https://api.sno2.lab.example.com:6443 True True 124m +sno3 true https://api.sno3.lab.example.com:6443 True True 68m +---- + +. Ensure OpenShift Virtualization operator is installed on _Infrastructure_ clusters. + +. Download `virtctl` command line tool from any SNO’s console. + +.. Visit the web console home page of `sno1` cluster. ++ +image::sno1_console_home.png[] + +.. Click btn:[?] and select `Command Line Tools`. ++ +image::sno1_console_cli_tools.png[] + +.. In this page, scroll down to the `virtctl - KubeVirt command line interface` section. ++ +Select the `Download virtctl for Linux for x86_64` to open download link in new tab. ++ +image::sno1_console_virtctl.png[] ++ +Click btn:[Advanced...] to proceed. ++ +image::sno1_console_virtctl_1.png[] ++ +Click btn:[Accept the Risk and Continue] to proceed and download the `virtctl` command line tool on hypervisor. ++ +image::sno1_console_virtctl_2.png[] + +. Extract the archive of `virtctl` command line tool. ++ +[source,bash,role=execute] +---- +tar -xzvf /root/Downloads/virtctl.tar.gz +---- + +. Move `virtctl` binary to `/usr/local/bin` directory. ++ +[source,bash,role=execute] +---- +mv virtctl /usr/local/bin/ +---- + +== Tenant VMs Deployment + +. Access the web console of _sno1_ cluster. ++ +image::sno1_console_home.png[] ++ +From left navigation pane, click menu:Virtualization[VirtualMachines]. ++ +image::sno1_console_create_vm.png[] + +. Create virtual machine from template. ++ +Click menu:Create VirtualMachine[From template] ++ +image::sno1_console_create_vm_1.png[] + +. Search `rhel9` in template catalog. ++ +Select the `rhel9` bootable source template from catalog. ++ +image::sno1_console_create_vm_2.png[] + +. This is the VM create window. ++ +image::sno1_console_create_vm_3.png[] + +. Scroll down in VM create window and update disk size from 30GB to 120GB. ++ +image::sno1_console_create_vm_4.png[] + +. Scroll down in VM create window and edit the CPU and memory. ++ +image::sno1_console_create_vm_5.png[] + +. Set the 16 cores as CPU and 32GB as memory. ++ +Click btn:[Customize VirtualMachine] to customize the virtual machine. ++ +image::sno1_console_create_vm_6.png[] + +. In virtual machine's overview tab, edit the virtual machine name. ++ +image::sno1_console_create_vm_7.png[] + +. Get the virtual machine's name from `/etc/dhcp/dhcpd.conf` file. ++ +image::sno1_console_create_vm_8.png[] + +. Set the virtual machine name as `tcn1.lab.example.com`. ++ +image::sno1_console_create_vm_9.png[] + +. To update the network interface, change the tab to network interfaces tab. ++ +image::sno1_console_create_vm_10.png[] + +.. Edit the network interface of the virtual machine. ++ +image::sno1_console_create_vm_11.png[] ++ +Network: Bridge network (in previous chapter created the network attachment definition) ++ +Get the mac address for virtual machine from `/etc/dhcp/dhcpd.conf` file. ++ +image::sno1_console_create_vm_12.png[] + +.. Update the mac address of virtual machine. ++ +image::sno1_console_create_vm_13.png[] + +.. Ensure all network interface related details are updated. ++ +Click btn:[Create VirtualMachine] to create the VM and start the VM. ++ +image::sno1_console_create_vm_14.png[] + +. In VM's overview tab, you can see virtual machine is in running state. ++ +image::sno1_console_create_vm_15.png[] + +. Once VM is booted, ensure IP address and hostname is assigned as per the `/etc/dhcp/dhcpd.conf` file. ++ +image::sno1_console_create_vm_16.png[] + +== Deploy remaining _Tenant_ VMs on `sno2` and `sno3` clusters + +. You can deploy remaining `tcn2.lab.example.com` and `tcn3.lab.example.com` VMs by following steps from previous section followed for `tcn1.lab.example.com` VM deployment. +. Each VM deployment takes 5 to 10 minutes to complete. \ No newline at end of file diff --git a/modules/chapter4/pages/section2.adoc b/modules/chapter4/pages/section2.adoc index a4b1717..2723e71 100644 --- a/modules/chapter4/pages/section2.adoc +++ b/modules/chapter4/pages/section2.adoc @@ -1,2 +1,300 @@ -= Install Sample Application on Tenant Cluster += Assisted Clusters - Tenant Cluster +:experimental: +In this section, you will be deploying _Tenant_ cluster using RHACM from _Hub_ cluster. +These _Tenant_ cluster will be _Three-Node OpenShift Compact_ cluster. + +image::MCAP_setup_1.png[] + +== Prerequisites + +`tcn1.lab.example.com`, `tcn2.lab.example.com` and `tcn3.lab.example.com` VMs (created using OpenShift Virtualization) are up and running. + +== Deploy _Tenant_ cluster as _Three-Node OpenShift Compact_ cluster + +. Login to web console of _Hub_ cluster. ++ +Ensure you have switched to the `All Clusters` from `local-cluster`. ++ +image::hub_console_switch.png[] + +. Create cluster using btn:[Create cluster]. ++ +image::hub_console_create_cluster.png[] + +. Select `Host inventory`. ++ +image::hub_console_host_inventory.png[] + +. Select `Standalone`. ++ +image::hub_console_standalone.png[] + +. Select `Add new hosts`. ++ +image::hub_console_add_new_hosts.png[] + +. Provide cluster details. ++ +Cluster name: `tenant` ++ +Cluster set: `default` ++ +image::hub_console_tenant_details.png[] ++ +Base domain: `lab.example.com` ++ +Select `4.16.8` version of OpenShift from the menu. ++ +image::hub_console_tenant_details_1.png[] + +.. Get the pull secret from `pull_secret.txt` and provide the pull secret in `Pull secret` field. ++ +Click btn:[Next] ++ +image::hub_console_tenant_pull_secret.png[] + +. No automation template. ++ +Click btn:[Next] ++ +image::hub_console_tenant_automation.png[] + +. Review and save. ++ +Click btn:[Save] ++ +image::hub_console_tenant_review_save.png[] + +. Add `tcn1.lab.example.com`, `tcn2.lab.example.com` and `tcn3.lab.example.com` VMs as host. + +.. Select menu:Add hosts[With Discovery ISO]. ++ +image::hub_console_tenant_add_host_discovery_iso.png[] + +.. Here you need to provide the public ssh key of `root` user. ++ +image::hub_console_tenant_public_key.png[] + +.. Get the public ssh key of `root` user. ++ +image::hub_console_tenant_public_key_1.png[] + +.. Provide the public ssh key of `root` user in `SSH public key` field. ++ +Click btn:[Generate Discovery ISO] to generate discovery ISO. ++ +image::hub_console_tenant_generate_discovery_iso.png[] + +.. Click btn:[Download Discovery ISO] to download discovery ISO on hypervisor. ++ +image::hub_console_tenant_download_discovery_iso.png[] + +.. Upload iso from `/root/Download` directory to _Infrastructure_ clusters. ++ +Login to `sno1` cluster. ++ +.Sample output +---- +[root@hypervisor ~]# oc get nodes +NAME STATUS ROLES AGE VERSION +hub.lab.example.com Ready control-plane,master,worker 21h v1.29.7+4510e9c + +[root@hypervisor ~]# oc logout +Logged "kube:admin" out on "https://api.hub.lab.example.com:6443" + +[root@hypervisor ~]# cp /root/sno1/kubeconfig .kube/config +cp: overwrite '.kube/config'? y + +[root@hypervisor ~]# kubepass=$(cat /root/sno1/kubeadmin-password) + +[root@hypervisor ~]# oc login -u kubeadmin -p $kubepass +Login successful. + +You have access to 77 projects, the list has been suppressed. You can list all projects with 'oc projects' + +Using project "default". +[root@hypervisor ~]# oc get nodes +NAME STATUS ROLES AGE VERSION +sno1.lab.example.com Ready control-plane,master,worker 20h v1.29.7+4510e9c +---- ++ +Upload the discovery iso using `virtctl image-upload` command. ++ +.Sample output +---- +[root@hypervisor ~]# ls /root/Downloads/ +3b6f60e8-ad5e-4466-a1ad-add735801ad1-discovery.iso ceph-external-cluster-details-exporter.py virtctl.tar.gz + +[root@hypervisor ~]# virtctl image-upload dv tenant-iso-pvc --size=1Gi --image-path=/root/Downloads/3b6f60e8-ad5e-4466-a1ad-add735801ad1-discovery.iso --insecure --force-bind + +Using existing PVC default/prime-a5b6464f-2244-4c31-ab93-5219abf15849 +Uploading data to https://cdi-uploadproxy-openshift-cnv.apps.sno1.lab.example.com + + 107.46 MiB / 107.46 MiB [============================================================================================================================================================================] 100.00% 0s + +Uploading data completed successfully, waiting for processing to complete, you can hit ctrl-c without interrupting the progress +Processing completed successfully +Uploading /root/Downloads/eea97cca-cda5-47b9-bfdf-51929b4a7067-discovery.iso completed successfully + +[root@hypervisor ~]# oc logout +---- ++ +Verify the PVC is created on `sno1` cluster. ++ +In `sno1` cluster web console, from left navigation pane; click menu:Storage[PersistentVolumeClaims]. ++ +image::sno1_console_tenant_iso_pvc.png[] ++ +[IMPORTANT] +Upload the discovery iso to `sno2` and `sno3` clusters by performing the above steps. + +.. Boot the `tcn1.lab.example.com`, `tcn2.lab.example.com` and `tcn3.lab.example.com` VMs with discovery ISO. ++ +In `sno1` cluster web console, from left navigation pane; click menu:Virtualization[VirtualMachines]. ++ +image::sno1_console_create_vm.png[] ++ +Stop the `tcn1.lab.example.com` VM. ++ +image::sno1_console_vm_stop.png[] ++ +Verify the `tcn1.lab.example.com` VM is stopped. ++ +image::sno1_console_vm_stopped.png[] ++ +From `tcn1.lab.example.com` VM's `Configuration` tab, select `Storage`. ++ +image::sno1_console_vm_config_tab.png[] ++ +Click btn:[Add disk] to add the discovery ISO as the PVC. ++ +image::sno1_console_vm_add_disk.png[] ++ +Select menu:Source[PVC] and then select menu:Select PersistentVolumeClaim[tenant-iso-pvc]. ++ +image::sno1_console_vm_add_disk_iso.png[] ++ +Keep interface as `VirtIO` and click btn:[Save] to add the disk. ++ +image::sno1_console_vm_add_disk_iso_1.png[] ++ +Edit the boot order of the `tcn1.lab.example.com` VM from `Configuration` tab, select `Details`. ++ +image::sno1_console_vm_boot_order.png[] ++ +Move up the newly added disk at the top and click btn:[Save]. ++ +image::sno1_console_vm_boot_order_1.png[] ++ +Start the `tcn1.lab.example.com` VM. ++ +image::sno1_console_vm_start.png[] ++ +Ensure the `tcn1.lab.example.com` VM boots with discovery ISO. ++ +image::sno1_console_vm_boot_rhcos.png[] ++ +[IMPORTANT] +Follow the same above steps for `tcn2.lab.example.com` and `tcn3.lab.example.com` VMs to boot them with discovery ISO. + +.. Back to web console of _Hub_ cluster to proceed cluster installation. ++ +Approve the discovered host `tcn1.lab.example.com`. ++ +image::hub_console_tenant_approve_host.png[] ++ +Ensure the discovered host `tcn1.lab.example.com` is ready. ++ +image::hub_console_tenant_approve_host_ready.png[] ++ +Similarly approve remaining hosts `tcn2.lab.example.com` and `tcn3.lab.example.com`. ++ +Click btn:[Next] to proceed. ++ +image::hub_console_tenant_approve_host_ready_1.png[] + +. In networking section, ensure all hosts are ready. ++ +Provide the `API IP` and `Ingress IP` from zone file. ++ +image::hub_console_tenant_networking.png[] ++ +Click btn:[Next] to proceed. ++ +image::hub_console_tenant_networking_ready.png[] + +. If you notice `All checks passed` for cluster and host validations then click btn:[Install cluster]. ++ +image::hub_console_tenant_review_create.png[] + +. Notice the installation has started. ++ +image::hub_console_tenant_install_progress.png[] ++ +image::hub_console_tenant_install_progress_1.png[] ++ +image::hub_console_tenant_install_progress_2.png[] ++ +image::hub_console_tenant_install_progress_3.png[] + +. After 7 to 10 minutes, it waits on pending user action. ++ +image::hub_console_tenant_pending_user_actions.png[] ++ +This means you need to disconnect the discovery ISO from the `tcn3.lab.example.com` VM and boot the `tcn3.lab.example.com` VM from disk. ++ +image::hub_console_tenant_pending_user_actions_1.png[] ++ +This means you need to disconnect the discovery ISO from the `tcn2.lab.example.com` VM and boot the `tcn2.lab.example.com` VM from disk. + +.. Shutdown the `tcn2.lab.example.com` VM. ++ +image::sno1_console_vm_stopped_tcn2.png[] + +.. Update the boot order to boot the `tcn2.lab.example.com` VM from disk. ++ +image::sno1_console_vm_boot_order_tcn2.png[] ++ +image::sno1_console_vm_boot_order_tcn2_1.png[] ++ +image::sno1_console_vm_boot_order_tcn2_2.png[] ++ +Ensure the `tcn2.lab.example.com` VM boots from disk. ++ +image::sno1_console_vm_boot_tcn2.png[] ++ +[IMPORTANT] +Follow the same above steps to boot the `tcn3.lab.example.com` VM from disk. + +. After 2 minutes, installation proceeds and you will notice the progress. ++ +After 5 minutes, `tcn2.lab.example.com` and `tcn3.lab.example.com` nodes are installed. ++ +image::hub_console_tenant_install_progress_4.png[] + +. Installation proceeds and continue with `tcn1.lab.example.com` node. ++ +image::hub_console_tenant_install_progress_5.png[] ++ +image::hub_console_tenant_install_progress_6.png[] + +. After 7 to 10 minutes, it waits on pending user action. ++ +image::hub_console_tenant_pending_user_actions_2.png[] ++ +This means you need to disconnect the discovery ISO from the `tcn1.lab.example.com` VM and boot the `tcn1.lab.example.com` VM from disk. ++ +Follow the same steps which were followed for `tcn2.lab.example.com` VM to boot the `tcn1.lab.example.com` VM from disk. + +. Installation completes in approximately in 20 minutes. ++ +image::hub_console_tenant_install_progress_7.png[] ++ +image::hub_console_tenant_install_complete.png[] ##FIX THIS## + +. Notice the `tenant` cluster is added to cluster list in `default` cluster set. ++ +image::hub_console_tenant_ready.png[] ++ +This concludes successful deployment of OpenShift cluster and added to hub cluster using RHACM. \ No newline at end of file diff --git a/modules/chapter4/pages/section3.adoc b/modules/chapter4/pages/section3.adoc new file mode 100644 index 0000000..26ae361 --- /dev/null +++ b/modules/chapter4/pages/section3.adoc @@ -0,0 +1,129 @@ += Access the Tenant Cluster +:experimental: + +In this section, you will be accessing _Tenant_ clusters. + +image::MCAP_setup_1.png[] + +== Prerequisites + +. Ensure that _Tenant_ cluster is deployed successfully. + +. Ensure `/root/tenant/` directory and file structure created. ++ +.Sample output: +---- +[root@hypervisor ~]# ls -al /root/tenant/ +total 28 +drwxr-xr-x. 2 root root 4096 Aug 22 15:20 . +dr-xr-x---. 13 root root 4096 Aug 22 15:18 .. +-rw-r--r--. 1 root root 24 Aug 22 15:11 kubeadmin-password +-rw-r--r--. 1 root root 12127 Aug 22 15:20 kubeconfig +---- + +. Get the `kubeconfig` file and password for `kubeadmin` user from the _Hub_ cluster console. ++ +image::hub_console_tenant_install_download.png[] + +.. Download the `kubeconfig` file to hypervisor, and then copy to `/root/tenant` directory on hypervisor. ++ +.Sample output: +---- +[root@hypervisor ~]# mv /root/Downloads/tenant-kubeconfig.yaml /root/tenant/kubeconfig +---- + +.. Copy the password for `kubeadmin` user, and paste it in new tab of a Firefox browser. ++ +image::hub_console_tenant_copy_password.png[] ++ +Copy the password from the tab of Firefox browser, and paste it in `/root/tenant/kubeadmin-password` file. ++ +image::hub_console_tenant_copy_password_1.png[] + +[IMPORTANT] +Follow the same steps for `sno2` and `sno3` clusters. + +== Access the _tenant_ Cluster via CLI + +. Copy the `/root/tenant/kubeconfig` file as `/root/.kube/config` file. ++ +[source,bash,role=execute] +---- +cp /root/tenant/kubeconfig /root/.kube/config +---- + +. Set the `kubepass` variable as `kubeadmin` user's password. ++ +[source,bash,role=execute] +---- +kubepass=$(cat /root/tenant/kubeadmin-password) +---- + +. Login to _tenant_ cluster with `oc login` command. ++ +[source,bash,role=execute] +---- +oc login -u kubeadmin -p $kubepass +---- ++ +.Sample output: +---- +Login successful. + +You have access to 79 projects, the list has been suppressed. You can list all projects with 'oc projects' + +Using project "default". +---- + +. Review the nodes. ++ +[source,bash,role=execute] +---- +oc get nodes +---- ++ +.Sample output: +---- +NAME STATUS ROLES AGE VERSION +tenant.lab.example.com Ready control-plane,master,worker 10h v1.29.7+6abe8a1 +---- + +[NOTE] +Follow the same steps for `sno2` and `sno3` clusters. + +== Access the _tenant_ Cluster from Web Console + +. Get the web console url from _Hub_ cluster console. ++ +image::hub_console_tenant_install_download.png[] ++ +. Click on the link from `Web Console URL`. ++ +Click btn:[Advanced...] to proceed. ++ +image::hub_console_tenant_advanced_risk.png[] ++ +Click btn:[Accept the Risk and Continue] to proceed. ++ +image::hub_console_tenant_accept_risk.png[] ++ +[NOTE] +You may need to accept the risk twice. + +. Login as `kubadmin` user. ++ +Get the `kubadmin` user's password from from _Hub_ cluster console. ++ +image::hub_console_tenant_install_download.png[] ++ +Copy the `kubadmin` user's password from from _Hub_ cluster console and paste it in `Password` field. ++ +image::tenant_console_access.png[] + +. Once you have logged in as `kubadmin` user, this is how the first screen should look: ++ +image::tenant_console_access_1.png[] + +. Verify _tenant_ cluster is in `Ready` state in _Hub_ cluster console. ++ +image::hub_console_tenant_ready.png[] \ No newline at end of file diff --git a/modules/chapter4/pages/section4.adoc b/modules/chapter4/pages/section4.adoc new file mode 100644 index 0000000..48f5edc --- /dev/null +++ b/modules/chapter4/pages/section4.adoc @@ -0,0 +1,6 @@ += Install Sample Application on Tenant Cluster +:experimental: + +image::MCAP_setup_1.png[] + +== Prerequisites \ No newline at end of file