diff --git a/content/modules/ROOT/assets/images/module-01-intro/23_PodLink.png b/content/modules/ROOT/assets/images/module-01-intro/23_PodLink.png new file mode 100644 index 0000000..241c127 Binary files /dev/null and b/content/modules/ROOT/assets/images/module-01-intro/23_PodLink.png differ diff --git a/content/modules/ROOT/assets/images/module-01-intro/24_Pod.png b/content/modules/ROOT/assets/images/module-01-intro/24_Pod.png new file mode 100644 index 0000000..30d432a Binary files /dev/null and b/content/modules/ROOT/assets/images/module-01-intro/24_Pod.png differ diff --git a/content/modules/ROOT/assets/images/module-04-storage/07_VM_Snapshot_Taken.png b/content/modules/ROOT/assets/images/module-04-storage/07_VM_Snapshot_Taken.png index 7c19035..24c0505 100644 Binary files a/content/modules/ROOT/assets/images/module-04-storage/07_VM_Snapshot_Taken.png and b/content/modules/ROOT/assets/images/module-04-storage/07_VM_Snapshot_Taken.png differ diff --git a/content/modules/ROOT/assets/images/module-04-storage/08_VM_Restore_Disabled.png b/content/modules/ROOT/assets/images/module-04-storage/08_VM_Restore_Disabled.png index 16c3ed3..24cf12f 100644 Binary files a/content/modules/ROOT/assets/images/module-04-storage/08_VM_Restore_Disabled.png and b/content/modules/ROOT/assets/images/module-04-storage/08_VM_Restore_Disabled.png differ diff --git a/content/modules/ROOT/pages/module-01-intro.adoc b/content/modules/ROOT/pages/module-01-intro.adoc index 46a88bd..92b8cbe 100644 --- a/content/modules/ROOT/pages/module-01-intro.adoc +++ b/content/modules/ROOT/pages/module-01-intro.adoc @@ -20,6 +20,10 @@ Your login is available with: * *User:* {user} * *Password:* {password} +== Switch to Administrator View + +After logging in you will show up in the Developer view, + [[create_project]] == Create a New Project @@ -39,6 +43,11 @@ The *Virtualization* tab is available only when Red Hat OpenShift Virtualization ==== . From the *Projects* dropdown switch to the project `vmimported-{user}`. ++ +[NOTE] +==== +The images in this lab guide may show different user numbers than your own. Do not worry, just create projects, etc with your user number. +==== . Examine the *VirtualMachines* dashboard that appears. There are currently several VMs listed, but they are not turned on: + @@ -183,6 +192,11 @@ image::module-01-intro/21_VM_Dialog_Migrate.png[link=self, window=blank, width=1 + image::module-01-intro/22_Migrated.png[link=self, window=blank, width=100%] +. You can see the VM moving between nodes if you look at the Pod that is running the VM. Blink and you'll miss it though! ++ +image::module-01-intro/23_PodLink.png[link=self, window=blank, width=100%] +image::module-01-intro/24_Pod.png[link=self, window=blank, width=100%] + == Summary In this lab, we reviewed virtual machine state management tasks, and executed a live migration of a VM. Both of these are common and necessary tasks as platform administrators and a great way to familiarize yourself with some basic features available when working with VMs in OpenShift Virtualization. diff --git a/content/modules/ROOT/pages/module-04-storage.adoc b/content/modules/ROOT/pages/module-04-storage.adoc index 59ba091..ac6324d 100644 --- a/content/modules/ROOT/pages/module-04-storage.adoc +++ b/content/modules/ROOT/pages/module-04-storage.adoc @@ -69,7 +69,7 @@ There is a warning about the *cloudinitdisk* not being included in the snapshot. + image::module-04-storage/06_VM_Snapshot_Dialog.png[link=self, window=blank, width=100%] -. Press *Save* and wait till the _Snapshot_ has been created and the *status* shows as *Succeeded*. +. Press *Save* and wait till the _Snapshot_ has been created and the *status* shows as *Operation complete*. + image::module-04-storage/07_VM_Snapshot_Taken.png[link=self, window=blank, width=100%] diff --git a/content/modules/ROOT/pages/module-07-tempinst.adoc b/content/modules/ROOT/pages/module-07-tempinst.adoc index 5e4990d..8e8da66 100644 --- a/content/modules/ROOT/pages/module-07-tempinst.adoc +++ b/content/modules/ROOT/pages/module-07-tempinst.adoc @@ -35,44 +35,6 @@ image::module-07-tempinst/01_Template_List.png[link=self, window=blank, width=10 + image::module-07-tempinst/02_Search_Centos9.png[link=self, window=blank, width=100%] -. Click on the template name for *centos-stream90-server-small*, you will be prompted with a message that default templates cannot be edited and asked if you'd like to clone. Click the *Create a new custom Template* option. -image::module-07-tempinst/= Template and InstanceType Management - -== Introduction - -Pre-configured Red Hat virtual machine templates are listed in the *Virtualization* -> *Templates* page. These templates are available for different versions of Red Hat Enterprise Linux, Fedora, CentOS, Microsoft Windows Desktop, and Microsoft Windows Server editions. Each Red Hat virtual machine template is preconfigured with an operating system image, the default settings for the operating system, the flavor (CPU and memory), and the workload type (server). - -The *Templates* page displays four types of virtual machine templates: - -* *Red Hat Supported* templates are fully supported by Red Hat. -* *User Supported* templates are *Red Hat Supported* templates that were cloned and created by users. -* *Red Hat Provided* templates have limited support from Red Hat. -* *User Provided* templates are *Red Hat Provided* templates that were cloned and created by users. - -[[prepare_templates_lab]] -== Prepare for the lab - -. The tasks that we are about to perform will require us to provision a few additional VMs. In preparation we are going to ask that you shut down the existing *fedora01* and *fedora02* virtual machines to ensure that your shared environment has enough resources to complete the lab. - -. Navigate to *Virtualization -> Virtualmachines* -. Make sure you check every project that you have access to to see all VMs in the environment. At a minimum you should check projects `vmimported-{user}` and `vmexamples-{user}` -. If any VMs are showing a status of *Running* click the three dots to the right and select *Stop*. - -Now all VMs should be in *Stopped* state. - -[[clone_customize_template]] -== Clone and Customize a Template - -By default pre-configured the templates provided by Red Hat OpenShift Virtualization cannot be customized. However you can clone a template and make adjustments to it for your particular workload in order to make it easier to request specific types of virtual machines for specific workloads. In this section of the lab we are going to do just this, by creating a template that will provide a preconfigured database server on demand for our end users. - -. To begin, navigate to *Virtualization* -> *Templates* and select *openshift* for your project (you may need to open the *Project* drop-down and click the radio button next to *Show default projects*). -+ -image::module-07-tempinst/01_Template_List.png[link=self, window=blank, width=100%] - -. In the search bar type in *centos9* and in the list of templates that appear find the template for *centos-stream9-server-small*. -+ -image::module-07-tempinst/02_Search_Centos9.png[link=self, window=blank, width=100%] - . Click on the template name for *centos-stream90-server-small*, you will be prompted with a message that default templates cannot be edited and asked if you'd like to clone. Click the *Create a new custom Template* option. + image::module-07-tempinst/03_Create_Custom_Template.png[link=self, window=blank, width=100%] @@ -107,10 +69,10 @@ userData: |- password: ${CLOUD_USER_PASSWORD} chpasswd: { expire: False } packages: - - mariadb-server + - mariadb-server runcmd: - - systemctl enable mariadb - - systemctl start mariadb + - systemctl enable mariadb + - systemctl start mariadb ---- + image::module-07-tempinst/10_Cloud_Init_Script.png[link=self, window=blank, width=100%]