VMware Studio & vAPP-s


Published on

Presentation VMware Studio & vAPP-s from VMware Users Group Meeting. 21.5.2013 Bratislava

Published in: Technology
  • Be the first to comment

  • Be the first to like this

No Downloads
Total views
On SlideShare
From Embeds
Number of Embeds
Embeds 0
No embeds

No notes for slide

VMware Studio & vAPP-s

  1. 1. VMWare Studio &VMWare Studio &vAPP-svAPP-sVMUG - Bratislava - 21.05.2013VMUG - Bratislava - 21.05.2013
  2. 2. What is OVF?What is OVF?
  3. 3. What is OVF?What is OVF?Open Virtualization Format (OVF) is anopen standard for packaging and distributingvirtual appliances or more generally software to be runin virtual machineshttp://www.vmware.com/pdf/ovf_whitepaper_shttp://www.vmware.com/pdf/ovf_whitepaper_s
  4. 4. What is OVF?What is OVF?• open standard VM Files and OVF DESCRIPTOR• OVF descriptor - XML CFG file• Actual standard 2.0• Usually used 0.9, 1.0http://www.dmtf.org/standards/ovfhttp://www.dmtf.org/standards/ovf
  5. 5. Sample OVFSample OVF<?xml version="1.0" encoding="UTF-8"?><Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"xmlns="http://schemas.dmtf.org/ovf/1/envelope" xmlns:ovf="http://schemas.dmtf.org/ovf/1/envelope" xmlns:vssd="http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_VirtualSystemSettingData" xmlns:rasd="http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_ResourceAllocationSettingData"><!-- References to all external files --> <References><File ovf:id="file1" ovf:href="vmdisk1.vmdk" ovf:size="180114671"/> </References><!-- Describes meta-information for all virtual disks in the package --><DiskSection><Info>Describes the set of virtual disks</Info><Disk ovf:diskId="vmdisk1" ovf:fileRef="file1" ovf:capacity="4294967296"ovf:format="http://www.vmware.com/interfaces/specifications/vmdk.html#sparse"/> </DiskSection><!-- Describes all networks used in the package --><NetworkSection><Info>List of logical networks used in the package</Info><Network ovf:name="VM Network"><Description>The network that the service will be available on</Description>
  6. 6. Extended OVFExtended OVFpropertiespropertiesThe most interesting part :)The most interesting part :)
  7. 7. Result of right OVFResult of right OVFSelf-configuration VMSelf-configuration VM
  8. 8. What is vAPP?What is vAPP?
  9. 9. What is vAPP?What is vAPP?New distribution format based on OVFNew distribution format based on OVFMultiple VM-s with OVF containerMultiple VM-s with OVF containerALL IN ONE INFRASTRUCTUREALL IN ONE INFRASTRUCTURE
  10. 10. Why use vAPP?Why use vAPP?Whole web app as single easy to distributeWhole web app as single easy to distributepackagepackage
  11. 11. VMware vAPP benefitsVMware vAPP benefitsResource controls for the VMs inside theResource controls for the VMs inside thecontainercontainerNetwork configurations contained insideNetwork configurations contained insideConfigurable power managementConfigurable power managementThing about as single vSphereThing about as single vSphere
  12. 12. VMware studioVMware studio
  13. 13. VMWare StudioVMWare StudioIntroductionIntroductionAuthor, configure, deploy and customize virtualAuthor, configure, deploy and customize virtualmachines, vApps and virtual appliances thatmachines, vApps and virtual appliances thatcan be deployed oncan be deployed on VMware vSphereVMware vSphere, or, orvCloud Director with VMware Studio.vCloud Director with VMware Studio.
  14. 14. VMWare StudioVMWare StudioIntroductionIntroductionStudio is designed to be used by ISVs,Studio is designed to be used by ISVs,developers, IT professionals and members ofdevelopers, IT professionals and members ofthe virtualization community. It is a free productthe virtualization community. It is a free productand is available as a virtual applianceand is available as a virtual appliance
  15. 15. Create VMCreate VM
  17. 17. How to start?How to start?2. Prepare2. PrepareDownload & Import OVF to vSphere or vCloudDownload & Import OVF to vSphere or vCloudat first run need to set root passwordat first run need to set root passwordIf you want you can update by debian apt-If you want you can update by debian apt-get update, apt-get upgradeget update, apt-get upgrade
  18. 18. 3. Create3. CreateOpen in web browserOpen in web browser https://IPhttps://IP:5480:5480Login as rootLogin as root
  19. 19. 4.VM Studio Dashboard4.VM Studio DashboardCreate new Profile or Import existing or seeCreate new Profile or Import existing or seebuildsbuilds
  20. 20. 5. Create VM5. Create VMChose from predefined profilesChose from predefined profilesAfter you save your new will be on end of list asAfter you save your new will be on end of list astemplate tootemplate too
  21. 21. 6. Description6. DescriptionAPP andAPP andVMVMversion,version,informatiinformation andon andLinksLinksEULAEULA
  22. 22. 6. Hardware6. HardwareSpecifySpecifyVM HWVM HWversion,version,HDDs,HDDs,PartitionPartitions, NIC ...s, NIC ...
  23. 23. 7. OS7. OSISO URL OR PATHISO URL OR PATHISO MD5ISO MD5Upload ISO files with SSH (WinSCP,Upload ISO files with SSH (WinSCP,mucommander)mucommander)Store: //opt/vmware/www/ISV/ISO/Store: //opt/vmware/www/ISV/ISO/
  24. 24. 7. OS7. OSOS IMAGE - VL, Multi version DVD - form winOS IMAGE - VL, Multi version DVD - form win2003 same as in unattended.xml2003 same as in unattended.xmlWindows Server 2008 R2Windows Server 2008 R2SERVERDATACENTER, Windows Server 2008SERVERDATACENTER, Windows Server 2008R2 SERVERENTERPRISER2 SERVERENTERPRISEDomain, WorkgroupDomain, Workgroup
  25. 25. 7. OS - Additional7. OS - AdditionalUnattended CONFIGUnattended CONFIG<?xml version="1.0" encoding="utf-8"?><unattend xmlns="urn:schemas-microsoft-<?xml version="1.0" encoding="utf-8"?><unattend xmlns="urn:schemas-microsoft-com:unattend"> <settings pass="windowsPE"> <componentcom:unattend"> <settings pass="windowsPE"> <componentname="Microsoft-Windows-Setup" processorArchitecture="amd64"name="Microsoft-Windows-Setup" processorArchitecture="amd64"publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"xmlns:wcm="xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/Statehttp://schemas.microsoft.com/WMIConfig/2002/State">"><Display> <HorizontalResolution>1024</HorizontalResolution><Display> <HorizontalResolution>1024</HorizontalResolution><VerticalResolution>768</VerticalResolution><VerticalResolution>768</VerticalResolution><ColorDepth>16</ColorDepth> <RefreshRate>60</RefreshRate><ColorDepth>16</ColorDepth> <RefreshRate>60</RefreshRate></Display> </component> <component name="Microsoft-Windows-</Display> </component> <component name="Microsoft-Windows-International-Core-WinPE" processorArchitecture="amd64"International-Core-WinPE" processorArchitecture="amd64"publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"xmlns:wcm="xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/Statehttp://schemas.microsoft.com/WMIConfig/2002/State"> <SetupUILanguage> <U"> <SetupUILanguage> <UILanguage>en-us</UILanguage>ILanguage>en-us</UILanguage></SetupUILanguage> <InputLocale>0409:00000409</InputLocale></SetupUILanguage> <InputLocale>0409:00000409</InputLocale><SystemLocale>en-us</SystemLocale> <UILanguage>en-us</UILanguage><SystemLocale>en-us</SystemLocale> <UILanguage>en-us</UILanguage><UserLocale>en-US</UserLocale> </component><UserLocale>en-US</UserLocale> </component></settings></unattend></settings></unattend>OSOSparameterparameters like ins like inUnattendeUnattended.XMLd.XML
  26. 26. 7. OS7. OSSysprep - recommendedSysprep - recommendedSysprep - customizationSysprep - customizationAdd usersAdd users
  27. 27. 7. Application7. ApplicationAdd preconfigured application for auto instalAdd preconfigured application for auto instal(apps can be stored directly in studio or another(apps can be stored directly in studio or anotherHTTP based server with CFGHTTP based server with CFGApplication Pre-InstallApplication Pre-Install& Post-Install scripts& Post-Install scripts
  28. 28. 8. Output8. OutputOVF Environment propertisOVF Environment propertisOutput formatOutput format
  29. 29. 8. Output8. OutputOVF Environment propertisOVF Environment propertisOutput formatOutput format
  30. 30. 8. Output - Custom OVF8. Output - Custom OVFhttp://www.vmware.com/pdf/ovf_whitepaper_spehttp://www.vmware.com/pdf/ovf_whitepaper_spe
  31. 31. 9. Build Settings9. Build SettingsChoseChoseplatform andplatform andthen usethen usewizardwizard
  32. 32. 10. Ready to Build10. Ready to BuildSave and BuildSave and BuildIf you dontIf you dontwanted VMwanted VMto be deleteto be deletefromfromplatformplatformafter testafter testticktick
  33. 33. 11.Wait and read log11.Wait and read logYou canYou cansee livesee livelog withlog withanyanyerrors toerrors tocorrectcorrect
  34. 34. Create vAPPCreate vAPP
  35. 35. 1. Create or Import1. Create or ImportProfileProfilealmost same as for VMalmost same as for VM
  36. 36. 2. Create a New Profile2. Create a New Profilealmost same as for VMalmost same as for VM
  37. 37. 3. Description of vAPP3. Description of vAPPDescription,Description,version andversion andEULA of wholeEULA of wholeAPPAPP
  38. 38. 4. Add VMs4. Add VMsChose from VM listChose from VM list
  39. 39. 4. Add VMs - Builds4. Add VMs - BuildsChose fromChose fromVM list.VM list.Builds canBuilds canbe directbe directprofile orprofile oranyanysuccessfulsuccessfulbuildbuild
  40. 40. 5. Start Order5. Start OrderSetup orderSetup orderof start &of start &shutdownshutdownparameterparameterwith actionswith actions
  41. 41. 6. Resources6. ResourcesResourceResourcereservationreservation& share& shareparametersparameters
  42. 42. 7. Output7. OutputSame as VMsSame as VMsexample of OVFexample of OVFProperties KEYProperties KEY““vamitimezone”vamitimezone”
  43. 43. Live DEMOLive DEMO
  44. 44. Benefits?Benefits?A command line interface, typically used forA command line interface, typically used forautomationautomationAn Eclipse plug-in for developers usingAn Eclipse plug-in for developers using EclipseEclipseSingle point for ImagesSingle point for ImagesEasy update of apps or generate newEasy update of apps or generate newspecialized VMsspecialized VMsEasy to publish complete platform solutionsEasy to publish complete platform solutions
  45. 45. Where to get?Where to get?Price: FreePrice: Freedownload & more info:download & more info:www.vmware.com/go/STUDIOwww.vmware.com/go/STUDIO
  46. 46. Q&Q&AA
  47. 47. ThanksThanksJaroslav MrazJaroslav MrazE-mail: mraz@allycom.skE-mail: mraz@allycom.skwww.jaroslavmraz.skwww.jaroslavmraz.skSocial:Social:Future questions:Future questions: