Вы находитесь на странице: 1из 43

HOL-2083-91-HBD

Table of Contents
Lab Overview - HOL-2083-91-HBD - VMware vCloud Director Lightning Lab .................... 2
Lab Guidance .......................................................................................................... 3
Multi-tenancy in vCloud Director ............................................................................. 5
Tenant Navigation ................................................................................................. 15
Create a VM .......................................................................................................... 26
Creating a vApp .................................................................................................... 33
Lightning Lab Conclusion ...................................................................................... 38
Appendix - Lab Guidance ...................................................................................... 39

HOL-2083-91-HBD Page 1
HOL-2083-91-HBD

Lab Overview -
HOL-2083-91-HBD -
VMware vCloud Director
Lightning Lab

HOL-2083-91-HBD Page 2
HOL-2083-91-HBD

Lab Guidance
Welcome to the VMware vCloud Director Lightning Lab.

Audience for this lab:

The primary audience for this lab is VMware Cloud Provider administrators or users.

VMware Cloud Provider solutions, offered through the VMware Cloud Provider Program
(formerly known as vCloud Air Network), enable rapid and cost effective delivery of
hybrid cloud services that customers increasingly demand. Whether infrastructure-as-a-
service, disaster recovery or desktop-as-a-service, service providers can benefit from
decreased time to market, reduced capital investments and lower development costs
to stay competitive in the cloud computing market.

In this lab, we will focus on vCloud Director from a user perspective. We have
developed Lightning Labs to help you learn about VMware products in small segments of
time.

Lab Captains:

• Eric Stine, Staff Systems Engineer, USA


• Loh Wei Jun, Systems Engineer, Singapore

This Lightning Lab contains the following lessons:

• Multi-tenancy in vCloud Director


• Tenant Navigation
• Create a VM Within a Tenant
• Create a vApp Within a Tenant

While this Lightning Lab is meant to be short, there is a longer, more complete lab on
vCloud Director. Below are the lab modules included in the complete vCloud Director
for Service Providers lab (HOL-2083-01-HBD - VMware Cloud Provider Program - vCloud
Director for Service Providers):

• Module 1 - Introduction to vCloud Director(30 minutes) (Basic) This module will


provide an overview of vCloud Director, its use cases and various objects
involved.
• Module 2 - vCloud Director Consumption(30 minutes) (Basic) This module will
illustrate multi-tenancy within vCD and step you through creating vApps and
catalog deployment.
• Module 3 - What's New in vCloud Director 9.7 (60 minutes) (Basic) This module
introduces vCloud Director 9.7 and explores the enhanced HTML5 user interface
and new features.

This lab manual can be downloaded from the Hands-on Labs Document site found here:

HOL-2083-91-HBD Page 3
HOL-2083-91-HBD

http://docs.hol.vmware.com

If you have never taken a lab, view the Appendix - Lab Guidance to see best
practices and tips on how to use the lab environment console.

HOL-2083-91-HBD Page 4
HOL-2083-91-HBD

Multi-tenancy in vCloud Director


vCloud Director categorizes users into organizations that can represent any policy
group, such as a business unit, division, or company. Each will have isolated virtual
resources, independent role based authentication and specific policy controls. These
features enable secure and robust multi-tenancy and safe sharing of infrastructure
resources. vCloud Director supports multi-tenancy through the use of organizations. We
will continue and illustrate Multi-tenancy in vCloud Director.

vCloud Director Login

If you have not already done so, log in to vCloud Director

1. Open Chrome by double clicking the icon on the desktop or by clicking the button
on the taskbar
2. Select the vCD-SiteA-Provider (HTML) bookmark link from the vCD-Admin
folder in the bookmark toolbar. This will bring you to the vCloud Director login
screen
3. Enter user name administrator (don't use the pre-populated t1admin
credentials)
4. Enter password VMware1!
5. Click Login

HOL-2083-91-HBD Page 5
HOL-2083-91-HBD

Navigate to Organizations

When you first log in to vCloud Director, you should start in the Organizations view. If
you are not, click on Organization.

We can see we have two tenants listed, T1 and T2. Next, we will log into these
environments to help us illustrate multi-tenancy.

Login as Different Tenants

From the open Chrome browser:

1. Click the Customize and Control button to the right of the address bar
2. Select New incognito window

HOL-2083-91-HBD Page 6
HOL-2083-91-HBD

Log into vCD - Tenant1

1. Click the vCD - Tenant1 folder in the bookmarks bar and select vCD-Tenant-T1
2. Type in the user name of t1admin
3. Type in a password of VMware1!
4. Click Login

HOL-2083-91-HBD Page 7
HOL-2083-91-HBD

Datacenters

By default, you start in the Datacenters section with Virtual Machines highlighted. If a
Tenant has access to more than one virtual datacenter, they will see all their
datacenters in the Datacenters view.

1. Click the blue arrows in the lower right-hand corner to minimize the Recent Tasks
window. This will make it easier to see the rest of the screen.
2. Scroll down until you see the T1-OVDC in the Virtual Datacenters section
3. Click on the T1-OVDC tile to view that virtual datacenter

HOL-2083-91-HBD Page 8
HOL-2083-91-HBD

Open T1-vApp

Now lets take a look at the components of a vApp within the Tenant itself and we will
see how it differs between tenants.

1. Click on vApps to switch to the vApps view of the Tenant Org


2. Click on Details hyperlink to view the vApp Details of T1-vApp-01a (you may
need to minimize the Recent Tasks and/or scroll down to see it)

HOL-2083-91-HBD Page 9
HOL-2083-91-HBD

Tenant 1 Workloads

Click on the Network Diagram section to see a visual representation of the vApp and
its networking. Take note of the workloads that are running in Tenant1. There are two
virtual machines connected to the t1-vApp-01a-Net, which is the internal network for
this vApp. The t1-vApp-01a-Net network is then connected to an external network
named T1-OrgNet-Rtd.

Let us compare this to Tenant2 to further illustrate multi-tenancy in vCloud Director.

Log out of Tenant 1.

HOL-2083-91-HBD Page 10
HOL-2083-91-HBD

Log into vCD - Tenant2

We will now login as Tenant2 admin

1. Click the vCD - Tenant2 folder in the bookmarks bar and select vCD-Tenant-T2
2. Type in the user name of t2admin
3. Type in a password of VMware1!
4. Click Login

HOL-2083-91-HBD Page 11
HOL-2083-91-HBD

Open T2-vApp

1. Click on vApps to switch to the vApps view of the Tenant Org


2. Click on DETAILS to view the vApp (you may need to minimize the Recent Tasks
and/or scroll down to see it)

HOL-2083-91-HBD Page 12
HOL-2083-91-HBD

Tenant2 Workload

1. Click on Network Diagram


2. Take note of the single workload that is running in Tenant2.
3. The single virtual machine is connected directly to an external network named
T2-OrgNet-Ext. The T2 Organization Network is isolated from the networks we
viewed in Tenant1.

Close browser windows

HOL-2083-91-HBD Page 13
HOL-2083-91-HBD

1. Right-click on each one of the browser windows and


2. Select Close window

HOL-2083-91-HBD Page 14
HOL-2083-91-HBD

Tenant Navigation
One of the biggest features introduced back in vCloud Director v9.1 was the new HTML5
Tenant UI. vCloud Director v9.5 completed the transition, allowing users to complete all
necessary tasks through the HTML5 interface. vCloud Director v9.7 improved
performance and streamlined certain workflows. Let's take a look at it.

Log into Tenant1

1. Open the Chrome browser


2. Click the vCD - Tenant1 folder in the bookmarks bar and select vCD-Tenant-T1
3. Type in the user name of t1admin
4. Type in a password of VMware1!
5. Click Login

HOL-2083-91-HBD Page 15
HOL-2083-91-HBD

HTML5 Tenant User Interface

1. By default, you start in the Datacenters section with Virtual Machines highlighted.
If a Tenant has access to more than one virtual datacenter, they will see all their
datacenters in the Datacenters view.
2. Click the blue arrows in the lower right-hand corner to minimize or maximize the
Recent Tasks window. Minimizing will make it easier to see the rest of the screen.
3. Scroll down until you see the T1-OVDC in the Virtual Datacenters section
4. Click on the T1-OVDC tile to view that virtual datacenter

HOL-2083-91-HBD Page 16
HOL-2083-91-HBD

Datacenter View

1. Notice how you can navigate between vApps, Virtual Machines, Network, Edges,
and Security all from the left-hand navigation bar
2. In the main window, if you click the dropdown menu for "Look in", you'll see that
you can switch between All VMs, Standalone VMs (default), and VMs in vApps
3. Feel free to toggle through the different options. In the next few sections, we will
run through with you what each menu does to get you familiar with the HTML5 UI.

HOL-2083-91-HBD Page 17
HOL-2083-91-HBD

Networking

1. Click on Networks in the left-hand navigation bar to view a list of Org VDC
Networks.
2. Note the ADD link for creating new OVDC networks. If you click the radio button
for the T1-OrgNet-Rtd Org VDC Network, the Delete option comes up.
3. If you click the link for T1-OrgNet-Rtd, you'll see options to edit the router and
IP configuration.

HOL-2083-91-HBD Page 18
HOL-2083-91-HBD

Edges

1. Click on Edges in the left-hand navigation bar to list the Edges.


2. Click on the T1-ESG to see details on the Edge.
3. Note that the Convert to Advanced is grayed out. That's because this Edge has
already been converted to Advanced.
4. Note the Redeploy link, in case you need to redeploy your Edge Services
Gateway.
5. Click the Configure Services link to see the Edge configuration pop-up window.
Click around and look all the configuration options available. Close the pop-up by
clicking the X in the upper right-hand corner when done.

HOL-2083-91-HBD Page 19
HOL-2083-91-HBD

Security

1. Click on Security in the left-hand navigation bar.


2. Click on Security Services for T1-OVDC.
3. Click the Configure Services link to see the configuration pop-up window for the
NSX Distributed Firewall settings for the Org VDC. Click around and play with the
settings. Close the pop-up by clicking the X in the upper right-hand corner when
done.

HOL-2083-91-HBD Page 20
HOL-2083-91-HBD

Independent Disks

1. Click on Independent Disks in the left-hand navigation bar.

This is where you can create Independent Disks, if needed. Independent disks are
standalone virtual disks that can be created in Organization VDCs. Once created, they
can be attached to any virtual machine deployed in the Organization VDC.

HOL-2083-91-HBD Page 21
HOL-2083-91-HBD

Storage Policies

1. Click on Storage Policies in the left-hand navigation bar.

This is where you can view the Storage Policies available to this Organization VDC.

HOL-2083-91-HBD Page 22
HOL-2083-91-HBD

Settings

1. Click on General under Settings in the left-hand navigation bar.

This is where you can view the configuration settings of this Organization VDC.

HOL-2083-91-HBD Page 23
HOL-2083-91-HBD

Libraries

1. Click on the three lines at the top (hamburger menu) and select Libraries.

The Libraries section is where you can access vApp Templates, the Media library,
Catalogs, and the Service Library. The Service Library was a new feature added in
vCloud Director v9.1 and is covered in more detail in the complete lab
(HOL-2083-01-HBD).

HOL-2083-91-HBD Page 24
HOL-2083-91-HBD

Administration

1. Click on the three lines at the top (hamburger menu) and select Administration.

vCloud Director 9.7 now has all the necessary options for an Organization Administrator
to be able to manage their Organization VDC from within the HTML5 UI. Click through
the different links in the left-hand navigation bar to see what configuration options are
available. We cover Multisite in the complete lab (HOL-2083-01-HBD).

HOL-2083-91-HBD Page 25
HOL-2083-91-HBD

Create a VM
In this lesson, we will create a new virtual machine in vCloud Director. The purpose of
this activity is to show you how to deploy virtual machines.

Go to Datacenters View

1. Click the three lines at the top (hamburger menu) and select Datacenters
2. Scroll down until you see the T1-OVDC in the Virtual Datacenters section
3. Click on the T1-OVDC tile to view that virtual datacenter

HOL-2083-91-HBD Page 26
HOL-2083-91-HBD

Create a VM

1. Click on the Virtual Machines tab on the side menu


2. Click on New VM and a new pop up will appear

HOL-2083-91-HBD Page 27
HOL-2083-91-HBD

Name the VM

1. Name the VM as Standalone-VM


2. Scroll down and pick the slim-photon-base template
3. Check on Use custom storage policy
4. Select vSAN HOL Policy as the customer storage policy to use
5. Click OK

HOL-2083-91-HBD Page 28
HOL-2083-91-HBD

Notice that the VM creation process is much more simplified than in the old Flex UI. Wait
a few minutes while your new VM is being created (the status will change from Busy to
Powered On when finished).

Recent Tasks

HOL-2083-91-HBD Page 29
HOL-2083-91-HBD

1. Notice the Recent Tasks section. In lower resolutions, it can obscure your view of
the screen.
2. Click the double-down arrows to minimize the Recent Tasks section.
3. Note: you can bring it back if you need it by clicking the double-up arrows in the
lower right-hand corner.

Interact with the VM

Once the VM is created, you can work with it in the new UI.

1. Click on the ACTIONS dropdown links to see the familiar options for managing a
virtual machine.
2. Click on the monitor icon to launch the console to the VM in a new window. Close
the window when you're done.
3. Click the Details link to see more details on the virtual machine.

HOL-2083-91-HBD Page 30
HOL-2083-91-HBD

Virtual Machine Details

In the Virtual Machine Details window, you'll see the basic information of the VM in the
main window. You can make changes to the VM in the Hardware, Guest OS
Customization, and Advanced sections.

If you have configured the optional metrics database for vCloud Director, you will see a
new Monitoring Chart option. Click on the Monitoring Chart section.

HOL-2083-91-HBD Page 31
HOL-2083-91-HBD

Monitoring Chart

The Monitoring Chart pulls data from the metrics database. You can click the Metric
dropdown menu to look at the different metrics available.

Note: Since you just created this VM, you probably won't have much in your charts. Over
time, the charts will show more data (based on the resource utilization of the VM). After
a few minutes, you should be able to see something in the cpu.usage.average and
mem.usage.average charts.

Another option to look at metrics is by using vRealize Operations, which now has a
Tenant App that allows publishing metrics from vRealize Operations in the vCD UI using
a plugin. That scenario is shown in the companion lab to this one, HOL-2083-02-HBD -
VMware Cloud Provider Program - Tools and Offerings.

HOL-2083-91-HBD Page 32
HOL-2083-91-HBD

Creating a vApp
In this lesson, we will build a new vApp in vCloud Director. vApps allow you to configure
multiple virtual machines in the same logical container in vCloud Director (instead of
separate individual virtual machines). The purpose of this activity is to show you how to
deploy virtual machines within a vApp.

Build New vApp

1. Click on vApps to switch to the vApp view


2. Click on New vApp

HOL-2083-91-HBD Page 33
HOL-2083-91-HBD

Name New vApp

1. Type in T1-Build-New-vApp in the Name field


2. Click on Add Virtual Machine

HOL-2083-91-HBD Page 34
HOL-2083-91-HBD

Add Virtual Machines

1. Type slim-photon-vm into the Name field ( Computer Name will be auto field )
2. Choose From Template as the Type
3. Select slim-photon-base as the template of choice
4. Check on Use customer storage policy
5. Select vSAN HOL Policy as the storage policy
6. Click OK

HOL-2083-91-HBD Page 35
HOL-2083-91-HBD

Review and Finish

At this point, you can add more virtual machines using the Add Virtual Machine button
(or you can just create the vApp with a single virtual machine).

When you're done adding virtual machines, review the vApp configuration and click
Create.

HOL-2083-91-HBD Page 36
HOL-2083-91-HBD

Verify New vApp

The newly created vApp will eventually have a status of Stopped. Feel free to click on
Actions and proceed to power on the vApp or you can click on Details to view the
vApp Details and other settings.

If you want to see how to deploy a vApp from the libraries or import a vApp from OVF,
check out the complete lab in HOL-2083-01-HBD.

HOL-2083-91-HBD Page 37
HOL-2083-91-HBD

Lightning Lab Conclusion


In this Lightning lab we focused on how vCloud Director builds out a Multi-
tenant service. Hopefully you enjoy the look and feel of the new HTML5 User
Interface and also the experience some of the capabilities that a vCloud
Director has to offer to tenants .

You have finished the Lightning Lab!

Congratulations on completing this Lightning Lab. For more, the full lab is
HOL-2083-01-HBD - VMware Cloud Provider Program - vCloud Director for Service
Providers.

Or for more information on vCloud Director, click the following link:

• https://www.vmware.com/products/vcloud-director.html

How to End Lab

To end your lab click on the END button.

HOL-2083-91-HBD Page 38
HOL-2083-91-HBD

Appendix - Lab Guidance


Location of the Main Console

1. The area in the RED box contains the Main Console. The Lab Manual is on the tab
to the Right of the Main Console.
2. A particular lab may have additional consoles found on separate tabs in the upper
left. You will be directed to open another specific console if needed.
3. Your lab starts with 90 minutes on the timer. The lab can not be saved. All your
work must be done during the lab session. But you can click the EXTEND to
increase your time. If you are at a VMware event, you can extend your lab time
twice, for up to 30 minutes. Each click gives you an additional 15 minutes.
Outside of VMware events, you can extend your lab time up to 9 hours and 30
minutes. Each click gives you an additional hour.

Alternate Methods of Keyboard Data Entry

During this module, you will input text into the Main Console. Besides directly typing it
in, there are two very helpful methods of entering data which make it easier to enter
complex data.

HOL-2083-91-HBD Page 39
HOL-2083-91-HBD

Click and Drag Lab Manual Content Into Console Active


Window

You can also click and drag text and Command Line Interface (CLI) commands directly
from the Lab Manual into the active window in the Main Console.

Accessing the Online International Keyboard

You can also use the Online International Keyboard found in the Main Console.

1. Click on the Keyboard Icon found on the Windows Quick Launch Task Bar.

Click once in active console window

HOL-2083-91-HBD Page 40
HOL-2083-91-HBD

In this example, you will use the Online Keyboard to enter the "@" sign used in email
addresses. The "@" sign is Shift-2 on US keyboard layouts.

1. Click once in the active console window.


2. Click on the Shift key.

Click on the @ key

1. Click on the "@ key".

Notice the @ sign entered in the active console window.

Activation Prompt or Watermark

When you first start your lab, you may notice a watermark on the desktop indicating
that Windows is not activated.

One of the major benefits of virtualization is that virtual machines can be moved and
run on any platform. The Hands-on Labs utilizes this benefit and we are able to run the
labs out of multiple datacenters. However, these datacenters may not have identical
processors, which triggers a Microsoft activation check through the Internet.

Rest assured, VMware and the Hands-on Labs are in full compliance with Microsoft
licensing requirements. The lab that you are using is a self-contained pod and does not
have full access to the Internet, which is required for Windows to verify the activation.

HOL-2083-91-HBD Page 41
HOL-2083-91-HBD

Without full access to the Internet, this automated process fails and you see this
watermark.

This cosmetic issue has no effect on your lab.

Look at the lower right portion of the screen

Please check to see that your lab has finished all the startup routines and is ready for
you to start. If you see anything other than "Ready", please wait a few minutes. If after
5 minutes your lab has not changed to "Ready", please ask for assistance.

Click here to return to the click VMware Cloud on AWS - Introduction

HOL-2083-91-HBD Page 42
HOL-2083-91-HBD

Conclusion
Thank you for participating in the VMware Hands-on Labs. Be sure to visit
http://hol.vmware.com/ to continue your lab experience online.

Lab SKU: HOL-2083-91-HBD

Version: 20191202-184505

HOL-2083-91-HBD Page 43

Вам также может понравиться