Laboratorio 3
Laboratorio 3
Laboratorio 3
Lesson 1: Storage Policy-Based Management and Control - In this lesson, you will be creating storage
policies and deploying a virtual machine that uses one of those policies.
In practice, Storage IO control works in the same way as Resource Shares do for memory and
compute. Turning on Storage IO Control without adjusting the shares means all your VMs will have
equal access to storage. VMs that have a higher share value will get greater access to the storage.
As with Resource shares, these SIOC shares are proportional. For example, a VM that has 1000
shares will get access to storage twice as often as VM with 500 shares, but half as often as one with
2000 shares.
This module will cover some new policy-based management integration with Storage IO Control.
Through this integration, you can define IO limits, reservations, and shares as part of your storage
policies and apply them to your virtual machines.
In this lesson, you will go through some of the key screens for these new functionalities and become
familiar with these new capabilities.
You will create three storage policies and then configure a VM to use a policy.
1. Click on Menu Icon
2. Click on Policies and Profiles
2. Click on the Create VM Storage Policy icon on the top of the middle navigation panel
CREATE VM STORAGE POLICIES - NAME AND
DESCRIPTION
Haga clic para ampliar
In this task, you will create a storage policy for Storage IO Control. You will be repeating these steps
to create three storage policies named:
1. Click the Storage I/O Control tab to display the option for storage based I/O control.
2. Select the Use storage policy component option.
3. Select the High IO shares allocation option in the drop-down menu. These common rules are generic and
apply across all kinds of storage, and are not dependant on a specific datastore. These rules are generally provided
by VMware, but additional rules are offered by third-party I/O filters.
4. Then click Next to continue.
1. This screen shows you the datastores in your environment that are compatible with the policy you have
created. Because we only used common rules and not any specific rule-sets, all the storage we have is compatible.
Click Next
1. Repeat the process to create a new policy "Standard IO" with the "Normal IO shares allocation" component,
and note the different value for IOPs shares.
2. Repeat the process to create a new policy "Restricted IO" with the "Low IO shares allocation" component,
and note the different value for IOPs shares.
3. Verify that you have created the three policies.
We will now deploy a VM from the Template Library using the Standard IO Policy
2. Click Next
DEPLOY FROM TEMPLATE - SELECT A TEMPLATE
Haga clic para ampliar
You may receive a warning about advanced configuration options. This is ok. This lab is using a
very basic template that does not contain a publishers certificate. You can safely ignore this
warning.
This screen allows you to examine some of the details for the template.
1. Click Next
STORAGE POLICIES
1. Move the slider to the right to enable "per disk" management of storage policies
Because storage policies can be defined at a disk level, they allow you to define different storage
policies for each disk a VM has. The sioc-001 VM only has one disk in the lab. If the sioc-001 VM had
multiple disks, you could choose a different policy for each disk, as this screen capture shows. You
also see a VM Home folder, or namespace listed. This is a special area for holding VM configuration
files, such as memory snapshots, .vmx files, .log files, and others. You may want a different set of
policies for this namespace because it can be inefficient to perform certain tasks like caching for the
data stored here.
2. If you click on the drop-down arrow next to the storage policies per disk, you will see the other
policies you created.
CONCLUSION
In this module, you were able to create three storage policies with different settings and apply
one of those policies to a newly created VM. These policies are the foundation for Storage
Policy-based Management and Control, which is a key way to reduce your operations
overhead when managing storage.
INTRODUCTION
This Module contains the following lessons:
Lesson 1: vSphere Standard Switch (vSS, vSwitch) vs vSphere Distributed Switch (vDS, dvSwitch) - This
lesson will explain the differences between the vSphere Standard Switch and the vSphere Distributed Switch.
Lesson 2: Introduction to NSX - In this lesson, you will get a brief overview of VMware NSX and see a list of
labs that will get you well on your way to using NSX.
There are three ways to license the vNetwork Distributed Switch (vDS):
NSX
Enterprise Plus
Remote Office Branch Office Advanced
Distributed switches provide similar functionality to vSwitches. A dvPortgroup is a set of dvPorts. The
dvSwitch equivalent of portgroups is a set of ports in a vSwitch. Configuration is inherited from
dvSwitch to dvPortgroup, just as from vSwitch to Portgroup.
Virtual machines, Service Console interfaces (vswif), and VMKernel interfaces can be connected to
dvPortgroups just as they could be connected to portgroups in vSwitches.
Administrative rights are required to create these virtual adapters on each ESXi/ESX host dvSwitch
in vCenter Server:
These features are available only with a Distributed Switch (vDS, dvSwitch):
INTRODUCTION TO NSX
VMware NSX Data Center is the network virtualization platform for the Software-Defined Data Center
(SDDC), delivering networking and security entirely in software, abstracted from the underlying
physical infrastructure.
NSX Data Center enables the Virtual Cloud Network, providing pervasive, end-to-end connectivity for
your apps and data, wherever they are.
Please proceed to the next step for a video introduction to VMware NSX Data Center.
VIDEO: INTRODUCTION TO VMWARE NSX DATA
CENTER (2:59)
Logical networks decouple virtual machine connectivity and network services from the physical
network, giving cloud providers and enterprises the flexibility to place or migrate virtual machines
anywhere in the data center while still supporting layer-2 / layer-3 connectivity and layer 4-7 network
services.
Below are some great labs that will dive into NSX and its features and use cases
HOL-2003-01-NET - Getting Started with VMware NSX - VMware NSX is the platform for Network
Virtualization. You will gain hands-on experience with Logical Switching, Distributed Logical Routing,
Dynamic Routing, Distributed Firewall and Logical Network Services.
HOL-2003-02-NET - VMware NSX: Distributed Firewall with Micro-Segmentation - In this lab, we will
explore use cases around VMware NSX and Micro-Segmentation, including more in-depth reviews of
the Distributed Firewall and Service Composer UI.
HOL-2003-02-NET - VMware NSX Operations & Visibility - In this lab, we will explore use case topics
around Operations and Visibility in VMware NSX. You will gain hands-on experience with NSX tools
such as Traceflow, CentralCLI, Flow Monitoring, and Application Rule Manager and End Point
Monitoring.
HOL-2005-01-SDC - Site Recovery Manager - Data Center Migration and Disaster Recovery - Learn
how to minimize risk and reduce downtime for your applications and services with Site Recovery
Manager (SRM) and NSX.
HOL-2025-02-NET - VMware NSX Advanced Consumption - This lab covers advanced NSX topics
and builds on the basics learned in the "Getting Started with VMware NSX (HOL-1903-01-NET)" lab.
HOL-2003-01-NET - vRealize Network Insight - Getting Started - This lab explores the functionality of
vRealize Network Insight (vRNI) Discover how vRNI helps with micro-segmentation, compliance,
optimizing network performance across networks, ensuring health and availability of NSX, and
management of AWS networking.
HOL-2026-01-NET - VMware NSX-T: Introduction to NSX-T - This lab explores VMware NSX-T, our
multi-hypervisor platform for building developers clouds and hosting next-gen apps.
HOL-2022-01-NET - Securing Native Workloads in AWS using VMware NSX - In this lab, we will
explore how VMware's NSXaaS on Public Clouds (AWS) provides micro-segmentation to native
instances running in AWS.
CONCLUSION
This module explained the various ways that you can enable networking features and
functions in a virtual environment. This ranged from the simple with the vSphere Standard
Switch, to the full-featured vSphere Distributed Switch, and then to the Enterprise-Grade NSX.
INTRODUCTION
This Module contains the following lessons:
Lesson 1: Migrating Virtual Machines from vCenter to vCenter - You will learn about and perform a Cross
vCenter vMotion. You will see how easy and seamless this procedure is.
The use of Cross vCenter vMotion (x-vC-vMotion) allows for migration of VM's between vCenters that
are in the same or different datacenters. This feature allows administrators to easily move VM's
between vCenters without downtime. The vCenters can be in the same data center or another data
center with no more than 150 milliseconds of latency between the datacenters.
The source and destination vCenter Server instances and ESXi hosts must be 6.0 or later.
The cross vCenter Server and long distance vMotion features require an Enterprise Plus license. For more
information, see: https://www.vmware.com/products/vsphere.html#compare
Both vCenter Server instances must be time-synchronized with each other for correct vCenter Single Sign-
On token verification.
For migration of compute resources only, both vCenter Server instances must be connected to the shared
virtual machine storage.
When using the vSphere Web Client, both vCenter Server instances must be in Enhanced Linked Mode and
must be in the same vCenter Single Sign-On domain so that the source vCenter Server can authenticate to the
destination vCenter Server.
1. Click on the Menu icon
2. Select Hosts and Clusters
1. Expand the navigation tree in the left pane exposing all of the virtual machines, and check to see if the core-
01a is running (it will have a green arrow on the icon if it is). If it is running, skip the rest of the steps below. If it is not
running, please go through the steps below.
2. Right click core-01a.
3. Hover over Power.
4. Select Power On.
1. Right click core-01a.
2. Select Migrate from the context menu that appears.
This will start the migration wizard where we can select the destination for the VM. The list of VMs
shown may vary based on other labs you may have completed. Also, note that this is the same option
you would use if you were performing a vMotion with a vCenter or cluster. You use the same
regardless of what the vMotion destination is.
SELECT STORAGE
Haga clic para ampliar
The vMotion will migrate the VM to a new datastore that is available on the new host. This allows
VM's to be moved between clusters, vCenters, or datacenters that do not have shared storage.
SELECT FOLDER
Haga clic para ampliar
1. Select RegionB01
2. Click Next
SELECT NETWORKS
Haga clic para ampliar
1. Select the VM-RegionB01-vDS-COMP network.
2. Click Next
This will change the port group the VM is associated with. There are no changes within the VM to the
IP or network configuration. Your network must be setup in a way that allows the VM to move to this
new port group without these changes. Network Virtualization is a way to extend the layer 2 network
across Layer 3 boundaries. Please see the NSX Labs “HOL-1903-01-NET Getting Started with
VMware NSX” and “HOL-1925-02-NET VMware NSX Multi-Site and SRM in an Active-Standby
Setup” for more information.
Note that depending on which other modules you may have done, you may see an additional screen
in the wizard asking you to set a vMotion Priority. If you see this screen, leave the default settings
and click Next.
READY TO COMPLETE
1. Review the settings that vCenter will use to perform the vMotions, and click Finish
3.
4. Haga clic para ampliar
5. We can view the progress of the operation in the Recent Tasks pane at the bottom of the
screen.
6. Note that if you do not see the Recent Tasks pane, you may need to expand it by clicking
on Recent Tasks on the right side of the screen.
MIGRATION COMPLETE
That's all there is to it. In the left navigation pane you can now see the core-01a VM has been moved
to the RegionB01-COMP01 Cluster, which is in the vcsa-01b.corp.local vCenter. As with any other
vMotion, this is completed with no downtime. The ability to vMotion VMs between hosts, clusters,
vCenters, and virtual switches give you even greater flexibility than you had before when managing
your workloads.
Note: If you plan on continuing and taking other modules in this lab, please use the same process to
vMotion the VM back to the RegionA vCenter. Use the following information to assist with this:
CONCLUSION
Migrating VM's between vCenters is a very simple process. Cross vCenter vMotion allows an
Administrator to easily move workloads between vCenters that are in the same data center or
different data centers without down time. This reduces the amount of time spent during migrations
and consolidations. Storage is also migrated allowing for migrations between different types of
storage and removing the need for storage replication and downtime. The network must be available
on both ends of the migration to prevent the VM from losing its network connection. This can be done
through Layer 2 stretching or Network Virtualization.
CONCLUSION
In this module, you learned the requirements for Cross vCenter vMotion and performed one
yourself. This feature opens a number of opportunities to organize your VMs as you need to
without giving up the flexibility that vMotion brings you.
MODULE 4 - CREATING AND MANAGING THE
CONTENT LIBRARY (30 MINUTES)
This module contains the following lessons:
Introduction
Create, Add Content and Deploy Content From a Content Library
Subscribe to Content Library from another vCenter
New Content Library Features in vSphere 6.7 Update 2
Conclusion
INTRODUCTION
This Module contains the following lessons:
Lesson 1: Mount an ISO from Content Library - In this lesson, you will learn what a Content Library is, and
then you will create one. You will then use the content library to share a template and an ISO image.
Lesson 2: Subscribe to Content Library from another vCenter - A content library's true value shines when
used across vCenters. This lesson will show you how to do that.
You create and manage a content library from a single vCenter Server instance, but you can share
the library items to other vCenter Server instances if HTTP(S) traffic is allowed between them.
If a published and a subscribed library belong to vCenter Server systems that are in the same
vCenter Single Sign-On domain, and both the libraries use datastores as backing storage, you can
take advantage of optimized transfer speed for synchronization between these libraries. The transfer
speed optimization is made possible if the libraries can store their contents to datastores managed
by ESXi hosts that are directly connected to each other. Therefore the synchronization between the
libraries is handled by a direct ESXi host to ESXi host transfer. If the datastores have VMware
vSphere Storage APIs - Array Integration (VAAI) enabled, the library content synchronization
between the published and the subscribed library is further optimized. In this case the contents are
synchronized by a direct datastore to datastore transfer.
Each VM template, vApp template, or other type of file in a library is a library item. An item can
contain a single file or multiple files. In the case of VM and vApp templates, each item contains
multiple files. For example, because an OVF template is a set of multiple files, when you upload an
OVF template to the library, you actually upload all the files associated with the template (.ovf, .vmdk,
and .mf), but in the vSphere Web Client you see listing only of the .ovf file in the content library.
Local Libraries
You use a local library to store items in a single vCenter Server instance. You can publish the local
library so that users from other vCenter Server systems can subscribe to it. When you publish a
content library externally, you can configure a password for authentication.
VM templates and vApp templates are stored as OVF file formats in the content library. You can also
upload other file types, such as ISO images, text files, and so on, in a content library.
Subscribed Libraries
You subscribe to a published library by creating a subscribed library. You can create the subscribed
library in the same vCenter Server instance where the published library is, or in a different vCenter
Server system. In the Create Library wizard you have the option to download all the contents of the
published library immediately after the subscribed library is created, or to download only metadata for
the items from the published library and later to download the full content of only the items you intend
to use.
To ensure the contents of a subscribed library are up-to-date, the subscribed library automatically
synchronizes to the source published library on regular intervals. You can also manually synchronize
subscribed libraries.
You can use the option to download content from the source published library immediately or only
when needed to manage your storage space.
Synchronization of a subscribed library that is set with the option to download all the contents of the
published library immediately, synchronizes both the item metadata and the item contents. During the
synchronization the library items that are new for the subscribed library are fully downloaded to the
storage location of the subscribed library.
Synchronization of a subscribed library that is set with the option to download contents only when
needed synchronizes only the metadata for the library items from the published library, and does not
download the contents of the items. This saves storage space. If you need to use a library item you
need to synchronize that item. After you are done using the item, you can delete the item contents to
free space on the storage. For subscribed libraries that are set with the option to download contents
only when needed, synchronizing the subscribed library downloads only the metadata of all the items
in the source published library, while synchronizing a library item downloads the full content of that
item to your storage.
If you use a subscribed library, you can only utilize the content, but cannot contribute with content.
Only the administrator of the published library can manage the templates and files.
LOGIN TO VCENTER
Haga clic para ampliar
1. Click the Menu icon
2. Click Content Libraries
1. Click the "+" icon just under the Content Libraries Title to create a new Content Library
ADD STORAGE
Haga clic para ampliar
1. Select the RegionA01-iSCSI01-COMP01 datastore.
2. Click Next
READY TO COMPLETE
1. Navigate to VMs and Templates by hovering over the Menu Icon at the top of the screen
2. Select VMs and Templates from the menu
CLONE VM TO LIBRARY
CLONE THE VM
Haga clic para ampliar
This will clone the "core-01a" virtual machine to a template on the Shared Content Library.
9. On this screen we are selecting the correct content library to copy the templete to.
10. CLONE THE VM - REVIEW
11.
12. Haga clic para ampliar
13. This shows a summary of the selections you made during the cloning operation. Review the
summary
NAVIGATE BACK TO CONTENT LIBRARIES
Content Libraries can handle additional files other than VM Templates. Many organizations also use
ISO files to start the build of a virtual machine. We will now upload an ISO file.
1. Click the Menu icon
2. Click Content Libraries
Under the Actions menu...
1. Select Local file
2. Click the UPLOAD FILE button
SELECT ISO
1. Navigate to the "C:\labFiles\HOL-2011\ISO" folder.
2. Select the linux-micro.iso file.
3. Click Open
1. You can see the .iso file in the Content Library inventory now
VIEW VM TEMPLATE IN THE CONTENT LIBRARY
INVENTORY
You can also view the core-01a_Master VM template you created earlier in this lab.
1. Click the Template tab
2. The core-01a_Master template should now be in the Content Library inventory.
1. Select the template we created previously, core-01a_Master (notice that it is in the Content Library that we
created).
2. Click Next
1. Select the esx-01a.corp.local host.
2. Click Next
REVIEW DETAILS
Haga clic para ampliar
1. Review the template details - Note, you can ignore the warning message you see on this screen. It is
alerting you that this template does not contain a publishers certificate which is ok for this deployment.
2. Click Next
SELECT STORAGE
SELECT NETWORKS
Haga clic para ampliar
The Virtual Machine may take a minute to create. Once complete continue on.
Now we will mount the .iso file that we uploaded earlier into the Content Library to our new VM.
1. Click the Actions menu
2. Click Edit Settings...
EDIT SETTINGS
1. Locate the CD/DVD drive 1 and click the drop down menu where Client Device is current select.
2. In the drop down menu select the Content Library ISO File option.
1. Select linux-micro.iso file from the Shared Library (the Content Library that we created).
2. Click OK
EDIT SETTINGS (CON'T)
1. Ensure the box is check for Connected to ensure the ISO is mounted to the vm.
2. Click OK
The .iso has been mounted from our Content Library to the VM.
LESSON CONCLUSION
We were able to create a new local content library where Templates, ISOs and other files can be
stored. Content libraries provide a central repository for all of your necessary files. We then cloned a
VM to our new Content Library and we uploaded an .iso image to our Content Library.
Continue to the next lesson to learn how to share and subscribe to this content with other vCenter
Servers.
SUBSCRIBE TO CONTENT LIBRARY FROM ANOTHER
VCENTER
Now that we have created a library in the vcsa-01a.corp.local vCenter Server we need a way to
share the library content with our other vCenter Server. vSphere Content Libraries provide a
mechanism to consistently share templates, ISOs and files between vCenter Servers.
NAVIGATE TO THE CONTENT LIBRARY PAGE
1. Click the Menu icon
2. Click Content Libraries
In the previous lesson, we created a Content Library called "Shared Library" on the vcsa-
01a.corp.local vCenter Server. We will configure that Content Library to be shared.
1. Click the Actions icon
2. Click Edit Settings...
6. The first thing we need to do to publish the library is Enable publishing. To do this we need to
select the appropriate option on this screen
7. 1. Check the box labeled "Enable publishing"
8. Be aware this will change the options available on this menu. Please proceed to the
next page to continue.
Now that we have enabled sharing, the screen has updated to include some very important
information. The most important information is the URL for the library.
1. Now that we have enable publishing, vCenter has generated a URL to access this Content Library. Click
the COPY LINK button, this will store the URL in the clipboard for use in a later step.
2. Click OK
Note: If required, you can also enable authentication to access the content library. In this lab
we will leave this option turned off.
1. Click the Menu icon.
2. Click Content Libraries to return to the main Content Libraries page.
CREATE A NEW CONTENT LIBRARY ON THE OTHER
VCENTER SERVER
Now we will create a new Content Library on the vcsa-01b.corp.local vCenter Server and have it
subscribe to the Content Library that we created on the vcsa-01a.corp.local vCenter Server.
1. Click the "+" icon just under the Content Libraries Title to create a new Content Library.
1. Type in the name for the new Content Library: Shared Library B
2. Select the vcsa-01b.corp.local host from the drop down to specify that you want this Content Library
created on that vCenter Server.
3. Click Next
Instead of creating a local Content Library, we want to subscribe to the library that we created on the
other vCenter Server.
By selecting the option to download the content immediately the Content Library will fully sync any
time there is a change to the source. By selecting "Download library content only when needed" will
only download the content at the time it is selected to be used. The second option would reduce the
amount of space that needed on the second vCenter Server but a user would have to wait for the
content to be synchronized when they needed the content.
ADD STORAGE
Haga clic para ampliar
READY TO COMPLETE
1. Click Finish
VIEW THE SHARED LIBRARY
1. Click on the new Shared Library B library. Note: it may take a few seconds for the libraries to syncronize.
2. Select Templates and Other Types tabs to see the content that we placed in the Shared Library on the
other vCenter Server.
3. Notice that the content is stored locally on this vCenter Server because of the option we chose when
creating the Content Library. Note: it may take a few seconds for the libraries to synchronize. If you see a
"No" in the "Stored Locally" field, try refreshing your console.
The content is now synchronized and is available in the Region B vCenter Server.
LESSON CONCLUSION
vSphere Content Libraries provide a way to easily store templates, ISOs and other files to a
datastore. Shared library's content can be synced between a source vCenter and subscriber
vCenters.
NEW CONTENT LIBRARY FEATURES IN VSPHERE 6.7
UPDATE 2
The addition of storing Virtual Machine Template (VMTX) files in Content Library was introduced in
vSphere 6.7 Update 1. This enables deploying a virtual machine from native VM templates alongside
OVF/OVA templates within Content Library.
vCenter Server 6.7 Update 2 continues to add new functionally when utilizing Content
Library. Syncing of native VM templates between Content Libraries is now available when vCenter
Server is configured for Enhanced Linked Mode. Published libraries can now become subscriber
aware allowing newly published items to replicate to other subscribed Content Libraries.
A Publish option is available when viewing the VMTX template or from the Subscriptions tab of the
local library. Publishing from the local library will sync the VM template to the selected Subscriber
Libraries.
LOGIN TO VCENTER
1. Click the Menu icon
2. Click Content Libraries
1. If you have been following along in the module you should see the following content libraries available. If you
do not, please return the Create, Add Content and Deploy Content From a Content Library section of the Module
and complete the steps necessary to create the Content Libraries shown here.
First lets take a look at the ability to clone a VM into a Content Library as its native VMTX format.
This process is very similar to the previous exercise where we clone a vm to an OVA format.
1. Click on the Menu icon.
2. Click on Hosts and Clusters.
Here we can select the type of clone we will be storing in the content library, the new option added in
vSphere 6.7 update 1 was the "VM Template" option. This will add the virtual machine to the content
library in VMTX format.
We will now choose the Content Library where the template will live. The available Content Libraries
on your screen may be different depending on how much of the module's previous steps you have
already completed.
We will now choose the Content Library where the template will live. The available Content Libraries
on your screen may be different depending on how much of the module's previous steps you have
already completed.
1. If necessary, use the chevons on the left to drill down to the individual hosts in the cluster. Select "esx-
01a.corp.local"
2. Ensure that the host passes the compatibility checks.
3. Click Next
We are about complete! One final step remains, selecting the storage to place the template on. As
you can see, our HOL Lab only has one Datastore to use. In a production environment you will most
likely see many different Datastores available to you.
1. Select the "RegionA01-ISCSI01-COMP01" datastore.
2. Again, vCenter will do a compatibility check, yit should come up as sucessful
3. An item of note is that, if desired, you can apply a different VM Storage policy to the templete during the
cloning operation, we will just choose the "Datastore Default".
4. Click "Next" to continue.
CORE-01A CLONE - FINISHED
Time to wrap up the cloning operation. This final screen shows us a summary of all the options and
input we provided in the previous menu screens. Feel free to review the information.
2.TASK COMPLETION
3.
5. We can monitor the progress of the cloning operation in the Recent Tasks pane, the virtual
machine we have selected is not very large so the cloning might be complete already. For a
larger virtual machine it may take a few minutes to complete.
When you create a subscription, you can link the publisher library to an existing subscribed library or
create a new subscribed library. Creating a subscription to a newsubscribed library triggers automatic
synchronization. Creating a subscription to an existing library does not trigger automatic
synchronization. If you create a subscription to an existing library, the synchronization happens when
you publish an item or the entire library.
Now lets return to the Content Library and see our newly created template.
1. Click the Menu icon
2. Click Content Libraries
1. Hold you mouse over the "Shared Library" item and click on it when it becomes underlined.
CREATE A NEW SUBSCRIPTION
Lets first create a subscription for our local library. Subscriptions allow a bi-directional relationship
between the Publisher and Subscriber Libraries and enables you to synchronize content both from
the Publisher (Publish) and from the Subscriber (Sync).
1. Click the "Actions" menu
2. Click the "New Subscription..." menu option.
Now we need to select the type of subscription we are creating. In previous labs we have already
created a subscribed library so we will use this library for this lab
1. Select the "Create a new subscription to an existing Subscriber library" option.
2. Click "Next"
CONFIGURE SUBSCRIPTION
Now we will specify the specifics of the new subscription.What we are doing here is creating a
subscription between the two libraries.
SELECT FOLDER
Haga clic para ampliar
Lets now select the target folder for the library items to be placed.
1. Select the "esx-01b.corp.local" host.
2. Click "Next"
SELECT NETWORK
Here, we can choose what network will be used for the subscription traffic. If you would like
synchronization or publishing to use a different port group, you can select it here.
REVIEW
Haga clic para ampliar
This is a summary of all the options we selected during the Create Subscription wizard. Feel free to
review this information.
Now that we have successfully created a subscription and published the library we can utilize the
new feature in vSphere 6.7 Update 2 to "Publish" or push content from a local library to a remote
library.
This will now push the template out to the remote subscriber library.
When you create a subscription for a local library, the result is a subscribed library. A publisher
library is aware of its subscriptions. Subscriptions enable the administrator of the publisher library to
control the content distribution. With subscriptions, content is distributed either when the subscriber
initiates synchronization, or when the administrator of the local library publishes the library items to
one or more of the existing subscriptions.
When you use subscriptions, you have the flexibility to decide how much of the library content you
want to share with the subscribers. For example, you can publish some or all library items. You can
also publish content to selected subscribers or to all subscribers.
LESSON CONCLUSION
When you create a subscription for a local library, the result is a subscribed library. A publisher
library is aware of its subscriptions. Subscriptions enable the administrator of the publisher library to
control the content distribution. With subscriptions, content is distributed either when the subscriber
initiates synchronization, or when the administrator of the local library publishes the library items to
one or more of the existing subscriptions.
When you use subscriptions, you have the flexibility to decide how much of the library content you
want to share with the subscribers. For example, you can publish some or all library items. You can
also publish content to selected subscribers or to all subscribers.
ONCLUSION
The Content Library is a great way to share content across multiple vCenters. This module
introduced the Content Library and showed you how to populate it with ISO images and
templates. You then used those resources to create a VM, and then shared those resources to
a second vCenter.
INTRODUCTION
This Module contains the following lessons:
Lesson 1: Getting Started with Update Manager - This lesson will outline how to use vSphere Update
Manager to update an ESXi host.
Lesson 2: New Graphical User Interface (GUI) - Deploying a host - While Autodeploy is not new, there is a
new GUI to manage it. This lesson will introduce you to that GUI, and show you how to deploy a host using
Autodeploy.
Lesson 3: Updating an ESXi image for production - This lesson builds on the previous one and shows you
how to upgrade a host that was deployed using Autodeploy
Lesson 4: Non-Deployed Hosts - This lesson will show you how to use Autodeploy to deploy a host without
creating a deploy rule.
Lesson 5: Host Profile Configuration - This lesson will walk you through how to use Host Profiles to manage
your hosts and maintain a consistent configuration.
Using the Chrome web browser, navigate to the URL for the Web client. For this lab, you can use
the shortcut in the address bar.
Please Note: All of the user credentials used in this lab are listed in the README.TXT file on the
desktop.
NAVIGATE TO UPDATE MANAGER
Haga clic para ampliar
1. Click the Menu icon
2. Click Update Manager
SELECT VCSA-01B.CORP.LOCAL
Baselines can be upgrade, extension, or patch baselines. Baselines contain a collection of one or
more patches, extensions, or upgrades.
Baseline groups are assembled from existing baselines, and might contain one upgrade baseline per
type of upgrade baseline, and one or more patch and extension baselines. When you scan hosts,
virtual machines, and virtual appliances, you evaluate them against baselines and baseline groups to
determine their level of compliance.
Critical Host Patches - Checks ESXi hosts for compliance with all critical patches
Non-Critical Host Patches - Checks ESXi hosts for compliance with all optional patches
We are going to create a new baseline, which we will then use to scan a vSphere host so that we can
make sure that it has the latest patches.
1. Select the Baselines tab
2. Click New
3. Click Baseline
CREATE BASELINE
Haga clic para ampliar
This screen gives the baseline the ability to continually update itself based on the criteria you select.
You can use these options to narrow the scope of the patches added to this baseline (selecting
embeddedEsx 6.5.0 would limit this baseline to only those patches relevant to ESXi 6.5).
Vendor
Product
Severity (Critical, Important, Moderate, Low)
Category (Security, BugFix, Enhancement, Other)
1. For our example, we will leave the default setting to automatically update the baseline as new patches
become available. We will also leave the default Criteria settings of Any for all options.
2. Click Next
From this screen you have the ability to manually select patches for the baseline to include. Since
we have selected the option to have this baseline automatically updated, this screen will appear
without patches to select. If you disable the automatic option in the previous screen, you would now
be presented with a listing of all patches available which you could manually select to include in this
baseline.
1. Click Next
SUMMARY
Haga clic para ampliar
Review the settings of the patch baseline you created before finishing the wizard
Next, we are going to attach the baseline we just created to a host. This makes sure that scanning
and remediation happens for the host.
1. Click on the Menu Icon
2. Select Hosts and Clusters
1. Select HOL Host Baseline - this is the new Baseline that we just created
2. Click Attach
Before we scan the host for compliance against our new baseline, let's verify the new baseline is
attached and see what the current status of its compliance is.
In the next step, we will scan the host and see if it is in compliance with the attached baseline.
We will now scan this host to see if it is compliant with the baseline.
Had this host been missing any patches identified in the baseline criteria, the status would have
shown "Not Compliant" indicating the host is missing a patch identified in the baseline, you could
then remediate this host using the Remediate option on this screen.
VIDEO: UPGRADING VMWARE TOOLS USING
VSPHERE UPDATE MANAGER (5:14)
Reproducir vídeo
vSphere Update Manager can also be used to update the VMware tools on a virtual machine. The
following video outlines the process.
Auto Deploy has been configured through a Command Line Interface in the past. These features
have been added to the vCenter Web Client in the latest version of vSphere.
With the vSphere Auto Deploy ESXi feature, you can provision and reprovision large numbers of
ESXi hosts efficiently with vCenter Server.
When you provision hosts by using Auto Deploy, vCenter Server loads the ESXi image directly into
the host memory. Auto Deploy does not store the ESXi state on the host disk.
vCenter Server makes ESXi updates and patches available for download in the form of an image
profile. Optionally, the host configuration is provided in the form of a host profile.
The first time you provision a host by using Auto Deploy, the host PXE boots and establishes contact
with the Auto Deploy server, which streams the image profile and any host profile to the host. The
host starts using the image profile, and Auto Deploy assigns the host to the appropriate vCenter
Server system.
When you restart the host, the Auto Deploy server continues to provision the host with the
appropriate image and host profile. To provision the host with a different image profile, you must
change the rule that specifies the image profile, and perform a test and repair compliance operation.
To propagate changes to all hosts that the rule specifies, change the rule and perform the test and
repair operation. The ability to propagate changes to multiple hosts makes Auto Deploy an efficient
way to provision and reprovision large numbers of hosts, and to enforce compliance to a master ESXi
image.
This environment has already been configured with the DHCP settings and TFTP server. We will not
cover the configuration of these components in the simulation.
This portion of the lab is presented as a Hands-on Labs - Interactive Simulation. This simulation will
enable you to navigate the software interface as if you are interacting with a live environment.
The following simulation will go through each stage to deploy ESXi using the Autodeploy GUI.
1. Click here to open the interactive simulation . It will open in a new browser window or tab.
2. When finished, click the "Return to the lab" link or close the windows to continue with this lab.
This portion of the lab is presented as a Hands-on Labs - Interactive Simulation. This simulation will
enable you to navigate the software interface as if you are interacting with a live environment.
1. Click here to open the interactive simulation . It will open in a new browser window or tab.
2. When finished, click the "Return to the lab" link or close the windows to continue with this lab.
This portion of the lab is presented as a Hands-on Labs - Interactive Simulation. This simulation will
enable you to navigate the software interface as if you are interacting with a live environment.
1. Click here to open the interactive simulation . It will open in a new browser window or tab.
2. When finished, click the "Return to the lab" link or close the windows to continue with this lab.
1. Click on the Menu icon.
2. Click on Hosts and Clusters.
In order to simplify the host's entrance into maintenance mode, we will be powering down all the
running VMs within this cluster. DRS is enabled in this cluster but is set to partially automated,
powering down the VMs will simplify the rest of the processes in this module.
Repeat steps 1 - 4 for all remaining VMs in the cluster that are currently powered on.
1. Right-click esx-01b.corp.local
2. Hover your pointer over the Host Profiles option
3. Click Extract Host Profile...
1. Right click esx-01b.corp.local
2. Hover your pointer over the Host Profiles option
3. Click Attach Host Profile...
1. Select the host profile that you just created, "RegionB Host Profile".
2. Click OK
CHECK THE HOST AGAINST THE HOST PROFILE
We have attached the Host Profile that we created to the original host. Since the profile was created
from this host and no configuration changes have been made, the host should be in compliance with
the Host Profile. Let's verify.
RETURN TO THE WEB CLIENT HOME PAGE
1. Click on the vSphere Client banner at the top left of the screen to return to the Home page.
NAVIGATE TO HOST PROFILES
1. Click on the blue link for the Host Profile we created in the previous steps.
CHECK HOST COMPLIANCE WITH THE HOST PROFILE
1. Click on the Monitor tab
2. Click on the checkbox to the left of the esx-01b.corp.local host.
3. Click the Check Compliance button.
4. Wait and verify that the host is in compliance with the Host profile. It will take a couple of minutes to run the
verification. You can monitor the progress of the compliance check in the Recent Tasks pane.
Now that we have created a host profile, we are going to make a change to the ESXi host so that it
becomes out of compliance with that profile.
1. Click on the Configure tab.
2. Scroll down until you see Time Configuration
3. Click on Time Configuration
4. Click on the Edit... button
The NTP Server setting for the host is now different from the Host Profile.
RE-CHECK HOST COMPLIANCE AGAINST THE HOST
PROFILE
Now that we have made a configuration change on the host, we will check compliance against the
Host Profile again. This time, we will expect the status not to be compliant.
1. Click on the vSphere Client banner at the top left of the screen to return to the Home window.
NAVIGATE TO HOST PROFILES
1. Click on the blue hyperlink for the Host Profile we created in the previous steps.
CHECK COMPLIANCE WITH THE HOST PROFILE
1. Click anywhere on the line for the host esx-01b.corp.local to select it Try to avoid clicking on a name just
click a blank space on the line for the host entry. In this line, you will notice that the host is no longer compliant with
the host profile.
2. In the detail window, you can see specifically which setting or settings are not compliant and how they differ
from the policy.
We can also remediate the host (bring it back into compliance) from here, but before we do that, the
host will have to be placed in Maintenance Mode. At the beginning of this lesson, we powered off all
of the VMs, normally, you would evacuate the host of running VMs prior to putting it into Maintenance
Mode.
REMEDIATE THE HOST
Now that we have created a Host Profile, made a change to the host configuration to force it out of
compliance with the Host Profile and then verified that the host is no longer compliant, we can
remediate the host to bring it back into compliance with the Host Profile.
Before we can remediate the host, it must be put into Maintenance Mode.
1. Click on Hosts.
2. Right-Click on the esx-01b.corp.local host
3. Hover the pointer over Maintenance Mode
4. Click Enter Maintenance Mode
5. Click OK on the confirm Maintenance Mode pop-up (Not Pictured)
Some parameters will need to be verified in the host customization prior to performing a Host Profiles
remediation if those parameters were not part of the extracted information when the Host Profile was
created. In this case, we need to verify the hostname was extracted as part of the profile.
1. Scroll down until you see the "Name for this host" parameter.
2. Verify esx-01b appears in the "Value" field for this host property.
3. Click OK.
Part of the host profile remediation process is to perform a "Pre-Check". Similar to an actual
remediation, this process will compare the host 's current settings against the host profile, but it
differs in that it will not make any changes, it will only display what would need to be changed in
order to ensure host compliance.
PRE-CHECK REMEDIATION
Haga clic para ampliar
In this step, we can now review the differences between the host's settings and the profile settings.
Earlier in this lab, we modified the time server settings, we now see that one of the listed items (step
4) that requires a change is the time server setting.
Now we will remediate the host and apply the changes identified by the Pre-check.
1. Deselect the option to reboot the host after host profile application.
2. Click the REMEDIATE button.
ERIFY COMPLIANCE STATUS
The remediation may take a few minutes, continue to monitor the Host Profile Compliance status.
Now that the host is compliant with the Host Profile we can verify the NTP settings have been
changed back to the original settings defined within the profile.
1. Notice that the NTP Server for the host has been changed back to 192.168.100.1 - the value that was stored
in the Host Profile.
In this lesson, we examined how to extract a host profile from a host, check to see if that host(s) are
compliant with that profile, and then remediate those hosts so that they are compliant. Host profiles
can be combined with Autodeploy to provide a powerful set of tools to make managing ESXi hosts
easy.
CONCLUSION
This module introduced two ways to manage the lifecycle of an ESXi Host. First, it introduced
you to Update Manage, a great tool for patching and updating hosts that have ESXi installed
locally. Then you learned about Autodeploy, which allows you to easily and quickly deploy
and update hosts without having to go through the install process. Finally, you explored Host
Profiles that allow you to manage the configuration of your ESXi hosts.
YOU'VE FINISHED MODULE 5
Congratulations on completing Module 5.
If you are looking for additional information on Host lifecycle management, try one of these:
Learn about VMware Cloud Foundation, which makes management of the host lifecycle in conjunction with
NSX and VSAN much easier by taking Lab HOL-2044-01-SLN: Modernize Infrastructure - VMware Cloud
Foundation.
Click on this link for a playlist of videos that describe many of the enhancements and new features in
vSphere 6.7: VMware vSphere 6.7 Youtube videos.
You may also explore VMware vSphere 6.7 What's New Video which will step you through a number of the
new features in vSphere 6.7 so you can explore them at your pace.
Module 1 - Advanced Storage Features (30 minutes) (Advanced) Storage in vSphere isn't just limited to
VMFS and NFS. Learn how new software-defined storage technologies such as Virtual SAN and Virtual Volumes
deliver storage policy-based management of virtual machines as well as streamline storage management.
Module 2 - Advanced Networking Features (30 minutes) (Advanced) Storage in vSphere isn't just limited
to VMFS and NFS. Learn how new software-defined storage technologies such as Virtual SAN and Virtual Volumes
deliver storage policy-based management of virtual machines as well as streamline storage management.
Module 3 - Advanced vMotion Features (15 minutes) (Advanced) Introduced in vSphere 6.0, cross
vCenter vMotion has created many new possibilities for workload mobility. In this module, you'll learn about the
requirements for cross vCenter vMotion and use it to migrate a virtual machine between two vCenter Servers.
Module 4 - Creating and Managing a Content Library (30 minutes) (Advanced) Content Library is another
feature introduced in vSphere 6.0. In this module, you'll learn how to leverage Content Library to centrally manage
vApps, VM templates, cd images, and scripts. You'll also learn about some of the new capabilities for Content
Library in the latest version of vSphere.