SlideShare a Scribd company logo
1 of 30
Virtualize Planet

    Getting Started, writing VMware APPs
                           for novice programmers




                             Sponsored by




www.virtualizeplanet.com                            Author: Ricky El-Qasem: 2011
Breaking the magicians code




                      11/23/2012   2
No Programmers Allowed

 I’m not a programmer
 I do not speak in
  Fortran or C++
 The point of this
  session is that its for
  novices like me




                            www.virtualizeplanet.com   11/23/2012   3
A word from the sponsors

All apps mentioned in this presentation are not the
products of Canopy Cloud. Ricky developed these
apps before joining Canopy.
                                                      Canopy Private Cloud

                                                        Solutions Catalogue: Vertical &
                                                            Horizontal Workloads



                                                        Management & Orchestration
                                                         vCloud Director - vSphere
                                        Canopy
                                       Appstore




                                                         Canopy Cloud Infrastructure
                                                           Vblock - Best-of-Breed




                           www.virtualizeplanet.com   11/23/2012                          4
My Apps

 VPsnapper = where it all started
 Resource Pool Scheduler
 vDisk Waste Finder
 vSphere Plug-in Wizard = Best Free Tools VMworld
  2011
 vDisk Informer




                            www.virtualizeplanet.com   11/23/2012   5
Different APIs

 COM API
 Web server API = SDK
 PowerCLI
 Etc etc




                         www.virtualizeplanet.com   11/23/2012   6
What you need before you begin

 .Net IDE = Visual Studio .Net
or
 Java IDE = Netbeans




                             www.virtualizeplanet.com   11/23/2012   7
So how did I do it?

 VPsnapper

 I needed a way to revert the default snapshots on all my VMs with one click




                                          + COM API Document




                                           www.virtualizeplanet.com   11/23/2012   8
VPSnapper




            www.virtualizeplanet.com   11/23/2012   9
The SDK is the future
 Resource Pool Scheduler
•Student gave me an idea. I needed to be able to shift resource allocation from pool
to pool
• Once again I used the book and the SDK programmers guide but failed at stage 1
• Stage 1 was to list all VMs running
• I posted my failure on VMTN = VMware Communities
• Few days later VMware sent me a fixed version of my test app.
• This was a huge springboard




                                             www.virtualizeplanet.com   11/23/2012     10
Another Useful Book

 Samples are in JAVA
 However I found I could
  easily copy from JAVA
  to C# .NET




                            www.virtualizeplanet.com   11/23/2012   11
The SDK Tree
                                             ExtensibleManagedObject




                                                     ManagedEntity




ResourcePool      ComputeResource       Hostsystem          Datacenter              Folder             VirtualMachine




               ClusterComputeResource




                                                               www.virtualizeplanet.com   11/23/2012                    12
MOB = Managed Object Browser

 https://yourserver/mob




                           www.virtualizeplanet.com   11/23/2012   13
How to work with the SDK

 Make a connection
 Filter only what you need – Proprerty Spec
 Which hierarchy objects to search - Traversal Spec




                            www.virtualizeplanet.com   11/23/2012   14
VIMAPI in .net

 2 x Dlls – import in to your code




 Using Statement:




                              www.virtualizeplanet.com   11/23/2012   15
MOREF Managed Object Reference

 You do not manipulate the VMware objects like
  VMs, Folders, Hosts and Datastores directly
 You work with a representation of those objects
  known as a Managed Object Reference aka MOREF
 Its all about the MOREF!




                             www.virtualizeplanet.com   11/23/2012   16
Data model

 Managed Object Types = objects that have
  properties and methods
 MOREF = local representation
 Data Object = just pure data and no actions




                            www.virtualizeplanet.com   11/23/2012   17
vSphere Plug-in Wizard

 Finalist in Best Free
  vSphere Tools VMworld
  2011
 Plugs in Website of
  your choice into
  vSphere Client




                          www.virtualizeplanet.com   11/23/2012   18
vSphere Plug-in Wizard




                www.virtualizeplanet.com   11/23/2012   19
vDisk Informer

 Helps you find wasted
  vDisk space
 Helps you find
  misaligned vDisks
 Use Gparted to fix




                          www.virtualizeplanet.com   11/23/2012   20
vDisk Waste Finder

 Previous version of
  vDisk Informer
 VMUG can have copy
  of code.
 Demo




                        www.virtualizeplanet.com   11/23/2012   21
Extreme GUI Makeover

 Before        After




                www.virtualizeplanet.com   11/23/2012   22
Tips on creating a sexy GUI




                www.virtualizeplanet.com   11/23/2012   23
Tips on creating a sexy GUI




                www.virtualizeplanet.com   11/23/2012   24
Tips on creating a sexy GUI




                www.virtualizeplanet.com   11/23/2012   25
www.virtualizeplanet.com   11/23/2012   26
Writing Config




                 www.virtualizeplanet.com   11/23/2012   27
Performing an action



ManagedObjectReference moref_task = _service.PowerOffVM
(moref_VM, moref_Host);




                                     www.virtualizeplanet.com   11/23/2012   28
My best tip as a novice

 Take an existing example and hack it to death with
  trial and error until you get it working for your
  needs
 If something doesn’t work post it on VMware's
  Community forum
 After today code for vDisk Waste Finder will be
  available from my blog www.virtualizeplanet.com




                            www.virtualizeplanet.com   11/23/2012   29
Disclaimer:

Virtualize Planet will not be held liable for any actions you perform in
your environment. Anything you learn from this material should be used
at your own discretion and be warned actions you perform can be
damaging. Always consult a professional.




                    www.virtualizeplanet.com               11/23/2012      30

More Related Content

What's hot

Spring Cloud Function: Where We Were, Where We Are, and Where We’re Going
Spring Cloud Function: Where We Were, Where We Are, and Where We’re GoingSpring Cloud Function: Where We Were, Where We Are, and Where We’re Going
Spring Cloud Function: Where We Were, Where We Are, and Where We’re GoingVMware Tanzu
 
OPEN SOURCE TECHNOLOGY: Docker Containers on IBM Bluemix
OPEN SOURCE TECHNOLOGY: Docker Containers on IBM BluemixOPEN SOURCE TECHNOLOGY: Docker Containers on IBM Bluemix
OPEN SOURCE TECHNOLOGY: Docker Containers on IBM BluemixDA SILVA, MBA
 
BelfastJUG, Spring Boot + Docker
BelfastJUG, Spring Boot + DockerBelfastJUG, Spring Boot + Docker
BelfastJUG, Spring Boot + DockerHudson Mendes
 
Docker vs VM | | Containerization or Virtualization - The Differences | DevOp...
Docker vs VM | | Containerization or Virtualization - The Differences | DevOp...Docker vs VM | | Containerization or Virtualization - The Differences | DevOp...
Docker vs VM | | Containerization or Virtualization - The Differences | DevOp...Edureka!
 
Containerize, PaaS, or Go Serverless!?
Containerize, PaaS, or Go Serverless!?Containerize, PaaS, or Go Serverless!?
Containerize, PaaS, or Go Serverless!?Phil Estes
 
Container as a Service with Docker
Container as a Service with DockerContainer as a Service with Docker
Container as a Service with DockerPatrick Chanezon
 
Improving Your Company’s Health with Middleware Takeout
Improving Your Company’s Health with Middleware TakeoutImproving Your Company’s Health with Middleware Takeout
Improving Your Company’s Health with Middleware TakeoutVMware Tanzu
 
Use Docker to Deliver Cognitive Services Running Cross Platform and Multi Clo...
Use Docker to Deliver Cognitive Services Running Cross Platform and Multi Clo...Use Docker to Deliver Cognitive Services Running Cross Platform and Multi Clo...
Use Docker to Deliver Cognitive Services Running Cross Platform and Multi Clo...Docker, Inc.
 
Spring Boot Loves K8s
Spring Boot Loves K8sSpring Boot Loves K8s
Spring Boot Loves K8sVMware Tanzu
 
You Want to Kubernetes? You MUST Know Containers!
You Want to Kubernetes? You MUST Know Containers!You Want to Kubernetes? You MUST Know Containers!
You Want to Kubernetes? You MUST Know Containers!VMware Tanzu
 
Welcome to the Metrics
Welcome to the MetricsWelcome to the Metrics
Welcome to the MetricsVMware Tanzu
 
VMware@Night: Container & Virtualisierung
VMware@Night: Container & VirtualisierungVMware@Night: Container & Virtualisierung
VMware@Night: Container & VirtualisierungDigicomp Academy AG
 
Dockercon 2019 Developing Apps with Containers, Functions and Cloud Services
Dockercon 2019 Developing Apps with Containers, Functions and Cloud ServicesDockercon 2019 Developing Apps with Containers, Functions and Cloud Services
Dockercon 2019 Developing Apps with Containers, Functions and Cloud ServicesPatrick Chanezon
 
Empower Your Docker Containers with Watson - DockerCon 2017 Austin
Empower Your Docker Containers with Watson - DockerCon 2017 AustinEmpower Your Docker Containers with Watson - DockerCon 2017 Austin
Empower Your Docker Containers with Watson - DockerCon 2017 AustinPhil Estes
 
IBM Container Service Overview
IBM Container Service OverviewIBM Container Service Overview
IBM Container Service OverviewKyle Brown
 
Going Serverless Using the Spring Framework Ecosystem
Going Serverless Using the Spring Framework EcosystemGoing Serverless Using the Spring Framework Ecosystem
Going Serverless Using the Spring Framework EcosystemVMware Tanzu
 
Docker - A high level introduction to dockers and containers
Docker - A high level introduction to dockers and containersDocker - A high level introduction to dockers and containers
Docker - A high level introduction to dockers and containersDr Ganesh Iyer
 
Introduction to Panamax from CenturyLink
Introduction to Panamax from CenturyLinkIntroduction to Panamax from CenturyLink
Introduction to Panamax from CenturyLinkLucas Carlson
 
Scalable, Available and Reliable Cloud Applications with PaaS and Microservices
Scalable, Available and Reliable Cloud Applications with PaaS and MicroservicesScalable, Available and Reliable Cloud Applications with PaaS and Microservices
Scalable, Available and Reliable Cloud Applications with PaaS and MicroservicesDavid Currie
 
Full Steam Ahead, R2DBC!
Full Steam Ahead, R2DBC!Full Steam Ahead, R2DBC!
Full Steam Ahead, R2DBC!VMware Tanzu
 

What's hot (20)

Spring Cloud Function: Where We Were, Where We Are, and Where We’re Going
Spring Cloud Function: Where We Were, Where We Are, and Where We’re GoingSpring Cloud Function: Where We Were, Where We Are, and Where We’re Going
Spring Cloud Function: Where We Were, Where We Are, and Where We’re Going
 
OPEN SOURCE TECHNOLOGY: Docker Containers on IBM Bluemix
OPEN SOURCE TECHNOLOGY: Docker Containers on IBM BluemixOPEN SOURCE TECHNOLOGY: Docker Containers on IBM Bluemix
OPEN SOURCE TECHNOLOGY: Docker Containers on IBM Bluemix
 
BelfastJUG, Spring Boot + Docker
BelfastJUG, Spring Boot + DockerBelfastJUG, Spring Boot + Docker
BelfastJUG, Spring Boot + Docker
 
Docker vs VM | | Containerization or Virtualization - The Differences | DevOp...
Docker vs VM | | Containerization or Virtualization - The Differences | DevOp...Docker vs VM | | Containerization or Virtualization - The Differences | DevOp...
Docker vs VM | | Containerization or Virtualization - The Differences | DevOp...
 
Containerize, PaaS, or Go Serverless!?
Containerize, PaaS, or Go Serverless!?Containerize, PaaS, or Go Serverless!?
Containerize, PaaS, or Go Serverless!?
 
Container as a Service with Docker
Container as a Service with DockerContainer as a Service with Docker
Container as a Service with Docker
 
Improving Your Company’s Health with Middleware Takeout
Improving Your Company’s Health with Middleware TakeoutImproving Your Company’s Health with Middleware Takeout
Improving Your Company’s Health with Middleware Takeout
 
Use Docker to Deliver Cognitive Services Running Cross Platform and Multi Clo...
Use Docker to Deliver Cognitive Services Running Cross Platform and Multi Clo...Use Docker to Deliver Cognitive Services Running Cross Platform and Multi Clo...
Use Docker to Deliver Cognitive Services Running Cross Platform and Multi Clo...
 
Spring Boot Loves K8s
Spring Boot Loves K8sSpring Boot Loves K8s
Spring Boot Loves K8s
 
You Want to Kubernetes? You MUST Know Containers!
You Want to Kubernetes? You MUST Know Containers!You Want to Kubernetes? You MUST Know Containers!
You Want to Kubernetes? You MUST Know Containers!
 
Welcome to the Metrics
Welcome to the MetricsWelcome to the Metrics
Welcome to the Metrics
 
VMware@Night: Container & Virtualisierung
VMware@Night: Container & VirtualisierungVMware@Night: Container & Virtualisierung
VMware@Night: Container & Virtualisierung
 
Dockercon 2019 Developing Apps with Containers, Functions and Cloud Services
Dockercon 2019 Developing Apps with Containers, Functions and Cloud ServicesDockercon 2019 Developing Apps with Containers, Functions and Cloud Services
Dockercon 2019 Developing Apps with Containers, Functions and Cloud Services
 
Empower Your Docker Containers with Watson - DockerCon 2017 Austin
Empower Your Docker Containers with Watson - DockerCon 2017 AustinEmpower Your Docker Containers with Watson - DockerCon 2017 Austin
Empower Your Docker Containers with Watson - DockerCon 2017 Austin
 
IBM Container Service Overview
IBM Container Service OverviewIBM Container Service Overview
IBM Container Service Overview
 
Going Serverless Using the Spring Framework Ecosystem
Going Serverless Using the Spring Framework EcosystemGoing Serverless Using the Spring Framework Ecosystem
Going Serverless Using the Spring Framework Ecosystem
 
Docker - A high level introduction to dockers and containers
Docker - A high level introduction to dockers and containersDocker - A high level introduction to dockers and containers
Docker - A high level introduction to dockers and containers
 
Introduction to Panamax from CenturyLink
Introduction to Panamax from CenturyLinkIntroduction to Panamax from CenturyLink
Introduction to Panamax from CenturyLink
 
Scalable, Available and Reliable Cloud Applications with PaaS and Microservices
Scalable, Available and Reliable Cloud Applications with PaaS and MicroservicesScalable, Available and Reliable Cloud Applications with PaaS and Microservices
Scalable, Available and Reliable Cloud Applications with PaaS and Microservices
 
Full Steam Ahead, R2DBC!
Full Steam Ahead, R2DBC!Full Steam Ahead, R2DBC!
Full Steam Ahead, R2DBC!
 

Viewers also liked

Fme4 forensic thanatology3(scientific study of death)
Fme4 forensic thanatology3(scientific study of death)Fme4 forensic thanatology3(scientific study of death)
Fme4 forensic thanatology3(scientific study of death)Yaseen Muhammad
 
การทดสอบสมรรถภาพทางกาย
การทดสอบสมรรถภาพทางกายการทดสอบสมรรถภาพทางกาย
การทดสอบสมรรถภาพทางกายNun อันทวีสิน
 
Школьная форма
Школьная формаШкольная форма
Школьная формаjulia_hatter
 
You miss 100% of the shots you
You miss 100% of the shots youYou miss 100% of the shots you
You miss 100% of the shots youlincolnv
 
Altus swift seminar final 151112
Altus swift seminar final 151112Altus swift seminar final 151112
Altus swift seminar final 151112MrSIPP
 
Fme6 forensic thanatology3(scientific study of death)by dr yaseen muhammad BKMC
Fme6 forensic thanatology3(scientific study of death)by dr yaseen muhammad BKMCFme6 forensic thanatology3(scientific study of death)by dr yaseen muhammad BKMC
Fme6 forensic thanatology3(scientific study of death)by dr yaseen muhammad BKMCYaseen Muhammad
 
การทดสอบสมรรถภาพทางกาย
การทดสอบสมรรถภาพทางกายการทดสอบสมรรถภาพทางกาย
การทดสอบสมรรถภาพทางกายNun อันทวีสิน
 
Essay Writing Techniques
Essay Writing TechniquesEssay Writing Techniques
Essay Writing TechniquesSarah Sewell
 
Chap02 fsm-mpssr-ht
Chap02 fsm-mpssr-htChap02 fsm-mpssr-ht
Chap02 fsm-mpssr-htinfcom
 
Ch3 ing
Ch3 ingCh3 ing
Ch3 inginfcom
 

Viewers also liked (15)

Wiki antenas
Wiki antenasWiki antenas
Wiki antenas
 
Fme4 forensic thanatology3(scientific study of death)
Fme4 forensic thanatology3(scientific study of death)Fme4 forensic thanatology3(scientific study of death)
Fme4 forensic thanatology3(scientific study of death)
 
Slideshare
SlideshareSlideshare
Slideshare
 
การทดสอบสมรรถภาพทางกาย
การทดสอบสมรรถภาพทางกายการทดสอบสมรรถภาพทางกาย
การทดสอบสมรรถภาพทางกาย
 
Школьная форма
Школьная формаШкольная форма
Школьная форма
 
Template sample
Template sampleTemplate sample
Template sample
 
You miss 100% of the shots you
You miss 100% of the shots youYou miss 100% of the shots you
You miss 100% of the shots you
 
Danza afro
Danza afroDanza afro
Danza afro
 
Wiki antenas
Wiki antenasWiki antenas
Wiki antenas
 
Altus swift seminar final 151112
Altus swift seminar final 151112Altus swift seminar final 151112
Altus swift seminar final 151112
 
Fme6 forensic thanatology3(scientific study of death)by dr yaseen muhammad BKMC
Fme6 forensic thanatology3(scientific study of death)by dr yaseen muhammad BKMCFme6 forensic thanatology3(scientific study of death)by dr yaseen muhammad BKMC
Fme6 forensic thanatology3(scientific study of death)by dr yaseen muhammad BKMC
 
การทดสอบสมรรถภาพทางกาย
การทดสอบสมรรถภาพทางกายการทดสอบสมรรถภาพทางกาย
การทดสอบสมรรถภาพทางกาย
 
Essay Writing Techniques
Essay Writing TechniquesEssay Writing Techniques
Essay Writing Techniques
 
Chap02 fsm-mpssr-ht
Chap02 fsm-mpssr-htChap02 fsm-mpssr-ht
Chap02 fsm-mpssr-ht
 
Ch3 ing
Ch3 ingCh3 ing
Ch3 ing
 

Similar to Getting started vmware apps

Introduction to Docker
Introduction to DockerIntroduction to Docker
Introduction to DockerKnoldus Inc.
 
Docker Overview - Rise of the Containers
Docker Overview - Rise of the ContainersDocker Overview - Rise of the Containers
Docker Overview - Rise of the ContainersRyan Hodgin
 
VMware@Night Container and Virtualization
VMware@Night Container and VirtualizationVMware@Night Container and Virtualization
VMware@Night Container and VirtualizationOpvizor, Inc.
 
Lightning talk: 12 Factor Containers
Lightning talk: 12 Factor ContainersLightning talk: 12 Factor Containers
Lightning talk: 12 Factor ContainersMukhtar Haji
 
Docker Networking | Container Network Model (CNM) | Docker Tutorial For Begin...
Docker Networking | Container Network Model (CNM) | Docker Tutorial For Begin...Docker Networking | Container Network Model (CNM) | Docker Tutorial For Begin...
Docker Networking | Container Network Model (CNM) | Docker Tutorial For Begin...Edureka!
 
Distribute Development Environment by docker-compose - May 2016 Docker Meetup...
Distribute Development Environment by docker-compose - May 2016 Docker Meetup...Distribute Development Environment by docker-compose - May 2016 Docker Meetup...
Distribute Development Environment by docker-compose - May 2016 Docker Meetup...Wiredcraft
 
Docker, cornerstone of cloud hybridation ? [Cloud Expo Europe 2016]
Docker, cornerstone of cloud hybridation ? [Cloud Expo Europe 2016]Docker, cornerstone of cloud hybridation ? [Cloud Expo Europe 2016]
Docker, cornerstone of cloud hybridation ? [Cloud Expo Europe 2016]Adrien Blind
 
DevNexus 2017 - Building and Deploying 12 Factor Apps in Scala, Java, Ruby, a...
DevNexus 2017 - Building and Deploying 12 Factor Apps in Scala, Java, Ruby, a...DevNexus 2017 - Building and Deploying 12 Factor Apps in Scala, Java, Ruby, a...
DevNexus 2017 - Building and Deploying 12 Factor Apps in Scala, Java, Ruby, a...Neil Shannon
 
Docker For Windows | Setting Up Docker On Windows | Edureka
Docker For Windows | Setting Up Docker On Windows | EdurekaDocker For Windows | Setting Up Docker On Windows | Edureka
Docker For Windows | Setting Up Docker On Windows | EdurekaEdureka!
 
Introduction to Docker - VIT Campus
Introduction to Docker - VIT CampusIntroduction to Docker - VIT Campus
Introduction to Docker - VIT CampusAjeet Singh Raina
 
20170321 docker with Visual Studio 2017
20170321 docker with Visual Studio 201720170321 docker with Visual Studio 2017
20170321 docker with Visual Studio 2017Takayoshi Tanaka
 
Configuration Management and Transforming Legacy Applications in the Enterpri...
Configuration Management and Transforming Legacy Applications in the Enterpri...Configuration Management and Transforming Legacy Applications in the Enterpri...
Configuration Management and Transforming Legacy Applications in the Enterpri...Docker, Inc.
 
What is Docker | Docker Tutorial for Beginners | Docker Container | DevOps To...
What is Docker | Docker Tutorial for Beginners | Docker Container | DevOps To...What is Docker | Docker Tutorial for Beginners | Docker Container | DevOps To...
What is Docker | Docker Tutorial for Beginners | Docker Container | DevOps To...Edureka!
 
De 03 Introduction To V Cloud Api V1
De 03 Introduction To V Cloud Api V1De 03 Introduction To V Cloud Api V1
De 03 Introduction To V Cloud Api V1ikewu83
 
A Shift from Monolith to Microservice using Docker
A Shift from Monolith to Microservice using DockerA Shift from Monolith to Microservice using Docker
A Shift from Monolith to Microservice using DockerAjeet Singh Raina
 
Introduction to Docker - Vellore Institute of Technology
Introduction to Docker - Vellore Institute of TechnologyIntroduction to Docker - Vellore Institute of Technology
Introduction to Docker - Vellore Institute of TechnologyAjeet Singh Raina
 

Similar to Getting started vmware apps (20)

Introduction to Docker
Introduction to DockerIntroduction to Docker
Introduction to Docker
 
Docker Overview - Rise of the Containers
Docker Overview - Rise of the ContainersDocker Overview - Rise of the Containers
Docker Overview - Rise of the Containers
 
VMware@Night Container and Virtualization
VMware@Night Container and VirtualizationVMware@Night Container and Virtualization
VMware@Night Container and Virtualization
 
Lightning talk: 12 Factor Containers
Lightning talk: 12 Factor ContainersLightning talk: 12 Factor Containers
Lightning talk: 12 Factor Containers
 
Cloud Foundry Overview
Cloud Foundry OverviewCloud Foundry Overview
Cloud Foundry Overview
 
Docker Networking | Container Network Model (CNM) | Docker Tutorial For Begin...
Docker Networking | Container Network Model (CNM) | Docker Tutorial For Begin...Docker Networking | Container Network Model (CNM) | Docker Tutorial For Begin...
Docker Networking | Container Network Model (CNM) | Docker Tutorial For Begin...
 
Demystifying Docker101
Demystifying Docker101Demystifying Docker101
Demystifying Docker101
 
Demystifying Docker
Demystifying DockerDemystifying Docker
Demystifying Docker
 
Docker In Brief
Docker In BriefDocker In Brief
Docker In Brief
 
Distribute Development Environment by docker-compose - May 2016 Docker Meetup...
Distribute Development Environment by docker-compose - May 2016 Docker Meetup...Distribute Development Environment by docker-compose - May 2016 Docker Meetup...
Distribute Development Environment by docker-compose - May 2016 Docker Meetup...
 
Docker, cornerstone of cloud hybridation ? [Cloud Expo Europe 2016]
Docker, cornerstone of cloud hybridation ? [Cloud Expo Europe 2016]Docker, cornerstone of cloud hybridation ? [Cloud Expo Europe 2016]
Docker, cornerstone of cloud hybridation ? [Cloud Expo Europe 2016]
 
DevNexus 2017 - Building and Deploying 12 Factor Apps in Scala, Java, Ruby, a...
DevNexus 2017 - Building and Deploying 12 Factor Apps in Scala, Java, Ruby, a...DevNexus 2017 - Building and Deploying 12 Factor Apps in Scala, Java, Ruby, a...
DevNexus 2017 - Building and Deploying 12 Factor Apps in Scala, Java, Ruby, a...
 
Docker For Windows | Setting Up Docker On Windows | Edureka
Docker For Windows | Setting Up Docker On Windows | EdurekaDocker For Windows | Setting Up Docker On Windows | Edureka
Docker For Windows | Setting Up Docker On Windows | Edureka
 
Introduction to Docker - VIT Campus
Introduction to Docker - VIT CampusIntroduction to Docker - VIT Campus
Introduction to Docker - VIT Campus
 
20170321 docker with Visual Studio 2017
20170321 docker with Visual Studio 201720170321 docker with Visual Studio 2017
20170321 docker with Visual Studio 2017
 
Configuration Management and Transforming Legacy Applications in the Enterpri...
Configuration Management and Transforming Legacy Applications in the Enterpri...Configuration Management and Transforming Legacy Applications in the Enterpri...
Configuration Management and Transforming Legacy Applications in the Enterpri...
 
What is Docker | Docker Tutorial for Beginners | Docker Container | DevOps To...
What is Docker | Docker Tutorial for Beginners | Docker Container | DevOps To...What is Docker | Docker Tutorial for Beginners | Docker Container | DevOps To...
What is Docker | Docker Tutorial for Beginners | Docker Container | DevOps To...
 
De 03 Introduction To V Cloud Api V1
De 03 Introduction To V Cloud Api V1De 03 Introduction To V Cloud Api V1
De 03 Introduction To V Cloud Api V1
 
A Shift from Monolith to Microservice using Docker
A Shift from Monolith to Microservice using DockerA Shift from Monolith to Microservice using Docker
A Shift from Monolith to Microservice using Docker
 
Introduction to Docker - Vellore Institute of Technology
Introduction to Docker - Vellore Institute of TechnologyIntroduction to Docker - Vellore Institute of Technology
Introduction to Docker - Vellore Institute of Technology
 

Recently uploaded

Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...apidays
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CVKhem
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?Igalia
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Jeffrey Haguewood
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingEdi Saputra
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobeapidays
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businesspanagenda
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)wesley chun
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsNanddeep Nachan
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAndrey Devyatkin
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDropbox
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxRustici Software
 
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot ModelNavi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot ModelDeepika Singh
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...apidays
 

Recently uploaded (20)

Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot ModelNavi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 

Getting started vmware apps

  • 1. Virtualize Planet Getting Started, writing VMware APPs for novice programmers Sponsored by www.virtualizeplanet.com Author: Ricky El-Qasem: 2011
  • 2. Breaking the magicians code 11/23/2012 2
  • 3. No Programmers Allowed  I’m not a programmer  I do not speak in Fortran or C++  The point of this session is that its for novices like me www.virtualizeplanet.com 11/23/2012 3
  • 4. A word from the sponsors All apps mentioned in this presentation are not the products of Canopy Cloud. Ricky developed these apps before joining Canopy. Canopy Private Cloud Solutions Catalogue: Vertical & Horizontal Workloads Management & Orchestration vCloud Director - vSphere Canopy Appstore Canopy Cloud Infrastructure Vblock - Best-of-Breed www.virtualizeplanet.com 11/23/2012 4
  • 5. My Apps  VPsnapper = where it all started  Resource Pool Scheduler  vDisk Waste Finder  vSphere Plug-in Wizard = Best Free Tools VMworld 2011  vDisk Informer www.virtualizeplanet.com 11/23/2012 5
  • 6. Different APIs  COM API  Web server API = SDK  PowerCLI  Etc etc www.virtualizeplanet.com 11/23/2012 6
  • 7. What you need before you begin  .Net IDE = Visual Studio .Net or  Java IDE = Netbeans www.virtualizeplanet.com 11/23/2012 7
  • 8. So how did I do it?  VPsnapper I needed a way to revert the default snapshots on all my VMs with one click + COM API Document www.virtualizeplanet.com 11/23/2012 8
  • 9. VPSnapper www.virtualizeplanet.com 11/23/2012 9
  • 10. The SDK is the future  Resource Pool Scheduler •Student gave me an idea. I needed to be able to shift resource allocation from pool to pool • Once again I used the book and the SDK programmers guide but failed at stage 1 • Stage 1 was to list all VMs running • I posted my failure on VMTN = VMware Communities • Few days later VMware sent me a fixed version of my test app. • This was a huge springboard www.virtualizeplanet.com 11/23/2012 10
  • 11. Another Useful Book  Samples are in JAVA  However I found I could easily copy from JAVA to C# .NET www.virtualizeplanet.com 11/23/2012 11
  • 12. The SDK Tree ExtensibleManagedObject ManagedEntity ResourcePool ComputeResource Hostsystem Datacenter Folder VirtualMachine ClusterComputeResource www.virtualizeplanet.com 11/23/2012 12
  • 13. MOB = Managed Object Browser  https://yourserver/mob www.virtualizeplanet.com 11/23/2012 13
  • 14. How to work with the SDK  Make a connection  Filter only what you need – Proprerty Spec  Which hierarchy objects to search - Traversal Spec www.virtualizeplanet.com 11/23/2012 14
  • 15. VIMAPI in .net  2 x Dlls – import in to your code  Using Statement: www.virtualizeplanet.com 11/23/2012 15
  • 16. MOREF Managed Object Reference  You do not manipulate the VMware objects like VMs, Folders, Hosts and Datastores directly  You work with a representation of those objects known as a Managed Object Reference aka MOREF  Its all about the MOREF! www.virtualizeplanet.com 11/23/2012 16
  • 17. Data model  Managed Object Types = objects that have properties and methods  MOREF = local representation  Data Object = just pure data and no actions www.virtualizeplanet.com 11/23/2012 17
  • 18. vSphere Plug-in Wizard  Finalist in Best Free vSphere Tools VMworld 2011  Plugs in Website of your choice into vSphere Client www.virtualizeplanet.com 11/23/2012 18
  • 19. vSphere Plug-in Wizard www.virtualizeplanet.com 11/23/2012 19
  • 20. vDisk Informer  Helps you find wasted vDisk space  Helps you find misaligned vDisks  Use Gparted to fix www.virtualizeplanet.com 11/23/2012 20
  • 21. vDisk Waste Finder  Previous version of vDisk Informer  VMUG can have copy of code.  Demo www.virtualizeplanet.com 11/23/2012 21
  • 22. Extreme GUI Makeover  Before  After www.virtualizeplanet.com 11/23/2012 22
  • 23. Tips on creating a sexy GUI www.virtualizeplanet.com 11/23/2012 23
  • 24. Tips on creating a sexy GUI www.virtualizeplanet.com 11/23/2012 24
  • 25. Tips on creating a sexy GUI www.virtualizeplanet.com 11/23/2012 25
  • 26. www.virtualizeplanet.com 11/23/2012 26
  • 27. Writing Config www.virtualizeplanet.com 11/23/2012 27
  • 28. Performing an action ManagedObjectReference moref_task = _service.PowerOffVM (moref_VM, moref_Host); www.virtualizeplanet.com 11/23/2012 28
  • 29. My best tip as a novice  Take an existing example and hack it to death with trial and error until you get it working for your needs  If something doesn’t work post it on VMware's Community forum  After today code for vDisk Waste Finder will be available from my blog www.virtualizeplanet.com www.virtualizeplanet.com 11/23/2012 29
  • 30. Disclaimer: Virtualize Planet will not be held liable for any actions you perform in your environment. Anything you learn from this material should be used at your own discretion and be warned actions you perform can be damaging. Always consult a professional. www.virtualizeplanet.com 11/23/2012 30

Editor's Notes

  1. I hope you enjoyed this material and look out for my next one what ever that may be.