Managing Virtual Infrastructures With PowerShell

Loading...

Flash Player 9 (or above) is needed to view presentations.
We have detected that you do not have it on your computer. To install it, go here.

0 comments

Post a comment

    Post a comment
    Embed Video
    Edit your comment Cancel

    1 Favorite

    Managing Virtual Infrastructures With PowerShell - Presentation Transcript

    1. Date: May 4 th – 7 th , 2009 Prepared for: 2009 Virtualization Congress Managing Virtual Infrastructures with Microsoft PowerShell
    2. The Boring Stuff... 
    3. Safe Harbor Statement This presentation may contain forward-looking statements that involve risks, uncertainties and assumptions. If such risks or uncertainties materialize or such assumptions prove incorrect, the results of Rackspace Hosting could differ materially from those expressed or implied by such forward-looking statements and assumptions. All statements other than statements of historical fact are statements that could be deemed forward-looking statements, including any statements concerning expected development, performance or market acceptance associated with products; anticipated operational and financial benefits from our products and services; any statements of expectation or belief; and any statements of assumptions underlying any of the foregoing. Risks, uncertainties and assumptions include the possibility that expected benefits from our products may not materialize because they are not generally accepted in the marketplace, which could occur due to certain factors including (i) a failure to market the product cost effectively, differentiate the product from competitive products or communicate differentiations effectively, (ii) the reliability, quality or compatibility associated with the product, (iii) changes in technology which adversely effect the product’s benefit, (iv) slowdowns in the general economy or technology industry that impact consumer spending habits, and (v) internal strategy decisions that impact the product. Further information on these and other factors that could affect our financial results is included in the reports on Forms 10-K, 10-Q and 8-K and in other filings we make with the Securities and Exchange Commission from time to time. These documents are available on the SEC Filings section of the Investor Information section of our website at http://ir.rackspace.com.  Except as required by law, Rackspace Hosting assumes no obligation to update these forward-looking statements publicly, or to update the reasons actual results could differ materially from those anticipated in these forward-looking statements, even if new information becomes available in the future.
    4. Agenda
      • Introductions
      • What’s this all about?
      • Who are we?
      • PowerShell
      • PowerShell Basics
      • Differences in Toolkits 
      • Putting The Power Into Play
      • Examples
      • Demos
      • More Examples
      • Advanced Topics
      • Resources
      • Q&A
    5. What’s this all about?
    6. What can you say about any good systems administrator? They’re lazy... Why would we say this?
    7. A lot of our daily tasks are repetitive, mundane, and required!!! So how does that make a good systems administrator lazy? Using automation, scripting, and doing more with less is lazy! (Insert something about the economy ‘here’)
    8. Powershell does this! Powershell loves this! And it’s easy!
    9. Who Are We?
    10. Who are we?
      • Cody Bunch
      • Rackspace Engineer
      • Windows User
      • Virtualization Geek
      Patrick Ancillotti Rackspace Engineer *nix User Virtualization Geek but most of all... ADMINS!
    11. PowerShell?
    12. What is Powershell?
      • Wikipedia calls it : Windows PowerShell is an extensible command-line shell and associated scripting language from Microsoft. It was released in 2006 ...
      • We call it : PowerShell is geared around making your life as an ADMIN Easier. PowerShell can be used for:
      • Scripting! - Automation, Woot!
      •   Interactive Command Shell
      • GUI!
      MSDN calls it : Windows PowerShell is a new Windows command-line shell designed especially for system administrators...
    13. PowerShell & Virtualization
      • Virtualization Vendor Support for PowerShell:
        • Citrix XenServer/XenCenter http://community.citrix.com/cdn/xs/sdks
        • VMware VI Toolkit for Windows http://vmware.com/go/powershell/
        • Microsoft SCVMM http://www.codeplex.com/PSHyperV
    14. What's Different?
      • What's Different:
        • Major feature differences
        • cmdlet differences
        • Syntax changes
        • Maturity
          • VMWare!
          • Hyper-V
          • Xen
    15. Toolkit Maturity
        • VMWare!
          • Full suite of cmdlets
          • Well Supported Community
          • Well published documentation
        • Hyper-V
          • Full suite of cmdlets (SCVMM 2008)
          • Well published documentation (resources slide)
        • Xen
          • Cmdlets
          • A few random blog posts
          • Requires ‘Initialize-XenServer:Aliases’ to behave like other toolkits.
    16. Putting The Power Into Play
    17. Managing Hypervisors! - Basic Examples
        • Storage? Who Needs Storage?
      • Networking!
    18. Storage !
        • On VMware
          • New-Datastore
          • Set-Datastore
          • Remove-Datastore
        • On Xen
          • Create-Xenserver:SR
          • Set-Xenserver:SR.*
          • Destroy-SR
        • On Hyper-V
          • Handled by Windows/Undocumented...?
    19. Networking! - Virtual Switches
        • On VMware
          • New/Set/Remove-VirtualSwitch
          • New/Set/Remove-VirtualPortGroup
          • New/Set/Remove-VMHostNetworkAdaptor
        • On Xen
          • Create-Xenserver:Network
          • Set-Xenserver:Network.*
          • Destroy-Xenserver:Network
        • On Hyper-V
          • New-VirtualNetwork
          • Get/Set-VirtualNetwork
          • Remove-VirtualNetwork
    20. Demo!
    21. Managing VMs! - Basics
        • Pop a VM in the oven
          • Add VMs
          • Remove VMs
        • Whoops! Changes.
          • Add A NIC
          • Change Memory
        • Power Operations
          • Power On
          • Power Off
    22. Pop a VM in the oven.
        • On VMware
          • New-VM
          • Get-VM/Set-VM
          • Remove-VM
        • On Xen
          • Create-XenServer:VM
          • Get-XenServer:VM/Set-XenServer:VM.*
          • Destroy-XenServer:VM
        • On Hyper-V
          • New-VM
          • Get-VM/Set-VM
          • Remove-VM
    23. Whoops! Changes.
        • On VMware
          • Get-VM | Set-VM -MemoryMB 1024
          • Get-VM | New-NetworkAdaptor
        • On Xen
          • Get-Xenserver:VM | Set-Xenserver:VM.MemoryStaticMax -Value 1024
          • Dunno
        • On Hyper-V
          • Get-VM | Set-VM -MemoryMB 1024
          • Get-VM | New-VirtualNetworkAdaptor
      They happen, heres how you would change memory & network info on a VM
    24. Feel The Power! - Power Operations
        • On VMware
          • Get-VM -Name $Name | Start-VM
          • Get-VM -Name $Name | Stop-VM
        • On Xen
          • Get-XenServer:VM | Invoke-XenServer:VM.start
          • Get-XenServer:VM | Invoke-XenServer:VM.hardshutdown
        • On Hyper-V
          • Get-VM -Name $Name | Start-VM
          • Get-VM -Name $Name | Shutdown-VM
          • Get-VM -Name $Name | Stop-VM
    25. Demo!
    26. Advanced Topics
    27. Feel The Power! Advanced Stuff!
      • Mass Deploy
      • Deploy from CSV!
      • E-mail Reports
      • How Many Chickens?
    28. Demo!
    29. Feel The Power! - Community...
      •  
      • Funky stuff that other people have done: 
      • VMware vDiagram
        • ( http://teckinfo.blogspot.com/2009/01/vdiagram-document-your-vi-with-one.html )
      • VMware Health Check Script
        • ( http://www.ivobeerens.nl/?p=256 )
      • VMware Blue Screen Detector
        • ( http://www.nt pro.nl/blog/archives/1100-Virtu al-Machine-Blue-Screen-detector.html )
      • And more coming....
    30. Resources!
    31. Where to from here?
      • http://www.thepowershelltalk.com - Coming Soon!!! Slide Deck, Code Demonstrated, Video Tutorials, Podcast, and more.
      • Forums!
      • IRC!
      • Community Blogs!
      • And many more!!!
    32.  
    33. Q & A
    34. That’s all folks!

    + guesta849bc8bguesta849bc8b, 6 months ago

    custom

    1129 views, 1 favs, 5 embeds more stats

    The slide deck from VC 101: Managing Virtual Infras more

    More info about this document

    © All Rights Reserved

    Go to text version

    • Total Views 1129
      • 865 on SlideShare
      • 264 from embeds
    • Comments 0
    • Favorites 1
    • Downloads 23
    Most viewed embeds
    • 164 views on http://www.ntpro.nl
    • 91 views on http://thepowershelltalk.com
    • 7 views on http://ntpro.nl
    • 1 views on http://www.nirsoft.net
    • 1 views on http://www.vmworld.com

    more

    All embeds
    • 164 views on http://www.ntpro.nl
    • 91 views on http://thepowershelltalk.com
    • 7 views on http://ntpro.nl
    • 1 views on http://www.nirsoft.net
    • 1 views on http://www.vmworld.com

    less

    Flagged as inappropriate Flag as inappropriate
    Flag as inappropriate

    Select your reason for flagging this presentation as inappropriate. If needed, use the feedback form to let us know more details.

    Cancel
    File a copyright complaint
    Having problems? Go to our helpdesk?

    Categories