Dutch VMUG 2010 PowerCLI Presentation
Upcoming SlideShare
Loading in...5
×
 

Dutch VMUG 2010 PowerCLI Presentation

on

  • 1,664 views

The presentation given at the Dutch VMUG in 2010 by Alan Renouf and Luc Dekens

The presentation given at the Dutch VMUG in 2010 by Alan Renouf and Luc Dekens

Statistics

Views

Total Views
1,664
Views on SlideShare
1,451
Embed Views
213

Actions

Likes
0
Downloads
54
Comments
0

8 Embeds 213

http://www.virtu-al.net 118
http://xtravirt.com 86
url_unknown 2
http://old.xianguo.com 2
http://www.linkedin.com 2
http://www.netvibes.com 1
http://feeds2.feedburner.com 1
https://www.linkedin.com 1
More...

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment
  • Alans Slide

Dutch VMUG 2010 PowerCLI Presentation Dutch VMUG 2010 PowerCLI Presentation Presentation Transcript

  • PowerCLI is for Administrators
    Luc Dekens
    Alan Renouf
    terry.mathew@bell.ca
  • Who are we ?
    Alan
    • vExpert 2009 & 2010
    • EMC vSpecialist
    • Blog http://www.virtu-al.net/
    • Podcast http://get-scripting.blogspot.com/
    Luc
    • vExpert 2009 & 2010
    • Eurocontrol Maastricht
    • Blog http://lucd.info/
    • LucD on the VMTN PowerCLI community
  • What is PowerShell
    • PowerShell is for System Administrators
    • PowerShell is the universal language for Windows datacenters
    • GUI interfaces are single purpose and rigid
    • Microsoft Common Engineering Criteria program
    • Cmdlets are in a Verb-Noun format
    • Microsoft making admin tasks PowerShell enabled
    • Exchange
    • SQL Server
    • IIS 7
    • More
    • PowerShell is the Glue between your infrastructure
  • What is PowerCLI
    • PowerCLI is a Snapin for PowerShell
    • PowerCLI 4.1 U1 adds 258 cmdlets to PowerShell
    • PowerCLI is built on the vSphere APIs
    • PowerCLI is for all your vSphere administration tasks
    • Active Community: PowerShell and PowerCLI
  • VMware vSphere PowerCLI Reference: Automating vSphere Administration
    Introduction1 Automating vCenter Deployment and Configuration
    2 Automating ESX/ESXi Server Deployment and Configuration
    3 Automating Storage and Networking
    4 Using Advanced vSphere Features
    5 Creating virtual machines
    6 Templates and Customisation Specifications
    7 Configuring Virtual Machine Hardware
    8 Advanced Virtual Machine Features
    9 Using vApps10 Backup and Restore your Virtual Machines
    11 Organize your Disaster Recovery12 Hardening the vSphere Environment
    13 Maintain Security in Your vSphere Environment           
    14 Report the Status of Your vSphere Environment
    15 Using Statistical Data
    16 Monitoring the vSphere Environment
    17 Auditing the vSphere Environment
    18 Schedule Automation Scripts
    19 The SDK
    20 The Onyx Project   
    21 PowerGUI and vEcoShell22 PowerWF Studio
    23 Add a GUI Frontend to Your Automation ScriptsAppendices
    • Luc Dekens
    • Alan Renouf
    • Arnim Van Lieshout
    • Jonathan Medd
    • Glenn Sizemore
    • Released early 2011
    • Today's examples are from the book
  • Today's Scenario
    A DR site needs to be setup as our current DC keeps getting snowed in.
    Our pointy haired manager has bought us a Vblock in a hosted DC and now we need to set it up.
    We have drawn a quick outline of the things we need to do and automate the process so if things go wrong in live we can minimise the amount of downtime to our production systems.
    Our Mission is to build a virtual environment in an hour - and show you !
  • Automating ESX Hosts
    Initial Config
    • 80% - 90% configuration included in installation
    • Linux Kickstart
    Post config
    • %post%
    • Host Profiles (Ent +) - $$$$
    • PowerCLI
    • Storage
    • Networking
    • Advanced Features
    DEMO
  • Automating vCenter
    The vCenter is a complex structure
    • Datacenters
    • Folders
    • Roles
    • Permissions
    • Alarms
    DEMO
  • Folder structure
    Export-Folders"Blue""DC1""C:BlueFolders.csv"
    Import-Folders-FolderType"blue"-DC"DC2"`
    -Filename"C:BlueFolders.csv"
  • Alarms
    • Alarm = Complex Managed Object
    • No export/import cmdlets
    • Serialising/deserialing objects
    • Simple solution !
    DEMO
  • vCenter database backup & restore
    • PowerShell is the universal language !
    • As part of the migration
    • … or as a part of your DR procedure
    DEMO
  • Automating Virtual Machines
    Creating Virtual Machines
    • Automated VM Creation
    • Interaction with the guest OS
    • WMI
    • PowerShellRemoting
    • Invoke-VMScript
    • Testing VMotion and SVMotion
    • Move-VM
    • Backups
    DEMO
  • Reporting
    • Is the entry point for most PowerCLI users
    • Numerous possibilities !
    • Example: PCI information
  • Monitoring
    • Most vSphere activity generates events
    • Normally retro-active
    • Can be done ‘direct’
    • Showcase for the integration with WinForms
    DEMO
  • PowerCLI Poster
    • They are big !
    • Easy to fold
  • Support and Training
    VMware vSphere Automation
    2 day instructor led course, 40% Lecture, 60% hands on lab
    Available worldwide, use PSO credits
    http://vmware.com/go/vsphereautomation
    VMware Scripting and SDK Support
    Dedicated help when developing scripts / applications
    Expert API engineers happy to help
    http://vmware.com/go/sdksupport
  • Q & A
    • Do you use PowerCLI ?
    • Why not ?
    • What is holding you back ?
    • Are you blocked in a PowerCLI script ?
    • Do you have tasks you cant do with PowerCLI ?