generated from rhpds/showroom_template_default
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
initial re-import after Tommy's done
- Loading branch information
1 parent
54cb06b
commit 3faad99
Showing
8 changed files
with
88 additions
and
47 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
== Migrate VM from VMware to ROSA | ||
== Module 1: Resource Utilization Dashboards | ||
|
||
. Viewing the OpenShift Virtualization Operator | ||
It may seem trivial, but capturing utilization metrics from all VMs isn’t simple, particularly in the cloud. | ||
OpenShift makes this easy by automatically generating these dashboards for every VM you run on OpenShift. | ||
The resource metrics are stored in a time series database allowing the user to view utilization at various points in time and is exportable if the Customer wishes to view the metrics in their own dashboards. | ||
|
||
This is the operator that creates the “Virtualization” tab in the OpenShift console. It can be installed simply through the Operator Hub. | ||
. Go to your "windowsnetworking" namespace, on the left hand side click the "Virtualization" tab. | ||
|
||
. Viewing the Migration Toolkit for Virtualization | ||
|
||
This is the operator that creates the “Migration” tab in the OpenShift console. This is where you connect to the VMware cluster you want to migrate VMs from (providers) and create the migration jobs (plans). | ||
. Click "VirtualMachines" and click on the winnetworking1 VM. Show the “Overview” tab and then the "Metrics" tab |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,15 @@ | ||
== Show Resource Utilization Dashboards | ||
== Module 2: Declarative IaC for Automating VM Resources | ||
|
||
It may seem trivial, but capturing utilization metrics from all VMs isn’t simple, particularly in the cloud. | ||
OpenShift makes this easy by automatically generating these dashboards for every VM you run on OpenShift. | ||
The resource metrics are stored in a time series database allowing the user to view utilization at various points in time and is exportable if the Customer wishes to view the metrics in their own dashboards. | ||
Automating the creation of new VM instances or managing the configuration of existing VMs requires an understanding of complex IaC languages. | ||
One of the advantages of k8s is that its configuration is managed with declarative YAML templates and VMs running on OpenShift are the same. | ||
|
||
. Go to your “windowsnetworking” namespace, on the left hand side click the “Virtualization” tab | ||
. Go to your “windowsnetworking” namespace, on the left hand side click the “Virtualization” tab. | ||
|
||
. Click “VirtualMachines” and click on the winnetworking1 VM. Show the “Overview” tab and then the “Metrics” tab | ||
. Click “VirtualMachines” and click on the winnetworking1 VM. | ||
Notice the CPU | Memory section on the “Overview” tab. | ||
|
||
. Click the “YAML” tab and scroll down until you see “cpu”. | ||
|
||
. Modify “cores” to increase the core count from 4 to 8. | ||
|
||
. Restart the VM if necessary to apply the CPU changes. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,12 @@ | ||
== Live Migrate VM Between Hosts | ||
== Module 3: Declarative IaC for Automating VM Creation | ||
|
||
=== Uplift Topic 2: Declarative IaC for Automating VM Resources | ||
|
||
Automating the creation of new VM instances or managing the configuration of existing VMs requires an understanding of complex IaC languages. | ||
One of the advantages of k8s is that its configuration is managed with declarative YAML templates and VMs running on OpenShift are the same. | ||
Now let’s show how we can use the YAML tab to automate the creation of a new VM. | ||
|
||
. Go to your “windowsnetworking” namespace, on the left hand side click the “Virtualization” tab | ||
. Click “VirtualMachines” and click on the winnetworking1 VM. | ||
Notice the CPU | Memory section on the “Overview” tab. | ||
Click the “YAML” tab and scroll down until you see “cpu”. | ||
Modify “cores” to increase the core count from 4 to 8. | ||
Restart the VM if necessary to apply the CPU changes. | ||
|
||
=== Do a VM Migration | ||
|
||
if RH1, don't do it. :D | ||
. Click “VirtualMachines” and click on the winnetworking1 VM. | ||
Copy all the YAML in the YAML tab. | ||
. Click “VirtualMachines” then “Create” in the top right corner. Select “With YAML” | ||
. Delete the pre-created YAML and paste the YAML template copied from winnetworking1. | ||
. Search for “macAddress” and change the MAC address | ||
. Search for “name: winnetworking1” (around line 41) and change it to winnetworking3 | ||
. Click “Create” and notice the new VM is created |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,22 @@ | ||
== Egress Network Policy | ||
== Module 5: Network Egress Firewall | ||
|
||
Security is important to every customer. | ||
The least privilege principle is a common security practice that limits an application's access to only those resources it needs to operate. | ||
For example, if we know an application does not need access to the internet, we should create a policy to block that application’s access to the internet. | ||
|
||
In the real world, customers will solve this challenge with outbound proxies/VLANs/firewalls, but those solutions can be expensive and complex to implement. | ||
Now we will show OpenShift Virtualization allows us to add an additional layer of security with just a few button clicks. | ||
|
||
. Click “VirtualMachines”, click “winnetworking1” then click the “Console” tab. | ||
Login to the Windows VM | ||
. Click the start menu, then type “powershell”. | ||
Run “curl google.com” and notice that the connection succeeds | ||
. On the left side, click “Networking”. | ||
Click “NetworkPolicies”. | ||
Click “Create NetworkPolicy”. | ||
. Name the policy “no-egress” then click “Add pod selector”. | ||
The label is App and the Selector is winnetworking | ||
. Click the link that says “affected pods” to see the pods that will be affected by this networking policy. | ||
Click “Deny all egress traffic” and click “Create”. | ||
. Go back to the powershell window and run “curl google.com” again. | ||
Notice that the network connection hangs indicating internet access is blocked. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,25 @@ | ||
== Advanced Network Telemetry for VMs | ||
== Module 6: Istio Traffic Management | ||
|
||
In the world of containers, service mesh (or Isitio more specifically) is considered one of the most desirable and transformational k8s features. | ||
Whenever we talk about service mesh, it’s in the context of words like “modernized”, “12 factor”, “SOA” and containerized apps - never with legacy VMs. | ||
|
||
“Uplift and Shift” is about giving additional feature functionality without requiring rewriting or replatforming your applications. | ||
|
||
Imagine the situation where a web application is running in Windows IIS and customers are reporting intermittent errors/latency. | ||
What tooling exists for those legacy VMs to troubleshoot? | ||
In this final section, we’ll show how we can use the advanced network telemetry from Istio and Kiali to easily troubleshoot these issues with our legacy windows VMs. | ||
|
||
. Switch to the “istio-system” project, click “Networking” on the left and click “Routes”. Find the route for Kiali, browse and login to Kiali. | ||
. Within Kiali, click “Services” on the left. Notice that we have a service called winmesh. Click the winmesh service - notice that there are two VMs, windowsmesh1 and windowsmesh2. | ||
. In the top right corner, click “Actions” and “Request Routing” | ||
. Click “Route To” and notice the two VMs are listed. Click “Add Route Rule” to do 50/50 load balancing. | ||
. Click “Show Advanced Options” at the bottom. Input “*” for VirtualService Hosts. | ||
. Click “Gateways” and click “Add Gateway”. Click “Create Gateway” then click “Preview”. | ||
. Click “Create” or “Update” | ||
. Now that the request routing is created, click “Graph” on the left side. | ||
. Click “Display” and select “Response Time” to see request latency. | ||
. Click “Throughput” to see data transfer rate | ||
. Click “Traffic Distribution” to view load balancing percentage | ||
. Click “Traffic Rate” to see how many requests per second are being sent | ||
. Notice the panel on the right side that shows request response code (200, 300, 400, 500s) | ||
This file was deleted.
Oops, something went wrong.