vmware studio & vapp-s

47
VMWare Studio & VMWare Studio & vAPP-s vAPP-s VMUG - Bratislava - 21.05.2013 VMUG - Bratislava - 21.05.2013

Upload: jaroslav-mraz

Post on 16-Jun-2015

333 views

Category:

Technology


0 download

DESCRIPTION

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

TRANSCRIPT

Page 1: VMware Studio & vAPP-s

VMWare Studio & vAPP-VMWare Studio & vAPP-ssVMUG - Bratislava - 21.05.2013VMUG - Bratislava - 21.05.2013

Page 2: VMware Studio & vAPP-s

What is OVF?What is OVF?

Page 3: VMware Studio & vAPP-s

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

Page 4: VMware Studio & vAPP-s

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

Page 5: VMware Studio & vAPP-s

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>

Page 6: VMware Studio & vAPP-s

Extended OVF Extended OVF properties properties

The most interesting part :)The most interesting part :)

Page 7: VMware Studio & vAPP-s

Result of right OVFResult of right OVF

Self-configuration VMSelf-configuration VM

Page 8: VMware Studio & vAPP-s

What is vAPP?What is vAPP?

Page 9: VMware Studio & vAPP-s

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

Page 10: VMware Studio & vAPP-s

Why use vAPP?Why use vAPP?

Whole web app as single easy to distribute Whole web app as single easy to distribute packagepackage

Page 11: VMware Studio & vAPP-s

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

Page 12: VMware Studio & vAPP-s

VMware studioVMware studio

Page 13: VMware Studio & vAPP-s

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.

Page 14: VMware Studio & vAPP-s

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

Page 15: VMware Studio & vAPP-s

Create VMCreate VM

Page 16: VMware Studio & vAPP-s

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

Page 17: VMware Studio & vAPP-s

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

Page 18: VMware Studio & vAPP-s

3. Create3. CreateOpen in web browser Open in web browser https://IPhttps://IP:5480:5480

Login as rootLogin as root

Page 19: VMware Studio & vAPP-s

4.VM Studio Dashboard4.VM Studio Dashboard

Create new Profile or Import existing or see buildsCreate new Profile or Import existing or see builds

Page 20: VMware Studio & vAPP-s

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

Page 21: VMware Studio & vAPP-s

6. Description6. Description

APP and APP and VM VM

version, version, informatiinformation and on and LinksLinks

EULAEULA

Page 22: VMware Studio & vAPP-s

6. Hardware6. Hardware

Specify Specify VM HW VM HW version, version, HDDs, HDDs,

PartitionPartitions, NIC ...s, NIC ...

Page 23: VMware Studio & vAPP-s

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/

Page 24: VMware Studio & vAPP-s

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

Page 25: VMware Studio & vAPP-s

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

Page 26: VMware Studio & vAPP-s

7. OS7. OS

Sysprep - recommendedSysprep - recommended

Sysprep - customization Sysprep - customization

Add users Add users

Page 27: VMware Studio & vAPP-s

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

Page 28: VMware Studio & vAPP-s

8. Output8. Output

OVF Environment propertisOVF Environment propertis

Output formatOutput format

Page 29: VMware Studio & vAPP-s

8. Output8. Output

OVF Environment propertisOVF Environment propertis

Output formatOutput format

Page 30: VMware Studio & vAPP-s

8. Output - Custom OVF8. Output - Custom OVF

http://www.vmware.com/pdf/ovf_whitepaper_specification.pdf

Page 31: VMware Studio & vAPP-s

9. Build Settings9. Build Settings

Chose Chose platform and platform and

then use then use wizardwizard

Page 32: VMware Studio & vAPP-s

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

Page 33: VMware Studio & vAPP-s

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

Page 34: VMware Studio & vAPP-s

Create vAPPCreate vAPP

Page 35: VMware Studio & vAPP-s

1. Create or Import 1. Create or Import ProfileProfile

almost same as for VMalmost same as for VM

Page 36: VMware Studio & vAPP-s

2. Create a New Profile2. Create a New Profile

almost same as for VMalmost same as for VM

Page 37: VMware Studio & vAPP-s

3. Description of vAPP3. Description of vAPP

Description, Description, version and version and EULA of whole EULA of whole APPAPP

Page 38: VMware Studio & vAPP-s

4. Add VMs4. Add VMsChose from VM listChose from VM list

Page 39: VMware Studio & vAPP-s

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

Page 40: VMware Studio & vAPP-s

5. Start Order5. Start Order

Setup order Setup order of start & of start & shutdown shutdown parameter parameter with actionswith actions

Page 41: VMware Studio & vAPP-s

6. Resources6. Resources

Resource Resource reservation reservation & share & share parametersparameters

Page 42: VMware Studio & vAPP-s

7. Output7. Output

Same as VMs Same as VMs

example of OVF example of OVF Properties KEYProperties KEY

““vamitimezone”vamitimezone”

Page 43: VMware Studio & vAPP-s

Live DEMOLive DEMO

Page 44: VMware Studio & vAPP-s

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

Page 45: VMware Studio & vAPP-s

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

Page 46: VMware Studio & vAPP-s

Q&Q&AA

Page 47: VMware Studio & vAPP-s

ThanksThanks

Jaroslav MrazJaroslav Mraz

E-mail: E-mail: [email protected]@allycom.sk

www.jaroslavmraz.skwww.jaroslavmraz.sk

Social:Social:Future questions:Future questions: