vmware studio & vapp-s
DESCRIPTION
Presentation VMware Studio & vAPP-s from VMware Users Group Meeting. 21.5.2013 BratislavaTRANSCRIPT
VMWare Studio & vAPP-VMWare Studio & vAPP-ssVMUG - Bratislava - 21.05.2013VMUG - Bratislava - 21.05.2013
What is OVF?What is OVF?
What is OVF?What is OVF?
Open Virtualization Format (OVF) is an open standard for packaging and distributing virtual appliances or more generally software to be run in virtual machines
http://www.vmware.com/pdf/ovf_whitepaper_specification.pdf
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.0
http://www.dmtf.org/standards/ovf
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>
Extended OVF Extended OVF properties properties
The most interesting part :)The most interesting part :)
Result of right OVFResult of right OVF
Self-configuration VMSelf-configuration VM
What is vAPP?What is vAPP?
What is vAPP?What is vAPP?
New distribution format based on OVFNew distribution format based on OVF
Multiple VM-s with OVF containerMultiple VM-s with OVF container
ALL IN ONE INFRASTRUCTUREALL IN ONE INFRASTRUCTURE
Why use vAPP?Why use vAPP?
Whole web app as single easy to distribute Whole web app as single easy to distribute packagepackage
VMware vAPP benefitsVMware vAPP benefits
Resource controls for the VMs inside the Resource controls for the VMs inside the containercontainer
Network configurations contained insideNetwork configurations contained inside
Configurable power managementConfigurable power management
Thing about as single vSphereThing about as single vSphere
VMware studioVMware studio
VMWare Studio VMWare Studio IntroductionIntroduction
Author, configure, deploy and customize virtual Author, configure, deploy and customize virtual machines, vApps and virtual appliances that machines, vApps and virtual appliances that can be deployed on can be deployed on VMware vSphereVMware vSphere, or , or vCloud Director with VMware Studio.vCloud Director with VMware Studio.
VMWare Studio VMWare Studio IntroductionIntroduction
Studio is designed to be used by ISVs, Studio is designed to be used by ISVs, developers, IT professionals and members of developers, IT professionals and members of the virtualization community. It is a free the virtualization community. It is a free product and is available as a virtual applianceproduct and is available as a virtual appliance
Create VMCreate VM
How to start?How to start?
1. PLAN1. PLAN
vAPPvAPP
VMVMVMVM
OVFOVFOVFOVF
APPAPPAPPAPP
APPAPPAPPAPP APAPPP
APAPPP
FullFull VM VM containercontainer
vAPP OVFvAPP OVFvAPP OVFvAPP OVF
How to start?How to start?
2. Prepare2. Prepare
Download & 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 password
If 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
3. Create3. CreateOpen in web browser Open in web browser https://IPhttps://IP:5480:5480
Login as rootLogin as root
4.VM Studio Dashboard4.VM Studio Dashboard
Create new Profile or Import existing or see buildsCreate new Profile or Import existing or see builds
5. Create VM5. Create VM
Chose from predefined profilesChose from predefined profiles
After you save your new will be on end of list After you save your new will be on end of list as template tooas template too
6. Description6. Description
APP and APP and VM VM
version, version, informatiinformation and on and LinksLinks
EULAEULA
6. Hardware6. Hardware
Specify Specify VM HW VM HW version, version, HDDs, HDDs,
PartitionPartitions, NIC ...s, NIC ...
7. OS7. OSISO URL OR PATHISO URL OR PATH
ISO MD5ISO MD5
Upload 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/
7. OS7. OSOS IMAGE - VL, Multi version DVD - form win OS IMAGE - VL, Multi version DVD - form win 2003 same as in unattended.xml2003 same as in unattended.xml
Windows Server 2008 R2 SERVERDATACENTER, Windows Server 2008 R2 SERVERDATACENTER, Windows Server 2008 R2 SERVERENTERPRISEWindows Server 2008 R2 SERVERENTERPRISE
Domain, WorkgroupDomain, Workgroup
7. OS - Additional 7. OS - Additional Unattended CONFIGUnattended CONFIG
<?xml version="1.0" encoding="utf-8"?><unattend xmlns="urn:schemas-<?xml version="1.0" encoding="utf-8"?><unattend xmlns="urn:schemas-microsoft-com:unattend"> <settings pass="windowsPE"> <component microsoft-com:unattend"> <settings pass="windowsPE"> <component name="Microsoft-Windows-Setup" processorArchitecture="amd64" name="Microsoft-Windows-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State"> <Display> "> <Display> <HorizontalResolution>1024</HorizontalResolution> <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" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" versionScope="nonSxS" xmlns:wcm="xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/Statehttp://schemas.microsoft.com/WMIConfig/2002/State"> <SetupUILanguage> <UILanguage>en-us</UILanguage> ILanguage>en-us</UILanguage> </SetupUILanguage> <InputLocale>0409:00000409</InputLocale> </SetupUILanguage> <InputLocale>0409:00000409</InputLocale> <SystemLocale>en-us</SystemLocale> <SystemLocale>en-us</SystemLocale> <UILanguage>en-us</UILanguage> <UserLocale>en-US</UserLocale> <UILanguage>en-us</UILanguage> <UserLocale>en-US</UserLocale> </component> </settings></unattend> </component> </settings></unattend>
OS OS parameterparameter
s like in s like in UnattendeUnattende
d.XMLd.XML
7. OS7. OS
Sysprep - recommendedSysprep - recommended
Sysprep - customization Sysprep - customization
Add users Add users
7. Application7. ApplicationAdd preconfigured application for auto instal Add preconfigured application for auto instal (apps can be stored directly in studio or (apps can be stored directly in studio or another HTTP based server with CFGanother HTTP based server with CFG
Application Pre-Install Application Pre-Install
& Post-Install scripts& Post-Install scripts
8. Output8. Output
OVF Environment propertisOVF Environment propertis
Output formatOutput format
8. Output8. Output
OVF Environment propertisOVF Environment propertis
Output formatOutput format
8. Output - Custom OVF8. Output - Custom OVF
http://www.vmware.com/pdf/ovf_whitepaper_specification.pdf
9. Build Settings9. Build Settings
Chose Chose platform and platform and
then use then use wizardwizard
10. Ready to Build10. Ready to BuildSave and Save and
BuildBuild
If you don't If you don't wanted VM wanted VM to be delete to be delete
from from platform platform after test after test
ticktick
11.Wait and read log11.Wait and read log
You can You can see live see live log with log with
any any errors to errors to correctcorrect
Create vAPPCreate vAPP
1. Create or Import 1. Create or Import ProfileProfile
almost same as for VMalmost same as for VM
2. Create a New Profile2. Create a New Profile
almost same as for VMalmost same as for VM
3. Description of vAPP3. Description of vAPP
Description, Description, version and version and EULA of whole EULA of whole APPAPP
4. Add VMs4. Add VMsChose from VM listChose from VM list
4. Add VMs - Builds4. Add VMs - Builds
Chose from Chose from VM list. VM list. Builds can Builds can be direct be direct profile or profile or any any successful successful buildbuild
5. Start Order5. Start Order
Setup order Setup order of start & of start & shutdown shutdown parameter parameter with actionswith actions
6. Resources6. Resources
Resource Resource reservation reservation & share & share parametersparameters
7. Output7. Output
Same as VMs Same as VMs
example of OVF example of OVF Properties KEYProperties KEY
““vamitimezone”vamitimezone”
Live DEMOLive DEMO
Benefits?Benefits?
A command line interface, typically used for A command line interface, typically used for automationautomation
An Eclipse plug-in for developers using An Eclipse plug-in for developers using EclipseEclipse
Single point for ImagesSingle point for Images
Easy update of apps or generate new Easy update of apps or generate new specialized VMsspecialized VMs
Easy to publish complete platform solutionsEasy to publish complete platform solutions
Where to get?Where to get?
Price: Free Price: Free
download & more info:download & more info:
www.vmware.com/go/STUDIOwww.vmware.com/go/STUDIO
Q&Q&AA
ThanksThanks
Jaroslav MrazJaroslav Mraz
E-mail: E-mail: [email protected]@allycom.sk
www.jaroslavmraz.skwww.jaroslavmraz.sk
Social:Social:Future questions:Future questions: