VMware Cloud On AWS - Deploy Configure Manage 2021 Lab Manual
VMware Cloud On AWS - Deploy Configure Manage 2021 Lab Manual
com
Lab Manual
mcse2012.blogfa.com
[email protected]
Lab Manual
Cloud on AWS
Copyright © 2022 VMware, Inc. All rights reserved. This manual and its accompanying
materials are protected by U.S. and international copyright and intellectual property laws.
VMware products are covered by one or more patents listed at
http://www.vmware.com/go/patents. VMware is a registered trademark or trademark of
VMware, Inc. in the United States and/or other jurisdictions. All other marks and names
mentioned herein may be trademarks of their respective companies. VMware vSphere®
vMotion®, VMware vSphere® Replication™, VMware vSphere® Client™, VMware vSphere®
2015, VMware vSphere®, VMware vRealize® Network Insight Cloud™, VMware vRealize®
Log Insight Cloud™, VMware vRealize®, VMware vCloud®, VMware vCenter Server®,
VMware View®, VMware Horizon® View™ , VMware Verify™ , VMware Transit Connect™,
VMware Site Recovery™ for VMware Cloud™ on AWS, VMware HCX®, VMware HCX® for
Telco Cloud, VMware Customer Connect™, VMware Cloud™ on A WS, VMware Cloud™ on
A WS GovCloud (US), VMware Cloud™ on A WS Outposts, VMware Site Recovery
Manager™, VMware Site Recovery™, VMware Platform Services Controller™, VMware NSX
Cloud™, VMware NSX®, VMware vCenter® Log Insight™, vCenter Linked Mode, VMware
HCX® Enterprise, VMware Go™, Elastic DRS for VMware Cloud™ on A WS, VMware ESXi™,
and VMware ESX® are registered trademarks or trademarks of VMware, Inc. in the United
States and/ or other jurisdictions
The training material is provided "as is," and all express or implied conditions, representations,
and warranties, including any implied warranty of merchantability, fitness for a particular
purpose or noninfringement, are disclaimed, even if VMware, Inc., has been advised of the
possibility of such claims. This material is designed to be used for reference purposes in
conjunction w ith a training course.
The training material is not a standalone training tool. Use of the training material for self-
study without class attendance is not recommended. These materials and the computer
programs to which it relates are the property of, and embody trade secrets and confidential
information proprietary to, VMware, Inc., and may not be reproduced, copied, disclosed,
transferred, adapted or modified w ithout the express written approval of VMware, Inc.
www.vmware.com/ education
mcse2012.blogfa.com
Typographical Conventions
www.vmware.com/ education
'-'ontents
•
IV
Task 3: Create a Virtual Machine ...............................................................................................................................27
Task 4: Verify Network Connectivity for the V irtual Machine ....................................................................... 28
Task 5: Allow Outbound Network Access for the Virtual Machine ............................................................. 29
Lab 7 Creating a Policy-Based VPN ...................................................................................... 31
Task 1: Log In to the On-Premises vCenter Server Instance ......................................................................... 32
Task 2: Create a Policy-Based VPN ........................................................................................................................ 33
Task 3: Configure an On-Premises VPN ................................................................................................................ 34
Task 4: Verif y the Policy-Based V PN ..................................................................................................................... 35
Task 5: Verify Connectivity Over the V PN .......................................................................................................... 36
v
Task 1: (Optional) Log In to the vCenter Server Instance in the VMware Cloud SDDC ...................... 64
Task 2: Add an Identity Source for the SDDC vCenter Server .................................................................... 64
Task 3: Configure Hybrid Linked Mode from the Cloud SDDC .................................................................... 65
Task 4: Access the Virtual Machine Application ................................................................................................. 67
Task 5: Migrate a Virtual Machine from On-Premises to VMware Cloud .................................................. 67
Lab 14 Configuring and Using VMware HCX ..................................................................... 69
Task 1: Verify VMware HCX Deployment ............................................................................................................. 70
Task 2: Create the Firewall Rules for VMware HCX ...........................................................................................71
Task 3: Download the HCX Enterprise Client OVA File ...................................................................................72
Task 4: Deploy the VMware HCX Manager VM from an OVF Template ..................................................72
Task 5: Activate and Configure VMware HCX ................................................................................................... 7 4
Task 6: Create a Site Pairing and Service Mesh .................................................................................................. 75
Task 7: Create a Network Extension ...................................................................................................................... 80
Task 8: Use VMware HCX to Migrate a VM .......................................................................................................... 81
Lab 15 Performing Operations with API .............................................................................. 83
Task 1: Run AP I Commands Against VMware Cloud on A WS ..................................................................... 84
Task 2: Generate a New API Token in VMware Cloud Services ................................................................. 87
Task 3: Create an Env ironment in Postman by Using a Token ..................................................................... 88
Task 4: Generate an Access Token Using Postman ......................................................................................... 89
Task 5: Use Postman t o View a List of SDDCs .................................................................................................. 90
Task 6: Update Environmental Variables in Postman ........................................................................................ 91
Task 7: Use Postman to Get Primary Cluster Information ............................................................................... 91
Lab 16 Deploying Site Recovery Instances ........................................................................ 9 3
Task 1: Deploy the On-Premises Site Recovery Components ..................................................................... 94
Task 2: Register the On-Premises vSphere Replication Instance with vCenter Server ...................... 99
Task 3: Register the On-Premises Site Recovery Instance w ith vCenter Server ............................... 100
Task 4: Create the Firewall Rules for VMware Site Recovery ..................................................................... 101
Task 5: Create a Site Pair .......................................................................................................................................... 103
•
VI
Lab 18 Creating SDDC Groups ................................................................................................ 113
Task 1: Create an SDDC Group .................................................................................................................................114
Task 2: Unlink the Cloud SDDC from Hybrid Linked Mode ............................................................................114
Task 3: Link vCenter Server Instances in an SDDC Group ............................................................................. 115
Task 4: Remove SDDCs from an SDDC Group and Delete an SDDC Group ......................................... 116
••
VII
•••
V III
•
La 1 imu ation reat1ng an
Amazon VP
Your browser has a bookmark called Create Amazon VPC - iSIM in the VMC on AWS
bookmarks folder.
IMPORTANT
Do not refresh, navigat e away from, or minimize the browser hosting the simulation. These
actions can pause the simulation after which it might not continue.
1
Task 1: Create the Amazon VPC
You create a Amazon VPC and associated components for later use with a VMware Cloud on
AWS SDDC.
4. Click the VPC name text box to populate it wit h New VMC-VPC.
3. Select the new Public subnet with the matching VPC ID.
5. Select the route table with the matching Route Table ID and subnet association.
8. In the VPC Dashboard navigation menu, select Internet Gateways and review the details.
10. Select the endpoint with the matching VPC ID and review the details.
12. Select the matching Network ACL and review the details.
2
13. Select the Inbound Rules t ab for the new network ACL.
17. Select the Security Group wit h the matching VPC ID and review the det ails.
18. Select the Inbound Rules t ab for the new security group.
3
4
VMware
NOTE
Your instructor w ill demonst rate this lab. Organization members do not have t he required
permissions t o access VMware Cloud Identity and Access Management.
5
Task 1: Log In to VMware Cloud
You log in to t he VMware Cloud services console so that you can assign service access roles.
Your browser has a bookmark called VMware Cloud Services - Log In in t he VMC on AWS
bookmarks folder.
3. Click SIGN IN .
4. In the Email address text box, enter your email address and click NEXT.
6. Click SIGN IN .
1. In the SD DC console, click the VMware Cloud Services Applications Menu icon (nine-dot
icon) in t he top-right corner.
8. In the first drop-down menu for assigning service roles, select VMware Cloud on A WS.
9. In the second drop-down menu (with roles), select Administrator, NSX Cloud Admin, and
NSX Cloud Auditor and click SELECT.
11. In the first drop-down menu, select VMware HCX wit h role Administrator as the default
value.
13. In the first drop-down menu, select VMware vRealize Log Insight Cloud with role vRealize
Log Insight Cloud Admin as t he default value.
6
14. Click ADD SERVICE ACCESS.
15. In the first drop-down menu, select VMware vRealize Network Insight Cloud with role
Network Insight Administrator as t he default value.
Your new user persists under Pending Invitations until the user accepts the invit ation.
4. In the Email address text box, enter t he new email address and click NEXT.
6. Click SIGN IN .
7
8
•
La 1n
VMware
9
Task 1: Log In to VMware Cloud
You log in to the VMware Cloud services console.
Alternatively, your browser has a bookmark called VMware Cloud Services - Log In in the
VMC on A WS bookmarks folder.
3. Click SIGN IN .
4. In the Email address text box, enter your student email address and click NEXT.
6. Click SIGN IN .
7. Verify that you are logged in to the correct VMware Cloud Organization.
The VMware Cloud Organization name appears under your user name.
b. If the organization name does not correspond w ith your assigned organization, select
the correct organization in the Change Organization drop-down menu.
NOTE
Zerocloud is a simulated SDDC and does not have any physical back-end resources.
1. From the VMware Cloud landing page, click Inventory in the left pane.
10
3. On the SDDC Properties page, configure t he options.
Option Action
4. Click NEXT.
6. On the VPC and subnet page, select the VPC (assigned by your instructor) in the VPC drop-
down menu.
It might take a few minutes for the VPC drop-down menu to populate.
7. In the Subnet drop-down menu, select the first subnet in the list and click NEXT.
8. On the Configure Network page, accept the default and click NEXT.
9. Select the Charges start once your SDDC has finished deploying. Accrued charges will be
billed at end of the month check box.
10. Select the Pricing is per host-hour consumed for each host, from the time a host is
launched until it is deleted check box.
11
12
•
La 4 A 1ng an usters in
an DD
13
Task 1: Add a Cluster to the SDDC
You add a new cluster to the SDDC and configure a custom core count for the hosts.
1. From the VMware Cloud console, click VIEW DETAILS on your Zerocloud SDDC tile.
(-) SDDC
Zero cloud
a. If you do not see CPU, memory and storage values on the Capacity and Usage tile, click
Back, and then click VIEW DETAILS tab again of your Zerocloud SDDC.
2. On the Summary tab, click ADD CLUSTER on the Capacity and Usage tile.
3. In the Number of CPU Cores Per Host drop-down menu, select 16.
A tile for the New Cluster and a tile for the existing Cluster-1 appear.
This process takes approximately 20 minutes when you use an SDDC that is supported with
physical resources. In this Zerocloud lab, the process takes approximately 1 minute.
14
Task 2: Add Hosts to the Cluster
You add hosts to the newly created cluster in the SDDC.
2. Click CONTINUE.
The label DEPLOYING_HOSTS appears on the Cluster-2 tile. This process takes a few
minutes.
When the host is successfully added, a notification appears in the upper-right corner.
1. On the Summary tab, select Remove Host in the ACTIONS drop-down menu on the
Cluster-2 tile.
The following warning message appears: Elast i c DRS i s enabled for thi s
cluster. Are you sure you want to manually remove a host?
2. Click CONTINUE.
4. Select the I understand that this action cannot be undone check box.
5. Click REMOVE.
The label DELET ING_HOSTS appears on the Cluster-2 tile. The host removal process takes
a few minutes.
When the host is successfully removed, a notification appears in the upper-right corner.
15
Task 4: Delete the Cluster from the SDDC
You delete the cluster that you added.
1. On the Summary tab, select Delete Cluster in the ACTIONS drop-down menu on the
Clust er-2 tile.
2. Confirm that you are aware of t he consequences of deleting your clust er.
a. Select the All workloads in this cluster will be terminated check box.
b. Select the You w ill lose all data and configuration settings in this cluster check box.
c. Select the You w ill lose all UI and API access to this cluster check box.
d. Select the All public IP addresses for this cluster will be released check box.
The label DELETING_ CLUSTER appears on the Cluster-2 tile. The delet ion process t akes a
few minutes.
NOTE
The Cluster-1 tile no longer appears. The Cluster-1 tile is visible only when the SDDC has
multiple clusters.
16
•
5 onnect1ng to v enter
17
Task 1: Record the Network Information
You record network information that is used in lat er labs.
You use a full VMware Cloud SDDC for this lab and all subsequent labs. This SDDC is
predeployed for you. You do not use the Zerocloud SDDC.
Your SDDC has a name associated with your student number, for example, student1,
student 2, and so on.
3. Using the workbook. txt file (Notepad) on t he student desktop, record the net work
information that appears on the Overview page.
Setting Value
Appliance Subnet
Infrastructure Subnet
Source NA T Public IP
You cannot copy and paste from t he overview diagram. You must enter t he information in
the workbook. txt file.
If necessary, you can click and drag the diagram to move it or use the zoom but ton to
increase t he size of the diagram.
18
5. Record the CIDR details associated with the sddc-cgw-network-1 segment .
Setting Value
7. In the work book . t x t file, record the public IP address that is provided on the What Is My
IP Address? webpage.
Setting Value
IMPORTANT
Based on your securit y model, you should not grant access to the management servers from any
client through t he management gat eway. Instead, you configure your firewall ru le to access your
management servers only from trusted source addresses and net works.
1. On the Networking & Security t ab, click Groups under Invent ory.
2. On the Management Groups tab, create a group t o access the vCenter Server through the
management gateway.
e. Click APPLY.
f. Click SA VE .
19
3. On the Management Groups tab, create a group t o access t he ESXI through t he
management gateway.
a. Click ADD GROUP.
b. Enter ESXi, VR and SRM access through the management
gateway f or t he Group Name.
c. Click Set Members.
The Select Members window appears.
d. Enter 172. 20 .10. 0/24 and 172. 20 .11. 0/24 for the IP add resses.
e. Click APPLY.
f. Click SA VE.
2. In the Networking & Security tab, select Gateway Firewall under Security.
f. Click APPLY.
g. Click the edit icon in t he Destinations text box.
The Set Destination window appears.
h. Select vCenter and click APPLY.
i. Click the edit icon in t he Services text box.
j. Select the services.
• HTTPS (TCP 443)
• SSO (TCP 7444)
• ICMP (ALL ICMP)
k. Leave Allow selected in the Action drop-down menu.
I. Click PUBLISH .
20
5. Creat e a firewall rule to allow all the traffic t o ESXi t hrough the management gat eway.
f. Click APPLY.
j. Select t he services.
I. Click PUBLISH .
21
Task 4: Log In to the VMware Cloud SDDC vCenter Server Instance
You log in to t he vSphere Client t o view your new SDDC.
1. In the VMware Cloud console, click OPEN VCENTER in the top-right corner.
6. In the Password t ext box, paste the password that you copied.
IMPORTANT
For easy retrieval o f the cloudadmin@vmc. local credentials, you can copy and paste the
credentials into the wor kbook. txt file on your student deskt op. These credentials are for
class purposes only.
7. Click LOGIN .
8. If the following alarms or warnings appear, click Reset to Green for each one.
22
Machine
1. (Optional) Log In to the vCenter Server Instance in the VMware Cloud SDDC
23
Task 1: (Optional) Log In to the vCenter Server Instance in the
VMware Cloud SDDC
You log in to t he vSphere Client t o view your SD DC.
NOTE
If you are logged in to the SDDC vCenter Server instance, you can continue to the next task.
1. In the VMware Cloud console, navigate to the SDDC Summary page and click OPEN
VCENTER.
6. In the Password t ext box, paste the password that you copied.
7. Click LOGIN.
24
Task 2: Create a Subscribed Content Library
You create a subscribed content library so that you can create virtual machines from this
template.
25
3. Obtain t he content library subscription UR L.
a. In the A WS Management console, click t he Services drop-down menu in the top-left
corner of the page.
b. Select Storage under All Services and select S3 in the list on the right .
The A mazon S3 console opens and one or more buckets are list ed.
c. Click the bucket w ith t he name beginning wit h vmcosaws-acc-xx-xx-xxxx-x, for
example, vmcosaws-acc-01-us-west-2.
The name of the bucket varies depending on t he region.
d. Click ContentLib/ in the list of objects.
e. Click lib.json.
f. In the lib.json Object overview pane, locate the Object URL.
g. Click the copy icon next to the URL t o copy the URL to t he clipboard.
This URL is t he cont ent library subscription URL for a cont ent library t hat is precreated in
an Amazon S3 bucket. The content library contains a virtual machine t emplate that is
used in subsequent tasks.
4. Creat e a subscribed content library in t he VMware Cloud SDDC vCenter Server.
a. Navigate to the browser tab for the SD DC vSphere Client instance.
b. In the SDDC vSphere Client, select Content Libraries from the hamburger menu in the
upper-left corner.
c. Click CREA TE.
The New Content Library wizard opens.
d. On t he Name and location page, enter VMC-CL-01 in the Name text box and click
NEXT.
e. On the Configure content library page, select Subscribed Content Library.
f. For t he Subscription URL, past e t he lib.json object URL that you copied from the
Amazon S3 console.
g. Leave t he other options as t he defau Its and click NEXT.
The message Unabl e to ver i fy a u t henticity appears.
h. Click YES.
i. On the Apply security policy page, click NEXT.
j. On the Add storage page, select WorkloadDatastore and click NEXT.
k. Click FINISH to complete the creation of the new content library.
The content library is created and a task called Sync Library is initiated to download the
Lychee-ubuntu virtual machine t emplate.
The Sync Library task takes approximately 5 minutes to complete.
26
Task 3: Create a Virtual Machine
You create a virtual machine (VM) from a content library.
1. In the SD DC vSphere Client browser tab, select Content Libraries in the hamburger menu.
b. On t he Select a name and folder page, enter Photo-App-01 for the Virtual machine
name.
d. Click NEXT.
e. On the Select a compute resource page, expand the compute resource tree and select
Compute-ResourcePool.
f. Click NEXT.
b. In the left pane, expand the entire inventory tree and find the new VM Photo-App-01
under Compute-ResourcePool.
c. Right -click the Photo-App-01 VM and select Power > Power On.
The VM powers on and acquires an IP address using DHCP from the 192.168.xxx.0/24
range.
27
Task 4: Verify Network Connectivity for the Virtual Machine
You run connectivity test s on the VM to determine whether it can access the student desktop
machine and communicate w ith an external address.
1. In the SD DC vSphere Client browser tab, open a virtual machine console to the Photo-App-
01 VM.
• Username: ubuntu
• Password: VMware1!
Setting Value
28
d. Using the ping command, verify that t he VM can communicate wit h the gat eway
address.
f. Using the ping command, verify that t he VM can communicate wit h an external
Internet address (8.8.8.8).
1. In the VMware Cloud console, navigate to your assigned SDDC, for example, student1,
student 2 and so on.
f. Click PUBLISH.
6. Return to t he virtual machine console t ab and run the p i ng command to verify that the VM
can communicate with an external Internet address (8.8.8.8).
The ping command is successful because t he compute gateway firewall allows traffic
based on the new ru le.
29
30
7 VPN
3. Configure an On-Premises V PN
You create a policy-based VPN between the Tier-0 gateway of the VMware Cloud on AWS
SD DC and t he VyOS gat eway appliance in the on-premises environment.
- -
~) VMware Cl,o ud on AWS 1111111
1111111
On-Premises Data Center
~-
""':
I
~-
""':
..
.
MGW CGW
I rt'
~-----· - -+ +-
__ ,_ _ _ :.1I
/ '"
-+ +-
'-.: ,
" VyOS Gateway
) (
Policy-Ba5'ed IPSec VPN Policy- Ba5'ed IPSec V PN
•
I
I
I
I
''
I
I
I I
I ,....___________________,I
'-!-.----------- ---------
31
Task 1: Log In to the On-Premises vCenter Server Instance
You log in to t he vSphere Client t o view your on-premises vCenter Server instance, verif y the
vCenter Server healt h, and power on the virtual machines.
1. Log in to the on-premises vCenter Server inst ance using the Active Directory (AD)
credentials.
The vSphere Client in the on-premises vCent er Server opens. Your browser includes a
bookmark to vSphere Client (SA-VCSA-01) in the vSphere Infrastructure bookmarks
folder.
• Password: VMware1!
c. Click LOGIN.
2. Navigat e t o the Hosts and Clust ers view in the vSphere Client and locate the on-premises
vSphere environment .
The on-premises vSphere environ ment includes two clusters, SA-Comput e-01 and SA-
Management.
a. Right -click t he db-1a v irtual machine and select Power > Power On.
b. Right-click t he app-1a virtual machine and select Power > Power On.
c. Right -click t he web-1a virtual machine and select Power > Power On.
d. Right -click t he web-2a virtual machine and select Power > Power On.
e. Right -click t he web-VIP virtual machine and select Power > Power On.
32
Task 2: Create a Policy-Based VPN
You create a policy-based VPN in VMware Cloud so that you can connect to anot her dat a
center.
The name of your SDDC is associated w ith your student number, for example, student1,
student 2, and so on.
d. In the Remote Public IP t ext box, enter the on-premises public IP address that you
recorded to your text file (Notepad) earlier.
You can open a new browser tab to https:/ /ifconfig.me to find this address again.
This address is the uplink address of the on-premises VyOS rout er that is used in t his lab
environment.
j. Expand IKE Profile and select IKE V1 from the IKE Version drop-down menu.
k. Click SA VE.
The VPN status appears as Down, which is expected. You can continue to the next lab
task.
33
Task 3: Configure an On-Premises VPN
You configure the on-premises VPN for connecting to another data center.
1. On the student desktop, launch Windows PowerShell from the taskbar shortcut.
cd C:\Tools\
3. Using the Get-Help command, enter the command to display the example syntax for the
set-IPSecConf i g .psl PowerShell script.
The parameters of the set-IPSecConf ig. psl PowerShell script correspond to values
that you previously recorded in your text file.
-localnetworkl 172.20.10.0/24
-localnetwork2 172.20.11.0/24
34
4. Enter the set-IPSecConfig . p s l PowerShell script with all the appropriat e
parameters .
NOTE
If the values of the set- IPSecConf i g. ps 1 script are incorrectly entered, you must
rerun the script with the correct values.
3. Under Network, click VPN and select the Policy Based tab on the VPN page.
35
Task 5: Verify Connectivity Over the VPN
From the on-premises environment, you verify connect ivity to the VM in t he VMware Cloud
SD DC.
1. On the student desktop, launch Windows PowerShell from the taskbar shortcut.
ping 192.168.xxx.x
You can obtain t he IP address of the VM from the vSphere Client Summary tab of the VM
that runs in t he VMware Cloud SD DC.
Using t he V PN, you can connect from the on-premises environment to a virtual machine
running in t he VMware Cloud SDDC.
NOTE
It might take approximately 1 minute for the VMware Cloud to on-premises V PN to be fu lly
established and for pings to return successfully.
3. Obtain t he vSphere vMotion VMkernel interface IP address of the SDDC ESXi host.
b. In the SDDC vSphere Client instance, select Inventory from t he hamburger menu.
e. From the list of VMkernel adapters, record the IP address for the VM kernel adapter with
t he net work label VMOTION.
Setting Value
You use the SDDC vSphere vMotion IP address that you recorded in t he previous step.
36
•
erv1ces an roups
1. Create Services
2. Create Groups
37
Task 1: Create Services
You create a custom service to use with VMware Cloud on AWS firewa ll rules.
4. Creat e a custom service for Amazon EFS connectivity using port 2049.
i. Click APPLY.
j. Click SA VE.
38
Task 2: Create Groups
You create inventory groups and add membership criteria.
1. On the Networking & Security tab for the SDDC, click Groups under Inventory.
2. On the Compute Groups tab, create a group associated with the on-premises management
network.
a. Click ADD GROUP.
b. Enter on-prem-management for the Group Name.
f. Click APPLY.
g. Click SA VE.
g. Click APPLY.
h. Click SA VE.
4. Create a group associated with the Photo-App-01 virtual machine.
a. Click ADD GROUP.
h. Click SA VE.
39
Task 3: Apply Groups and Services to Firewall Rules
You apply groups and services t o comput e firewall ru les.
1. On the Networking & Security t ab for t he SDDC, click Gateway Firewall under Security.
2. On the Compute Gateway tab, edit t he Allow-All compute gateway firewa ll rule.
a. In the Name text box, click Allow-All and enter Allow-VPN as t he new ru le name.
b. In the Sources text box for the Allow-VPN rule, click t he edit icon.
h. Click APPLY.
40
Task 4: Create a Firewall Rule for Amazon EFS and Amazon RDS
You create a firewa ll rule to allow traff ic from Amazon Elastic File System (EFS) and Amazon
Relational Database Service (RDS) to the virtual machine.
NOTE
T he custom services, groups, and firewal l rules that you create are used when Amazon
services are consumed by a virt ual machine.
1. On the Network & Security tab f or the SDDC, click Gateway Firewall under Securit y and
open the Compute Gateway tab, if not already open.
2. Creat e a firewall rule to allow t raffic from the Photo-App-01 VM to Amazon EFS and
Amazon RDS (MySQ L).
f. Select the Connected VPC Prefixes check box and click APPLY.
You can use t he Apply Filter text field to search for t he services.
i. Click APPLY.
41
42
La
Exten
You create a layer 2 V PN tunnel between the Tier-0 gateway of the VMware Cloud on AWS
SDDC and t he on-premises NSX Autonomous Edge.
~ --
V
<. • VMware Cloud on A W S 111111
•
1 11 111•
On-Premises Data Center
web-la
.. m
--
VLAN10_ SOOC Segment
VLAN 10 Network
- •
. CGW t-+t
.H
- - --!t2- - -·
( ____
·1~ :J
•
,-+''
~ NSX Autonomous
'-..= ' Edge
1 l2VPN
L2 VPN
I
I
I '
I
I
• I
43
Task 1: Configure a Layer 2 VPN Tunnel in the SDDC
You create and configure the VMware Cloud on A WS side of a layer 2 (L2) V PN tunnel t o
connect to another data center.
1. On the student desktop, launch Windows PowerShell from the taskbar shortcut.
cd C:\Tools\
3. Run t he L2_publ i c_IP. psl PowerShell script to return the L2 public IP address .
Setting Va lue
b. For Local IP Address, click t he drop-down menu and select Public IP1.
c. For Remote Public IP, enter the L2 public IP address that you recorded in a previous
st ep.
This IP address is the uplink IP address of the on-premises NSX Autonomous Edge.
e. Click SA VE.
f. Click CLOSE.
The layer 2 VPN is created. The Status appears as Down, which is expected at this point
in the lab.
44
10. Download the L2 VPN tunnel configuration file.
c. Click YES.
In the next task, you use all the text between the double-quotation marks (") in the
peer_code section.
Your browser has a bookmark to the NSX Autonomous Edge in the NSX bookmarks folder.
• Password: VMware1!VMware1!
45
4. Add a new port t o extend the V LAN10 network.
f. Click SA VE.
e. In the Remote IP t ext box, enter the V PN Public IP address that is recorded in your
wor k b ook . txt file.
f. In the Peer Code text box, past e the pee r_code from the
L2VPNSess i o n_L2VPN_ conf i g . txt file.
g. Click SA VE.
e. Click ATTACH.
46
Task 3: Configure a Layer 2 VPN Extended Segment
You configure an extended network segment to use w ith a L2 V PN t unnel.
6. Creat e an ext ended segment to extend the on-premises V LAN 10 net work to t he SDDC.
d. Click SA VE .
a. In the list of DNS services, click t he Available actions menu for the Management
Gateway DNS Forwarder.
e. Click SA VE .
47
48
Objective and Tasks
Use Amazon Web Services to provide elastic file systems and databases to VMs running in
VMware Cloud:
49
Task 1: Obtain Amazon EFS and Amazon RDS Details
You log in to Amazon Web Services and record Amazon EFS and Amazon RDS information.
c. In the Account ID text box, enter your A WS account ID and click Next.
d. In the IAM user name text box, enter your student user name.
a. Click the region drop-down menu and select US West (Oregon) us-west-2.
50
3. Obtain the IP address that is used to connect to the Amazon EFS instance.
a. In the A WS Management console, click the Services drop-down menu in the top-left of
t he page.
b. Select Storage under All Services and select EFS in the list on t he right.
The Amazon Elastic File System console opens and one or more file systems are listed.
c. Click the file system name that is associated with your student number.
d. In the file system general view, click Attach in the top-right corner of the page.
Setting Value
g. Click Close.
4. Obtain the IP address that is used to connect to the Amazon RDS instance.
d. Click the link w ith the name that is associated with your student number, for example,
vmc-student1-db.
Setting Value
RDS port
51
Task 2: (Optional) Log In to the vCenter Server Instance in the
VMware Cloud SDDC
You log in to t he vSphere Client t o view your SD DC.
NOTE
If you are logged in to the SDDC vCenter Server instance, you can continue to the next task.
1. In the VMware Cloud console, navigate to the SDDC Summary page and click OPEN
VCENTER.
6. In the Password t ext box, paste the password that you copied.
7. Click LOGIN.
1. On the student desktop, click the MTPuTT Y icon in the t askbar to launch the MTPuTTY
application.
3. To open an SSH session to t he VM, double-click the server that corresponds with the IP
address o f the Photo-App-01 virtual machine in your environment.
52
4. Using the Amazon EFS mount IP address that you recorded previously, run the n c
command t o test connectivity from t he VM to the Amazon EFS instance.
nc -z -v 172.xxx.xx.xx 2049
The command returns Con nec t i on to XXX . XXX . XXX . XXX 2 0 4 9 por t
[tcp / nf s] s u cceeded !
5. Using the RDS endpoint URL and RDS port that you recorded in a previous task, run t he nc
command t o test connectivity from the VM to the Amazon RDS instance.
1. In the Photo-App-01 VM SSH session, run t he c d ,..., command to change to the user home
directory.
2. As the sudo user, run t he tes t_e f s _mount. sh script using t he Amazon EFS mount IP
address as a parameter.
The script returns Moun te d 1 72. XXX. XX. XX, indicating that the Amazon EFS instance
can be mounted.
4. As the sudo user, run t he p r ep-web se r ver. sh script using t he Amazon EFS mount IP
address as a parameter.
53
5. If prompt ed, enter VMwarel ! as t he password for the ubuntu user.
6. Open a browser tab t o the IP address of the Photo-App-01 VM: htt p://192.168.xxx.x.
a. If necessary, obt ain t he IP address from the vSphere Client VM Summary tab in the
SDDC vCenter Server instance.
54
Machine
ic IP A ress
55
Task 1: Request a Public IP Address
You assign a public IP address to the VM to make it accessible from the Internet.
6. Click SA VE.
Setting Value
2. Create a NAT ru le to direct traffic from the public IP address to the application IP address.
a. Click ADD NAT RULE.
d. In the Internal IP text box, enter the local IP address for the Photo-App-01 virtual
machine.
192.168.xxx.x
You can find the Photo-App-01 VM IP address recorded in your workbook. txt file.
f. Click SA VE.
56
3. Open a browser to the Photo-App-01 public IP address that was generated in the previous
task.
http : //XX.XX.XX.XX
The application is not accessible because the firewall does not allow inbound t raffic to the
virtual machine.
3. Create a firewall rule to allow HTTP traffic from any source to the public IP address of the
Photo-App-01 application.
You can use the Apply Filter text field to search for the service.
h. Click APPLY.
57
Task 4: Connect to Your New Public-Facing Virtual Machine
You open a web browser and use the IP address that was generated in a previous task to
connect to the public-facing VM.
1. Open a browser to the Photo-App-01 public IP address that was generated in a previous
task.
http : //XX.XX.XX.XX
NOTE
You can open a browser to this IP address from a browser outside of your lab environment.
The IP address is accessible on the Internet.
58
La -
ns
59
Task 1: Deploy VMware HCX
You deploy VMware HCX in the VMware Cloud SDDC.
b. Click CONFIRM .
The deployment is initiated and takes approximately 30 minutes.
c. Click CLOSE.
c. Click CONFIRM.
Your activation key appears.
d. Using Notepad, record the activation key in your workbook. txt file.
You use this key in a later task.
Setting Value
e. Click CLOSE.
Your activation key is listed in the table of activation keys.
It takes approximately 5 minutes for the virtual machine called hcx_ cloud_manager to
appear in the resource pool.
8. Wait for the hcx_cloud_manager virtual machine to appear before continuing to the next
task.
60
Task 2: Activate Site Recovery
You activat e Site Recovery for the SD DC and configure an initial Sit e Recovery inst ance for t he
SD DC.
In the VMware Cloud vSphere Client, t he vr (vSphere Replication) and srm (Site Recovery
Manager) virtual machines are deployed under Mgmt -ResourcePool. You must be logged in
as the [email protected] user to view Mgmt -ResourcePool.
61
62
•
r1 Linke
1. (Optional) Log In t o the vCenter Server Instance in the VMware Cloud SDDC
63
Task 1: (Optional) Log In to the vCenter Server Instance in the
VMware Cloud SDDC
You log in to t he vSphere Client t o view your SD DC.
NOTE
If you are logged in to the SDDC vCenter Server instance, you can continue to t he next task.
1. In the VMware Cloud console, navigate to your SD DC and click OPEN VCENTER.
7. Click LOGIN.
1. In the SD DC vSphere Client, select Administration from the hamburger menu in the top-left
corner.
4. Click ADD.
5. Select Active Directory over LDAP from t he Identity Source Type drop-down menu.
64
6. On the Add Identity Source page, configure the options.
Option Action
7. Click ADD.
1. In the SDDC vSphere Client, select Administration from the hamburger menu.
d. Click NEXT.
65
6. Provide the on-premises single sign-on (SSO) details.
a. Enter sa-vcsa-01. vclass. local in the Platform Services Controller t ext box.
7. Click FINISH.
Configuring SSO begins and t akes approximately 5 minutes. Wait for the Configuring SSO
t ask to complete before continuing.
9. Log In to the vCenter Server Inst ance in t he VMware Cloud SDDC using Active Directory
Credentials.
d. Click LOGIN.
10. Verify that you can view the on-premises vSphere environment and the VMware Cloud
SDDC environment in the vSphere Client.
c. Observe that the on-premises vSphere environment and the VMware Cloud SDDC
environment appear.
~I'.' (J"""'t ~ • . •.: • J .J , ,. • • J • '
- ~ ...
..
- ..
I
c
...
-· '
.......
-
..
----
66
Task 4: Access the Virtual Machine Application
You access t he virtual machine application to verify t hat the application is functional before it is
migrat ed to t he VMware Cloud environment.
2. In the left pane, expand t he vSphere inventory tree, if it is not already expanded.
b. Select Change both compute resource and storage and click NEXT.
c. Expand the VMware Cloud vCenter Server inventory and select Compute-
ResourcePool.
d. Click NEXT.
h. Click NEXT.
i. Select Schedule vMotion with high priority (recommended) and click NEXT.
67
4. Monitor the Recent Tasks pane and wait for the Relocate virtual machine task to finish.
5. If the migration fails the first time, repeat the migration steps.
6. To access the three-t ier application, open a browser t o the web-1a front-end at http://web-
01.vclass.local/cgi-bin/app.py or click WebServer-01 in the 3-Tier-App bookmarks folder.
You might need to wait a few minutes and refresh t he browser for the application to load
successfully.
This step confirms that the V LAN10 net work is successfully stret ched from the on-premises
environment to the VMware Cloud environment.
68
• •
La 14 on 1gur1ng an
H x
69
Task 1: Verify VMware HCX Deployment
You verify VMware HCX in the VMware Cloud SDDC.
The VMware HCX icon is visible in the top right o f your SDDC tile when VMware HCX is
deployed.
SDDCs
student1
e us WMt (Ot4!90fi)
5. If your VMware Cloud HCX deployment failed, notify your instructor and retry the
deployment .
70
Task 2: Create the Firewall Rules for VMware HCX
You create a gateway firewall ru le t o provide access to the VMware HCX deployment from the
student desktop.
e. Select t he vCenter and HCX access through the management gateway check box.
f. Click APPLY.
j. Select t he services.
• Appliance Management
• ICMP
• SSH
I. Click PUBLISH .
71
Task 3: Download the HCX Enterprise Client OVA File
You download the HCX Enterprise client OVA so that you can deploy it to the on-premises
SDDC.
1. On the SDDC Summary page, click the Add Ons tab.
2. On the VMware HCX tile, click OPEN HCX.
A new browser tab opens to https:/ I connect.hex. vmware.com/
3. Under your student SDDC, click OPEN HCX.
A new browser tab opens to your VMware HCX cloud instance.
4. Log in to the VMware HCX cloud console and download the VMware HCX appliance OVA.
a. To locate your [email protected] credentials, click V IEW DETAILS on your SDDC
tile, select the Settings tab, and expand Default vCenter User Account under vCenter
Information.
b. Enter your [email protected] credentials.
c. Click LOG IN.
The Dashboard opens.
d. Under Administration, click System Updates.
e. Click REQUEST DOWNLOAD LINK.
f. If the REQUEST DOWNLOAD LINK button is not clickable, wait a minute or two and
refresh the page.
g. Click the VMWARE HCX download link.
The download of the VMware HCX OVA begins. The download is stored in the software
(F : \) drive on the student desktop.
c. Click LOGIN.
The vSphere Client in the on-premises vCenter Server instance opens.
72
2. Deploy the on-premises VMware HCX OVA.
a. Right -click t he SA-Management cluster and select Deploy OVF Template.
The Deploy OVF Template wizard appears.
b. On the Select an OVF Template page, select Local file and click UPLOAD FILES.
A Windows Explorer Open dialog box opens.
c. Select the VMware-HCX-Connector-X.X.X-XXXXXXXX.OV A f ile and click Open.
d. Click NEXT.
e. On the Select a name and f older page, ent er SA-HCX-01 for the v irtual name and
click NEXT.
f. On the Select a compute resource page, select SA-Management and click NEXT.
g. On the Review details page, click NEXT.
h. On the License agreements page, click the I accept all license agreements check box
and click NEXT.
i. On the Select storage page, select Datastore-01 .
j. In the Select virtual disk format drop-down menu, select Thin Provision.
k. Click NEXT.
I. On the Select networks page, select sa-mgmt in the Destination Network drop-down
menu.
m. Click NEXT.
n. On the Customize temp late page, configure the template settings.
Option Action
CLI ''admin'' User Password Ent er VMwarel !
root Password Ent er VMwarel !
Hostname Ent er sa-hcx-01.vclass. local
Network 1 1Pv4 Address Ent er 172 . 2 0 . 10 . 71
Network 1 1Pv4 Prefix Length Ent er 2 4
You can ignore the opt ions that are not listed in the table.
o. Click NEXT.
p. On the Ready t o complete page, click FINISH .
The SA-HCX-01 virtual machine is deployed to the SA-Management clust er. This task
takes approximately 10 minutes.
73
3. Power on the SA-HCX-01 virtual machine.
a. Right-click the SA-HCX-01 virtual machine and select Power> Power On.
The VMware HCX appliance must complete a first boot configuration before the
management interface is available. This process takes approximately 10 minutes.
• Password: VMware1!
a. In the HCX License Key text box, enter t he VMware HCX activation key t hat you
recorded in your workbook. txt file in a previous task.
b. Click ACTIVATE.
The VMware HCX instance is activated. This process takes approximately 5 minutes.
3. In the Location of your datacenter text box, enter Virginia and select US East (N.
Virginia).
4. Click CONTINUE.
5. Click CONTINUE on the System Name page, where the system name is autopopulated w ith
sa-hcx-01. vclass.local-enterprise.
74
7. Connect VMware HCX to the on-premises vCenter Server instance.
d. Click CONTINUE.
e. Enter ht tps: I I sa-vcsa-01. vclass. local in the Identity Sources t ext box.
f. Click CONTINUE.
g. Click RESTART.
The SA-HCX-01 services are restart ed. This task takes approximately 5 minutes.
• Password: VMware1!
NOTE
The VMware HCX user int erface is also accessible using the vSphere Client plug-in.
75
2. Creat e a sit e pairing.
c. In the Remote HCX URL text box, ent er t he FQDN of your VMware HCX instance in
VMware Cloud.
You can o btain the VMware HCX FQD N from t he Settings tab in the VMware Cloud
SDDC.
You can obtain the [email protected] credent ials f rom the Settings tab in t he
VMware Cloud SD DC.
f. Click CONNECT.
The on-premises and VMware Cloud inst ances of VMware HCX are paired. This process
takes approximately 3 minut es.
g. In the IP Ranges text box, enter 172. 20 .10 .170-172. 20 .10 .179
76
4. Creat e a vSphere vMotion net work profile.
a. Click CREA TE NETWORK PROFILE.
The Create Net work Profile window opens.
• WAN Optimization
• Bulk Migration
• Network Extension
• Disaster Recovery
d. Click CONTINUE.
The Select Service Resources page opens.
e. Click the Select Resources drop-down menu, select the SA-Compute-01 check box,
and click OK.
f. Click CONTINUE.
The Select Deployment Resources and Reservations page opens.
g. Click the Select Resources drop-down menu, select the SA-Management check box,
and click CLOSE.
77
h. Click the Select Datastore drop-down menu, select the Datastore-02 check box, and
click CLOSE.
i. Click CONTINUE.
j. Click the Select Management Network Profile drop-down menu, select sa-mgmt, and
click CLOSE.
k. Click CONTINUE.
I. Click the Select Uplink Network Profile drop-down m enu, select sa-mgmt, and c lick
CLOSE.
m. Click CONTINUE.
n. Click the Select vMotion Network Profile drop-down menu, select sa-vmotion, and cl ick
CLOSE.
o. Click CONTINUE.
p. Click the Select Uplink vSphere Replication Network Profile drop-down menu, select
sa-mgmt, and click CLOSE.
q. Click CONTINUE.
s. Click CONTINUE.
Connections that are required bet ween t he on-premises environment and VMware
Cloud HCX instance are list ed.
t. Click CONTINUE.
u. Click FINISH .
78
6. Creat e a service mesh.
d. Click the Select Source Compute Profile drop-down menu, select compute-01, and c lick
CLOSE.
f. Click CONTINUE.
• Hybrid Interconnect
• WAN Optimization
• Bulk Migration
• Network Extension
• Disaster Recovery
h. Click CONTINUE.
i. Click the Select Source Site Uplink Network Profile(s) drop-down menu, select the sa-
mgmt check box, and click CLOSE.
j. Click the Select Destination Site Uplink Network Profile(s) drop-down menu, select the
externalNetwork check box, and c lick CLOSE.
k. Click CONTINUE.
The Advanced Configuration - Network Extension Appliance Scale Out page opens.
79
m. Click CONTINUE.
n. Select t he Application Path Resiliency and TCP Flow Conditioning check boxes.
o. Click CONTINUE.
p. Click CONTINUE.
r. Click FINISH .
5. Click SUBMIT.
The net work extension is created. This process takes approximately 3 minutes.
6. If the Network Ext ension w indow does not refresh automatically, click REFRESH in the
VMware HCX user interface.
80
Task 8: Use VMware HCX to Migrate a VM
You use VMware HCX to migrate a VM from the on-premises environment to the VMware Cloud
environment.
10. Under Transfer and Placement, click the Migration Profile drop-down menu and select
vMotion.
In the vSphere Client, the app-1a virtual machine moves to t he special jump-host
(172.20.10.170) before moving to t he VMware Cloud Compute-ResourcePool.
14. After t he migration completes successfully, close the command prompt window.
81
82
La
API
83
Task 1: Run API Commands Against VMware Cloud on A WS
You use the VMware Cloud services API Explorer to run API commands against VMware Cloud
on AWS.
a. On the VMware Cloud console, click Developer Center in the left pane.
84
2. Use the API Explorer to obtain your SDDC ID.
b. Click General.
Setting Value
g. Click EXECUTE.
h. Under Response, click your SDDC name link to expand the API response.
i. Under your SDDC name link, locate the " i d" : parameter.
Sddc (studentl)
{
"account l i nk state" : null,
"created" : "2021-04-28T21 : 46 : 40.000102Z",
"expiration_ date" : nul l,
''id'': ''261f0022-04 7c-48e2-a1b3-7 4452940a4 f6'',
"name " : " student 2 " ,
"org_ id" : "a75a5cfb-002d-4dab-b291-47fc070ac34c",
"provider" : "AWS" ,
"resource_ config" :
j. Copy and paste the SDDC ID into Notepad.
Setting Value
85
3. Use the API Explorer to obtain your cluster details.
The Retrieves the primary cluster in provided customer sddc UUID API is expanded.
c. In the sddc text field, paste in the ID value copied in the previous step.
d. Click EXECUTE.
e. Under Response, click the cluster link to expand the API response.
AwsEsxHost (esx-0)
{
"availability_zone": "us-west-2b",
•
"custorn_propert1es":
{} '
"esx id": "006d0cd8-5c93-4cl6-b7ed-62d9c9bfl7ac",
"esx_state": "READY",
''hostname'': ''10.202.2.4 '',
"instance_type": " i3.metal",
"internal_public_ip_pool":
[
h. Verify that the IP address value for the hos tnarne parameter matches the IP address
of the ESXi host in your VMware Cloud environment.
86
Task 2: Generate a New API Token in VMware Cloud Services
You generate a new API token and copy the token so that you can use it later.
a. On the VMware Cloud console, click your user name in the top-right corner of the page.
c. In the Token Name text box, enter studentID-token, for example, studentl-
token .
d. Click the Token TTL drop-down menu and select days.
g. Click GENERATE.
Setting Value
a. If t he COPY button does not copy the token to the clipboard, highlight the entire token
string, right-click, and select Copy.
4. Click CONTINUE.
87
Task 3: Create an Environment in Postman by Using a Token
You create an environment in Postman and set it as your default environment.
a. Click New.
e. In the Current value t ext box, past e the token that you generated in the previous task.
g. In the Current value t ext box, past e the org value that you copied in t he previous task.
h. Click Add.
j. In the No Environment drop-down menu, select VMC to make it your def ault
environment.
88
Task 4: Generate an Access Token Using Postman
You generate an access token in Postman using the API token that you created in an earlier task.
After you generate an API token, you can use it to interact with VMware Cloud service A Pis by
exchanging it for an access or authorization token.
The code that is shown takes the API response and stores the access token as an
environment variable.
4. Click Send.
89
Task 5: Use Postman to View a List of SDDCs
You run a GE T command in Postman to display a list o f your SDDCs.
5. Click Send.
The response from the API request is displayed.
6. Click t he search icon and enter your student ID, for example, studentl.
Body Coe .. Heeders (11) TenRewts
Prmy
ser_ e : se ra are.c ,
•cr~a·~· : •X)21-1>"·28T2l:46:'6.009776:· , • j _1 of1 I I ::-
•vt!r s1on• : 64,
1
1507
•io•: ·913 S196·5~42·4523· e·l689c32 t40!0" ,
·~l>dateo_cy_user_it•: •6e a /Se48·3197·30d3·l)e85·63Seo9~7d68· 1 -
1 • !Xia\ o_~_us,r_na •: •:L&P39frl ~~ l u ~ OJOOo'i\lQPlc ~ · ,
1512 •rcsocrrce_conLl1" : (
1513 ·sooc_io·: ·91J 82'96·5 •4 2-C513·90~-1~32'4t130· ,
1514 •r 1on•: -US_W!ST_2•,
1515 ·c-~b!ic_i~_poo!•: (] ,
1516 "•icn s·: [
1~17 ~
9 Boote.amp
Pr tty Q
senr• • are. cca ,
•create(!•: ·2021-0L·2!T21:'6:'6.00\!77o?" , stu4ent1I- - - - - • 1of1 -
1505 • ersion•: fl4 ,
15
1507
150
•io": ·913 S196·5 •~2- 4523-90Se·l6!9c32 t4 0!0" ,
·~IXlateo.~-u~er_io•: •oaa /Se48·3197·38da·!)e85·63Seo9~ 7o6S· .
•ltl>Clatcd_b}_1.1str _ •: •:L pJ!frl~ l U!~ CIOdo'f'\fQ?lc.:.·,
-
1509 ·~::icatec·: •2921 -0&-JaTCE:03:1)4.~!· ,
1s1e
1511 •orcvider•: ·Aws·,
1512 "' ('If ...
1513 •$ddc_!c1• : •91J68296·5 •4 2-4S23·90~-l~32•4dJO• ,
151.C re on :
1515 ·C!Jb!ic_ip_poo!•: (] ,
1516
1~17 (
9 Bootcomp
90
Task 6: Update Environmental Variables in Postman
You update t he environment variables in Postman to include an SDDC ID variable.
b. Click the Current value text box and past e the sddc_ id value that you copied in the
previous task.
c. Click Update.
d. Click X in the top-right corner of t he Manage Environments window.
4. Click Send.
The response from the API request is displayed.
l •
2 •c1uster_id• : •10S7bee?>-~f~ · • S8 1 -9l , o-096c7S919c~f· ,
) •clvster_ •: •c1uster·1· ,
•s •c!v~ter_s:ete • : •READY" ,
6 {
7
8
g
11 • "1"ovidf'r•: • •,
12 ·e~x-~tete•: • REA::>Y" ,
tl ·cus•on oro~rties•: () , •
9' Bootcamp
6. Verify that t he IP address value for the hos tname parameter matches the IP address of
the ESXi host in your VMware Cloud environment.
7. Exit Postman.
91
92
Objective and Tasks
Deploy Site Recovery on-premises and creat e a site pair:
93
Task 1: Deploy the On-Premises Site Recovery Components
You download and deploy the on-premises Site Recovery components.
4. Log in to VMware Customer Connect using your assigned student account email address and
password.
a. Click the Products and Accounts menu and click All Products.
f. On the Product Downloads tab, click the DOWNLOAD NOW butt on for VMware Site
Recovery Manager 8.5.x Appliance.
The download of the Site Recovery Manager ISO begins. The download is stored in the
software (F : \) drive on the student deskt op.
h. On the Product Downloads tab, click the DOWNLOAD NOW butt on for VMware
vSphere Replication 8.5.x Appliance.
The download of the vSphere Replicat ion ISO begins. The download is stored in t he
software (F : \) drive on the student deskt op.
94
6. Mount the vSphere Replication ISO and vSphere Site Recovery ISO.
7. Log in to the on-premises vCenter Server inst ance using Active Directory (A D) credent ials.
• Password: VMware1!
c. Click LOGIN.
a. Right -click the SA-Management cluster and select Deploy OVF Template.
b. On t he Select an OVF Template page, select Local file and click UPLOAD FILES.
e. Click NEXT.
f. On t he Select name and folder page, enter SA-VR-01 and click NEXT.
i. On the License agreements page, select the I accept all license agreements check box
and click NEXT.
95
I. In the Select virtual disk format drop-down menu, select Thin Provision and click
NEXT.
m. On the Select networks page, select sa-mgmt from the Destination Network drop-
down menu and click NEXT.
Option Action
You can ignore the options that are not listed in this table.
o. Click NEXT.
The SA-VR-01 virtual machine is deployed to the SA-Management cluster. This process
takes approximately 5 minut es.
96
9. Deploy the on-premises Site Recovery Appliance.
b. On the Select an OVF Template page, select Local file and click UPLOAD FILES.
e. Click NEXT.
f. On the Select name and folder page, enter SA-SRM- 01 and click NEXT.
g. On the Select a compute resource page, select SA-Management and click NEXT.
i. On the License agreements page, select the I accept all license agreements check box
and click NEXT.
I. In the Select virtual disk format d rop-down menu, select Thin Provision.
m. Click NEXT.
n. On the Select networks page, select sa-mgmt in the Destination Network drop-down
menu and click NEXT.
97
o. On the Customize templat e page, configure the options.
Option Action
p. Click NEXT.
The SA-S RM-01 virtual machine is deployed to the SA-Management clust er. This
process t akes approximately 5 minut es.
a. Right-click the SA-VR-01 virtual machine and select Power > Power On .
b. Right-click the SA-SRM-01 virtual machine and select Power > Power On .
98
Task 2: Register the On-Premises vSphere Replication Instance with
vCenter Server
You register and configure t he on-premises vSphere Replication instance.
c. Click LOGIN.
The vSphere Replicat ion Appliance Management int erface summary page appears.
e. Click NEXT.
f. Click CONNECT.
h. Click CONNECT.
I. Click FINISH .
Conf iguring vSphere Replication begins. T his process takes approximately 3 minutes.
You can close this browser tab aft er the process finishes.
99
Task 3: Register the On-Premises Site Recovery Instance with
vCenter Server
You register and configure t he on-premises Sit e Recovery inst ance.
e. Click NEXT.
A Security Alert window opens.
f. Click CONNECT.
h. Click CONNECT.
I. Click FINISH .
Conf iguring Sit e Recovery Manager begins. T his process takes approximately 3 m inutes.
You can close this browser tab aft er the process finishes.
100
Task 4: Create the Firewall Rules for VMware Site Recovery
You create two gateway f irewa ll rules to provide access to the Site Recovery Manager
appliances deployed in your SDDC.
Based on your securit y model, you can determine whether you can grant access to the Sit e
Recovery Manager appliances f rom any client. Instead, you can provide specific IP ranges from
which the site recovery access is expect ed.
When the Site Recovery Manager configuration is ready, you must provide access to t he
vSphere Replication appliance.
3. On the Networking & Security t ab, click Gateway Firewall under Securit y.
f. Click APPLY.
I. Click PUBLISH .
101
6. Creat e a firewall rule to allow out bound t raffic f rom Site Recovery Manager.
i. Click PUBLISH.
f. Click APPLY.
I. Click PUBLISH.
102
8. Creat e a firewa ll rule to allow out bound t raffic from vSphere Replication.
i. Click PUBLISH.
• Password: VMware1!
c. Click LOGIN.
103
2. Creat e a site pair.
b. Select Pair with a peer vCenter Server located in a different SSO domain and click
NEXT.
c. In the PSC host name t ext box, enter your VMware Cloud vCenter Server FQD N.
You can obtain the VMware Cloud vCenter Server FQDN from the VMware Cloud
SDDC Settings tab.
When copying the vCent er Server FQDN into the VMware Cloud SDDC Set tings t ab,
use t he fol lowing format: vcenter.sddc-35-162-185-71.vmwarevmc.com
Do not include t he st arting https:/ I or the ending slash (/).
The FQDN is an example only. In your lab, the vCenter Server FQDN is different.
You can obtain the [email protected] l credent ials f rom the VMware Cloud SDDC
Set tings t ab.
g. Select the VMware Cloud vCenter Server inst ance and click NEXT.
h. Select the Site Recovery Manager and vSphere Replication check boxes and click
NEXT.
i. Click CONNECT.
j. Click FINISH.
NOTE
If t he site pair is not visible, you should click the Sit e Recovery interface ref resh icon.
104
Objective and Tasks
Use Site Recovery features:
105
Task 1: Create VMware Cloud Network Segments
You create net work segments in VMware Cloud t hat are used by Site Recovery network
•
mappings.
e. Click SA VE.
e. Click SA VE.
106
Task 2: Access the Site Recovery Management Interface
You access and use the paired Site Recovery management interface.
1. Log in to the on-premises vCenter Server instance using Active Directory (AD) credentials.
a. Open a browser tab to the vSphere Client in the on-premises vCenter Server at
https:/ I sa-vcsa-01. vclass.local/ui
Your browser includes a bookmark to the vSphere Client (SA-VCSA-01) in the vSphere
Infrastructure bookmarks folder.
• Password: VMware1!
c. Click LOGIN.
2. Refresh the browser tab to ensure that all plug-ins are loaded.
At the top of the vSphere Client, a banner might show the message P 1 ug ins have
been successfully deployed.
3. Access the Site Recovery interface.
If the Site Recovery plug-in does not appear, log out of the vSphere Client and log in
•
again.
NOTE
The Site Recovery interface might display alerts that certificates are due to expire.
These alerts can be ignored. For this lab, the VMware Cloud Site Recovery instances
have a short certificate life cycle by design.
4. In the tile that includes the paired vCenter Server instances, click V IEW DETAILS.
107
Task 3: Create Site Recovery Inventory Mappings
Using Site Recovery, you create network, folder, resource, and storage policy m appings
bet ween on-premises inventory and VMware Cloud invent ory. You also configure p laceholder
datastores.
a. On the Site Pair tab, click Network Mappings in the navigat ion menu.
b. Click NEW.
m. Click NEXT.
o. Click NEXT.
p. Click FINISH.
108
2. Creat e folder mappings.
a. On the Site Pair tab, click Folder Mappings in the navigation menu.
b. Click NEW.
g. Click NEXT.
i. Click FINISH.
b. Click NEW.
f. Click NEXT.
h. Click FINISH.
109
4. Creat e storage policy mappings.
a. On the Site Pair tab, click Storage Policy Mappings.
b. Click NEW.
The New Storage Policy Mappings window opens.
c. Select Automatically prepare mappings for storage policies with matching names and
click NEXT.
g. Click OK.
h. Click NEXT.
j. Click FINISH.
The storage policy mappings are created successfully.
c. Select the check box associated w ith the datastore name beginning with ma-ds and
associated w ith host 172.20.10.170.
d. Click REMOVE.
e. Click REMOVE.
Datastore-02 is the only datastore listed under Placeholder Dat astores for sa-vcsa-
01. vclass.local.
g. Click NEW.
i. Verify that WorkloadDat astore is the only dat astore listed under Placeholder Datast ores
for vcenter.sddc-XX-XXX-X-XXX. vmwarevmc.com.
If other dat astores are listed, remove t hem from the list .
110
Task 4: Configure Site Recovery Replications
You configure a new replication, protection group, and recovery plan for on-premises virtual
machines.
c. Click NEW.
The Configure Replication wizard opens.
b. Click NEXT.
3. Select the virtual machines that you want t o protect.
a. Select db-1a.
b. Click NEXT.
4. Select a target datastore for the replicat ed fi les.
a. Select WorkloadDatastore.
b. Click NEXT.
5. Configure the replication server settings for the virtual machine.
a. Leave the default values.
b. Click NEXT.
6. Add virtual machines t o a prot ection group.
a. Select Add to new protection group.
c. Click NEXT.
7. Add t he protection group to a recovery plan.
a. Select Add to new recovery plan.
b. Enter recovery_ plan_ a1 for the for the Recovery plan name.
c. Click NEXT.
d. Click FINISH.
The replication is configured successfully.
8. Monitor the progress of the replication task.
a. Click the arrow next to db-1a to expand the replication det ails for this virtual machine.
The sync operation progress bar is shown. The replication task takes approximately 3
minutes to complete.
111
Task 5: Run a Recovery Plan and Reprotect Operation on a Virtual
Machine
You run the recovery plan to fail over to the replicated virtual machine instance. You also
pertorm a reprotect operation to initiate replication in t he reverse direction.
2. Confirm that running the plan in recovery mode attempts to shut down the VMs at the
protect ed site and recover the VMs at the recovery site.
a. Select the I understand that this process will permanently alter the virtual machines
and infrastructure of both the protected and recovery datacenters check box.
c. Click NEXT.
d. Click FINISH.
In the on-premises environment, the db-1a virtual machine is powered off. In the VMware
Cloud environment, t he replicated db-1a virtual machine is powered on.
a. Select recovery _plan_01 and click the ellipses (three dots) menu.
b. Click Reprotect.
5. Confirm that running reprot ect on the plan commits the resu lts of the recovery and
configures protection in the reverse direction.
a. Select the I understand that this operation cannot be undone check box.
b. Click NEXT.
c. Click FINISH.
The reprotect is started. This process takes approximat ely 3 minutes. T he reprotect
task is complete when t he st at us changes to Ready.
If t he reprotect task f ails to complete. Reboot t he SA-VR-01 appliance and try again
after reboot process is complet ed.
112
•
reat1ng roups
IMPORTANT
This lab requires that two students work t ogether. One student perform tasks 1, 2, and 3, and
t he other student performs task 4.
113
Task 1: Create an SDDC Group
You create an SD DC group using two student SDDCs.
1. From the VMware Cloud console, click Inventory in the left navigation pane.
5. Monitor the status of the SDDCs under the Connectivity Status column and wait f or the
status t o appear as CONN ECT ED.
T he connection process takes a few minut es.
IMPORTANT
Hybrid Linked Mode over a DX connect ion is unaffect ed when an SDDC is added to a group.
1. In the SDDC vSphere Client, click t he hamburger menu and select Administration.
2. Click Hybrid Management under Hybrid Cloud.
3. On the Hybrid Management page, click REMOVE for t he vCenter Server sa-vcsa-
01.vclass.local.
114
4. Provide t he on-premises single sign-on (SSO) credentials.
NOTE
5. Click OK.
6. Click the I understand the firewall rules and wish to proceed with vCenter linking check
box.
7. Click LINK.
Appropriate firewall rules are automatically created in both SDDCs.
The vCenter linking process takes approximately 2 minutes. The vCenter Server instances
are linked when the vCenter Linking Status appears as Linked for both SDDCs.
8. Open a new browser tab and go to the vSphere Client in your VMware Cloud vCenter
Server instance.
You can obtain the VMware Cloud vCenter Server vSphere Client URL from the Settings tab
in the VMware Cloud SDDC.
10. Observe that both student instances of VMware Cloud SDDC vCenter Server are shown.
You can view only the VMware Cloud vCenter Server instances. The on-premises vCenter
Server instances do not appear.
11. If both student vCenter Server instances do not appear, log out of the vSphere Client and
log in again.
115
Task 4: Remove SDDCs from an SDDC Group and Delete an SDDC
Group
You remove SDDCs from the SDDC group and delete the group.
c. Select the All vCenter linking will be unlinked and you will no longer manage all
vCenter servers collectively check box.
d. Click UNLINK.
d. Click CONTINUE.
The SD DCs are removed from the group. This process takes approximately 5 minutes.
a. Click the ACTIONS drop-down menu in the upper-right corner of the SDDC Group
Summary tab.
c. Select the You will lose all configurations and settings for the SDDC Group check box.
116