Skip to content

Commit

Permalink
Merge pull request #1 from rhpds/cnv_single_user
Browse files Browse the repository at this point in the history
Cnv single user
  • Loading branch information
wkulhanek authored Jun 24, 2024
2 parents 8ca0122 + 497b539 commit f1d7e16
Show file tree
Hide file tree
Showing 16 changed files with 227 additions and 393 deletions.
4 changes: 2 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
.vscode
.cache/*
www/*
.cache

24 changes: 9 additions & 15 deletions content/antora.yml
Original file line number Diff line number Diff line change
@@ -1,27 +1,21 @@
---
name: modules
title: Sample Module Title
title: Experience OpenShift Virtualization
version: master
nav:
- modules/ROOT/nav.adoc
- modules/ROOT/nav.adoc

asciidoc:
attributes:
lab_name: Red Hat OpenShift Virtualization Roadshow
lab_name: Experience OpenShift Virtualization
release-version: master
page-pagination: true
my_var: "foo"
guid: my-guid
ssh_user: devops
ssh_password: devops
ssh_command: ssh devops@bastion.{guid}.example.opentlc.com
page-links:
- url: https://redhat.com
text: Red Hat
- url: https://www.redhat.com/en/summit
text: Summit
- url: https://redhat.com
text: Red Hat
- url: https://www.redhat.com/en/summit
text: Summit

extensions:
- ./content/lib/tab-block.js
- ./content/lib/remote-include-processor.js

- ./content/lib/tab-block.js
- ./content/lib/remote-include-processor.js
31 changes: 15 additions & 16 deletions content/modules/ROOT/nav.adoc
Original file line number Diff line number Diff line change
@@ -1,45 +1,44 @@

* xref:index.adoc[Introduction]
* xref:module-01-intro.adoc[1. Virtual Machine Management ]
* xref:module-01-intro.adoc[Virtual Machine Management ]
** xref:module-01-intro.adoc#create_project[Create a New Project]
** xref:module-01-intro.adoc#create_vm[Create a Linux Virtual Machine]
** xref:module-01-intro.adoc#admin_vms[Administering Virtual Machines]
** xref:module-01-intro.adoc#vm_state[Controlling Virtual Machine State]
** xref:module-01-intro.adoc#live_migrate[Live Migrate a Virtual Machine]
* xref:module-02-mtv.adoc[2. Migrating Existing Virtual Machines]
* xref:module-02-mtv.adoc[Migrating Existing Virtual Machines]
** xref:module-02-mtv.adoc#prerequisites[Prerequisites for Migrations]
** xref:module-02-mtv.adoc#migrating_vms[Migrating Virtual Machines from VMware]
* xref:module-03-baremetal.adoc[3. Bare Metal Infrastructure Management ]
** xref:module-03-baremetal.adoc#review_nodes[Review Nodes and Machines]
** xref:module-03-baremetal.adoc#review_hosts[Review Bare Metal Hosts]
** xref:module-03-baremetal.adoc#scaling_cluster[Scaling the Cluster with a New Bare Metal Host]
* xref:module-04-storage.adoc[4. Storage Management]
* xref:module-04-storage.adoc[Storage Management]
** xref:module-04-storage.adoc#examine_pvc[Examine the PVC for a VM]
** xref:module-04-storage.adoc#managing_snapshots[Managing Snapshots]
** xref:module-04-storage.adoc#clone_vm[Clone a Virtual Machine]
* xref:module-05-bcdr.adoc[5. Backup and Recovery for Virtual Machines]
* xref:module-05-bcdr.adoc[Backup and Recovery for Virtual Machines]
** xref:module-05-bcdr.adoc#review_operator[Review the OADP Operator]
** xref:module-05-bcdr.adoc#create_backup[Create a Virtual Machine Backup]
** xref:module-05-bcdr.adoc#restore_backup[Restore From a Backup]
* xref:module-06-network.adoc[6. Network Management]
** xref:module-06-network.adoc#create_netattach[Create a Network Attachment Definition]
** xref:module-06-network.adoc#connect_external_net[Connect a Virtual Machine to an External Network]
** xref:module-06-network.adoc#multinetwork_policy[Using a Multinetwork Policy]
* xref:module-07-tempinst.adoc[7. Template and InstanceType Management]
* xref:module-07-tempinst.adoc[Template and InstanceType Management]
** xref:module-07-tempinst.adoc#clone_customize_template[Clone and Customize a Template]
** xref:module-07-tempinst.adoc#create_win[Create a Windows VM Template]
** xref:module-07-tempinst.adoc#instance_types[Introduction to Instance Types]
* xref:module-08-workingvms.adoc[8. Working with Virtual Machines and Applications]
* xref:module-08-workingvms.adoc[Working with Virtual Machines and Applications]
** xref:module-08-workingvms.adoc#lb_concepts[Load Balancer Concepts]
** xref:module-08-workingvms.adoc#lb_config[Load Balancer Configuration]
** xref:module-08-workingvms.adoc#service_route[Exposing an Application with a Service/Route]
** xref:module-08-workingvms.adoc#expose_db[Expose the Database Externally]
// * xref:module-03-baremetal.adoc[Bare Metal Management ]
// ** xref:module-03-baremetal.adoc#review_nodes[Review Nodes and Machines]
// ** xref:module-03-baremetal.adoc#review_hosts[Review Bare Metal Hosts]
// ** xref:module-03-baremetal.adoc#scaling_cluster[Scaling the Cluster with a New Bare Metal Host]

// * xref:module-06-network.adoc[6. Network Management]
// ** xref:module-06-network.adoc#create_netattach[Create a Network Attachment Definition]
// ** xref:module-06-network.adoc#connect_external_net[Connect a Virtual Machine to an External Network]
// ** xref:module-06-network.adoc#multinetwork_policy[Using a Multinetwork Policy]
39 changes: 18 additions & 21 deletions content/modules/ROOT/pages/index.adoc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
= Welcome to the {lab_name} !
= Welcome to {lab_name}!

[%hardbreaks]
== Introduction
Expand All @@ -14,28 +14,27 @@ In this event we will explore many common management activities that virtualizat

*Virtual Infrastructure Administrators* -- Those responsible for the physical infrastructure hosting the OpenShift Virtualization solution. These users will be responsible for physical hardware, storage, and networking changes to the environment, that will affect the day to day operations of the running virtual machines.


== What Content Is Covered In The Roadshow?

These are the *eight* main sections that will be covered:
// These are the *eight* main sections that will be covered:
These are the *six* main sections that will be covered:

* _Virtual Machine Management_: In this section we will provide a review of virtual machine management fundamentals, including creating a virtual machine, and modifying it's allotted resources.

* _Migrating Existing Virtual Machines_: In this section, we will use the Migration Toolkit for Virtualization (MTV) to migrate a VM from an existing VMware vSphere environment to OpenShift Virtualization.

* _Bare Metal Infrastructure Management_: In this section, an administrator will learn how to scale their OpenShift environment by adding in an additional worker node to host virtualized workloads.
// * _Bare Metal Infrastructure Management_: In this section, an administrator will learn how to scale their OpenShift environment by adding in an additional worker node to host virtualized workloads.

* _Storage Management_: The storage paradigm familiar to many administrators changes with OpenShift Virtualization. This section will explore many actions related to storage management for virtual machines.

* _Backup and Recovery for Virtual Machines_: This unit introduces and demonstrates additional concepts around backing up VMs to external sites and restoring them in the event of a disaster.

* _Network Management_: By default VMs are connected to the pod network in OpenShift. In this section we will explore creating new L2 network mappings, and configuring microsegmentation policies for multiple networks.
// * _Network Management_: By default VMs are connected to the pod network in OpenShift. In this section we will explore creating new L2 network mappings, and configuring microsegmentation policies for multiple networks.

* _Template and InstanceType Management_: In order to streamline deployment of virtual machines, administrators will often create Templates or define InstanceTypes to ease deployment operations. This section will focus on those processes.
* _Template and InstanceType Management_: In order to streamline deployment of virtual machines, administrators will often create Templates or define InstanceTypes to ease deployment operations. This section will focus on those processes.

* _Working with Virtual Machines and Applications_: In this section we will perform several day-2 activities with our imported virtual machines, including setting up a load-balancer, and exposing our VM hosted applications through services and routes.


== What is OpenShift Virtualization?

* OpenShift Virtualization is a feature of Red Hat OpenShift; it is not an add-on or a separate product and is included with all entitlements.
Expand All @@ -45,11 +44,10 @@ These are the *eight* main sections that will be covered:
* OpenShift Virtualization leverages the RHEL KVM hypervisor and allows the VM to be managed by Kubernetes and KubeVirt. An OpenShift Virtualization VM uses Kubernetes scheduling, network, and storage infrastructure.
* OpenShift Virtualization includes entitlements for **unlimited virtual RHEL guests**. Guest licensing for other supported operating systems will need to be purchased separately.
* OpenShift Virtualization is SVVP certified with Microsoft for Windows guest support per the same rules that apply to Red Hat’s other KVM virtualization offerings.
* OpenShift Virtualization is currently only supported on bare metal physical servers, typically on-premises or through dedicated hosting. Support for other topologies (OpenShift deployed on virtualized infrastructure like RHV or vSphere) is not available at this time.
* OpenShift Virtualization is currently only supported on bare metal physical servers, typically on-premises or through dedicated hosting. Support for other topologies (OpenShift deployed on virtualized infrastructure like RHV or vSphere) is not available at this time.
* Support for https://www.redhat.com/en/blog/managing-virtual-machines-and-containers-as-code-with-openshift-virtualization-on-red-hat-openshift-service-on-aws[AWS / ROSA^] has already been announced, and we are in the process of adding support for OpenShift Virtualization to additional Managed OpenShift Cloud services.
* OpenShift Virtualization allows OpenShift to deploy, manage, and connect virtual machines to an OpenShift cluster. This includes the ability to connect to and manage those VMs using Kubernetes-native methods and take advantage of OpenShift features like Pipelines, GitOps, Service Mesh, and more.


== Why switch from a traditional VM platform?

**Adopt cloud-native development and/or cloud-native operations:**
Expand Down Expand Up @@ -77,35 +75,34 @@ If you would like to learn more about OpenShift Virtualization, please visit the
== Requirements for the Lab Environment

* Participant needs to have their own computer with browser and internet access.
* Chromium based browsers are recommended as some copy/paste functions don't work in Firefox for the time being.
* Chromium based browsers are recommended as some copy/paste functions don't work in Firefox for the time being.
* Remote access console uses the US keyboard layout by default, so it's good to know where special characters reside for other country's layouts, or to use the copy/paste function in a supported browser.

=== Credentials for the OpenShift Console

Your OpenShift cluster console is available {openshift_web_console}[here^].
Your OpenShift cluster console is available {openshift_cluster_console_url}[here^].

Administrator login is available with:

* *User:* {openshift_admin_user}
* *Password:* {openshift_admin_password}
* *User:* {openshift_cluster_admin_username}
* *Password:* {openshift_cluster_admin_password}

=== Bastion Access
////
=== Command Line Access
A RHEL bastion host is available with common utilities pre-installed and OpenShift command line access pre-configured.
To the right you see a Terminal window. Out of the box you are logged in as a service account - that can't do much. However you can log into OpenShift as the cluster administrator using the following command (hit `y` when prompted if you want to connect to an insecure server):
For SSH access to the bastion execute the following:

[source,sh,role=execute,subs="attributes"]
[source,sh,subs="attributes",role=execute]
----
sudo ssh [email protected]
oc login -u {openshift_cluster_admin_username} -p {openshift_cluster_admin_password} {openshift_api_server_url}
----
////

=== vCenter Access

In the migration chapter of the lab, you will be asked to login and examine a https://{vcenter_console}[VMware vSphere^] environment.

For access, please use the following credentials:

* *vcenter_user:* {vcenter_user}
* *vcenter_user:* {vcenter_full_user}
* *vcenter_password:* {vcenter_password}

Loading

0 comments on commit f1d7e16

Please sign in to comment.