vmware vcloud director icm lab.pdf

Upload: fahadnaif

Post on 02-Jun-2018

404 views

Category:

Documents


12 download

TRANSCRIPT

  • 8/10/2019 VMware vCloud Director ICM Lab.pdf

    1/156

    VMware vCloud Director:

    Install, Configure,

    Manage

    Student Lab Manual

    vCloud Director 5.1

    VMware Education Services

    VMware, Inc.

    vmware"

    www.vmware.com/education

    http://www.vmware.com/educationhttp://www.vmware.com/education
  • 8/10/2019 VMware vCloud Director ICM Lab.pdf

    2/156

    VMware vCloud Director:

    Install Configure Manage

    vCloud Director

    5.1

    Part Number EDU-EN-VCICM51-LAB-STU

    Student Lab Manual

    Revision A

    CopyrightlTrademark

    Copyright

    2013 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

    o

    VMware, Inc. in the United States

    and/or other jurisdictions. All other marks and names mentioned herein may be trademarks

    of their respective companies.

    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 training material is designed to support an

    instructor-led training course and is intended to be used for reference purposes in

    conjunction with the instructor-led 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 without the express

    written approval of VMware, Inc.

    Course development: Daniel Crider, Rob Nendel

    Technical review: Carla Gavalakis, Tom

    Thomas, Mike Sutton, Steve Schwarze, Jerry

    Ozbun, Lizann Dunegan, Phil Cohen , Andy Cary, John Krueger, David Johnston, Jerry Davis

    Technical editing: James Brook

    Production and publishing: Ron Morton

    WWIN

    vmware.com/education

    http://www.vmware.com/gohttp://www.vmware.com/gohttp://www.vmware.com/gohttp://www.vmware.com/gohttp://www.vmware.com/gohttp://www.vmware.com/gohttp://www.vmware.com/gohttp://www.vmware.com/go
  • 8/10/2019 VMware vCloud Director ICM Lab.pdf

    3/156

    T BLE

    OF CONTENTS

    Lab 1: Configuring VMware vCloud Director Networking

    . . . . 1

    Lab 2: Configuring YMware vCloud Director Network Pools . . . . . . . . 7

    Lab

    3: Creating Provider Virtual Datacenters . . . . . . . . . . . . . . . . . . .

    11

    Lab

    4: Organizations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17

    Lab 5: Creating VMware vCloud Director vApp Templates . . . . . . . . . 31

    Lab

    6: Building and Publishing YMware vCloud Director vApps . . . . . . .

    41

    Lab 7: Deploying YMware vCloud Director vApps . . . . . . . . . . . . 51

    Lab 8.

    YMware vSphere vApp Networking . . . .

    61

    Lab 9: Hosting Inbound Services . . . . . . 69

    Lab 1 :

    Managing Custom Security Roles . .

    . . 79

    Lab 11: Integrating LDAP and Active Directory . . . . 83

    Lab

    12: Managing Cloud Resources . . . . . . . . . . . . . . . . 89

    Lab

    13: Managing Organization Resources . . .

    . . . . . . . . . . . . . .95

    Lab 14: Managing VMware vSphere Resources . . . . . . . . . 103

    Lab

    15: Monitoring Cloud Components . . . . . . . . . . .

    . . 111

    Lab 16: Organization Users . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .119

    Lab

    17: Installing VMware vCloud Director . . . . . . . 127

    VMware vCloud Director: Install, Configure, Manage

  • 8/10/2019 VMware vCloud Director ICM Lab.pdf

    4/156

    ii VMware vCloud Director: Install Configure Manage

  • 8/10/2019 VMware vCloud Director ICM Lab.pdf

    5/156

    Lab

    onfiguring

    VMware

    v loud

    Director

    Networking

    Objective Configure vCloud Director networking

    In this lab, you will perform the following tasks:

    1

    Install licenses.

    2

    Configure resource cluster network settings for vCloud Director external networks.

    3 Create a vCloud Director external network .

    Preparing for the lab

    Use the following information:

    URL

    to

    the VMware vCenter Server Web- https://vcs.vcd-ad.vclass.local:9443/

    based console

    vCenter Server administrator user name administrator

    vCenter Server administrator password vrnwarel

    URL to the VMware vCloud Director http://vcd. vcd-ad. vclass.local

    browser-based console

    vCloud Director administrator user name administrator

    vCloud Director administrator password

    vmwarel

    Lab Configuring VMware vCloud Director Networking 1

    http://vcd/http://vcd/
  • 8/10/2019 VMware vCloud Director ICM Lab.pdf

    6/156

    2

    Perfonn this lab as teams of two students. Each team will manage a VMware cloud. Students will

    be identified as student A and student B. Some items in the lab must be done by both students. But

    most tasks will be done by one student while the other student checks the work. Students will take

    turns so that both students in the team gain experience with the command and the UI.

    Task : Install licenses

    In this task, you will install VMware vSphere, vCloud Director, and VMware vCloud

    Networking and SecurityTM licenses. Student B will do this task. Student A will check the settings.

    1.

    Open your workspace.

    2.

    Open the Control Center virtual machine console and log in using the following credentials .

    Username administrator

    Password vmware

    I

    3. On the ControlCenter desktop, double-click the Web-Console shortcut and click the

    Continue

    to tbis website (not

    recommended

    link.

    4. Log in to the vSphere Web Client console using the following credentials .

    User ID administrator

    Password vmwarel!

    5. In the left pane, select Administration> Licenses.

    6.

    In

    the center pane, click the

    vCenter Server

    Instances tab.

    7. Select VCS.vcd-ad.vclass.local and click Assign License Key.

    8. In the Assign License Key wizard, select Assign a new license key from the drop-down menu.

    9. Type the vCenter Server license key provided by your instructor and click

    OK.

    10. Click the Hosts tab.

    11

    . Select esxiOl.vcd-ad.vclass.local and click Assign License Key.

    12 . In the Assign License Key wizard, select Assign a new license key from the drop-down menu.

    13.

    Type the vSphere Enterprise license key provided by your instructor and click

    OK.

    14. Select esxi02.vcd-ad.vclass.local and click Assign License Key.

    Lab Configuring VMware vCloud Director Networking

  • 8/10/2019 VMware vCloud Director ICM Lab.pdf

    7/156

    15. In the Assign License Key wizard, select the license key that you typed and click OK.

    16. Click the Solutions tab.

    17

    . Select vCloud Networking

    and

    Secur ity and click Assign License Key.

    18

    .

    In

    the Assign License Key wizard , select Assign a new license key from the drop-down menu.

    19. Type the vCloud Networking and Security Advanced license provided by your instructor and

    click OK.

    20. Open a new tab in the Internet Explorer browser.

    21. Connect to the URL for the vCloud Director console by using the information in "Preparing for

    the lab."

    22.

    Log in to the vCloud Director console

    as

    administrator. Type the password

    vmwarel l .

    23. The VCD console should open to Administration > License. it does not, navigate to

    Administration> License.

    24. Replace the expired VCD license key with the license key supplied by your instructor.

    25. Click Apply.

    26. Leave both

    Web

    consoles running for the next task.

    Task

    : onfigure

    resource cluster

    network settings

    for

    v loud

    Director

    external networks

    In

    this task, you will configure the networking

    of

    the vSphere resource cluster. Student A will do

    thls task. Student B will check the settings.

    1. In the vSphere Web Client console, click the Home icon.

    vrnware' vSphere

    Web lient

    @

    Home

    vCenter

    2.

    In the left pane, select vCenter > Networking.

    3.

    Under vCloud Datacenter , right-click dvs-Production and select New Dist ributed

    Port

    Group.

    Lab 1 Configuring VMware vCloud Director Networking

    3

  • 8/10/2019 VMware vCloud Director ICM Lab.pdf

    8/156

    4

    4. IntheNewDistributedPortGroupwizard,performthefollowingsteps.

    Setting

    Action

    Name Type

    Production

    andclickNext.

    Port binding

    Keepthedefault

    of

    Staticbinding.

    Port allocation

    Keepthedefaultof Elastic.

    Number of ports

    Keepthedefault

    of

    8.

    Networkresourcepool

    Keepthedefaultof (default).

    VLANtype Keepthedefault

    of

    None.

    Customizedefault

    Leaveunselected.

    policiesconfiguration

    5. ClickNext.

    6.

    ClickFinish.

    Task

    :

    reate a v loud Director external network

    Inthistask,youwillconfigureanexternalnetworkforvCloudDirector.StudentBwilldo thistask.

    StudentAwillcheckthesettings.

    1.

    InInternetExplorer,openanewbrowsertabandtypetheURLof thevCloudDirectorserver:

    h t t p : / / vcd .vcd- ad .vc l a s s . l oca l

    2.

    Clickthe

    Continue

    tothisWebsite(notrecommended)linkandlogintothevCloudDirector

    console,usingthefollowingcredentials.

    Username

    administrator

    Password vmware1

    3. InthevCloudDirectorconsole,click3Create an externalnetwork.

    4.

    n

    theNewExternalNetworkwizard,selectvCenterServer andselectthe

    Production

    network.

    5. ClickNext.

    Lab 1 Configuring VMware vCloud Director Networking

    http://vcd.vcd-ad.vclass.local/http://vcd.vcd-ad.vclass.local/
  • 8/10/2019 VMware vCloud Director ICM Lab.pdf

    9/156

  • 8/10/2019 VMware vCloud Director ICM Lab.pdf

    10/156

    Lab onfiguring VMware v loud Director Networking

  • 8/10/2019 VMware vCloud Director ICM Lab.pdf

    11/156

  • 8/10/2019 VMware vCloud Director ICM Lab.pdf

    12/156

    Perform this lab

    as

    teams of two students. Each team will manage a VMware cloud. Students will

    be identified as student A and student

    B.

    Some items

    in

    the lab must be done by both students. But

    most tasks will be done by one student while the other student checks the work. Students will take

    turns

    so that both students

    in

    the team gain experience with the command and the

    ill.

    Task : onfigure resource cluster network settings for a v loud

    network pool

    In this task, you will configure resource cluster settings for VMware vCloud. Student A wiIl do

    this task. Student B will check the settings.

    1

    In Internet Explorer, click the vSphere Web Cl ient tab.

    lfyou are not already logged in to the VMware vSphere Web Client console, double-click the

    Web-Console shortcut on the ControlCenter desktop and log

    in

    as Administrator with a

    password ofvmwarel . Select

    vCenter >

    Networking.

    2

    In the left pane, right-click vCloud

    Datacenter

    and select New Distributed Switch.

    3 In the New Distributed Switch wizard, perform the following actions.

    Setting

    Action

    Name

    Type dvs VLAN Poo l and click Next.

    Version

    Leave Distributed switch: 5.1.0 selected

    and click Next.

    Number of

    uplinks Type

    1.

    Network 110 Contro l Keep the default of Enabled.

    Default

    port

    group

    Deselect the check box and click Next.

    4

    Click Finish.

    5

    When the dvs-VLAN-Pool switch appears

    in

    the left pane, right-click dvs-VLAN-Pool and

    select Add

    and Manage

    Hosts.

    6 In the Add and Manage Hosts wizard, leave Add Hosts selected and click Next.

    7

    Click the Add New Hosts icon, which appears as a green plus

    +)

    sign.

    8

    In

    the Select new hosts panel, select the esxi01.vcd-ad.vc1ass.1ocal and esx02.vcd

    ad.vc1ass.1ocal check boxes, and click

    OK

    8

    Lab 2 Configuring VMware vCloud Director Network Pools

  • 8/10/2019 VMware vCloud Director ICM Lab.pdf

    13/156

    9. Click Next.

    10. Under Select physical network adapters, select the vmnic4 check box for both VMware

    ESXi hosts and click Next.

    11. Under Select virtual network adapters, click Next.

    12.

    Under Validate changes, click Next.

    13. Under Select VM network adapters, click Next.

    14. Under Ready to complete, review the settings and click Finish.

    15.

    Monitor the task status in the Recent Tasks pane. Wait for the task

    to

    complete before

    continuing.

    Task

    :

    Configure a VLAN backed network pool

    In this task, you will configure a VLAN-backed network pool for vCloud Director. Student A will

    do

    this task. Student B will check the settings.

    1.

    In Internet Explorer, click the VMware vCloud Director

    tab.

    IU iii

    you are not already logged in to the vCloud Director console, open a new Internet Explorer

    tab and log in

    to

    the vCloud Director console using the information in Preparing for the lab.

    2.

    In the vCloud Director console, click 4 Create a ne twork pool.

    3. In the Create Network Pool wizard, leave VLAN-backed selected and click Next.

    4.

    Under Configure VLAN-backed Pool, in the VLAND ID range text box, type 2 - 2 9 9 and

    click Add.

    5. In the vCenter list, select vCenterServer.

    6.

    In the vDS list, select dvs-VLAN-Pool.

    7.

    Click Next.

    8. Under Name this Network Pool, type ORG VLAN Pool in Name and click Next.

    9.

    Under Ready to Complete, click Finish.

    Remain logged in to the vSphere

    Web

    Client and vCloud Director consoles.

    Lab 2 Configuring VMware vCloud Director Network Pools

    9

  • 8/10/2019 VMware vCloud Director ICM Lab.pdf

    14/156

    1

    Lab

    Configuring VMware vCloud Director Network Pools

  • 8/10/2019 VMware vCloud Director ICM Lab.pdf

    15/156

    ab

    Creating Provider Virtual Datacenters

    Objective Create provider vDCs

    In

    this lab, you will perform the following tasks:

    1

    Configure a storage profile.

    2 Configure resource pools.

    3 Create the Generic provider vDC.

    4 Create the High-Performance provider vDC.

    Preparing for the lab

    Use the following information:

    URL

    to

    the VMware vCenter Server Web- https://vcs.vcd-ad.vcIass.local:9443/

    based console

    vCenter Server administrator user name administrator

    vCenter Server administrator password vmwarel

    URL to the VMware vCloud Director http://vcd.vcd-ad.vcIass.local

    browser-based console

    vCloud Director administrator user name administrator

    vCloud Director administrator password vmwarel

    Lab

    Creating Provider Virtual Datacenters

    http://vcd/http://vcd/
  • 8/10/2019 VMware vCloud Director ICM Lab.pdf

    16/156

    12

    Perfonn this lab as teams of two students. Each team will manage a VMware cloud. Students will

    be identified as student A and student B. Some items in the lab must be done by both students. But

    most tasks will be done by one student while the other student checks the work. Students will take

    turns so that both students in the team gain experience with the command and the UI.

    Task : onfigure a storage profile

    In this task, you will configure a storage profile. This task should be done by student A, with student

    B checking the settings.

    1. On the Control Center desktop, double-click the Web-Console shortcut and click the Continue

    to this website not recommended) link.

    2.

    Log in using the user ID of administrator and the password of vmware I .

    3. In the left pane, click Home.

    4. Click the VM Storage Profil es icon.

    5. Click the Enable Storage Profiles icon.

    : able

    V

    Storage ~ f l l ~ Compute

    ronze Resource

    6. Select the

    vCloud-Resource-Cluster

    cluster. The pane should report that the VM Storage

    Profile Status for vCloud-Resource-Cluster is set to Enabled.

    7.

    Click the Close button.

    8. Click the

    Create

    a New VM

    Storage

    Profile icon.

    e

    6 '

    '

    ..

    reate a

    new

    VM Sto rage

    Profi le

    ~

    Lab 3 Creating Provider Virtual Datacenters

  • 8/10/2019 VMware vCloud Director ICM Lab.pdf

    17/156

    9.

    WhenpromptedbytheCreateNewVMStorageProfilewizard,perform

    the

    followingactions.

    Setting Action

    Name

    TypeGold.

    Description TypeHigh

    speed high

    cos t

    s to rage

    StorageCapabilities

    SelectGold-level.ClickOK

    Task : onfigure resource pools

    In

    thistask,youwillconfigureresourcepools.Thistaskshouldbedone by studentB,withstudent

    Acheckingthesettings.

    1.

    In

    theleftpane,clickHome.

    2.

    ClicktheHostsand Clustersicon.

    3.

    SelectthevCloud-Resource-Clustercluster.

    4.

    FromtheActionsdrop-downmenu,selectNewResourcePool.

    5. WhenpromptedbythevCloud-Resource-Cluster:NewResourcePoolwizard,performthe

    followingactions.

    Setting

    ction

    Name

    Type

    High Performance Pool .

    CPUShares SelectHigh.

    CPUReservation Type

    3500

    MHz

    CPUReservationtype

    Keepthedefaultof Expandable.

    CPULimit

    Keepthedefaultof Unlimited.

    MemoryShares SelectHigh.

    MemoryReservation Type 900 MB.

    MemoryReservationtype KeepthedefauH

    of

    Expandable.

    MemoryLimit

    Keepthedefaultof Unlimited.

    Lab 3 Creating Provider Virtual Datacenters

    13

  • 8/10/2019 VMware vCloud Director ICM Lab.pdf

    18/156

  • 8/10/2019 VMware vCloud Director ICM Lab.pdf

    19/156

    3. Click the

    Home

    tab.

    4 Click 2 Create a Provider VDC.

    5

    When prompted by the Add Provider VDC wizard, perform the following actions.

    Setting

    ction

    Name this Provider VDC

    Type Generic

    .

    Description Type Moderate

    performance prov ider

    b u i l t with

    bronze l eve l s torage and

    no CPU o r memory reserved .

    Enabled Select the check box.

    Highest supported hardware version Select

    Hardware

    Version 9 Click Next.

    Select Resource Pool

    Click vCenterServer. Select the Generic-Pool

    resource pool. Click Next.

    Add Storage Select Bronze. Click Add. Click Next.

    Do not click Finish until you have completed the

    Prepare Hosts dialog box.

    Prepare

    Hosts

    Select One credential for all hosts. Type root for

    the root server name. Type vmwarel for the

    password. Click Next. Click Finish.

    6 Click the Manage & Monitor tab.

    7 Click Hosts in the left inventory panel.

    8 When both hosts are enabled, ready, and available, go to task

    4

    Lab 3 Creating Provider Virtual Datacenters

    15

  • 8/10/2019 VMware vCloud Director ICM Lab.pdf

    20/156

    Task 4: Create the High-Performance provider vDC

    In this task, you will confrrm the network configuration of the vCloud Director server and

    infrastructure. This task should be done by student A with student B checking the settings.

    1.

    Click the Home tab.

    2.

    Click 2

    Create another

    Provider VDC.

    3. When prompted by the Add Provider VDC wizard, perform the following actions.

    Setting ction

    Name tbis Provider VDC

    Type

    High Performance.

    Description Type

    High

    performance

    prov ider

    b u i l t

    with

    gold

    and

    s i l v e r s to r ge

    and

    reserved

    CPU and

    memory.

    Enabled

    Select the check box.

    Highest supported

    hardware

    version Select Hardware Version 9. Click Next.

    Select Resource Pool Click vCenterServer. Select the High

    Performance-Pool resource pool. Click Next.

    Add Storage Select Gold. Click Add. Select Silver. Click Add.

    Click Next.

    4. Click Finish.

    Leave the vCloud Director console open for the next lab.

    16

    Lab 3 Creating Provider Virtual Datacenters

  • 8/10/2019 VMware vCloud Director ICM Lab.pdf

    21/156

  • 8/10/2019 VMware vCloud Director ICM Lab.pdf

    22/156

    Perfonnthislabasteamsof twostudents.EachteamwillmanageaVMwarecloud.Studentswill

    beidentifiedasstudentAandstudentB Someitemsinthelabmustbe doneby bothstudents.But

    mosttaskswillbedonebyonestudentwhiletheotherstudentchecksthework.Studentswilltake

    turnssothatbothstudentsintheteamgainexperiencewiththecommandandthei l l

    Task : Create and configure the QA organization

    In

    thistask,youwillcreatetheQAorganizationinvCloudDirector.You willalsoallocateresources

    totheorganization,configurenetworking,andcreateacatalog.StudentAwilldothistask. Student

    Bwillcheckthesettings.

    Thistaskhasthefollowingsubtasks:

    Createtheorganization.

    Allocateresourcestotheorganization.

    Configureorganizationnetworking.

    Addacatalogtotheorganization.

    youarenotloggedintothevCloudDirectorconsole,openInternetExplorerandlogintothe

    vCloudDirectorserverusingthefollowinginfonnation.

    URL

    http://vcd.vcd-ad .vclass.local

    Username

    administrator

    Password VDlwarel!

    Create the organization

    1.

    n

    thevCloudDirectorconsole,ontheSystem>

    Home

    tab,click5

    Create

    anew

    organization.

    2. In theNewOrganizationwizard,underNamethisOrganization.perfonnthefollowingactions.

    Setting

    Action

    Organization name

    TypeQA.

    Organization full

    name

    Type

    ual i t yAssurance

    Asyoutypetheorganizationname,theorganization'sURLdynamicallychangestoshowwhat

    youaretypingandfinisheswithhttp://vcd/cloud/orglQAI.

    18

    Lab 4 Organizations

    http://vcd/http://vcd/cloud/orglQAIhttp://vcd/http://vcd/cloud/orglQAI
  • 8/10/2019 VMware vCloud Director ICM Lab.pdf

    23/156

    3 Click Next.

    4. Under LDAP options, leave Do not use LDAP selected and click Next.

    5. Under Add Local Users, click the Add button.

    6

    In

    the New User wizard, perfonn the following actions.

    Setting

    ction

    User name Type qa

    _

    admin.

    Password Type vmwarell

    .

    Confirm password Type

    VlIIwarell.

    Enable Keep the default.

    Role From the drop-down menu, select Organization Administrator.

    Full name Type QA

    Admin is t r a to r .

    Email address

    Type qa _a dmin@V c d a d .vc la ss . loc a l.

    7

    Click OK.

    8 Click the Add button and perfonn the following actions to configure a second user.

    Setting

    ction

    User name Type qa _us e r l

    .

    Password Type vmwarell

    .

    Confirm password

    Type vmwarell .

    Enable

    Keep the default.

    Role

    From the drop-down menu, select vApp Author.

    Full name

    Type

    QA

    User l .

    Email address Type

    qa

    _

    user l@Vcd-ad.

    v c l a s s

    .

    l o ca l .

    9. Click OK.

    Lab Organizations

    19

    mailto:[email protected]:[email protected]
  • 8/10/2019 VMware vCloud Director ICM Lab.pdf

    24/156

    10.

    Click Next.

    11.

    Under Catalog Publishing, select Allow publishing catalogs to

    aU

    organizations and click

    Next.

    12.

    Under Email Preferences.click Next.

    13. Under Policies, perfonn the following actions.

    Setting

    ction

    vApp

    Leases:

    Click the first drop-down menu and select Never Expires.

    Maximum

    runtime

    lease

    vApp Leases:

    Click the first drop-down menu and select Never Expires.

    Maximum storage lease

    vApp template lease:

    Click the first drop-down menu and select Never Expires.

    Maximum storage lease

    14.

    Click Next.

    15. Under Ready to Complete, click Finish.

    the QA department did not want to ever stop running VMware vSphere VAppTM, which

    vApp lease setting would you select?

    llocate

    resources

    to the organization

    1. In

    the vCloud Director console, on the Home tab, click 6 Allocate resources to

    an

    organization.

    2.

    In

    the New Organization VDC wizard, select

    QA

    and click Next.

    3.

    Under Select

    Provider

    VDC, select High-Performance and click Next.

    HIi

    The percentage of available resources for each provider is displayed. External networks,

    available to each provider

    virtual

    datacenter, appear after a provider vDC

    is

    selected.

    4.

    Under Select Allocation Model, select Pay-As-You-Go and click Next.

    5. Under Configure Pay-As-You-Go Model, keep all the default settings and click Next.

    20

    Lab 4 Organizations

  • 8/10/2019 VMware vCloud Director ICM Lab.pdf

    25/156

    6. Under Allocate Storage, perform. the following actions.

    Setting ction

    Storage Profiles Select Gold and click Add. Select Silver and click Add.

    Storage Limit For the Gold and Silver storage profiles, select the

    Unlimited radio button.

    Default instantiation profile From the drop-down menu, select Silver.

    Enable thin provisioning Select the check box.

    Enable fast provisioning Leave selected.

    7. Click Next.

    8.

    Under Select Network Pool

    &

    Services, select ORG-VLAN-Pool from the Network pool

    drop-down menu.

    9. In

    the Quota for this organization text box, type

    so.

    10. Click Next.

    11

    . Under Configure Edge Gateway, select the Create a new edge gateway check box and

    perform the following actions.

    Setting

    ction

    Edge Gateway name

    Type

    QA Ga teway.

    Select an edge gateway configuration Select Compact.

    Configure P Settings

    Select the check box.

    All other settings Leave unselected.

    12. Click Next.

    13. Under Configure External Networks, select Production and click Add.

    14.

    At the bottom

    of

    the wizard page, select the Use default gateway for DNS Relay check box

    and click Next.

    15.

    Under Configure P Settings, click the Change P Assignment link.

    Lab 4 Organizations

    21

  • 8/10/2019 VMware vCloud Director ICM Lab.pdf

    26/156

    16. In the Change IP Assignment wizard, select Manual from the 1P Assignment drop-down

    menu.

    17.

    In the 1P Assignment text box, type 172 .20 .11 .200 .

    The manual address assigned to an organization edge gateway must be within the range

    allocated

    in

    the external network.

    In

    this case, the IP address must be

    in

    the range

    172.20.11.200-172.20.11.254.

    18. Click OK to close the Change IP Assignment wizard.

    19.

    Click Next.

    20. Under Create Organization VDC Network, select the

    Create

    a network for tbis virtual

    datacenter check box and perform the following actions.

    Setting

    ction

    Network name

    Type QA Exte rna l .

    Sbare tbis

    network

    witb otber VDCs Leave unselected.

    in

    tbe

    organization

    Gateway address

    Type 172 . 30 . 11. 1.

    Network

    mask

    Type

    255 .255 .255 .

    O.

    Use gateway DNS

    Leave selected.

    Primary DNS

    Keep the default.

    Secondary DNS Leave blank.

    DNS suffix

    Type vcd ad .

    vc1ass

    . loca l .

    Stat ic 1P pool Type 172 . 3 0 . 11. 100 - 172 . 3 0 . 11. 19 9 and

    click Add.

    21.

    Click Next.

    22. Under Name tbis Organization VDC, type QA VDC in the Name text box.

    23. Click Next.

    24. Under Ready to Complete , click Finisb.

    22

    Lab 4 Organizations

  • 8/10/2019 VMware vCloud Director ICM Lab.pdf

    27/156

    Configure organization networking

    1. Click the Manage & Monitor tab.

    2. In

    the left pane, click Edge Gateways.

    3. In the right pane, monitor the QA Gateway status. Wait until the status changes to Ready before

    continuing.

    4.

    Right-click QA Gateway and select Edge Gateway Services.

    5.

    In

    the Configure Services: QA Gateway panel, under the DHCP tab, select the Enable DHCP

    check box and click the Add button.

    6. In the Add

    DHCP

    Pool panel, perform the following actions.

    Setting

    ction

    Enable

    pool Leave selected.

    Applied on From the drop-down menu, select QA External.

    IP range

    Type 172 . 30 . 11

    200

    -172 30 . 11 254.

    Default leas t time Keep the default.

    Max

    lease time Keep the default.

    7. Click

    OK

    to close the Add

    DHCP

    Pool panel.

    8. Click OK.

    Add a catalog

    to the

    organization

    1. Click the Home tab and click 7 Add a catalog to an organization.

    2. In

    the New Catalog wizard, select QA and click Next.

    3. Under Name this Catalog, type QA

    Ca ta log

    in the Name text box and click Next.

    4. Under Publish this Catalog, select Publish to all organizations and click Next.

    5. Under Ready to complete, click Finish.

    Lab 4 Organizations

    23

  • 8/10/2019 VMware vCloud Director ICM Lab.pdf

    28/156

    24

    Task : reate and configure the RD organization

    In

    thistask,youwillcreatetheRDorganization in vCloudDirector.You willalsoallocateresources

    totheorganization,configurenetworkingandcreateacatalog.StudentBwilldothistask.Student

    Awillcheckthesettings.

    Thistaskhasthefollowingsubtasks:

    Createtheorganization.

    Allocateresourcestotheorganization.

    Configureorganizationnetworking.

    Addacatalogto theorganization.

    Create the

    organization

    1.

    In

    thevCloudDirectorconsole,onthe

    System>

    Hometab,click5

    Createanotber

    organization.

    2.

    In

    theNewOrganizationwizard,underNametbisOrganization,performthefollowing

    actions.

    Setting

    ction

    Organizationname TypeRD.

    Organizationfull

    name

    Type

    Research

    and

    Development.

    Asyoutypetheorganizationname,theorganization'sURLdynamicallychanges to showwhat

    youaretypingandfinisheswithhttp://vcdlcloudiorgIRD/

    3. ClickNext.

    4. UnderLDAPoptions,leaveDonotuseLDAP selectedandclickNext.

    5. UnderAddLocalUsers,clicktheAddbutton.

    6.

    In

    theNewUserwizard,performthefollowingactions.

    Setting

    ction

    Username

    Type

    _

    admin.

    Password Typevmwarel l

    .

    Lab 4 Organizations

    http://vcdlcloudiorgird/http://vcdlcloudiorgird/
  • 8/10/2019 VMware vCloud Director ICM Lab.pdf

    29/156

    Setting

    Action

    Confirm password

    Type vmwarel! .

    Enable Keep the default.

    Role

    From the drop-down menu, select Organization

    Administrator.

    Full name

    Type

    RD

    Admini s t ra to r .

    Email address

    [email protected] . local

    .

    7.

    Click

    OK

    8. Click the Add button and perform the following actions to configure a second user.

    Setting

    ction

    User name

    Type rd

    _

    user l .

    Password

    Type

    vmwarel l .

    Confirm password Type

    vmwarel l

    .

    Enable

    Keep the default.

    Role From the drop-down menu, select vApp Author.

    Full

    name

    Type

    RD

    User l .

    Email address

    Typerd_use r l@Vcd ad .vc lass. loca l .

    9.

    Click OK

    10.

    Click Next.

    11. Under Cata log Publ ishing, select Allow publishing catalogs to all organizations and click

    Next.

    12.

    Under Email Preferences.click Next.

    Lab 4 Organizations

    25

    mailto:[email protected]:[email protected]:[email protected]:[email protected]
  • 8/10/2019 VMware vCloud Director ICM Lab.pdf

    30/156

    13. Under Policies perform the following actions.

    Setting

    vApp leases:

    Maximum runtime

    lease

    vApp leases:

    Maximum

    storage lease

    vApp template

    lease:

    Maximum

    storage

    lease

    Limits

    Number of resource intensive

    operations per

    user

    Limits

    Number

    of

    resource intensive

    operations per organization

    Limits

    Number

    of

    simultaneous

    connections

    per

    VM

    14

    Click Next.

    ction

    From the first drop-down menu select Never Expires .

    From the first drop-down menu select Never Expires.

    From the first drop-down menu select Never Expires .

    Select the radio button to enable input. In the text box

    type 5.

    Select the radio button to enable input. In the text box

    type

    50 .

    Select the radio button to enable input. In the text box

    type

    10.

    15. Under Ready to

    Complete

    click Finish.

    llocate

    resources

    to the organization

    1

    In

    the vCloud Director console on the

    System>

    Home

    tab click 6 AJlocate

    more

    resources to

    an organization.

    2 In the New Organization VDC wizard select RD and click Next.

    3 Under Select

    Provider

    VDC select Generic and click Next.

    4. Under Select AJlocation Model select Pay-As-You-Go and click Next.

    5. Under Configure Pay-As-You-Go Model keep all the default settings and click Next.

    26

    Lab Organizations

  • 8/10/2019 VMware vCloud Director ICM Lab.pdf

    31/156

    6.

    Under Allocate Storage, perform the following actions.

    Setting

    Action

    Storage Profiles Select Bronze and click Add.

    Storage Limit

    For the Bronze storage profile, select the Unlimited

    radio button.

    Default instan tiation profile Keep the default.

    Enable thin provisioning Select the check box.

    Enable fast provisioning Leave selected.

    7. Click Next.

    8.

    Under Select Network Pool & Services, select ORG-VLAN-Pool from the Network pool

    drop-down menu.

    9.

    In the Quota for this organization text box, type 50

    10.

    Click Next.

    11. Under Configure Edge Gateway, select the

    Create

    a new edge gateway check box and

    perform the following actions.

    Setting Action

    Edge Gateway name Type R Ga teway

    Select an edge gateway configuration Select Compact.

    Configure

    IP

    Settings

    Select the check box.

    Configure Rate Limits

    Select the check box.

    All other settings

    Leave unselected.

    12. Click Next.

    13. Under Configure

    External

    Networks, select Product ion and click Add.

    14.

    At the bottom

    of

    the wizard page, select Use default gateway for DNS Relay and click Next.

    15. Under Configure IP Settings, click the Change IP Assignment linle

    Lab 4 Organizations

    27

  • 8/10/2019 VMware vCloud Director ICM Lab.pdf

    32/156

    28

    16. In the Change IP Assignment wizard , select Manual from the IP Assignment drop-down

    menu.

    17 . In the IP Assignment text box, type 172

    .20 . 11. 201.

    The manual address assigned to an organization edge gateway must

    be

    within the range

    allocated

    in

    the external network.

    In

    this case, the IP address must

    be

    in

    the range

    172.20.11.200-172.20.11.254.

    18

    . Click

    OK

    to close the Change IP Assignment wizard.

    19. Click Next.

    20. Under Configure Rate

    Limits , select the Production network Enable check box.

    21. In the Incoming

    Rate

    Limit text box, type

    10

    .

    22.

    In

    the

    Outgoing Rate

    Limit text box, type

    10

    .

    23. Click Next.

    24 . Under

    Create

    Organization VDC

    Network

    , select the

    Create

    a network for this virtual

    datacenter

    check box and perform the following actions.

    Setting

    ction

    Network

    name

    Type

    RD Externa l .

    Sbare this network with

    other

    Leave unselected.

    VDCs in the organization

    Gateway address

    Type 172 . 3 0 . 1 .

    1.

    Network mask

    Type 2 5 5 . 2 55 . 2

    55

    .

    O.

    Use gateway DNS Leave selected.

    Primary

    DNS

    Keep the default.

    Secondary DNS Leave blank.

    DNS suffix

    Type

    vcd ad .

    v c l a s s

    .

    loca l .

    Static IP pool

    Type

    1 7 2 .3 0 .1 .1 0 0 1 7 2 .3 0 .1 .1 9 9

    and click Add.

    Lab 4 Organizations

  • 8/10/2019 VMware vCloud Director ICM Lab.pdf

    33/156

    25.

    Click Next.

    26. Under Name this Organization VDC, type RD

    VDC

    in the Name text box.

    27.

    Click Next.

    28.

    Under Ready to Complete, click Finish.

    Configure organization networking

    1. Click the Manage & Monitor tab.

    2. In

    the left pane, click Edge Gateways.

    3.

    In

    the right pane, monitor the RD Gateway status. Wait until the status changes to Ready before

    continuing.

    4. Right-click RD Gateway and select Edge Gateway Services.

    5. In the Configure Services: RD Gateway panel, under the DHCP tab, select the Enable DHCP

    check box and click the Add button.

    6. In

    the Add DnCp Pool panel, perform the following actions.

    Setting

    ction

    Enable pool

    Leave selected.

    Applied on:

    From the drop-down menu, select RD External .

    IP

    range

    Type

    172 .

    30

    . 1 200 172

    30

    . 1 254.

    Default least time Keep the default.

    Max lease time

    Keep the default.

    7. Click

    OK

    to close the Add DHCP Pool panel.

    8. Click OK

    Lab 4 Organizations

    29

  • 8/10/2019 VMware vCloud Director ICM Lab.pdf

    34/156

    30

    dd a catalog to the organization

    1. Click the

    Home

    tab and click 7

    Add

    a catalog to

    an organization.

    2.

    In

    the New Catalog wizard select RD and click Next.

    3

    Under

    Name

    this

    Catalog

    type RD a ta log

    in

    the

    Name

    text box and click Next.

    4

    Under

    Publish

    this

    Catalog

    select

    Publish to

    all

    organizations

    and click Next.

    5 Under

    Ready to

    complete click Finish.

    Lab Organizations

  • 8/10/2019 VMware vCloud Director ICM Lab.pdf

    35/156

    abS

    Creating VMware

    vCloud

    Director

    vApp

    Templates

    Objective: Create vCloud Director vApp templates

    In this lab, you will perform the following tasks :

    1 Install the Client Integration Plug-In.

    2

    Create a vApp template for the RD organization.

    3 Create a vApp template for the QA organization.

    Preparing for the lab

    Use the following information:

    URL to the VMware vCenter Server Web- https://vcs.vcd-ad.vclass.local:9443/

    based console

    vCenter Server administrator user name administrator

    vCenter Server administrator password

    vmwarel

    URL to the VMware vCloud Director

    http://vcd. vcd-ad. vclass.local

    browser-based console

    vCloud Director administrator user name administrator

    vCloud Director administrator password

    vmwarel

    Lab Creating VMware vCloud Director v pp Templates

    3

    http://vcd/http://vcd/http://vcd/http://vcd/
  • 8/10/2019 VMware vCloud Director ICM Lab.pdf

    36/156

    Perfonn this lab

    as

    teams of two students. Each team will manage a VMware cloud. Students will

    be identified as student A and student B. Some items in the lab must be done

    by

    both students. But

    most tasks will be done by one student while the other student checks the work. Students will take

    turns so that both students

    in

    the team gain experience with the command and the

    il l .

    Task 1: Install the lient Integration Plug-In

    In

    this task, you will install the VMware Client Integration Plug-In . Student A will do this task.

    Student B will check the settings.

    1. f Internet Explorer isopen, close it, including all tabs .

    2. On the Control Center desktop, double-click the Web-Console shortcut and click the

    Continue

    to tbis website (not recommended) linle

    3. Scroll down

    to

    the bottom

    of

    the browser page and click the Download the Client Integration

    Plug-in linle Do not log in

    to

    the vSphere WebClient console.

    I

    . '

    4. When prompted, click

    Run

    . Youare prompted

    to

    click

    Run

    twice.

    5. Close the Internet Explorer window and click Retry. AJI browser windows must be closed

    before the plug-in can be installed.

    VMWdre hent n t ~ g r d t l O n

    Plug In

    S.1.0 J

    dose the foIowIng browsersto

    proceed:

    -

    Microsoft

    Internet

    Explorer

    Cancel

    6.

    In the VMware Client Integration Plug-in 5.1.0 installation wizard, click Next.

    7. Under End-User License Agreement, click I accept the terms

    of

    the .Iicense agreement and

    click Next.

    8. Under Destination Folder, click Next.

    9. Under Ready to Install tbe Plug-in, click Install.

    32

    Lab 5 Creating VMware vCloud Director vApp Templates

    10 . Whentheinstallationiscomplete,clickFinisb.

  • 8/10/2019 VMware vCloud Director ICM Lab.pdf

    37/156

    11.

    On theControlCenterdesktop,double-clicktheWeb-ConsoleshortcutandclicktheContinue

    totbiswebsite(notrecommended)link.

    12

    . Atthetop

    of

    thevSphere

    Web

    Clientpage,clickthePlug-InmessageandselectRun Add-on

    onAllWebsites.Whenprompted,clickRun.

    \lSphere Web Hosts

    and

    Clusters>vCloudDatacenter.

    Lab 5 Creating VMware vCloud Director vApp Templates

    33

    3. In therightpane,clicktheActions drop-downmenu andselect

    Deploy

    OVF

    Template.

  • 8/10/2019 VMware vCloud Director ICM Lab.pdf

    38/156

    a d . ~ l a s s J o c a

    Actions ...

    Summary Monitor

    Top Leel Objects

    .- .ct

    io

    ns -

    /cs

    vcd-a :l .vclass

    .lo

    cal

    4. Whenpromptedtoallowplug-inaccesstothelocaloperatingsystem,clickAJlow.

    (Iient Integration Access(ontrol EJ

    This ste

    is using

    VMware

    Oent Intel7atm

    Plug In.

    Do

    you

    want:

    to

    aIow

    t to access

    YOU

    operating

    system?

    Protocol: https:

    Hostname

    : webcliertsrv.vcd-ad.\

    Port:

    9443

    P' IWflt.tsaskbefore

    a owino

    this

    ste

    The

    VMware Oert n t ~ a t I o n PIuo InwII rIVe web appIcationsand remoteVMs access

    to

    your

    operatingsystem.Otiy

    aIow

    stes

    you

    trust.

    5.

    In

    theDeploy

    OVF

    Templatewizard,select

    Local

    fileandclickBrowse.

    6. In the

    Open

    filewindow,i f necessary,

    go

    toMy

    D

    ocuments

    >d o wn loads >v

    App

    s>

    SU S

    E

    VM.

    7. Selectthe

    SUSE -

    VM.

    ov

    fileandclick

    Open.

    8. ClickNext.

    9. Under

    Review details

    ,clickNext.

    10.

    Under Select

    name and

    folder,select

    vCloud

    Datacenter

    andclickNext.

    34

    Lab 5 Creating VMware vCloud Director vApp Templates

    11

    Under Select a resource, select vCloud-Resource-Cluster and click Next.

    http:///reader/full/IWflt.tshttp:///reader/full/IWflt.ts
  • 8/10/2019 VMware vCloud Director ICM Lab.pdf

    39/156

    you do not see the Select a resource step in the wizard,

    it is

    because you selected a different

    starting point in the hierarchy specified in step

    2

    The Deploy OVF Template wizard options are

    contextual to the selected node. Do not cancel the wizard. Continue with the lab.

    In

    step

    18

    you

    will be asked to select the vCloud-Resource-Cluster cluster.

    You

    will likely find that the cluster

    is already selected.

    12 Under Select storage, select datastore1 .

    13 From the Select

    virtual

    disk format drop-down menu, select Thin Provision.

    ( -liutUI

    You

    must select the datastore flfst and then select

    Thin

    Provisioning. Selection

    of

    a datastore

    will reset the Select virtual

    disk

    format drop-down menu to Thick Provisioned Lazy Zeroed

    each time. Because the classroom envirorunent has limited resources , Thin Provisioning must

    be selected. you accidentally select Thick Provisioning, you will run out

    of

    storage resources

    before being able to complete labs.

    14

    . Click Next.

    15. Under Setup networks, keep the default destination network

    ofVM

    Network and click Next.

    16. Under Ready to complete, click Finish.

    17 . Monitor the task status

    in

    the Recent Tasks pane. Wait for the OVF deployment to complete

    before continuing.

    18. In

    the left pane, select vCloud-Resource-Cluster.

    19 .

    In

    the right pane, click the Related Objects tab.

    20. Click the Top Level Objects tab.

    Verify the deployed OVF template

    1. In the Top Level Objects list, select SUSE-VM and click the Power on icon.

    I

    Actions

    N a r T l ~

    .- r " I

    r

    _

    I i

    Power on

    the

    selected virtual

    m 3

    chines.

    All

    0

    m t : l r - T

    m n ' - ~

    , . , , , , , , , ~

    . . . . -

    Allocated_Generic

    o

    n

    vPic

    _SUSE_ l _JeOS i686 0.0 1

    o

    Lab 5 Creating VMware vCloud Director vApp Templates

    35

    2. Monitorthepower-onoperation

    in

    the

    Recent Tasks

    pane.Waituntilthevirtualmachinehas

  • 8/10/2019 VMware vCloud Director ICM Lab.pdf

    40/156

    poweredonbeforecontinuing.

    3. ClicktheOpen Virtual Machine Consoleicon.

    I

    .

    A

    ,

    ction

    s

    ....

    r- 1

    r

    r

    _

    Nam'

    Opens avirtualmachineconsolein a

    separate window

    Allocated_Gener ic

    o

    o

    4. f

    InternetExplorerdisplaysaPop-UpBlockedwarningmessage,perfonnthefollowing

    actions:

    "SphereWeb Client

    )(J

    Pop-up blocked.

    To

    see

    this

    pop-uporadditionaloptionsclick here.,

    a . Right-clickthePop-UpBlockedmessageandselectAJwaysAJlowPop-ups fromThis

    Site.

    b. Whenprompted,clickYes.

    c.

    f

    promptedtodisplaytheWebpageagain,click

    Retry

    .

    d. f heconsolewindowdoesnotopen,selectSUSE-VM againandclicktheOpen Virtual

    Machine Console icon.

    5.

    In

    thevirtualmachineconsolewindow,clickthe

    Continue

    to

    this website

    (not

    recommended)

    link.

    6 . Whenthevirtualmachinehasfmishedbooting,loginusingthefollowingcredentials.

    User

    ID

    root

    Password vmwarel

    36 Lab 5 CreatingVMwarevCloudDirectorvAppTemplates

    7. Close the Popout Console window:

  • 8/10/2019 VMware vCloud Director ICM Lab.pdf

    41/156

    a. Pres Ctrl+Alt to release the pointer.

    b. Close the remote console window.

    8. In the vSphere

    Web

    Client console, click the Shut down icon.

    9. When prompted, click

    Yes

    .

    Import the vSphere virtual machine as a vApp template

    1.

    In

    Internet Explorer, open a new tab and type the URL

    of

    the vCloud Director server:

    h t t p

    :

    / /vcd .vcd ad .vc las s . loca l

    2. Click the Cont inue to this Website (not recommended) link and log in to vCloud Director,

    using the following credentials.

    Username administrator

    Password vrnwarel!

    3. Click the Manage & Monitor tab.

    4. At the top

    of

    the left pane, click Organizat ions.

    5. In the right pane, right-click RD and select Open.

    6. On

    the Research and Development Home page, click the Catalogs tab .

    7. In the right pane, click the vApp Templates tab and click the Import from vSphere icon.

    Catalogs I vApp Templates 1 --M_8_d_a _

    ~

    /-lam"!

    1 ._ _

    l ish .

    Lab 5 Creating VMware vCloud Director vApp Templates

    7

    8. In theImportYM

    as

    avAppTemplatewizard,performthefollowingactions.

  • 8/10/2019 VMware vCloud Director ICM Lab.pdf

    42/156

    Setting

    ction

    vCenter Keepthedefault

    vCenterServer.

    VM Select

    SUSE_

    VM.

    vApp

    name Type

    SUSE-Base.

    Description Type

    Base SUSE I n s t a l l a t i on

    Virtual Keepthedefaultof RD vnc.

    datacenter

    Storage profile

    Keepthedefault

    of

    Bronze.

    Catalog

    KeepthedefaultofRD Catalog.

    Copy or

    move

    SelectMoveVM .

    GoldMaster

    Keepthedefaultof No.

    9.

    Click

    OK.

    10. MonitortheSUSE-Basestatus.WaituntilthestatuschangestoReadybeforecontinuing.The

    importoperationwilltakeafewminutestocomplete.

    Task 3: Create a v pp template

    for

    the QA organization

    In thistask,youwillcreateavCloudDirectorvApptemplate.StudentAwilldothistask. StudentB

    willcheckthesettings.

    1.

    In thevCloudDirectorconsole,clicktheSystem tab.

    2.

    Clickthe

    Manage &

    Monitor

    tab.

    3.

    In

    theleftpane,click Organizations.

    4.

    In therightpane,right-click

    QA

    andselectOpen.

    5.

    n theQualityAssurance

    Home

    tab,clickthe

    Catalogs

    tab.

    38

    Lab 5 Creating VMware vCloud Director vApp Templates

    6.

    In the right pane click the vApp Templates tab and click the Upload icon.

  • 8/10/2019 VMware vCloud Director ICM Lab.pdf

    43/156

    I vApp Templates , Media

    r

    I \

    O

    Statr

    Upload ...

    7.

    prompted with a security warning select the Always

    trust

    content from this publisher

    check box click

    Yes,

    and click Run.

    The

    web

    site s

    certificate

    cannot be

    verified.

    Do

    you

    want to continue?

    8.

    In

    the Upload OVF package as a vApp Template panel click Browse.

    9. In

    the Open file window go to My Document s >

    downloads>

    vApps > win2k3 -

    VM

    10. Select the Win2k3

    -

    VM. ovf file and click Upload.

    11.

    In

    the Name text box type

    Win2k3

    Base.

    12. In

    the Description text box type

    Base

    W2k3 I n s t a l l a t i on

    13. From the Storage profile drop-down menu select Silver.

    14.

    Click Upload.

    15. Whenever you are prompted to accept an untrusted certificate click

    Yes.

    You will be asked

    multiple times to accept the certificate.

    The first certificate warning might appear under the Transfer Progress window.

    Lab 5 Creating VMware vCloud Director vApp Templates

    39

  • 8/10/2019 VMware vCloud Director ICM Lab.pdf

    44/156

  • 8/10/2019 VMware vCloud Director ICM Lab.pdf

    45/156

    Lab

    Building

    and

    Publishing

    VMware

    vCloud

    Director vApps

    Objective: Build and publish vCloud Director vApps

    n

    this lab, you will perform the following tasks :

    1.

    Build and publish a vApp for the RD organization .

    2. Build and publish a vApp for the QA organization .

    Preparing for the lab

    Use the following information:

    URL to the VMware vCenter Server Web https:llvcs.vcd-ad.vclass.local:9443/

    based console

    vCenter Server administrator user name administrator

    vCenter Server administrator password

    vmwarel

    URL to the VMware vCloud Director http://vcd.vcd-ad.vclass.locai

    browser-based console

    vCloud Director administrator user name administrator

    vCloud Director administrator password vmwarel

    Lab

    Building and Publishing VMware vCloud Director v pps

    4

    Perform this lab as teams

    of

    two students. Each team will manage a VMware cloud. Students will

    be identified as student A and student

    B.

    Some items in the lab must be done by both students. But

    http://vcd.vcd-ad.vclass.locai/http://vcd.vcd-ad.vclass.locai/
  • 8/10/2019 VMware vCloud Director ICM Lab.pdf

    46/156

    most tasks will be done by one student while the other student checks the work. Students will take

    turns so that both students in the team gain experience with the command and the ill .

    Task : Build and publish a vApp for the RD organization

    In

    this task, you will build a vCloud Director vApp. Student B will do this task. Student A will

    check the settings. The vApp will consist

    of

    virtual machine templates taken from both the QA and

    the RD catalogs.

    1.

    you are not logged in to the vCloud Director console, open Internet Explorer and log in to the

    vCloud Director server using the following information.

    URL

    http://vcd.vcd-ad.vclass.local

    Username administrator

    Password

    vmwarel!

    2.

    In

    the vCloud Director console, click the System tab.

    3. Click the Manage & Monitor tab.

    4.

    In

    the left pane, select Organizations.

    5. In the right pane, right-click RD and select Open.

    6. Click the My Cloud tab.

    7. In the left pane, click vApps.

    8.

    In

    the right pane, click the Build New v pp icon.

    vApps

    +

    Build New vApp .

    42

    Lab Building and Publishing VMware vCloud Director vApps

    9. In the New vApp wizard, under Name th is vApp, perform the following actions.

    http://vcd.vcd-ad.vclass.local/http://vcd.vcd-ad.vclass.local/http://vcd.vcd-ad.vclass.local/http://vcd.vcd-ad.vclass.local/
  • 8/10/2019 VMware vCloud Director ICM Lab.pdf

    47/156

    Setting

    Action

    Name Type RD vAppl .

    Description Type

    Web

    Deve lopment App.

    Runtime lease

    Use the drop-down menus to select a lease of

    14

    days

    Storage lease

    Use the drop-down menus to select a lease

    of

    30 days.

    10. Click Next.

    11.

    Under Add Virtual Machines, select My

    Organization s

    catalogs from the Look in drop

    down menu.

    12. In the vApp template list, select SUSE-Base and click the Add button.

    13. From the Look in drop-down menu, select Public catalogs.

    14.

    In

    the vApp template list, select Win2k3-Base and click the Add button.

    15.

    Click Next.

    16.

    Under Configure Resources, use the following table to change the virtual machine names.

    Original name

    New

    name

    SUSE-Base RDl-SUSE-A

    Win2k3-Base RDI-Win2k3-A

    17.

    Leave the Bronze storage profile selected for each virtual machine and click Next.

    18. Under Configure Virtual Machines, use the following table to change the Computer Name

    for each virtual machine.

    Virtual machine

    Computer name

    RDl-SUSE-A

    RDI-VMl

    RDI-Win2k3-A RDI-VM2

    Lab 6 Building and Publishing VMware vCloud Director vApps

    43

    19. For the RDI-SUSE-A virtual machine, select Add Network from the Network drop-down

    menu.

  • 8/10/2019 VMware vCloud Director ICM Lab.pdf

    48/156

    20. In the New vApp Network wizard, under Network specification, perform the following

    actions.

    Setting

    Action

    Gateway address

    Type

    172 3 0 . 11 0 .

    1

    Network

    mask

    Keep the default.

    Primary

    DNS Type 172 .30 .1 .1 .

    Secondary DNS Leave blank.

    DNS suffix

    Type v cd ad .

    vc1ass

    . loca l .

    Static

    IP

    pool Select the existing IP range and change it to 172 .30 .110 .100-

    172 .30 .110 .199 .

    Click the Modify button.

    21

    . Click Next.

    22. Under General, type

    RD1 Loca1

    in

    the Network

    name

    text box and click Next.

    23. Click Finish.

    24.

    For the RDI-Win2k3-A virtual machine, select RDl Local from the Network drop-down

    menu.

    25. For both virtual machines, select

    DHCP

    from the

    IP

    assignment drop-down menu.

    26. Click Next.

    27. Under Configure Networking, for the RDI-Local network, select RD-External from the

    Connection drop-down menu.

    28. Click Next.

    29. Under Ready to Complete, click Finish.

    30. Monitor the RD-vAppl status. Wait until the status changes to Stopped before continuing.

    31 . Right-click RD-vAppl and select Open.

    32. In

    the right pane, click the vApp Diagram tab .

    44

    Lab 6 Building and Publishing VMware vCloud Director vApps

    33. Scroll down so that all networks are visible.

    You

    will see both virtual machines of the vApp

    connected

    to

    RDI-Local, which connects

    to

    RD-External.

  • 8/10/2019 VMware vCloud Director ICM Lab.pdf

    49/156

    .

    RD1LoclIl

    -

    RDExternal

    RD1SUSE A

    C

    RD1-Win2kl-A

    J

    (

    J

    34. Click the Networking tab.

    35.

    Right-click RDl Local and select Configure Services.

    36. In the Configure Services wizard, on the nHCP tab, select the Enable nHCP check box.

    37. In

    the IP range text box, type 172 .30 .110 .200 172 .30 .110 .254 .

    38. Click the NAT tab.

    39.

    From the NAT type drop-down menu, select Port Forwarding.

    40.

    When prompted, click Yes.

    Changing the NAT type

    to

    port forwarding with IP masquerading enabled provides a many-to

    one NAT configuration.

    41 . Click OK

    42 . Under the networks list, click Apply. Wait for the configuration change to complete before

    continuing.

    43. In the left pane, click vApps.

    44.

    In

    the right pane, right-click RD-vAppl and select Add to Catalog.

    Lab 6 Building and Publishing VMware vCloud Director vApps

    45

    45 In

    the Add

    to

    Catalog wizard perform the following actions.

  • 8/10/2019 VMware vCloud Director ICM Lab.pdf

    50/156

    Setting ction

    Name Keep the default name.

    Description

    Type Web

    Development

    pp .

    All

    other

    sett ings Keep the default.

    46. Click OK

    47. Monitor the RD-vAppl status. Wait until the status changes to Stopped before continuing.

    Task

    2: Build

    and

    publish

    a

    v pp

    for

    the

    QA

    organization

    In

    this task you will build a vCloud Director vApp. Student A will do this task. Student B will

    check the settings.

    1 In

    the vCloud Director console click the System tab.

    2

    Click the

    Manage Monitor

    tab.

    3.

    In

    the left pane select Organizations.

    4.

    In

    the right pane right-click

    Q

    and select

    Open

    .

    5

    Click the My Cloud tab.

    6 In

    the left pane click v Apps .

    7.

    In

    the right pane click the Build New

    v pp

    icon.

    00

    vApps

    +

    Build [\Jew Cl pp

    46

    Lab 6 Building and Publishing VMware vCloud Director vApps

  • 8/10/2019 VMware vCloud Director ICM Lab.pdf

    51/156

    17.

    In

    the New vApp Network wizard, under Network specification, perform the following

    actions.

  • 8/10/2019 VMware vCloud Director ICM Lab.pdf

    52/156

    Setting

    ction

    Gateway address

    Type

    172

    .

    30

    .

    210

    .

    1.

    Network

    mask

    Keep the default.

    Primary DNS Type 172 .30 .11 .1 .

    Secondary DNS

    Leave blank.

    DNS suffIX

    Type vcd ad .

    vc

    l a s s . loca l .

    Static

    IP

    pool Select the existing IF range change the IF range

    to

    1 7 2 . 3 0 . 2 1 0 .1 0 0 1 7 2 . 3 0 . 2 1 0 .1 9 9 . Click the Modify button.

    18. Click Next.

    19. Dnder General, type QA1 Local

    in

    the Network name text box and click Next.

    20. Click Finisb.

    21.

    From the

    IP

    assignment drop-down menu, select DHCP.

    22. Click Next.

    23. Dnder Configure Networking, select QA-Externa l from the Connection drop-down menu.

    24. Click Next.

    25. Dnder Ready to Complete, click Finisb.

    26. Monitor the QA-vAppl status. Wait until the status changes to Stopped before continuing.

    27.

    Right-click

    QA vAppl

    and select Open.

    28. In the right pane, click the vApp Diagram tab.

    48

    Lab Building and Publishing VMware vCloud Director vApps

    29. Scroll down so that all networks are visible. You will see the virtual machines of the vApp

    connected

    to

    QAl-Local, which connects

    to

    QA-External.

  • 8/10/2019 VMware vCloud Director ICM Lab.pdf

    53/156

    QA

    1 Wln2k3 A

    .f. OA1-Local

    OAExternal

    30

    . Click the Networking tab.

    31

    . Right-click the

    QAl Local

    network and select Configure Services.

    32 . In the Configure Services wizard, on the

    nHCP

    tab, select the Enable nHCP check box.

    33.

    In the

    IF range

    text box, type 172 .30 .210 .200 172 .30 .210 .254 .

    34. Click the NAT tab.

    35.

    From the NAT type drop-down menu, select

    Port Forwarding

    .

    36. When prompted, click

    Yes.

    37.

    Click OK.

    38. Under the networks list, click Apply. Wait for the configuration update to complete before

    continuing.

    39. In

    the left pane, click vApps.

    40.

    In

    the right pane, right-click

    QA vAppl

    and select Add to Catalog.

    Lab 6 Building and Publishing VMware vCloud Director vApps

    49

    41.

    n

    the Add to Catalog wizard, perform the following actions.

  • 8/10/2019 VMware vCloud Director ICM Lab.pdf

    54/156

    Setting

    Action

    Name Keep the default name.

    Description

    Type es t ing App.

    Virtual

    datacenter

    Keep the default.

    Storage profile Select Silver.

    Catalog

    Keep the default.

    Storage lease Keep the default.

    When

    using this template Select

    Make

    identical copy.

    42 . Click OK

    43. Monitor the vApp status. Wait until the status changes to Stopped before continuing .

    Remain logged in to the vCloud Director console for the next lab

    50

    Lab Building and Publishing VMware vCloud Director vApps

  • 8/10/2019 VMware vCloud Director ICM Lab.pdf

    55/156

    Lab

    Deploying

    VMware vCloud Director

    vApps

    Objective: Deploy vCloud Director vApps

    In this lab, you will perform the following tasks:

    1 Deploy vApps for the RD organization.

    2

    Deploy vApps for the QA organization.

    Preparing for the lab

    Use the following information:

    URL to the VMware vCenter Server Web- https:llvcs.vcd-ad.vc\ass.JocaJ:9443/

    based console

    vCenter Server administrator user name administrator

    vCenter Server administrator password

    vmwarel

    URL to the VMware vCloud Director

    http ://vcd.vcd-ad.vc\ass.local

    browser-based console

    vCloud Director administrator user name administrator

    vCloud Director administrator password vmware 1

    Lab

    Deploying VMware vCloud Director v pps

    5

    http://vcd/http://vcd/http://vcd/http://vcd/
  • 8/10/2019 VMware vCloud Director ICM Lab.pdf

    56/156

  • 8/10/2019 VMware vCloud Director ICM Lab.pdf

    57/156

    22. Click the vApp Diagram tab and scroll down so that all networks are visible.

    The vApp diagram shows that the virtual machine is connected to the vAppNet-QAI-Local

    network. The vAppNet-QA I-Local network does not connect to the organization network

  • 8/10/2019 VMware vCloud Director ICM Lab.pdf

    58/156

    because the vApp must be updated for the current organization topology.

    23. Click the Networking tab.

    24.

    For the vAppNet-QA I-Local network, select RD-External from the Connection drop-down

    menu.

    25. Right-click the vAppNet-QAl-Local network and select Properties.

    26.

    In

    the Network Propert ies panel, click the General tab.

    27.

    In

    the Network name text box, type RD2-Local.

    28. Click the Network Specification tab.

    29.

    In

    the

    Primary

    DNS text box, change the IP address to the RD external network gateway by

    typing

    172 . 30 . 1

    l

    30.

    Click OK.

    31

    . When you see a Reconfigure DHCP service message, read the message and click OK.

    32. Right-click the Rd2-Local network and select Configure Services .

    33.

    In

    the Configure Services panel , on the

    DHCP

    tab, select the

    Enable DHCP

    check box.

    34. In

    the IP

    Range

    text box, type

    172 30 210 200 172 30 210 254 .

    35.

    Click the NAT tab.

    36. From the NAT type drop-down menu, select

    Port

    Forwarding.

    37. When prompted, click Yes.

    38.

    Click

    OK

    39. Under the networks list, click Apply. Wait for the configuration change to complete before

    continuing.

    40.

    Click the vApp Diagram tab and scroll down so that all networks are visible. The RD2-Local

    network is connected

    to

    the RD External organization network.

    Configure and

    run the v pps

    1.

    In

    the left pane, click v Apps.

    2.

    In

    the right pane, right-click

    RD-vAppl

    and select

    Open

    .

    3. Click the Virtual Machines tab.

    54

    Lab Deploying VMware vCloud Director vApps

    4

    Right-click the RDI-SUSE-A virtual machine and select Properties.

    5

    In

    the Virtual Machine Properties panel click the Guest OS Customization tab.

  • 8/10/2019 VMware vCloud Director ICM Lab.pdf

    59/156

    6. Select the Enable guest customization check box.

    7

    Select the Allow local administrator password check box and select Specify password.

    8 In the Specify password text box type vmwarel

    .

    9

    Click OK.

    10

    In

    the virtual machines list right-click RDl-Win2k3-A and select Properties.

    11 In

    the Virtual Machine Properties panel click the Guest OS Customization tab.

    12 Select the Enable guest customization check box.

    13 Select the

    Change

    SID check box.

    14

    Select the Allow local administrator password check box and select Specify password.

    15. n the Specify password text box type vmwarel l

    .

    16

    . Click OK. Wait for the configuration update

    to

    complete before continuing.

    17 In

    the left pane click vApps.

    18 In

    the right pane right-click RD vAppl and select Start.

    19

    Right-click RD-v App2 and select Open.

    20

    Click the Virtual Machines tab.

    21 Right-click the QAI-Win2k3-A virtual machine and select Properties.

    22 In the Virtual Machine Properties panel click the

    Guest

    OS Customization tab.

    23

    Select the Enable guest customization check box.

    24

    . Select the

    Change

    SID check box.

    25

    Select the Allow local

    administrator

    password check box and select Specify password.

    26

    In

    the Specify password text box type vmwarel l

    .

    27 Click OK. Wait for the configuration update to complete before continuing.

    28 In

    the left pane click vApps.

    29 In the right pane right-click RD-vApp2 and select Add to Catalog.

    30

    In the Add to Catalog wizard select Make identical copy and click OK.

    31 . After the RD-vApp2 status changes to Stopped right-click RD-vApp2 and select Start.

    32. When the status for both vApps changes to Running continue with the

    lab

    Lab 7 Deploying VMware vCloud Director vApps

    55

    Task : Deploy

    vApps

    for the QA organization

    In

    this task, you will copy a v App published

    by

    a different organization and then configure and run

    your v Apps.

    In

    your vCloud Director environment, the RD and QA organizations share catalogs and

  • 8/10/2019 VMware vCloud Director ICM Lab.pdf

    60/156

    56

    vApps. The QA organization will have two vApps deployed: one created by the RD organization

    and the other created by the QA organization.

    Although you can deploy to your My Cloud folder a vApp published in a public catalog, this task

    will guide you through copying the vApp to your own catalog before deployment.

    Student A will do this task. Student B will check the settings.

    This task has the following subtasks:

    Copy a vApp from the RD organization.

    Configure and run the vApps.

    Copy a vApp

    from the R

    organization

    1. In the vCloud Director console, click the System tab.

    2 Click the Manage Monitor tab.

    3 In

    the left pane, select Organizations.

    4

    In

    the right pane, right-click QA and select Open.

    5 Click the Catalogs tab.

    6. In the left pane, click Public Catalogs.

    7 In the right pane, click the Catalogs subtab.

    8

    Right-click RD

    Catalog

    and select open.

    9

    On the vApp Templates tab, right-click RD vAppl and select Copy

    to Catalog

    .

    10.

    In

    the Copy: RD vAppl panel, perform the following actions.

    Setting

    Action

    Name

    Type vApp From RD.

    Storage profile Select Silver.

    All other settings

    Keep the default.

    Lab 7 Deploying VMware vCloud Director vApps

    11.

    Click OK

    12

    .

    In

    the left pane, at the top, select My

    Organization s

    Catalogs.

    13. In

    the right pane, monitor the vApp-From-RD status. Wait until the status changes

    to

    Ready

  • 8/10/2019 VMware vCloud Director ICM Lab.pdf

    61/156

    before continuing.

    14

    . Right-click vApp-From-RD and select

    Add

    to

    My

    Cloud.

    15. In

    the Add

    to

    My Cloud wizard, type

    QA-vApp2

    in the Name text box.

    16.

    Click Next.

    17

    . Under Configure Resources, change the virtual machine names using the following table.

    Original name

    New name

    RD

    1-

    Win2k3-A QA2-Win2k3-A

    RD1-SUSE-A

    QA2-SUSE-A

    18 . For each virtual machine, select Silver from the Storage profile drop-down menu.

    19

    . Click Next.

    20. Under Configure Networking, change the computer names using the following table.

    Virtual machine Computer name

    QA2-SUSE-A

    QA2-VM1

    QA2-Win2k3-A

    QA2-VM2

    21

    . For the QA2-Win2k3-A virtual machine, select Add Network from the NIC 0 drop-down

    menu.

    Lab 7 Deploying VMware vCloud Director vApps

    57

    22. In theNewvAppNetworkwizard,underNetworkSpecification,performthefollowing

    actions.

  • 8/10/2019 VMware vCloud Director ICM Lab.pdf

    62/156

    Setting

    ction

    Gatewayaddress Type172 .30 .220 .1 .

    Network

    mask

    Keepthedefault.

    Primary

    DNS Type17 2.30.

    11

    .1

    SecondaryDNS

    Leaveblank.

    DNS

    suffIX

    Typevcd-ad .

    vc l a s s

    .loca l .

    StaticIPpool SelecttheexistingIP rangeandchange

    it to

    172

    .30 .220 .100

    172 .30 .220 .199 .

    ClicktheModify

    button.

    23. ClickNext.

    24 . UnderGeneral,type

    QA2

    -Loca l in theNetworkname textbox.

    25. ClickNext.

    26. UnderReadytoComplete,clickFinish.

    27. FortheQA2-SUSE-Avirtualmachine,selectQA2-LocalfromtheNIC0drop-downmenu.

    28. ClickNext.

    29.

    ClickFinisb.

    30. ClicktheMyCloudtab.

    31.

    In

    theleftpane,clickvApps.

    32.

    In

    therightpane,monitortheQA-vApp2status.Waituntilthestatuschangesto Stoppedbefore

    continuing.

    33.

    Right-clickQA-vApp2andselectOpen .

    34.

    ClickthevAppDiagramtabandscrolldownsothatallnetworksarevisible.

    ThevAppdiagramshowsthatthevirtualmachinesareconnected to theQA2-Localnetwork.

    TheQA2-Localnetworkdoesnotconnect to anorganizationnetwork.

    35. ClicktheNetworkingtab.

    58

    Lab 7 Deploying VMware vCloud Director vApps

    36. For the QA2-Local network, select QA External from the Connection drop-down menu.

    37.

    Right-click the QA2-Local network and select Configure Services.

    38. In

    the Configure Services panel, on the

    DHCP

    tab, select the

    Enable DHCP

    check box.

  • 8/10/2019 VMware vCloud Director ICM Lab.pdf

    63/156

    39. In

    the

    IP

    Range text box, type 172 .30 .220 .200 172 .30 .220 .254 .

    40.

    Click the NAT tab.

    41.

    From the NAT type drop-down menu, select

    Port

    Forwarding.

    42.

    When prompted, click

    Yes.

    43. Click OK.

    44. Below the networks list, click Apply. Wait for the configuration change

    to

    complete before

    continuing.

    45. Click the v App Diagram tab and scroll down so that all networks are visible.

    The QA2-Local network

    is

    connected to the QA External organization network.

    Configure and run the v pps

    1. In

    the left pane, click vApps.

    2. In

    the right pane, right-click QA vAppl and select Open.

    3.

    Click the Virtual Machines tab.

    4. Right-click the QAI-Win2k3-A virtual machine and select Propert ies.

    5.

    In

    the Virtual Machine Properties panel, click the Guest OS Customization tab.

    6.

    Select the Enable guest customization check box.

    7.

    Select the Change SID check box.

    8. Select the Allow local administrator password check box and select Specify password .

    9.

    In

    the Specify password text box, type

    vmware1 ! .

    10. Click OK

    11.

    In the left pane, click vApps.

    12. In

    the right pane, right-click

    QA vAppl and

    select Start.

    13.

    Right-click QA-vApp2 and select Open.

    14.

    Click the Virtual Machines tab.

    15.

    Right-click the QA2-SUSE-A virtual machine and select Properties.

    16. In the Virtual Machine Properties panel, click the Guest OS Customization tab.

    Lab

    7 Deploying VMware vCloud Director vApps

    59

    17. Select the

    Enable

    guest customization check box.

    18

    Select the AJlow local

    administrator

    password check box and select Specify password.

    19.

    In

    the Specify password text box type

    vmwarel l

  • 8/10/2019 VMware vCloud Director ICM Lab.pdf

    64/156

    20. Click

    OK

    21

    . Right-click the QAl-Win2k3-A virtual machine and select Properties.

    22 In

    the Virtual Machine Propert ies panel click the

    Guest

    OS Customization tab.

    23

    Select the

    Enable

    guest customization check box.

    24

    Select the

    Change

    SID check box.

    25

    Select the AJlow local

    administrator

    password check box and select Specify password.

    26

    In

    the Specify password text box type

    vmwarel l

    27. Click

    OK

    28.

    In

    the left pane click v Apps .

    29.

    In

    the right pane right-click QA-vApp2 and select Add to Catalog.

    30 In

    the Add

    to

    Catalog wizard select Silver from the Storage profile drop-down menu.

    31

    . Select

    Make

    identical copy and click

    OK

    32. After the QA-vApp2 status changes

    to

    Stopped right-click QA-vApp2 and select

    Start

    .

    Wait until

    all

    vApps

    in

    the RD and QA organizations have started before continuing to the next lab.

    60

    Lab Deploying VMware vCloud Director vApps

  • 8/10/2019 VMware vCloud Director ICM Lab.pdf

    65/156

    Task

    :

    Verify v pp networking for the RD organization

    In this task, you will test basic VMware vSphere VAppTM network connectivity. This task will be

    done using the organization administrator account. Student B will do this task. Student A will check

  • 8/10/2019 VMware vCloud Director ICM Lab.pdf

    66/156

    62

    the settings.

    1.

    In

    Internet Explorer, open a new browser tab and log

    in

    to the

    RD

    administrator console using

    the following information.

    URL

    http://vcd. vcd-ad.vclass.locallcloudlorg/RD

    Username

    rd admin

    Password vmwarel

    2. In the

    RD

    administrator console, click the My Cloud tab.

    3. In the left pane, click vApps.

    4. In the right pane, right-click RD-vAppl and select

    Open.s

    5. Click the

    Virtual

    Machines tab.

    6. Right-click the

    RDI-Win2k3-A

    virtual machine and select Popout Console.

    7.

    When the virtual machine login screen appears, expand the Popout Console window so that the

    scroll bars disappear.

    8. In the Popout Console window, click the keyboard icon in the upper-right comer.

    9. Log in to the virtual machine, using the following credentials.

    Login administrator

    Password vmwarel

    10. On the virtual machine desktop, double-click the

    Command

    Prompt

    shortcut.

    Lab 8 VMware vSphere vApp Networking

    11. n theCommandPromptwindow,trytopingthe RD gatewaybytypingping

    1 7 2 3 0 1 1

    Theping commandwillnotreceivearesponse.

    12. PressCtrl+Ctostopthep i n g command.

    http://vcd/http://vcd/
  • 8/10/2019 VMware vCloud Director ICM Lab.pdf

    67/156

    13. ExaminethevirtualmachineIPsettingsbytyping ipconf ig

    ThevirtualmachinehasaDHCP-assignedIPaddressintherange

    of

    172.30.110.200

    172.30.110.254,withadefaultgateway

    of

    172.30.110.1.

    14. Trytopingthelocalnetworkgatewaybytypingp i n g 172 30 11

    0.1. The

    ping

    command

    willnotreceivearesponse.

    15. PressCtrl+Ctostopthep i n g command.

    Thelocalgatewayat172.30.110.1 isattachedtothesamesubnetasthevirtualmachine.What

    mightbeinterferingwithnetworktrafficinthiscontext?

    16. Mi.n.imize thePopoutConsolewindow.

    17. In theRD administratorconsole,clicktheNetworking tab.

    18. Right-clickRDl Local andselectConfigure Services.

    19. n theConfigureServiceswizard,clicktheNATtab.RecordtherouterexternalIPaddress.

    Router

    e:r ternallP

    172.30.1.1 O

    Enable IP Masquerade

    Routerexternaladdress: _

    20. ClicktheFirewalltab,deselecttheEnable firewallcheckbox,andclickOK.

    21. ClickApply.Waitfortheconfigurationupdatetocomplete.

    22. GotothePopoutConsolewindow.

    23. In theCommandPromptwindow,trytopingthelocalgatewaybytyping

    ping

    172 30 110 1

    Thep i n g commandwillreceivearesponse.Thegatewayfirewalldevicewasblockingthe

    ping response.

    Lab VMware vSphere vApp Networking

    63

    24.

    Try

    to ping the public interface

    of

    the local gateway by typing

    ping 172 30 1 100

    Substitute the IF address that you recorded in step

    9

    different.

    The

    ping

    command will receive a response, indicating that traffic

    is

    being routed through the

    local gateway.

  • 8/10/2019 VMware vCloud Director ICM Lab.pdf

    68/156

    25

    .

    Try

    to ping the RD organization gateway by typing

    ping

    1 7 2 3 0 1 1

    The

    ping

    command

    will not receive a response.

    26.

    Press Ctrl+C to stop the

    ping

    command.

    The IF address

    of

    the RD organization gateway

    is

    172.30.1.1, which is on the same subnet

    as

    the external interface of the RDI-Local gateway. You can ping the external interface

    of

    the

    RDI-Local gateway but not the IF address

    of

    the organization gateway. What might the root

    cause be?

    27.

    Minimize the Popout Console window.

    28. In

    the RD administrator console, click the Administration tab.

    29

    .

    In

    the left pane, select Virtual Datacenters.

    30.

    In

    the right pane, right-click

    RD VDC

    and select

    Open

    .

    31.

    Click the

    Org

    VDC Networks tab.

    32. Right-click the

    RD External

    network and select Configure Services.

    33.

    In

    the Configure Services wizard, click the Firewall tab.

    34.

    Deselect the

    Enable

    Firewall check box and click

    OK

    35. Switch to the Popout Console window.

    36.

    In

    the Command Prompt window, ping the organization gateway

    by

    typing ping

    1 7 2 3 0 1 1

    The ping command will receive a response because the gateway fIrewall

    is

    no longer blocking

    traffic. You might need to wait a few moments for the gateway to reconfigure and allow traffic

    to

    pass.

    37. Close the Popout Console window.

    38. Close the RD administrator console tab.

    64

    ab

    8 VMware vSphere vApp Networking

    Task

    :

    Verify v pp networking for the Q organization

    In

    thistask,youwillconfigurefirewallrulesandtestvAppnetworkconnectivity.

    Ibis

    taskwillbe

    doneusingtheorganizationadministratoraccount.StudentAwilldothistask.StudentBwillcheck

    thesettings.Becausebasictroubleshootingwasperformedintask1, youwillconfigurethe

  • 8/10/2019 VMware vCloud Director ICM Lab.pdf

    69/156

    necessaryftrewallsettingsbeforetesting.

    1.

    InInternetExplorer,openanewbrowsertabandlogintotheQAadministratorconsoleusing

    thefollowinginformation.

    URL http://vcd.vcd-ad.vclass.local/cloudlorg/QA

    Username

    Password

    vmwarel!

    2.

    In

    theQAadministratorconsole,clickthe

    My

    Cloudtab.

    3.

    Intheleftpane,clickvApps.

    4. Intherightpane,right-clickQA-vApplandselect

    Open.

    5. ClicktheNetworkingtab.

    6.

    Right-clickthe

    QAl-Local

    networkandselect

    Configure

    Services.

    7.

    Inthe

    Configure

    Servicespanel,clicktheFirewalltab.

    8.

    ClickAdd.

    9.

    IntheAddFirewallRulewizard,performthefollowingactions.

    Setting

    Action

    Name

    Type

    Ping.

    Source

    Type

    any.

    Destination Typeany.

    Protocol

    SelectICMP.

    Allothersettings Keepthedefault.

    10. Click

    OK

    tocompletetheAddFirewallRulewizard.

    Lab VMware vSphere vApp Networking

    65

    11 . Click

    OK

    to close the Configure Services panel.

    12

    . Click Apply.

    Wait

    for the configuration update to complete before continuing.

    13

    . Click the Administration tab.

    http://vcd.vcd-ad.vclass.local/cloudlorg/QAhttp://vcd.vcd-ad.vclass.local/cloudlorg/QA
  • 8/10/2019 VMware vCloud Director ICM Lab.pdf

    70/156

    14.

    In the left pane, select Virtual Datacenters.

    15.

    In

    the right pane, right-click

    QA

    VDC and select

    Open

    .

    16

    . Click the

    Org

    VDC Networks tab.

    17

    . Right-click the

    QA External

    network and select Configure Services.

    18. In

    the Configure Services panel, click the Firewall tab.

    19.

    Click Add.

    20.

    In

    the Add Firewall Rule wizard, perform the following actions.

    Setting

    ction

    Name

    Type

    Ping

    Source Type

    any

    Destination

    Type

    any

    Protocol Select ICMP.

    All

    other

    settings Keep the default.

    21.

    Click

    OK

    to complete the Add Firewall Rule wizard .

    22

    . Click OK

    to

    close the Conf igure Services panel.

    23. Right-click the QA External network and select

    IP

    Allocations.

    24. In the

    IP

    Allocations list, fmd the

    IP

    address allocated to QA-vAppl and answer the following

    question.

    What

    is

    the

    IP

    address assigned

    to

    QA vAppl? _

    25

    . Click Cancel.

    26. Click the My Cloud tab.

    27. In the right pane, click the Virtual Machines tab.

    28. Right-click the QAI-Win2k3-A virtual machine and select Popout Console.

    66

    Lab 8 VMware vSphere vApp Networking

    29. Whenthevirtualmachineloginscreenappears,expandthePopoutConsolewindowsothatthe

    scrollbarsdisappear.

    30. n thePopoutConsolewindow,clickthe keyboard iconintheupper-rightcomer.

  • 8/10/2019 VMware vCloud Director ICM Lab.pdf

    71/156

    31. Logintothevirtualmachine,usingthefollowingcredentials.

    Login

    administrator

    Password

    vmwarel!

    32. On thevirtualmachinedesktop,double-clicktheCommand Prompt shortcut.

    33.

    n

    theCommandPromptwindow,runthefollowingcommands.

    Command

    Description

    ping

    172

    .

    30 210 1

    Thelocalnetworkgateway

    ping 172.30 .11.100

    TheIPaddressassignedtoQA-vAppl. ReplacetheIPaddress

    withthevaluethatrecorded

    in

    step24.

    ping 172 30 11

    .1

    The privateIP

    of

    theorganizationnetworkgateway

    Each

    ping

    commandshouldreceivearesponse.

    anycommandfailstoreceivearesponse,

    repeatsteps

    5-32

    stepstoverifyftrewallandnetworkconfigurations.

    34. ClosethePopoutConsolewindow.

    35. ClosetheQA administratorconsoletab .

    l b

    VMware vSphere vApp Networking

    67

    http:///reader/full/172.30.1