34
User’s Guide to Deploying vApps and Virtual Appliances VMware Studio 2.6  This document supports the version of each product listed and supports all subsequent versions until the document is replaced by a new edition. To check for more recent editions of this document, see http://www.vmware.com/support/pubs . EN-000830-00

VMWare

Embed Size (px)

Citation preview

  • 5/23/2018 VMWare

    1/34

    Users Guide to Deploying vApps andVirtual Appliances

    VMware Studio 2.6

    This document supports the version of each product listed and

    supports all subsequent versions until the document is replacedby a new edition. To check for more recent editions of this

    document, see http://www.vmware.com/support/pubs.

    EN-000830-00

    http://www.vmware.com/support/pubshttp://www.vmware.com/support/pubs
  • 5/23/2018 VMWare

    2/34

    VMware, Inc.

    3401 Hillview Ave.Palo Alto, CA 94304www.vmware.com

    2 VMware, Inc.

    Users Guide to Deploying vApps and Virtual Appliances

    You can find the most up-to-date technical documentation on the VMware Web site at:

    http://www.vmware.com/support/

    The VMware Web site also provides the latest product updates.

    If you have comments about this documentation, submit your feedback to:

    [email protected]

    Copyright 20082012 VMware, Inc. All rights reserved. This product is protected by U.S. and international copyright andintellectual property laws. VMware products are covered by one or more patents listed at

    http://www.vmware.com/go/patents .VMware is a registered trademark or trademark of VMware, Inc. in the United States and/or other jurisdictions. All other marksand names mentioned herein may be trademarks of their respective companies.

    http://www.vmware.com/supportmailto:[email protected]://www.vmware.com/go/patentshttp://www.vmware.com/go/patentshttp://www.vmware.com/go/patentshttp://www.vmware.com/go/patentshttp://www.vmware.com/go/patentsmailto:[email protected]://www.vmware.com/supporthttp://www.vmware.com/support/
  • 5/23/2018 VMWare

    3/34

    VMware, Inc. 3

    Contents

    About

    This

    Book 5

    1 OverviewofAppliancesCreatedwithVMwareStudio 7AboutvAppsandVirtualAppliances 7

    ComponentsofVirtualAppliancesCreatedwithVMwareStudio 8

    2 DeployingYourVirtualAppliance 9SystemRequirements 9

    DistributionFormats 9

    DeployingaVirtualApplianceinVMwarevSphere 10

    DeployingaVirtualAppliancefromZIP 10

    Deploying

    a

    Virtual

    Appliance

    in

    VMware

    vCloud

    Director 11FirstStartoftheVirtualAppliance 11

    ChoosingBetweenDHCPandStaticIP 12

    ConfiguringaStaticIPAddress 12

    SettingtheDefaultGateway 12

    SettingtheHostName 13

    SettingtheDNSServers 13

    ConfiguringtheNetworkProxy 13

    ConfiguringDHCP 13

    ConfiguringanIPv6Network 14

    SettingtheTimeZone 14

    VirtualAppliancesBasedonWindows 14

    3 ManagingaVirtualAppliance 15ExploringaVirtualAppliance 15

    UsingtheCommandLine 16

    ExploringvAppsinthevSphereClient 16

    ShuttingDownorRebootingtheVirtualAppliance 16

    SettingtheTimeZone 17

    NetworkConfiguration 17

    SettingaProxyServer 18

    ChoosingBetweenDHCPandStaticNetworkAddresses 18

    ConfiguringIPv6Networks 18

    NameService 19

    Firewall

    Security 19Troubleshooting 19

    4 UpdatingaVirtualAppliance 21TypesofUpdates 21

    UpdateTabStatusandSettings 21

    CheckingVersionStatus 21

    InstallingAvailableUpdates 22

    SettingUpdatePolicies 22

    SettingUpdateSource 22

    UsingtheCommandLineforUpdates 22

    SpecifyingUpdateRepository 23

  • 5/23/2018 VMWare

    4/34

    Users Guide to Deploying vApps and Virtual Appliances

    4 VMware, Inc.

    5 ManagingVirtualApplianceswithvCenterServer 25RequirementsforUpdateManager 25

    VirtualApplianceBaselines 26

    CreatingVirtualApplianceUpgradeBaselines 26

    AttachingVirtualApplianceUpgradeBaselines 26

    ScanningVirtualAppliances 27

    DoingaManualScan 27

    SchedulingaScan 27

    ViewingScanResults 28

    ReviewingScanResultsforVirtualAppliancesContainedinavSphereObject 28

    ReviewingScanResultsforanIndividualVirtualAppliance 29

    RemediatingVirtualAppliances 29

    VirtualApplianceRecognition 30

    Appendix 31VMwarePlatformProductsforOVFandOVA 31

    CompatibilityforVirtualAppliancesandvApps 31

    Index 33

  • 5/23/2018 VMWare

    5/34

    VMware, Inc. 5

    Thisbook,theUsersGuidetoDeployingvAppsandVirtualAppliances,describeshowtodeployandmanagevAppsandvirtualappliancesbuiltwithVMwareStudio.ThisguideisintendedforVMwareuserswhoare

    installing,running,andupdatingvAppsandvirtualappliancescreatedbyVMwareStudio.

    Revision History

    Thisbookisrevisedwitheachreleaseoftheproductorwhennecessary.Arevisedversioncancontainminor

    ormajorchanges.Table 1summarizesthesignificantchangesineachversionofthisbook.

    VMwareprovidesseveralSDKproductsthattargetdifferentdevelopercommunitiesandplatformproducts.

    FordocumentationaboutthevariousVMwareSDKproductsandthelatestversionofthisguide,goto

    http://www.vmware.com/support/pubs/sdk_pubs.html.

    VMware Studio Forum

    IfyouhavequestionsaboutVMwareStudioorwanttointeractwithotherusersanddevelopers,visitthe

    communityforum

    at

    http://communities.vmware.com/community/vmtn/vam/studio?view=discussions.

    ForinformationaboutusingOVFandvApps,gototheVMwareblogathttp://blogs.vmware.com/vapp/.

    Intended Audience

    ThismanualisintendedforendusersofvirtualappliancescreatedusingVMwareStudio.Itdescribeshow

    appliancesbuiltwithVMwareStudiocanbedeployed,managed,andupdated.Forinformationaboutcreating

    vAppsandvirtualapplianceswithVMwareStudio,seetheDevelopersGuidetoBuildingvAppsandVirtualAppliances.

    About This Book

    Table 1. Revision History

    Revision Description

    20120302 RevisionfortheVMwareStudio2.6Faradayrelease.

    20110415 MajorrevisionfortheVMwareStudio2.5Edisonrelease.

    20101117 InternalversionfortheVMwareStudio2.1.1update.

    20100713 MajorrevisionfortheVMwareStudio2.1release.

    20090831 FinalversionfortheVMwareStudio2.0release

    20090629 RetitledUsersGuidetoDeployingvAppsandVirtualAppliancesforStudio2.0Beta.20081216 Correctionsmadetofirstversion,butnonewmaterial.

    20080905 FirstversionoftheGuidetoDeployingVirtualAppliancesforVMwareStudio1.0.

    http://www.vmware.com/support/pubs/sdk_pubs.htmlhttp://www.vmware.com/support/pubs/sdk_pubs.html
  • 5/23/2018 VMWare

    6/34

    Users Guide to Deploying vApps and Virtual Appliances

    6 VMware, Inc.

    VMware Technical Publications Glossary

    VMwareTechnicalPublicationsprovidesaglossaryoftermsthatmightbeunfamiliartoyou.Fordefinitions

    oftermsastheyareusedinVMwaretechnicaldocumentationgotohttp://www.vmware.com/support/pubs.

    Document Feedback

    VMwarewelcomesyoursuggestionsforimprovingourdocumentation.Sendyourfeedbackto

    [email protected].

    Technical Support and Education Resources

    Thefollowingsectionsdescribethetechnicalsupportresourcesavailabletoyou.Toaccessthecurrentversions

    ofotherVMwarebooks,gotohttp://www.vmware.com/support/pubs.

    Online and Telephone Support

    Touseonlinesupporttosubmittechnicalsupportrequests,viewyourproductandcontractinformation,and

    registeryourproducts,gotohttp://www.vmware.com/support.

    Support OfferingsTofindouthowVMwaresupportofferingscanhelpmeetyourbusinessneeds,goto

    http://www.vmware.com/support/services.

    VMware Professional Services

    VMwareEducationServicescoursesofferextensivehandsonlabs,casestudyexamples,andcoursematerials

    designedtobeusedasonthejobreferencetools.Coursesareavailableonsite,intheclassroom,andlive

    online.Foronsitepilotprograms andimplementationbestpractices,VMwareConsultingServicesprovides

    offeringsto helpyouassess,plan,build,andmanageyourvirtualenvironment.Toaccessinformationabout

    educationclasses,certificationprograms,andconsultingservices,gotohttp://www.vmware.com/services.

    mailto:[email protected]:[email protected]:[email protected]:[email protected]:[email protected]:[email protected]:[email protected]:[email protected]:[email protected]:[email protected]:[email protected]:[email protected]:[email protected]:[email protected]:[email protected]:[email protected]:[email protected]:[email protected]:[email protected]:[email protected]:[email protected]:[email protected]:[email protected]:[email protected]://www.vmware.com/support/pubshttp://www.vmware.com/supporthttp://www.vmware.com/support/serviceshttp://www.vmware.com/services/http://www.vmware.com/services/http://www.vmware.com/support/serviceshttp://www.vmware.com/supporthttp://www.vmware.com/support/pubsmailto:[email protected]
  • 5/23/2018 VMWare

    7/34

    VMware, Inc. 7

    1

    Thischapterprovidesanoverviewofvirtualappliances,andincludesthefollowingtopics:

    AboutvAppsandVirtualAppliancesonpage 7

    ComponentsofVirtualAppliancesCreatedwithVMwareStudioonpage 8

    VMwareStudioisanintegrateddevelopmenttoolthattransformsexistingsoftwareapplicationsintovApps

    andvirtual

    appliances

    that

    are

    ready

    to

    run

    on

    VMware

    platform

    products.

    With

    VMware

    Studio,

    software

    developerscaneasilypackageapplicationsthatareoptimizedforvirtualenvironments.Userscanquickly

    deploythesevirtualappliances,anddatacenteradministratorscanmanagethemwithinvSphere.

    About vApps and Virtual Appliances

    Avirtualapplianceisaprebuiltsoftwaresolutioncontainingvirtualmachinesandsoftwareapplicationsthat

    areintegrated,managed,andupdatedasapackage.Unlikeconventionalhardwareappliances,virtual

    appliancesareeasyforuserstoacquireanddeployasasolution.Virtualappliancessimplifythedevelopment

    anddistributionofsoftwareapplications,andshortenimplementationtime.

    In2009VMwareintroducedthevApp,asoftwaresolutionoptimizedforcloudcomputing.AvAppcan

    containmultipleinteroperatingvirtualmachinesandsoftwareapplicationsthatyoucaninstallandmanage

    asaunit.AvAppusestheindustrystandardOpenVirtualizationFormat(OVF)1.0toencapsulatethe

    componentsofamultitierapplication,alongwiththeoperationalpoliciesassociatedwithit.AvAppgives

    applicationownersawaytodescribepoliciesthattheirdatacenterorvirtualcloudcaninterpretandrun.

    VMwareStudiohelpsdevelopersbuildandmaintainproductionreadyvAppsandvirtualapplianceswith

    applicationsthatarenottiedtoparticularhardware.LinuxbasedvirtualappliancesbuiltwithStudiocontain

    aninguestmanagementcomponentcalledtheVirtualApplianceManagementInfrastructure(VAMI).VAMI

    providesaWebconsoleandcommandlineinterfacetoperformthefollowingtasks:

    Configurenetworksettingsandreviewsysteminformationforthevirtualappliance

    Stoporrestartthevirtualappliance

    CheckforupdatesandinstallthemoverthenetworkorfromCDROM,immediatelyoronaschedule

    Anindependentsoftwarevendor(ISV)cancustomizetheWebconsoletoprovideanimmediatelinktothe

    applicationsWebinterface.ForavApp,VAMIcanenforcebootorderandrunpriority.VAMIalsointegrates

    seamlesslyintovCenterServerandVMwarevCenterUpdateManager.

    VMwareStudiocanalsobuildWindowsbasedvirtualappliances,buttheydonotcontaintheVAMIagent.

    VMwareStudiobuildsvirtualappliancesthatareportableacrossVMwareplatformproducts,andwhichcan

    beupdatedorpatchedremotely,iftheappliancedeveloperenabledtheupdaterepository.Thisupdatefacility

    doesnotrequireuseofUpdateManager.

    VMwareStudioproducesvirtualappliancesinOpenVirtualizationFormat(OVF),OVA(archiveOVF),orZIP.

    GeneratedOVFfilesconformtotheOVF0.9draftspecificationortheOVF1.0standard.OVF1.0isrequired

    forvApps.ForinformationaboutOVF,seehttp://www.vmware.com/appliances/learn/ovf.html.

    Overview of Appliances Created withVMware Studio 1

    http://www.vmware.com/appliances/learn/ovf.htmlhttp://www.vmware.com/appliances/learn/ovf.html
  • 5/23/2018 VMWare

    8/34

    Users Guide to Deploying vApps and Virtual Appliances

    8 VMware, Inc.

    Components of Virtual Appliances Created with VMware Studio

    Figure 11showsthecomponentsofavirtualappliancecreatedwithVMwareStudio.

    Figure 1-1. Virtual Appliance Created by VMware Studio

    VirtualappliancescreatedwithVMwareStudiocontainthefollowingcomponents:

    JeOSJustenoughOperatingSystem.VirtualappliancesbuiltwithVMwareStudiousestheminimal

    requiredpackages,ensuringthatvirtualapplianceshaveasmallfootprintandarerelativelysecure.

    VMwareToolsVMwareStudioinstallsVMwareToolsduringthebuildofvirtualappliancestoenhance

    communicationbetweenVMwarevirtualizationplatformsandthevirtualappliance.

    VAMITheinguestmanagementcomponentprovidesaWebconsoletomanagethevirtualappliance.

    VAMI(VirtualApplianceManagementInfrastructure)allowsyoutochangenetworksettings,updatethe

    virtualappliance,andcontrolthestateofthesystembyshutdownandreboot,inadditiontoother

    managementservicesthatanISVadds.AllthedefaultmanagementservicesprovidedbyVAMIareimplementedasCommonInformationModel(CIM)ProvidersusingSmallFootprintCIMBroker(SFCB)

    asaCIMManager.CIMisastandardfromDistributedManagementTaskForce(DMTF).Formore

    informationonCIMandotherDMTFstandards,seehttp://www.dmtf.org.

    TheWebconsoleinterfacebasedonVAMI,ifincludedinavirtualappliance,isusuallyavailableatthe

    secureHTTPport5480,https://hostname.or.ip.address :5480forexample.

    ApplicationTheISVorhardwareappliancevendor(HAV)createstheapplication.Theapplication

    performstheintendedtaskforwhichtheapplianceiscreated.

    Youcanmanagevirtualappliancesusingoneormoreofthefollowingmethods:

    VirtualApplianceWebconsoleThisconnectionprovidesaWebconsoletoperformconfigurationand

    maintenancetasks.

    A

    command

    line

    interface

    might

    be

    available

    on

    adifferent

    connection.

    VMwarevCenterServerACIMconnectionenablesmanagementbyVMwarevCenterServer(formerly

    VirtualCenter)andUpdateManager.

    ThirdpartymanagementsoftwareThisconnectionmaysupportthirdpartymanagementsoftwareto

    controlthevirtualappliance.

    NOTE Someoftheinterfaceslistedabovearenotincludedincertainappliances.

    http://www.dmtf.org/http://www.dmtf.org/
  • 5/23/2018 VMWare

    9/34

    VMware, Inc. 9

    2

    Thischapterprovidesinformationabouthowtodeployavirtualappliance,andincludesthefollowingtopics:

    SystemRequirementsonpage 9

    DistributionFormatsonpage 9

    DeployingaVirtualApplianceinVMwarevSphereonpage 10

    DeployingaVirtualAppliancefromZIPonpage 10

    DeployingaVirtualApplianceinVMwarevCloudDirectoronpage 11

    FirstStartoftheVirtualApplianceonpage 11

    System Requirements

    VirtualappliancescreatedbyVMwareStudiocanbedeployedonthefollowingVMwareplatformproducts:

    VMwareESX/ESXi5.0,4.1,4.0,or3.5throughvCenterServer5.0,4.1,or4.0

    VMwareESX/ESXi3.5throughVMwareVirtualCenter2.5

    VMwareESX/ESXi

    5.0,

    4.1,

    4.0,

    or

    3.5

    VMwareWorkstation7.1,7.0.1,or6.5.2andVMwarePlayer3.1,3.0,and2.5

    VMwareCloudDirector1.0

    ForWebconsolemanagement,VMwareStudiovirtualappliancessupportthefollowingWebbrowsers:

    InternetExplorer

    MozillaFirefox

    GoogleChrome

    Distribution Formats

    Yourvirtualappliancemaybedistributedinoneormoreofthefollowingformats:

    AZIParchivecontainingaVMXvirtualmachinefileandoneormoreVMDKfiles

    AnOVF0.9fileandoneormoreVMDKfiles(OVF0.9package)

    AnOVF1.0fileandoneormoreVMDKfiles(OVF1.0package)

    AnOVAarchive(anOVF1.0packageinTARformat)exceptonvCloudDirector

    Yourdeploymentmethoddependsonthedistributionformat.ForVMwareWorkstation,useZIPasdescribed

    inDeployingaVirtualAppliancefromZIPonpage 10.

    FordeploymentinVMwarevSphere(ESX/ESXiandvCenterServer),useOVForOVAformatasdiscussedin

    thefollowingsection.FordeploymentonvCloudDirector,useOVF1.0format.

    Deploying Your Virtual Appliance 2

  • 5/23/2018 VMWare

    10/34

    Users Guide to Deploying vApps and Virtual Appliances

    10 VMware, Inc.

    Deploying a Virtual Appliance in VMware vSphere

    IfyoureceiveavirtualapplianceinOVF0.9format,youcandeployitonVMwareInfrastructure3orlater.

    IfyougetavApporvirtualapplianceinOVF1.0orOVAformat,youmustdeployitonVMwarevSphere4.

    YoucandeployanOVForOVAeitherbyspecifyingitsURLinvSphere,orafterdownloadingtheOVFand

    VMDKfiles(ortheOVAarchive)toyourlocaldisk.

    To deploy a virtual appliance or vApp from OVF or OVA

    1 IntheVMwareInfrastructureClient,selectmenuFile>VirtualAppliance>Import.

    IntheVMwarevSphereClient,selectFile>DeployOVFTemplate.

    2 ChooseeitherDeployfromURLorDeployfromfile,basedonwheretheOVForOVAislocated.

    3 Toinstalltheappliance,supplytherequestedinformationintheImportVirtualApplianceWizard,and

    accepttheEndUserLicenseAgreement(EULA).

    OnvSphere4whenyoudeployanOVF1.0orOVAproducedbyVMwareStudio,youarepromptedfor

    OVFnetworkingproperties,whichconfigurenetworkingforthevApp.Youmightbepromptedforother

    OVFpropertiesthattheISVhasdefinedtoconfiguretheapplication.FortheOVFnetworkingproperties

    towork,anIPPoolmustbeconfiguredonthevCenterServer,andthisconfigurationmustbecomplete

    beforeyoupoweronthevirtualappliance.

    OnplatformproductsotherthanvSphere,appliancestrytoacquireanIPaddressfromaDHCPserverby

    default.IfyoupreferastaticIPaddress,seeConfiguringaStaticIPAddressonpage 12.

    4 Poweronthevirtualmachine.InthecaseofavApp,youcanpowerontheentirevApp.

    5 ContinuewithFirstStartoftheVirtualApplianceonpage 11.

    IfyoureceiveyourvirtualapplianceasaZIPfilecontainingaVMXfileandoneormoreVMDKfiles,thenyou

    mustfirstconvertthevirtualappliance.VMwarevCenterConverterStandaloneToolconvertsandimportsthe

    virtualappliancedirectlyintothevSphereinventorysothatyoucanrunitimmediately.Converterisfreeand

    availablefromtheVMwareWebsiteathttp://vmware.com/products/converter/.

    Deploying a Virtual Appliance from ZIP

    AZIPdistributionfilecontainsaVMXfileandoneormoreVMDKfiles.IfyoureceiveadistributioninZIP

    format,firstunzipthefileandthenopentheVMXfileusingeitherVMwareWorkstationorVMwarePlayer.

    To deploy a virtual appl iance from ZIP

    1 OntheVMwareplatformproductwherethevirtualappliancewillrun,extracttheZIPfileintoafolder.

    Forexample,theextractionfoldermightbe/var/lib/vmware/VirtualMachinesonaLinuxhost,or

    C:\MyVirtualMachinesonaWindowshost.

    2 IntheVMwareWorkstationapplicationmenu,selectFile>Open.

    3 ClickBrowseandnavigatetothefolderwhereyouextractedthevirtualappliancesoftware.Select

    .vmxandclickOpen.

    TheapplianceappearsasanentryintheInventory.

    4 IntheCommandssection,clickStart.

    5 ContinuewithFirstStartoftheVirtualApplianceonpage 11.

    IfyoureceivethevirtualapplianceasanOVFfile,youcanimportitwiththeovftool,whichconvertstheOVF

    andVMDKfilesintoVMXandVMDKfileswhicharecompatiblewithVMwarehostedproducts.The

    ovftoolisfreeandavailableontheVMwareWebsiteathttp://vmware.com/appliances/learn/ovf.html.

    http://vmware.com/products/converter/http://vmware.com/appliances/learn/ovf.htmlhttp://vmware.com/appliances/learn/ovf.htmlhttp://vmware.com/products/converter/
  • 5/23/2018 VMWare

    11/34

    VMware, Inc. 11

    Chapter 2 Deploying Your Virtual Appliance

    Deploying a Virtual Appl iance in VMware vCloud Director

    IfyoureceiveavirtualapplianceinOVFformat,youcandeployitonVMwarevCloudDirector1.0.However,

    vCloudDirectordoesnotsupportOVAdeployment.

    To deploy a virtual appliance or vApp from OVF

    1 InVMwarevCloudDirectorHomepage,clicktheCatalogtab.

    2 Selectthe

    catalog

    from

    which

    you

    want

    to

    deploy

    the

    OVF.

    3 OnthevAppTemplatestabintheselectedcatalog,clickUpload.

    TheUploadOVFPackageasavAppTemplatedialogappears.

    4 ClickBrowsetospecifytheOVFlocation.

    5 SpecifyNameandDescriptionfortheOVFandselectthevDC.

    6 ClickUpload.

    To initialize the virtual appliance from the catalog

    1 OntheVMwarevCloudDirectorHomepage,clickAddvAppfromCatalog.

    TheAdd

    vApp

    from

    Catalog

    dialog

    appears.

    2 SelectthevApptemplatefromtheCatalogdropdownmenu.

    3 YoumustcompletethestepsinvCloudDirectorwizardtofinishtheinitialization.

    First Start of the Virtual Appliance

    Thissectiondescribeshowtopoweronavirtualapplianceandacceptormodifynetworksettings.

    To run the virtual appliance

    1 OnaVMwareplatformproduct,startthevirtualappliancewiththevirtualmachinePowerOncommand.

    Astheappliancestarts(exceptinvCenterServer4)itmaydisplaytheEULA.Ifitdoes,pressspacebarto

    continuedisplaying

    more

    pages;

    at

    the

    end

    enter

    yes

    to

    accept

    the

    EULA.

    If

    the

    virtual

    appliance

    requests

    otherinformation,suchasaloginpassword,provideit.

    2 ThevirtualappliancesIPaddress(fromDHCP,anIPPool,orOVFnetworkingproperties)mayappear

    onthewelcomescreen,andintheSummarytabofthevSphereClient.Thewelcomescreenmaydisplay

    theURLwhereyoucanaccesstheWebconsoleforappliancemanagement.Thesemenuselectionsappear:

    Login

    Set Timezone (Current:UTC)

    TheConfigureNetworkmenuitemnolongerappearsinvirtualappliancesbuiltbyVMwareStudio2.6

    andlater.

    3 Dependingonhowthedevelopersetitup,thevirtualappliancetriestoacquireanIPaddressfroma

    DHCPserver,thevSphereIPPool,orwithOVFnetworkingproperties.

    (Optional)IfyouneedastaticIPaddressoraproxy,seeConfiguringaStaticIPAddressonpage 12.

    4 Youcanchangethetimezone,ifthedefaultUTCisunacceptable.SeeSettingtheTimeZoneonpage 14.

    5 IftheURLoftheWebconsoleforappliancemanagementappearsonthewelcomescreen,youcanpoint

    yourWebbrowsertothisURL.

    6 LogintothemanagementWebconsoleusingthesamecredentialsthatyouwoulduseforlogintothe

    virtualappliance.YoumightbeaskedtoconfigureatrustrelationshipfortheselfsignedHTTPcertificate.

  • 5/23/2018 VMWare

    12/34

    Users Guide to Deploying vApps and Virtual Appliances

    12 VMware, Inc.

    Choosing Between DHCP and Static IP

    DHCPallowsavirtualappliancetobeginrunningassoonaspossible.However,becausetheDHCPaddress

    istemporary,itmightbedifferentifthevirtualapplianceispoweredoffforalongtimebeforeyoupowerit

    onagain.ThetimeperioddependsonDHCPleaseexpiration.

    YoumayconfigureyourVMwareStudioappliancetouseastaticaddress,whichremainsthesameafter

    restart.AstaticIPaddressallowsallusersoftheappliancetobecertainofitsnetworkaddress(andassociated

    host

    name)

    so

    they

    can

    connect

    to

    it

    predictably.

    Configuring a Static IP Address

    Bydefault,VMwareStudio(andvirtualappliancesitgenerates)retrievenetworksettingsfromaDHCPserver.

    ToconfigureastaticIPaddressforavirtualappliance,followthisprocedure.

    To configure a static IP address

    1 OntheWelcomescreenofthevirtualappliancestextconsole,loginandtypethefollowingcommand:

    # /opt/vmware/share/vami/vami_config_net

    Amenuappearswithsixchoices(ormore,iftheapplianceisconfiguredformultiplenetworkinterfaces).

    2 Type

    the

    menu

    number

    for

    the

    network

    interface

    you

    want

    to

    configure.3 IftheappliancehasbeenconfiguredwithIPv6,itasksifyouwanttoconfigureanIPv6address.

    a Ifsopressy,otherwiseacceptthedefaultn.

    b TheapplianceasksifyouwanttouseaDHCPv6server.ToconfigureastaticIPv6addressinstead,

    acceptthedefaultn,ratherthantypingy.

    Onsubsequentlines,enterthestaticIPv6addressandprefix.ForIPv6addressesyoucantypetwo

    colonsinarow(::)asshorthandforrepeatedzeros.Theprefixdesignatesthenumberofbitsinthe

    routablenetworkportionoftheaddress.

    Ifyouansweredy,theIPv6addressandprefixassignmentareautomatic.

    c PressEnterifcorrect.

    4 TheappliancepromptsyouaskingifyouwanttoconfigureanIPv4address.

    a EnterytoconfigureanIPv4address,otherwiseacceptthedefaultn.

    b TheapplianceasksifyouwanttouseaDHCPv4server.ToconfigureastaticIPv4addressinstead,

    typen,ratherthanacceptingthedefaulty.

    Onsubsequentlines,enterthestaticIPv4addressandnetmaskindotteddecimalnotation.

    Ifyouansweredy,theIPv4addressandnetmaskassignmentareautomatic.

    c PressEnterifcorrect.

    5 ForastaticIPaddress,youprobablyneedtosetthedefaultgateway,hostname,andDNSservers,as

    described

    in

    sections

    below.6 Toconfigureadditionalnetworkinterfaces,repeatStep 2throughStep 5.

    Setting the Default Gateway

    Thegateway,orrouter,mediatesbetweenthelocalsubnetandothernetworks.WhenyouuseaDHCPserver,

    thegatewayaddressisprovidedautomatically.WithstaticIP,youhavetosetthedefaultgateway.

    To configure the gateway for static IP

    1 Loginandrunthe/opt/vmware/share/vami/vami_config_netcommand.

    2 Whenamenuappears,enterthenumberforsettingtheDefaultGateway.

  • 5/23/2018 VMWare

    13/34

    VMware, Inc. 13

    Chapter 2 Deploying Your Virtual Appliance

    3 Enterthenetworkinterfacetoassociatewithaparticulargatewayaddress.

    4 EntertheIPv4addressandIPv6addressorIPv4addressofthedefaultgatewayforthenetworkinterface.

    5 Formultiplenetworkinterfaces,repeatStep 2throughStep 4.

    NOTE Ifanyentryisincorrect,youmustrepeattheprocedure.

    Setting the Host Name

    WhenusingaDHCPserver,thehostnameissetautomatically.WithstaticIP,youcansetthehostname.Ifyou

    donot,theappliancedoesareverselookupontheIPaddressandifsuccessful,setsthehostnameonreboot.

    To conf igure the host name for static IP

    1 Loginandrunthe/opt/vmware/share/vami/vami_config_netcommand.

    2 Whenamenuappears,enterthenumberforsettingthehostname.

    3 Enterthehostnameanddomainnameforthevirtualappliance.

    4 Ifyourentryisincorrect,youmustrepeattheprocedure.

    Setting the DNS Servers

    WhenusingaDHCPserver,DNSserversaresetautomatically. WithstaticIP,youshouldsettheDNSservers.

    To con figure DNS servers for static IP

    1 Loginandrunthe/opt/vmware/share/vami/vami_config_netcommand.

    2 Whenamenuappears,enterthenumberforsettingDNS.

    3 EntertheIPv4addressoftheprimaryDNSserver.AsecondaryDNSserverisoptionalbutrecommended.

    4 Ifyourentryisincorrect,youmustrepeattheprocedure.

    Configuring the Network Proxy

    Bydefault,

    VMware

    Studio

    assumes

    that

    it

    has

    adirect

    connection

    to

    the

    Internet.

    If

    HTTP

    and

    other

    protocols

    gothroughanetworkproxyserver,takethefollowingsteps.

    To configure a network proxy

    1 Loginandrunthe/opt/vmware/share/vami/vami_config_netcommand.

    2 Whenamenuappears,enterthenumberforsettingtheProxyServer.

    3 EnteryaftertheIsanIPv4 proxy server necessary to reach the Internet?prompt.

    4 Next,enterthenetworkaddress(eitheranIPaddressorhostnamewithdotteddomain)andportnumber

    oftheproxyserver.

    5 Ifyourentrywasincorrect,repeattheprocedure.

    Configuring DHCP

    IfyouconfiguredavirtualappliancewithastaticIPaddress,youcanreconfigureittouseDHCPinstead

    To configure use of DHCP service

    1 Loginandrunthe/opt/vmware/share/vami/vami_config_netcommand.

    2 PressEnter.Amenuappearswithsixchoices(ormore,iftheapplianceisconfiguredformultiplenetwork

    interfaces).

    3 Typethemenunumberforthenetworkinterfaceyouwanttoconfigure.

  • 5/23/2018 VMWare

    14/34

    Users Guide to Deploying vApps and Virtual Appliances

    14 VMware, Inc.

    4 IftheappliancehasbeenconfiguredwithIPv6,itasksifyouwanttoconfigureanIPv6address.

    a Ifsoentery,otherwiseacceptthedefaultn.

    b TouseaDHCPv6server,entery.TheIPv6addressandprefixassignmentareautomatic.

    c PressEnterifcorrect.

    5 Studiopromptsyouwiththemessage,doyouwanttoconfigureanIPv4address.

    a Enteryto

    configure

    an

    IPv4

    address,

    otherwise

    accept

    the

    default

    n.

    b TouseaDHCPv4server,entery.TheIPv4addressandnetmaskassignmentareautomatic.

    c PressEnterifcorrect.

    Configuring an IPv6 Network

    To configure an IPv6 network interface

    1 Loginandrunthe/opt/vmware/share/vami/vami_config_netcommand.

    2 Typethemenunumberforthenetworkinterfaceyouwanttoconfigure.

    3 IftheappliancehasbeenconfiguredwithIPv6,itasksifyouwanttoconfigureanIPv6address.

    a Typey,insteadofacceptingthedefaultn.

    b TheapplianceasksifyouwanttouseaDHCPv6server.Ifso,typey.

    ToconfigureastaticIPv6addressinstead,acceptthedefaultn.Onsubsequentlines,enterthestatic

    IPv6addressandprefix.ForIPv6addressesyoucantypetwocolonsinarow(::)asshorthandfor

    repeatedzeros.Prefixdesignatesthenumberofbitsintheroutablenetworkportionoftheaddress.

    Ifyouansweredy,theIPv6addressandprefixassignmentareautomatic.

    c PressEnterifcorrect.

    4 ContinuewithIPv4settings.

    Setting the Time Zone

    ThevirtualhardwareclockisalwaysmaintainedinUTC,whichthevirtualapplianceconvertstolocaltime.

    CorrectlocaltimeisimportantfortheupdaterepositoryandVMwarevCenterUpdateManager.

    Ifthevirtualappliancedeveloperincorporatedthevami.timezoneOVFproperty,andsetitcorrectly,this

    propertyisusedtochangethetimezone.Youcansettimezonefromthewelcomescreenasdescribedhere,

    orfromthevirtualapplianceWebconsoleasdescribedinSettingtheTimeZoneonpage 14.

    To set the time zone from the welcome screen

    1 Onthevirtualappliancewelcomescreen,selectSetTimezoneandpressEnter.

    2 IntheGeographicareascreen,selectyourcontinentorregionandpressEnter.

    3 Inthe

    Time

    zone

    screen,

    select

    acity

    or

    area

    in

    your

    time

    zone

    and

    press

    Enter.

    (Thesestepsmayvary.)Thetimezoneissetandthewelcomescreenappearsagain.

    Virtual Appliances Based on Windows

    Usually,virtualappliancesbasedonMicrosoftWindowsdonothavetheautomatedfirststartcapabilities

    describedabove.

  • 5/23/2018 VMWare

    15/34

    VMware, Inc. 15

    3

    ThischapterdescribessoftwarediscoveryandnetworksettingsforyourvApporvirtualappliance,including

    thefollowingtopics:

    ExploringaVirtualApplianceonpage 15

    ShuttingDownorRebootingtheVirtualApplianceonpage 16

    Settingthe

    Time

    Zone

    on

    page 17

    NetworkConfigurationonpage 17

    YoucanperformmanagementoperationsfromtheWebconsolebyusingabrowsertoreachtheIPaddressor

    hostnameofthevApporvirtualapplianceatitsdesignatedportnumber,https://vapp.example.com:5480for

    example.Tologin,typetheusernameandpasswordyouset,ordocumentedbyyourapplianceprovider.

    Exploring a Virtual Appliance

    Whenyouloginwithabrowsertoavirtualapplianceonport5480,orthesamemanagementinterfaceonan

    alternateport,aWebinterfacewithtabsappears.Thissectiondiscussesthetabs,righttoleft.

    TheUpdatetab,ifyourvirtualappliancehasone,performsminorupdates,andisdiscussedinChapter 4,

    UpdatingaVirtualAppliance,onpage 21.

    TheSystemtabprovidesthefollowinginformation:

    VendorThenameofthecompanythatcreatedyourvirtualappliance.

    ApplianceNameThenameofyourappliance.

    ApplianceVersionTheversionnumberofyourappliance.

    HostnameThefullyqualifiedhostnameofyourappliance.IfastaticIPisconfiguredforthevirtual

    machine,thenyoucanspecifyahostname.IftheOVFvami.hostnamepropertyispresent,thehostname

    issetaccording.OtherwiseDNSservicemapstheIPaddressintoahostname(PTRrecord).

    OSNameThenameoftheoperatingsystemonwhichyourapplianceruns.

    OSVersionTheversionnumberoftheoperatingsystem.

    OVFEnvironmentIfdeployedinvSphere,showstheOVFpropertiesdefinedandconfiguredforthis

    virtualmachineorvApp.

    TheSystemtabalsohasatimezoneinterface.SeeSettingtheTimeZoneonpage 17.

    TheNetworktabshowsnetworkstatus,changesnetworkaddresssettings,andconfiguresaproxyserviceto

    accesstheInternetoutsideafirewall.SeeNetworkConfigurationonpage 17.

    Managing a Virtual Appliance 3

  • 5/23/2018 VMWare

    16/34

    Users Guide to Deploying vApps and Virtual Appliances

    16 VMware, Inc.

    Using the Command Line

    Toaccessthecommandline,selectLoginattheVMwareplatformproductconsole,supplytheloginnameand

    passwordthatthevendorprovidedwithyourappliance.Typethevamiclicommandatthesystemprompt

    forausagesummary.

    Thefollowingcommandshowstheversioninformationforthevirtualappliance:

    vamicli version --appliance

    ThefollowingcommandshowstheversionofVMwareStudiousedtobuildthevirtualappliance:

    vamicli version --studio

    Exploring vApps in the vSphere Client

    YoucanalsofindinformationaboutvirtualappliancesandvAppsbyexaminingthemwiththevSphereClient.

    Figure 31showsseveralvApps.AvApplookssimilartoafoldercontainingvirtualmachines,exceptthatthe

    vAppiconshowsfoursmallbluesquaresinsteadofayellowfolder.AvAppbehaveslikeavirtualmachine,

    withunifiedpoweroperations,networksettings,datastores,andconfigurableresourceuse.

    Figure 3-1. Three vApps in a Datacenter

    TheSummarytabofvSphereClientshowstheproductnameofthevApporvirtualappliance,itsversion

    number,andthesoftwarevendor.Storageandresourceuseappearontheright.Youcanseetheresources

    consumedby

    aconstituent

    virtual

    machine

    by

    selecting

    it

    instead

    of

    the

    vApp.

    Theremainderofthischapterdescribesmaintenanceoperationsandnetworksettings.

    Shutting Down or Rebooting the Virtual Appliance

    ToShutdownorRebootthevirtualappliance,clicktheSystemtabinthevirtualapplianceWebconsolethen

    clickInformation.OntheSystemInformationpageyouseethevirtualappliancevendor,appliancename,

    applianceversion,hostname,operatingsystem,andoperatingsystemversion.Thepowerbuttonsareunder

    Actionsontherightsideofthewindow.

    Torestartthevirtualappliance,clickReboot.

    Toshutdownthevirtualappliance,clickShutdown.

  • 5/23/2018 VMWare

    17/34

    VMware, Inc. 17

    Chapter 3 Managing a Virtual Appliance

    Setting the Time Zone

    ThevirtualhardwareclockisalwaysmaintainedinUTC,whichavirtualapplianceconvertstothelocaltime

    zone,ifset.CorrecttimeisimportantfortheupdaterepositoryandVMwarevCenterUpdateManager.

    Ifthevirtualappliancedeveloperincorporatedthevami.timezoneOVFproperty,andsetitcorrectly,this

    propertyisusedtochangethetimezone.

    YoucansettimezonefromthevirtualapplianceWebconsoleasdescribedhere,orfromthewelcomescreen

    asdescribed

    in

    Setting

    the

    Time

    Zone

    on

    page 14.

    To set the time zone from the Web console

    1 ClicktheSystemtabthenclicktheTimeZonepagebutton.

    2 OntheTimeZoneSettingspage,inthedropdownmenushowingtimezonesoftheworld,selectyours.

    3 ClicktheSaveSettingsbuttontomakeachange.

    Network Configuration

    TheNetworktaballowsyoutoconfigurenetworks.Toviewthenetworkconfigurationoperationsclickthe

    NetworktabintheWebconsole.

    StatusShowsnetworkinformationformultiplenetworkinterfacecards,suchastheinterfacename,

    whetherDHCPwasusedforIPv4,whetherstatelessaddressautoconfiguration(SLAAC)issetforIPv6,

    theIPv4address,netmask,gatewayIPaddress,DNSservers,hostname,andIPv6information(ifany).

    AftermakingachangeyoucanclicktheRefreshbuttonundertheActionsheadingtoobtaincurrent

    information.

    ForinformationaboutDHCP,seeChoosingBetweenDHCPandStaticNetworkAddressesonpage 18.

    AddressSpecifiesIPnetworkinformationandenablesDHCPservicesorSLAAC.Ifyouchangeany

    networkaddresssettings,youmustclickSaveSettingstoapplyyourchanges,clickCancelChangesto

    discardanychanges.YoucanconfigureDHCPandSLAACfromthisinterface,orfromtheWebConsole

    asdescribedinFirstStartoftheVirtualApplianceonpage 11.

    Whenthe

    IPv4

    address

    type

    is

    set

    to

    DHCP,

    the

    virtual

    appliance

    gets

    its

    network

    settings

    from

    your

    DHCPv4server.IfyousettheIPv4addresstypetoStatic,youmusttypevaluesinthefollowingfields:

    IPv4AddressIPv4addressofvirtualappliance.

    NetmaskNetworkmaskforthevirtualappliance.

    GatewayIPv4addressofthegateway(networkrouter).

    HostnameHostnameofthevirtualappliance

    PreferredDNSServerIPv4addressoftheprimaryDNSserver.

    AlternateDNSServerIPv4addressofthesecondaryDNSserver.

    IfIPv6issupportedbytheunderlyingoperatingsystem,itisavailableinvirtualappliancesbuiltfromit.

    Whenthe

    IPv6

    address

    type

    is

    set

    to

    SLAAC,

    the

    virtual

    appliance

    is

    assigned

    an

    IPv6

    address

    automaticallyiftheconnectednetworkisconfiguredtoprovideSLAACaddresses.Whenyouconfigure

    astaticIPv6orDHCPv6address,thevirtualappliancealsodisplaysanIPv6address.IfyousettheIPv6

    addresstypetoStatic,youmustentervaluesinthefollowingfields:

    IPv6AddressIPv6addressofthevirtualappliance.

    PrefixIPv6prefix,whichspecifiesaddresslength.

    GatewayOptionalIPv6addressofthegateway(networkrouter).

    HostnameHostnameofthevirtualappliance.

    PreferredDNSServerIPv6addressoftheprimaryDNSserver.

  • 5/23/2018 VMWare

    18/34

    Users Guide to Deploying vApps and Virtual Appliances

    18 VMware, Inc.

    AlternateDNSServerIPv6addressofthesecondaryDNSserver.

    ProxySpecifiesproxyserverandportforaccessingexternalnetworks(forexample,wideareaInternet).

    ClickSaveSettingstoacceptchangesthatyoumaketotheproxysettings.ClickCancelChangesto

    discardchanges.SelectthecheckboxforUseaProxyServertoentervaluesinthefollowingfields:

    ProxyServerHostnameorIPaddressfortheproxyserver.

    ProxyPortProxyservercommunicationsport.

    ProxyUsernameAvalidusername,iftheproxyserverrequiresauthentication.

    ProxyPasswordThevalidpassword,iftheproxyserverrequiresauthentication.

    Setting a Proxy Server

    DeveloperscanconfigureavirtualappliancetocheckarepositoryWebsiteforsoftwareupdates.Usuallythis

    siteisontheexternalInternet.Ifyourorganizationhasconfiguredthenetworktodisallowaccessoutsideof

    yourlocalareanetwork,youmightneedtospecifyaproxyserver.Thisisaserverthroughwhichallexternal

    networktrafficflows,preventingcertaintypesofconnections.YourITdepartmentcanprovideyouwiththe

    proxyservernameandportnumbertoaccessexternalnetworks.

    Choosing Between DHCP and Static Network AddressesDynamicHostConfigurationProtocol(DHCP)isamethodofallocatingIPaddresses(andotherattributes

    includinghostnameandDNSservers)tocomputersonalocalareanetwork.ThetermDHCPusuallymeans

    DHCPv4forIPv4networks,butsimilarservicesareavailableforIPv6networks.

    Whenstarted,yourvirtualapplianceattemptstofindaDHCPserver.Ifitdoes,itaskstheDHCPserverto

    assignatemporarynetworkaddress.Thisallowsyoutorunthevirtualappliancewithminimalsetup.

    Howeverthetemporaryaddressmightchangeifyouleavethevirtualappliancepoweredoffforawhile,and

    poweritonagainaftertheDHCPleasehasexpired.

    Mostserverappliancesshouldbeconfiguredtoastaticnetworkaddressthatremainsconstantwheneverthe

    virtualapplianceisrestartedormovedtoadifferentsubnet.Thisallowsotherusersofthevirtualappliance

    tobeawareofitsnetworkaddress(andassociatedhostname)whentheyconnecttoit.

    Configuring IPv6 Networks

    YoucanaddanadditionalStaticIPv6orDHCPv6addresstotheappliance.UnlikeIPv4,IPv6permitsmultiple

    addressesassignedtoaninterface.VMwareStudiobuiltvirtualappliancesreport,butdonotmanage,SLAAC

    addresses.SLAACisthemechanismthatcreatesanAutoIPv6address.TheStaticIPv6orDHCPv6address

    maydifferfromtheAutoIPv6address.

    To change the type of IP Address

    1 LogintotheWebconsoleofthevirtualappliance.

    2 ClickNetwork>Address.

    3 Under

    IPv4

    Address

    Type,

    you

    can

    select

    DHCP

    or

    Static.WhenyousettheIPv4addresstypetoDHCP,thevirtualappliancegetsitsnetworksettingsfromyour

    DHCPv4server.WithDHCPv4orDHCPv6,youdonotneedtoconfiguretheDNSservers.Ifyousetthe

    IPv4addresstypetoStatic,youmustentervaluesinthefollowingfields:

    IPv4AddressIPv4addressofthevirtualappliance.

    NetmaskNetworkmaskforthevirtualappliance.

    GatewayIPv4addressofthegateway(networkrouter).

    HostnameHostnameofthevirtualappliance.

    PreferredDNSServerIPv4addressoftheprimaryDNSserver.

  • 5/23/2018 VMWare

    19/34

    VMware, Inc. 19

    Chapter 3 Managing a Virtual Appliance

    AlternateDNSServerIPv4addressofthesecondaryDNSserver.

    4 UnderIPv6AddressType,selectSLAAC,DHCP,orStatic.FornetworkstransitioningfromIPv4toIPv6,

    SLAACisthesimplestchoice.WhenyousettheIPv6addresstypetoSLAAC,thevirtualapplianceis

    assignedanAutoIPv6address.IfyousettheIPv6addresstypetoStatic,youmustentervaluesinthe

    followingfields:

    IPv6AddressIPv6addressofthevirtualappliance.

    PrefixIPv6

    prefix,

    which

    specifies

    address

    length.

    GatewayOptionalIPv6addressofthegateway(networkrouter).

    HostnameHostnameofthevirtualappliance.

    PreferredDNSServerIPv6addressoftheprimaryDNSserver.

    AlternateDNSServerIPv6addressofthesecondaryDNSserver.

    ForDNSconfigurations,theaddressmustconformtoanavailableaddressfamily,IPv6andIPv4orIPv4.

    WithDHCPv4orDHCPv6,DNSserverconfigurationisnotrequired.SeeNameServiceonpage 19.

    WhenyouconfigureastaticIPv6orDHCPv6address,thevirtualappliancealsodisplaysanIPv6address.

    5 ClickSaveSettings.Thevirtualappliancerespondssayingnetworksettingssaved.

    Name Service

    Whentheautoconfigurationprotocolisdefined,DNSserversarenotincludedaspartoftheinformation

    providedtoentitiesonthenetwork.

    WithSLAAC,anappliancereceivesdynamicaddressingandsubnetworkinformation,butreceivesno

    informationaboutDNSnameservers.AdministratorsmustconfigurestaticDNSinthiscase,hencetheDHCP

    isrequiredforIPv6dynamicconfigurationstoattainfamiliarIPv4behaviors.HoweverDHCPv6server

    deploymentsarenotascommonasDHCPv4serverdeployments.

    Recently,anRFCwasmadetoamendhowSLAACworkstoincludeDNSservers.Itisunknownhowthe

    variousoperatingsystemvendorswilleventuallydecidetohandlethis.

    Firewall Security

    YoumightneedtorequestthatyourITdepartmentchangefirewallsettingsifyouhavereasontoaccessthe

    WebconsoleofyourvApporvirtualappliancethroughthefirewall.

    ThefollowingportsusedbyyourvApporvirtualapplianceshouldbeexemptedfromthefirewall:

    5480/TCPincomingUsedforWebbrowseraccesstotheVAMIagent,whichservestheWebconsole.

    Developerscanchangethisportinthebuildprofile.Iftheydidchangetheportnumber,theyshouldhave

    documentedthechange,soyoucancustomizefirewallrulesforyourvApporvirtualappliance.

    5488/TCPincomingand5489/TCPincomingUsedforcommunicationbetweenlighttpdandSFCBin

    VAMI,andforUpdateManager.SFCBportsforVAMIservicesarerelocatedto5488/TCPand5489/TCP,

    sothedefaultports(5988/TCPand5989/TCP)remainavailableforusebyindependentsoftwarevendors

    andhardware

    appliance

    vendors.

    Troubleshooting

    Ifsomethinggoeswrongwithyourvirtualappliance,supportpersonnelmightaskforyourassistancein

    diagnosingtheproblem.VMwareStudioprovidesthevamisupportscript,whichassembleslogfilesintoa

    tarballfortroubleshooting.Thescriptisat/opt/vmware/bin/vamisupportonyourvirtualappliance.

    Whenreportingaproblem,youcanrunthevamisupportscript,whichtellsyouwhereitiswritingoutput.

    Thenscp(securecopy)thetarballtoacomputerwithemailservice,andsendittosupport.

  • 5/23/2018 VMWare

    20/34

    Users Guide to Deploying vApps and Virtual Appliances

    20 VMware, Inc.

  • 5/23/2018 VMWare

    21/34

    VMware, Inc. 21

    4

    Thischapterprovidesinformationaboutupdatingavirtualappliance,andincludesthefollowingtopics:

    TypesofUpdatesonpage 21

    UpdateTabStatusandSettingsonpage 21

    SettingUpdatePoliciesonpage 22

    SpecifyingUpdateRepositoryonpage 23

    Types of Updates

    Adeployedvirtualappliancecanbeupdatedwithpackagespublishedbyitsdeveloper.Updatescanbedone

    overtheexternalWeb,onyourlocalareanetwork,orfromCDROM.

    Toconservenetworkbandwidth,virtualapplianceupdatesareappliedtopackagesthathavechanged.

    Updatesmayapplytotheoperatingsystem,applicationswithinthevirtualappliance,VMwareTools,orthe

    VMwareApplianceManagementInfrastructure(VAMI).

    Ifthevendorhasdigitallysignedavirtualappliance,itsSSLsignatureisverifiedbeforeanupdateproceeds.

    Update Tab Status and Sett ings

    TheUpdatetabappearsintheWebconsoleifanupdaterepositorywasspecifiedduringthevirtualappliance

    buildprocess.IftheUpdatetabismissing,contactyourISVforupdatesorpatchestoyourvirtualappliance.

    YoucanaccessupdatestatusandsettingsforthevirtualapplianceontheUpdatetab,whichhastwosubtabs:

    StatusProvidesinformationaboutthevirtualappliancevendor,name,andversion.

    SettingsShowsthesettingofpoliciesforperiodicallycheckingandinstallingupdates.

    Checking Version Status

    OntheStatussubtabappearsvirtualapplianceinformation,suchasvendorandversion.Youcancheckfor

    updatesand

    install

    available

    updates

    as

    described

    here,

    with

    the

    CLI,

    or

    with

    vCenter

    Server,

    as

    described

    in

    Chapter 5,ManagingVirtualApplianceswithvCenterServer,onpage 25.

    Toviewinformationaboutavirtualappliance,clicktheStatussubtabontheUpdatetab.

    VendorThenameofthecompanythatcreatedthevirtualappliance.

    ApplianceNameThenameofthevirtualappliance.

    ApplianceVersionTheversioninformationofthevirtualappliance.

    AvailableUpdatesIfanupdateisavailable,givesthenameandversionoftheproduct.

    LastCheckIfacheckforupdatewasperformed,thedateandtimewhenthevirtualappliancewas

    checked,inUTC(GMT)withlocaltimeoffset.

    Updating a Virtual Appliance 4

  • 5/23/2018 VMWare

    22/34

    Users Guide to Deploying vApps and Virtual Appliances

    22 VMware, Inc.

    LastInstallIfanupdatewasinstalled,thedateandtimewhenthevirtualappliancewasupdated.

    Installing Available Updates

    Tocheckforupdates,undertheActionssectionclickCheckUpdates.Thevirtualapplianceconnectstothe

    updaterepositoryandchecksforavailableupdates.UpdatesappearintheAvailableUpdatespane.

    Toinstallanupdate,clickInstallUpdates.

    Setting Update Policies

    Youcanspecifywhetherthevirtualappliancechecksforupdatesandhowoften.Tosetupdatepoliciesforthe

    virtualappliancefromtheWebconsole,clickUpdate>Settings.Youcanselectoneofthefollowingpolicies

    forupdatingthevirtualappliance:

    NoautomaticupdatesThevirtualappliancedoesnotcheckforandinstallupdates.Thisisprobablythe

    default,unlessthedeveloperchangedit.

    AutomaticcheckforupdatesThevirtualappliancechecksforupdatesatthescheduledtime.Ifan

    updateisavailable,itappearsontheUpdateStatuspage.

    AutomaticcheckandinstallupdatesThevirtualappliancechecksforupdatesatthescheduledtime,

    andif

    one

    is

    available,

    installs

    it.

    IfyouselecteitherAutomaticcheckforupdatesorAutomaticcheckandinstallupdates,youcanconfigure

    thescheduling.Bydefault,thecheckoccursdailyat03:00localtime,asdeterminedbyyourtimezonesetting.

    To change the frequency or time of update checking

    1 ClickoneoftheAutomaticcheckbuttons.

    2 Specifythefrequency(dailyorweekly),orselectthehouratwhichtocheck.

    3 ClickSaveSettings.

    Setting Update Source

    Youcan

    choose

    to

    update

    from

    aCDROM,

    or

    from

    an

    alternate

    update

    repository

    URL.

    The

    default

    is

    the

    URL

    thattheISVconfigured,whichusuallydesignatesapublicWebsiteontheInternet.Youmightneedtochange

    theupdatesourceorlocationifyouareinsidearestrictedlocalareanetwork.

    To change the update repository location

    1 Clickoneofthechoices,UseCDROMUpdatesorUseSpecifiedRepository.

    IfyouselectUseCDROMUpdates,inserttheupdateCDROMintoadrivethatthevirtualappliance

    canread.TheupdateagentscanstheCDdrivestofindthefirstupdateCDROM.

    IfyouselectUseSpecifiedRepository,typetheURLoftheupdaterepositorythatyourappliance

    shouldcheck.IftheURLrequiresauthentication,provideavalidusernameandpassword.

    2 Click

    Save

    Settings.IfyouleaveUseDefaultRepositoryselected(thedefault),theupdateagentusuallychecksapublicURLon

    theInternet,sobesuretosettheproxyserverifrequired.

    Using the Command Line for Updates

    Usethefollowingcommandtocheckforupdatestothevirtualappliance:

    vamicli update --check

    Usethefollowingcommandtodownloadandinstallthelatestupdatesforthevirtualappliance:

    vamicli update --install latest

  • 5/23/2018 VMWare

    23/34

    VMware, Inc. 23

    Chapter 4 Updating a Virtual Appliance

    Specifying Update Repository

    To specify update repository fo r your virtual appliance

    1 InStudiohomepage,clicktheSettingstabontheUpdatetab.

    2 IntheSettingstab,selectoneofthefollowingoptionsforspecifyingtheupdaterepository:

    UseDefaultRepository IfyouwantyourvirtualappliancetocheckforupdatesfromtheVMware

    updaterepository,

    select

    this

    option.

    The

    repository

    URL

    is

    displayed

    on

    the

    same

    page.

    UseCDROMUpdatesIfyouwantyourvirtualappliancetocheckforupdatesfromtheCDROM,use

    thisoption

    UseSpecifiedRepositoryIfyouwantyourvirtualappliancetocheckforupdatesfromaspecific

    repositoryotherthanthedefaultrepository,usethisoption.

    IfyouselecttheUseSpecifiedRepositoryyouhavetospecifytherepositoryURLandifyouwanttoallow

    authorizedusers,youcanspecifyaUsernameandPasswordtologontothespecifiedrepository.

  • 5/23/2018 VMWare

    24/34

    Users Guide to Deploying vApps and Virtual Appliances

    24 VMware, Inc.

  • 5/23/2018 VMWare

    25/34

    VMware, Inc. 25

    5

    Thischaptercontainsthefollowingtopics:

    RequirementsforUpdateManageronpage 25

    VirtualApplianceBaselinesonpage 26

    ScanningVirtualAppliancesonpage 27

    RemediatingVirtualAppliancesonpage 29

    ItisnotnecessarytomanagevirtualapplianceswithvCenterServerandVMwarevCenterUpdateManager,

    butdoingsoprovidescentralizedmanagementofmultiplevAppsandvirtualappliances.Forinformation

    aboutbaselinesandcompliancechecks,seetheVMwarevCenterUpdateManagerAdministrationGuideontheVMwareWebsite.

    TheUpdateManagermoduleconsistsofaplugincomponentthatrunsonthevSphereClient,andaserver

    component,whichyoucaninstallonthesamecomputerasvCenterServeroronadifferentcomputer.

    Requirements for Update Manager

    UpdateManagerintegrateswithVMwareStudiosupdateservicetoenablecentralizedmanagementofvirtual

    applianceupdates.BeginningwithUpdateManager1.0update2youcanmanagethevirtualappliancesthat

    youimportinyourvCenterServer.UpdateManager4.0andlaterprovidedefaultvirtualapplianceupgrade

    baselinestoscanandupgradeavirtualappliancetothelatestreleasedorcriticalupdateversion.

    UpdateManageralsoletsyoucreatecustomvirtualapplianceupgradebaselines.IntheUpdateManager4.0

    documentation,vAppsaretreatedascontainerobjectsholdingvirtualmachinesorvirtualappliances.For

    informationaboutUpdateManager4.0andlater,seethedocumentationat

    http://www.vmware.com/support/pubs/vum_pubs.html.

    ThefollowingconditionsapplytoupdatingvirtualapplianceswithUpdateManager:

    YoumustregisteranUpdateManagerserverinstancewiththevCenterServersystemintowhichyou

    importthevirtualappliance.YoumustalsoinstalltheUpdateManagerpluginonthevSphereClient.For

    more

    information,

    see

    the

    VMwarevCenter

    Update

    Manager

    Administration

    Guide.

    AllvirtualappliancesmusthaveanInternetconnection(directorproxied)fordiscovery,scanning,and

    remediationoperations.

    IfvirtualappliancesaccesstheInternetthroughaproxy,theproxyservermustbesetonvirtualappliances

    asdescribedinNetworkConfigurationonpage 17.

    Offlineandsuspendedvirtualappliancescannotbescannedorremediated.

    AfteryouimportaVMwareStudiovirtualapplianceusingthevSphereClientandpoweritonforthefirst

    time,itisdiscoveredasavirtualappliance.Tosimplifymanagement,VMwarerecommendsthatyouimport

    virtualappliancesintoaseparatefolderunderVirtualMachinesandTemplatesinvCenterServer.

    Managing Virtual Appliances withvCenter Server 5

    http://www.vmware.com/support/pubs/vum_pubs.htmlhttp://www.vmware.com/support/pubs/vum_pubs.html
  • 5/23/2018 VMWare

    26/34

    Users Guide to Deploying vApps and Virtual Appliances

    26 VMware, Inc.

    Virtual Appl iance Baselines

    UpdateManagerincludesdefaultvirtualappliancebaselinesthatyoucanusetoscanthevirtualappliancesto

    determinewhethertheyareupgradedtothelatestreleasedorthelatestcriticalversion.Youcanalsoscanthe

    virtualappliancesagainstcustomvirtualapplianceupgradebaselinesthatyoucancreatefromtheUpdate

    ManagerAdministrationview.

    Creating Virtual Appliance Upgrade BaselinesAvirtualapplianceupgradebaselinecontainsasetofpatchestotheoperatingsystemoftheapplianceandto

    theapplicationsinstalledinthevirtualappliance.Thevirtualappliancevendorconsidersthesepatchesan

    upgrade.Virtualappliancebaselinesthatyoucreateconsistofasetofuserdefinedrules.Ifyouaddrulesthat

    conflict,UpdateManagerdisplaysanUpgradeRuleConflictwindowsothatyoucanresolvetheconflicts.

    Tocreateavirtualapplianceupgradebaseline:

    1 ConnectthevSphereClienttoavCenterServersystemwithwhichUpdateManagerisregistered,and

    clickUpdateManagerunderSolutionsandApplicationsontheHomepage.

    2 OntheBaselinesandGroupstab,clickCreateabovetheBaselinespane.

    TheNewBaselinewizardopens.

    3 UnderBaseline

    Type,

    select

    VA

    Upgrade

    and

    click

    Next.

    4 SelectVendorandApplianceoptionsfromthedropdownmenu.

    Theoptionslistedinthesemenusdependonthevirtualappliancesinyourinventory.Ifthereareno

    virtualappliancesinyourvSphereinventory,theoptionsareAllVendorsandAllProducts,respectively.

    5 SelectanoptionfromtheUpgradeTodropdownmenu.Theoptionsare:

    LatestUpgradesthevirtualappliancetothelatestversion.

    DontUpgradeDoesnotupgradethevirtualappliance.

    6 ClickAddRule.

    7 (Optional)Addmultiplerules.

    a OntheUpgradeOptionspageoftheNewBaselinewizard,clickAddMultipleRules.

    b Selectoneormorevendors.

    c Selectoneormoreappliances.

    d SelectoneUpgradeTooptiontoapplytotheselectedappliances,andclickOK.

    Ifyoucreatemultiplerulestoapplytothesamevirtualappliance,onlythefirstapplicableruleinthelist

    isappliedforremediation.

    8 (Optional)Resolveanyconflictswithintherulesyouapply.

    a IntheUpgradeRuleConflictwindow,selectwhethertokeeptheexistingrules,tousethenewly

    created

    rules,

    or

    to

    manually

    resolve

    the

    conflict.b ClickOK.

    9 ClickNext.

    10 ReviewtheReadytoCompletepageandclickFinish.

    ThevirtualapplianceupgradebaselineisdisplayedintheBaselinespaneoftheBaselinesandGroupstab.

    At taching Virtual Appl iance Upgrade Basel ines

    Toviewcomplianceinformationandremediatethevirtualappliancesintheinventoryagainstspecific

    baselines,youmustfirstattachexistingbaselinestothesevirtualappliances.Youcanattachbaselinestoobjects

    fromtheUpdateManagerClientComplianceview.

  • 5/23/2018 VMWare

    27/34

    VMware, Inc. 27

    Chapter 5 Managing Virtual Appliances with vCenter Server

    Althoughyoucanattachbaselinestoindividualobjects,itismoreefficienttoattachthemtocontainerobjects,

    suchasfolders,vApps,anddatacenters.Attachingabaselinetoacontainerobjecttransitivelyattachesthe

    baselinetoallvirtualappliancesinthecontainer.

    Toattachavirtualapplianceupgradebaseline:

    1 ConnectthevSphereClienttoavCenterServersystemwithwhichUpdateManagerisregistered,and

    selectHome>Inventory>VMsandTemplates.

    2 Selectthe

    object

    containing

    the

    virtual

    appliances,

    and

    click

    the

    Update

    Manager

    tab.

    3 ClickAttachintheupperrightcorner.

    4 IntheAttachBaselineorGroupwindow,selectoneormorebaselinestoattachtotheobject.

    5 (Optional)ClicktheCreateBaselinelinktocreateabaselinegrouporabaselineandfinishthewizard.

    6 ClickAttach.

    ThebaselinesandbaselinegroupsthatyouselectedtoattacharedisplayedintheAttachedBaselineGroups

    andAttachedBaselinespanesoftheUpdateManagertab.

    Scanning Virtual Appliances

    Scanningis

    the

    process

    in

    which

    attributes

    of

    aset

    of

    virtual

    appliances

    are

    evaluated

    against

    the

    upgrades

    in

    thebaselinesattachedtothevirtualappliances.Youcanscanvirtualappliancesagainstattachedbaselinesto

    receivecomplianceinformationaboutvirtualappliancesbeforeupgradingthem.

    YoucansetUpdateManagertoscanvirtualappliancesasascheduledtask,oryoucanmanuallybeginascan.

    Doing a Manual Scan

    Tomanuallyscanavirtualappliance:

    1 ConnectthevSphereClienttothevCenterServersystemwhereyouimportedthevirtualappliance.

    2 ClickInventoryandthenclickVMsandTemplates.

    3 Click

    the

    folder

    where

    you

    imported

    the

    virtual

    appliance.4 Intheleftpane,rightclickthevirtualapplianceandthenclickScanforUpdates.

    5 SelectVirtualApplianceupgrades.

    6 ClickScan.

    Scheduling a Scan

    Youcanschedulescansforallvirtualappliancesinafolder.Toschedulescansforvirtualappliances:

    1 ConnectthevSphereClienttothevCenterServersystemwhereyouimportedthevirtualappliance.

    2 ClickScheduledTasksontheHomepage.

    3 ClickNew

    in

    the

    toolbar

    to

    open

    the

    Schedule

    Task

    dialog

    box.

    4 Fromthedropdownmenu,selectScanforUpdatesandclickOK.

    5 Choosetoscheduleascanforvirtualmachinesandvirtualappliances,andclickNext.

    6 Intheinventorytree,selectthevirtualappliancestobescanned,andclickNext.

    7 Choosetoscanforvirtualapplianceupgrades.

    8 Enterthetasknameandthetaskdescription,scheduleatimetorunthetask,andclickNext.

    9 (Optional)SpecifyoneormoreemailaddressestoreceivetheresultsandclickNext.Youmustconfigure

    mailsettingsforthevCenterServersystemtoenablethisoption.

    10 Reviewthesummaryinformationforthetasktobecompleted,andclickFinish.

  • 5/23/2018 VMWare

    28/34

    Users Guide to Deploying vApps and Virtual Appliances

    28 VMware, Inc.

    Viewing Scan Results

    WithUpdateManager,youcanquicklycheckhowvirtualappliancescomplywithbaselines.Youcanreview

    complianceeitherbyexaminingtheresultsforasinglevirtualapplianceorbyreviewingtheresultsfora

    specificgroupingofvirtualappliances.SupportedgroupingsincludeVMwarevSpherecontainerobjectssuch

    asfolders,clusters,anddatacenters.

    ComplianceinformationisavailableontheUpdateManagertabinthevSphereClient.Forvirtualappliances,

    you

    can

    view

    compliance

    in

    the

    Virtual

    Machines

    and

    Templates

    view.Baselinesinteractwithvirtualappliancesinthefollowingways:

    Ifauserlackspermissionstoviewavirtualappliance,theresultsofthosescansarenotdisplayed.

    Compliancewithbaselinesisassessedatthetimeofviewing.Toensurethatallinformationiscurrent,a

    briefpausemightoccurwhileinformationisgatheredaboutavirtualappliancescompliance.

    Onlyinformationaboutcompliancewithrelevantbaselinesisprovided.Forexample,ifabaselineisnot

    attachedtothecontainerinquestion,complianceisnotassessed.

    Compliancestatusisdisplayedbasedonpermissions.Userswithpermissiontoviewacontainer,butnot

    allofthecontainerscontents,canseetheaggregatecomplianceofallentitiesunderthatcontainer.

    However,theindividualcountsforcompliant,noncompliant,andunknownentitiesappearonlyasuser

    permissionsallow.

    To

    view

    the

    compliance

    status,

    users

    also

    must

    have

    permission

    to

    view

    the

    baseline

    orsoftwareupdatecompliancestatusforanobjectintheinventory.

    Reviewing Scan Results for Virtual Appliances Contained in a vSphere Object

    WhenscansarecompletedonallmachinescontainedwithinaVMwarevSphereobject,theresultsare

    displayedinasummary.Informationthatisdisplayedexplainsthedegreeofconformancewithbaselines,

    ratherthanthedetails.Thefollowinginformationisincluded:

    Whenthelastscanwascompletedatthislevel

    Totalnumberofcompliantandnoncompliantupdates

    Foreachbaseline,thenumberofvirtualappliancesthatarecompliantornoncompliant

    Foreachbaseline,thenumberofpatchesthatarenotapplicabletoaparticularvirtualappliance

    Whenyouselectacontainerobject,youviewtheoverallcompliancestatusoftheattachedbaselines,aswell

    asstatusforalltheindividualcompliances.Ifyouselectanindividualbaselineattachedtothecontainerobject,

    youseethecompliancestatusofthebaseline.

    Ifyouselectanindividualvirtualappliance,youseetheoverallcompliancestatusoftheselectedappliance

    againstallattachedbaselinesandthenumberofupgrades.Ifyoufurtherselectanindividualbaselineattached

    tothisobject,youseethenumberofupgradesgroupedbythecompliancestatusforthatbaseline.

    Toview

    scan

    results

    for

    virtual

    appliances:

    1 ConnectthevSphereClienttothevCenterServersystemwhereyouimportedthevirtualappliance.

    2 ClickInventoryandclickVMsandTemplates.

    3 Clicktheobjectforwhichyouwanttoviewthescanresults.

    4 ClicktheUpdateManagertab.

    Theresultsforscanscompletedonvirtualappliancesinthatcontainerappearontheright.

    IMPORTANT Althoughyoucanattachbaselinesandbaselinegroupstoindividualobjects,itismoreefficient

    toattachthemtocontainerobjects,suchasfoldersanddatacenters.Attachingabaselinetoacontainerobject

    transitivelyattachesthebaselinetoallobjectsinthecontainer.

  • 5/23/2018 VMWare

    29/34

    VMware, Inc. 29

    Chapter 5 Managing Virtual Appliances with vCenter Server

    Reviewing Scan Results for an Individual Virtual Appliance

    Scanresultsprovideinformationaboutthedegreeofcompliancewiththeattachedbaselines.Youcanview

    informationonindividualappliancesandreceivedetailedinformationabouttheupgradesthatareincluded

    inabaseline.

    Toviewtheresultsforanindividualvirtualappliance:

    1 ConnectthevSphereClienttothevCenterServersystemwhereyouimportedthevirtualappliance.

    2 ClickInventoryandclickVMsandTemplates.

    3 Selectanindividualvirtualappliance.

    4 ClicktheUpdateManagertab.

    5 Selectabaselinegrouporbaseline.Forexample,selectAllGroupsandIndependentBaselinesinthe

    AttachedBaselineGroupspaneandAllintheAttachedBaselinespanetoviewtheoverallcomplianceof

    allattachedbaselinesandbaselinegroups.

    6 IntheCompliancepane,selecttheAllApplicablecompliancestatustoviewtheoverallcompliancestatus

    oftheselectedappliance.Theselectedappliancetogetherwiththenumberofupgradesappearinthe

    bottompaneoftheUpdateManagertab.

    7 Click

    the

    link

    in

    the

    Upgrades

    column

    in

    the

    bottom

    pane

    of

    the

    Update

    Manager

    tab.

    The

    link

    indicates

    thenumberofupgradesintheselectedcompliancestate.TheUpgradeDetailswindowappears,showing

    theinformationinTable 51.

    Remediating Virtual Appliances

    Updatesforavirtualappliancearedownloadedbyautomaticupdates(seeSettingUpdatePolicieson

    page 22),orbythevirtualapplianceduringtheremediationprocess.UpdateManagercontrolsonlywhenand

    whattodownload.ThedownloadURLissetbytheISVprovidingthevirtualappliance.

    Todownloadtheupdatesforvirtualappliances,UpdateManagerusesthefollowingapproach:

    1 UpdateManagerscansthevirtualappliancestoreturnproductandvendorinformation,information

    aboutthecurrentversion,andmissingupdates.

    2 Update

    Manager

    directs

    the

    virtual

    appliances

    to

    download

    the

    missing

    updates.

    Update

    Manager

    controlstheremediationprocessofwhenandhowtoremediate,butthevirtualappliancedownloadsand

    installstheupdatesitself.

    Afterremediation,youmustrebootthevirtualapplianceiftheupdatepackagesaysthatitrequiresreboot.

    VirtualapplianceshavetheirownWebUIforselfmanagedupdatemode.Iftheautoinstallupdatesoptionis

    turnedoninavirtualappliance,UpdateManagerrunsreportingmodeagainstit.ThismeansthatUpdate

    Managerscansthevirtualappliance,butskipsremediation,soremediationfailswithaneventindicatingthe

    reason.(SeetheTroubleshootingchapteroftheVMwarevCenterUpdateManagerAdministrationGuide.)Youcanremediatevirtualappliancesmanually,orschedulearemediationprocess.Thetwoaresimilar,except

    thatyouspecifyatimeforscheduledremediation.

    Table 5-1. Upgrade Details window

    Option Description

    Vendor Vendoroftheupgrade.

    Product Productinstalledonthevirtualappliance,forexampleguestoperatingsystem.

    Version Targetversionoftheproduct.

    Compliance Compliancestatusofthevirtualappliance

    Severity Severityoftheupgrade.

    ReleaseDate Releasedateoftheupgrade.

  • 5/23/2018 VMWare

    30/34

    Users Guide to Deploying vApps and Virtual Appliances

    30 VMware, Inc.

    Toremediateavirtualappliance:

    1 ConnectthevSphereClienttothevCenterServersystemwhereyouimportedthevirtualappliances.

    2 OntheHomepageselectVMsandTemplatesandclicktheUpdateManagertab.

    3 RightclickanobjectfromtheinventoryandselectRemediate.

    Allvirtualappliancesundertheselectedobjectarealsoremediated.

    4 Onthe

    Remediation

    Selection

    page

    of

    the

    Remediate

    wizard,

    select

    the

    baselines

    to

    apply.

    5 SelectthevirtualappliancesthatyouwanttoremediateandclickNext.

    6 OntheSchedulepage,enteraname,andoptionally,adescriptionforthetask.

    7 SelectImmediatelytobegintheremediationprocessrightafteryoucompletethewizard,orenterspecific

    timesforpoweredon,poweredoff,orsuspendedvirtualappliances.

    8 (Optional)SpecifytherollbackoptionsandclickNext.

    a OntheRollbackOptionspageoftheRemediatewizard,selectSnapshotthevirtualmachinesbefore

    remediationtoenablerollback.

    Asnapshotofthevirtualmachineorvirtualapplianceistakenbeforeremediation.Ifthevirtual

    appliance

    needs

    to

    roll

    back,

    you

    can

    revert

    to

    this

    snapshot.b Specifywhenthesnapshotshouldbedeleted,orselectDontdeletesnapshots.

    c Enteranameandoptionallyadescriptionforthesnapshot.

    d (Optional)SelectthecheckboxSnapshotthememoryforthevirtualmachine.

    9 ReviewtheReadytoCompletepage,andclickFinish.

    Virtual Appliance Recognition

    Whenacorrectlyinstalledorremediatedvirtualapplianceisfirstpoweredon,thevCenterServershould

    discoverit(recognizeit)asavirtualappliance.Yourremediatedvirtualapplianceisthenreadytouse.

  • 5/23/2018 VMWare

    31/34

    VMware, Inc. 31

    Thisappendixcontainsthefollowingsections:

    VMwarePlatformProductsforOVFandOVAonpage 31

    CompatibilityforVirtualAppliancesandvAppsonpage 31.

    VMware Platform Products for OVF and OVAThefollowingshortcodesrepresentvariousVMwareplatformproductsintablesTable A1andTable A2.

    vSphereManagedVMwarevSphere4or5deployedasavCenterServer4or5managedenvironment

    withESX/ESXi4.xorESXi5.x(andpossiblyESX/ESXi3.5)hosts.

    vSphereStandaloneVMwarevSphere4or5deployedasastandaloneESX/ESXi4.xorESXi5.xhost.

    VMwareInfrastructure3.5ManagedVMwareInfrastructure3.5deployedasaVirtualCenter2.5

    managedenvironmentwithESX/ESXi3.5hosts.

    VMwareInfrastructure3.5StandaloneVI3.5deployedasastandaloneESX/ESXi3.5host.

    VMwareInfrastructure3AnypermutationofVMwareInfrastructure3.0.

    Workstation6.5.1+VMwareWorkstation6.5.1andlater(whichaddssomeOVFsupport).

    VHPVMwarehostedclassplatformproducts(Workstation,Player,Server,ACE,andFusion).

    vCloudDirector1.0vCloudDirectorcoordinatingvSpheremanageddatacenters.

    Compatibility for Virtual Appliances and vApps

    Table A1showsplatformproductcompatibilityforvirtualapplianceswithonevirtualmachine.

    YesNoaddedconversionstepsarenecessary;importsusingtheproductalone.

    Yes*SimilartoYES,butconversionmaydiscardcertainOVFmetadatapostimport.

    Convert

    Not

    directly,

    but

    end

    consumers

    can

    convert

    with

    added

    steps

    and

    sacrifice

    of

    certain

    metadata.

    Appendix

    Table A-1. Compatibility of a Single-VM Virtual Appliance

    Target ZIP OVF 0.9 Draft OVF 1.0 OVF 1.0 OVA

    vSphereManaged Convert Yes Yes Yes

    vSphereStandalone Convert Yes* Yes* Yes*

    VMwareInfrastructure3.5Managed Convert Yes* Convert. Convert

    VMwareInfrastructure3.5Standalone Convert Yes* Convert. Convert

    VMwareInfrastructure3 Convert Conv. Convert Convert

    Workstation6.5.1+ Yes Yes* Convert Convert

  • 5/23/2018 VMWare

    32/34

    Users Guide to Deploying vApps and Virtual Appliances

    32 VMware, Inc.

    Table A2showsplatformproductcompatibilityforavAppcontainingoneormorevirtualmachines.

    YesNo

    added

    conversion

    steps

    are

    necessary;

    imports

    using

    the

    product

    alone.

    Yes*SimilartoYES,butconversionmaydiscardcertainOVFmetadatapostimport.

    ConvertNotdirectly,butendconsumerscanconvertwithaddedstepsandsacrificeofcertainmetadata.

    N/AThisdeliverabletypeisnotcompatiblewiththedesiredconstruct(singleVMversusvApp).

    NoNotpossible,orrequiredmetadataconstructscannotbeconverted.

    VHP Yes Conv. Conv. Conv.

    vCloudDirector1.0 No No Yes No

    Table A-2. Compatibility of a Single-VM or Multiple-VM vApp

    Target ZIP OVF 0.9 Draft OVF 1.0 OVF 1.0 OVA

    vSphere4Managed N/A N/A Yes Yes

    vSphere4Standalone N/A N/A No No

    VI3.5Managed N/A N/A No No

    VI3/5Standalone N/A N/A No No

    VI3 N/A N/A No No

    Workstation6.5.1+ N/A N/A No No

    VHP N/A N/A No No

    vCloudDirector1.0 N/A N/A Yes No

    Table A-1. Compatibility of a Single-VM Virtual Appliance

    Target ZIP OVF 0.9 Draft OVF 1.0 OVF 1.0 OVA

  • 5/23/2018 VMWare

    33/34

    VMware, Inc. 33

    Index

    Aappliance vendor, ISV or HAV 8

    B

    browser support in VMware Studio 9

    C

    CIM standard and the DMTF 8

    command-line interface, vamicli 16, 22

    compatible platforms for a vApp 32

    compatible platforms for a virtual appliance 31

    Ddefinition of

    application in a virtual appliance 8

    VAMI 8

    vApp 7

    virtual appliance 7

    VMware Studio 7

    DHCP and IPv6 18

    DHCP configuration of IP address and DNS 13

    DHCP, host name and DNS 18

    distribution format

    OVA 9, 10

    OVF 0.9 or 1.0 9, 10

    ZIP 9, 10

    DNS servers without DHCP 12, 17

    dynamic IP address and DHCP 13

    E

    ESX/ESXi versions supported by VMware Studio 9

    F

    firewall security

    exempted ports 19

    incoming TCP port 5480 19incoming TCP ports 5488 and 5489 19

    proxy server 18

    G

    gateway (router) for static IP address 17

    Greenwich mean time (GMT) SeeUTC

    H

    host name for static IP address 17

    IIP Pool and OVF networking properties 10, 12

    IPv6 configuration 18

    J

    JeOS, just enough operating system 8

    N

    netmask for static IP address 17

    network settings

    DHCP lease expiration 12

    proxy through firewall 13

    static IP or DHCP 17, 18, 19Network tab

    Address > Alternate DNS Server 17

    Address > Gateway 17

    Address > Hostname 17

    Address > IP Address 17

    Address > Netmask 17

    Address > Preferred DNS Server 17

    DHCP default, not static IP 18

    Proxy > Proxy Port 18

    Proxy > Proxy Server 18

    Proxy > Proxy User 18Status 17

    O

    Open Virtualization Format (OVF) 7

    OVA distribution format 9, 10

    OVF 0.9 or 1.0 distribution format 9, 10

    OVF versions and VMware platform products 31

    P

    powering on a virtual appliance 11

    proxy server for external network access 18

    R

    Reboot button in System tab 16

    S

    security

    firewall 19

    login password 15

    self-signed HTTP certificate 11

    SSL digital signature 21

    Shutdown button in System tab 16

    SLAAC and IPv6 17

  • 5/23/2018 VMWare

    34/34

    Users Guide to Deploying vApps and Virtual Appliances

    34 VMware, Inc.

    SSL digital signature 21

    static IP address and netmask 12

    supported VMware platform products 9, 31

    supported Web browsers 9

    System tab

    Appliance Name 15

    Appliance Version 15

    Hostname 15OS Name 15

    OS Version 15

    OVF Environment 15

    Reboot button 16

    Shutdown button 16

    Time Zone page 17

    Vendor 15

    T

    technical support resources 6

    Time Zone page in System tab 17

    time zone, setting or changing 14, 17

    U

    Update tab

    Actions > Check Updates 22

    Actions > Install Updates 22

    Settings > Automatic check and install

    updates 22

    Settings > Automatic check for updates 22

    Settings > No automatic updates 22

    Status > Appliance Name 21

    Status > Appliance Version 21Status > Available Updates 21

    Status > Last Check 21

    Status > Last Install 22

    Status > Vendor 21

    updates from local repository URL 22

    updates from mounted CDROM 22

    Use Default Repository update default 22

    UTC, universal coordinated time 11, 14, 17, 21

    V

    VAMI, virtual appliance management

    infrastructure 7, 8, 19, 21

    vami.timezone OVF property 14, 17

    vamicli command 16, 22

    vamisupport script 19

    vApp, definition 7

    vApps in the vSphere Client, pictured 16

    vCenter Server (formerly VirtualCenter) 8, 10, 21,

    2530

    VI Client, virtual appliance import 10

    virtual appliance power-on 11

    virtual appliance, definition 7

    VMware platform products supported 9

    VMware Tools 8

    VMware vCenter Update Manager 7, 14, 17, 19, 25

    baselines for virtual appliance updates 26

    remediating a virtual appliance 29

    scanning a virtual appliance 27

    scheduling a virtual appliance scan 27

    viewing a virtual appliance scan 28vSphere Client, deploy OVF template 10

    W

    Web browsers supported 9

    Web console for VMware Studio 8

    Z

    ZIP distribution format 9, 10