Jonathan Medd.  Je ne suis pas Alan Renouf  Today’s theme is simple and practical examples to improve the management of your VMware Infrastructure 

Slides:



Advertisements
Similar presentations
Housekeeping Utilities for VMware. 11 June Housekeeping is preparing meals for oneself and family and the managing of other domestic concerns.
Advertisements

© 2010 Quest Software, Inc. ALL RIGHTS RESERVED Quest vRanger / Architecture.
Virtual Machine Technology Dr. Gregor von Laszewski Dr. Lizhe Wang.
Resource Shares Dynamic resource management
12-1 VMware HA in Action VC Server ESX Server Virtual Machine B Virtual Machine C ESX Server Virtual Machine D Virtual Machine A Virtual Machine E Virtual.
Developing a Virtual Machine Conversion Strategy Nicola Ferrini IT PRO Trainer
© 2009 VMware Inc. All rights reserved Confidential VMware Data Protection Integration Overview Paul Vasquez – Staff Technologist – Backup and Recovery.
Veeam Backup & Replication v7 Deep Dive Anton Gostev, Veeam Software Doug Hazelman, Veeam Software BCO5362 #BCO5362.
© 2010 VMware Inc. All rights reserved Confidential Performance Tuning for Windows Guest OS IT Pro Camp Presented by: Matthew Mitchell.
Capacity and Chargeback Virtual Appliance for VMware ESX October 23, 2007 Alex Bakman.
VMware and automation within Sky Douglas Carson, March 2012.
James Boother Blog: INTRODUCTION TO POWERSHELL.
By Aaron Nelson I blog at SCVMM This!. Why Virtualize Four components make virtualization very compelling. * (to me) Live Migration – If you need to switch.
Getting Started with PowerCLI and VMware Jeffery Hicks Consultant ~ Trainer ~ Author Level: Introductory.
Microsoft virtual machine converter
Managing Active Directory with PowerShell JOSEPH MOODY.
Offering your Windows Server Class Online. Tony Basilico Community College of Rhode Island
Introducing VMware vSphere 5.0
Virtualization Infrastructure Administration Cluster Jakub Yaghob.
Virtualization – to cluster or not to cluster 4/17/2012.
© 2010 VMware Inc. All rights reserved VMware ESX and ESXi Module 3.
High Availability Module 12.
VMware vCenter Server Module 4.
MODULE 2: INSTALLING UNIDESK. Agenda Understanding Unidesk components Basic Installation of Unidesk Licensing.
Virtual Machine Management
Virtualization Performance H. Reza Taheri Senior Staff Eng. VMware.
VMware vSphere 4 Introduction. Agenda VMware vSphere Virtualization Technology vMotion Storage vMotion Snapshot High Availability DRS Resource Pools Monitoring.
Debunking the Top 10 Myths of Small Business Server: Using Windows SBS in Larger Environments Abstract: This session will debunk some of the common myths.
Using Virtualization in the Classroom. Using Virtualization in the Classroom Session Objectives Define virtualization Compare major virtualization programs.
Version Control with git. Version Control Version control is a system that records changes to a file or set of files over time so that you can recall.
Tales from the Trenches About
© 2010 VMware Inc. All rights reserved Access Control Module 8.
Access Control Module 8. Module You Are Here VMware vSphere 4.1: Install, Configure, Manage – Revision A vSphere Environment Introduction to VMware.
Chapter 10 : Designing a SQL Server 2005 Solution for High Availability MCITP Administrator: Microsoft SQL Server 2005 Database Server Infrastructure Design.
About the Presentations The presentations cover the objectives found in the opening of each chapter. All chapter objectives are listed in the beginning.

Virtualization. ABCs Special software: hypervisors or virtual machine managers Guest OS (virtual machine) sits on top of host OS (Win 7 in our case) We.
Chapter 18: Windows Server 2008 R2 and Active Directory Backup and Maintenance BAI617.
Chapter 8 Implementing Disaster Recovery and High Availability Hands-On Virtual Computing.
VSolution Playbook VIRTUALIZED SAN SOLUTION FOR VMWARE SMB.
Planning and Designing Server Virtualisation.
Tivoli Storage Manager for Virtual Environments 7.1.1
Using PowerCLI to automate your VMware vSphere environment 4th DuPSUG meeting, Amsterdam, April 2 nd, 2014 Robert van den Nieuwendijk.
Adam Duffy Edina Public Schools.  Traditional server ◦ One physical server ◦ One OS ◦ All installed hardware is limited to that one server ◦ If hardware.
Never Down? A strategy for Sakai high availability Rob Lowden Director, System Infrastructure 12 June 2007.
Using Virtual Servers for the CERN Windows infrastructure Emmanuel Ormancey, Alberto Pace CERN, Information Technology Department.
11 DISASTER RECOVERY Chapter 13. Chapter 13: DISASTER RECOVERY2 OVERVIEW  Back up server data using the Backup utility and the Ntbackup command  Restore.
The Top 10 Virtual Configurations You SHOULDN'T Implement Tom Howarth Owner PlanetVM.NET Pre-requisites for this presentation: 1) General understanding.
Server Virtualization & Disaster Recovery Ryerson University, Computer & Communication Services (CCS), Technical Support Group Eran Frank Manager, Technical.
Virtualization Infrastructure Administration Other Jakub Yaghob.
VMware vSphere Configuration and Management v6
Project Name Program Name Project Scope Title Project Code and Name Insert Project Branding Image Here.
Peter Couvares Associate Researcher, Condor Team Computer Sciences Department University of Wisconsin-Madison
© Copyright 2011 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. HP Restricted Module 7.
Alessandro Cardoso, Microsoft MVP Creating your own “Private Cloud” with Windows 10 Hyper- V WIN443.
Hands-On Virtual Computing
CEG 2400 FALL 2012 Windows Servers Network Operating Systems.
REMINDER Check in on the COLLABORATE mobile app Best Practices for Oracle on VMware - Deep Dive Darryl Smith Chief Database Architect Distinguished Engineer.
VMware Certified Professional 6-Data Center Virtualization Beta 2V0-621Exam.
Your current Moodle 1.9 Minimum Requirements Ability to do a TEST RUN! Upgrading Moodle to Version 2 By Ramzan Jabbar Doncaster College for the Deaf By.
1 SQL Server on VMware? Rob Mandeville Senior DBA, Confio Software 1 Virtualizing Our Environment: Lessons Learned Rob Mandeville.
vSphere 6 Foundations Exam Training
VMware vSphere 4.0 Preventive & Maintenance. Agenda Preventive & Maintenace Storage/Datastore ESX Host Performance Monitoring ESX Maintenance User Access.
Guide to Operating Systems, 5th Edition
VMware ESX and ESXi Module 3.
Administration Tools Cluster.exe is a command line tool that you can use for scripting or remote administration through slow WAN links. Cluadmin.exe is.
Debunking the Top 10 Myths of Small Business Server: Using Windows SBS in Larger Environments Abstract: This session will debunk some of the common myths.
Guide to Operating Systems, 5th Edition
PowerShell Best Practices for SQL DBA’s
Making PowerShell Useful
Presentation transcript:

Jonathan Medd

 Je ne suis pas Alan Renouf  Today’s theme is simple and practical examples to improve the management of your VMware Infrastructure  What’s New?  Reporting  Useful One-Liners / Short Scripts  Project Onyx  VESI

Buy this book Two ebook copies to give away to those who ask / answer questions

You should also get this Practical PowerCLI examples side-by-side vSphere topics

PowerCLI 4.0 U1 is out!  More than 60 new cmdlets since the last release earlier this year  Cmdlet reference is now online  vSphere PowerCLI Administration Guide  Virtu-Al’s summary of the new cmdlets

A few of the new cmdlets  Set-PowerCLIConfiguration - DefaultServerMode multiple  Stop-VMHost Server01 -Confirm (or –whatif) ;-)  Set-HardDisk -HardDisk $hd - CapacityKB $extendedCapacity - HostCredential $ hostCred - GuestCredential $guestCred

PowerShell 2.0 is out!  More than 100 new cmdlets since v1.0  Installed by default in Windows 7 / Server 2008 R2  New features: Remoting, Advanced Functions, Background Jobs, ISE

vCheck (Daily Report)  Schedule this report to run every day in your environment  Have a person dedicated to working through highlighted issues each day – if possible rotate between team members, say weekly 

vCheck

vCheck – New in V3

vCheck Examples - Snapshots  Do you know every old Snapshot you have?  Hassle the Snapshot Creator  Manage those which are required to be kept

vCheck Examples – Too Many CPU’s  Weren’t aware of these until they turned up in the daily report  Could potentially cause some unnecessary high CPU %RDY times  All now down to 2 x vCPU

vCheck Examples – VM’s on Local Storage  Often created ‘temporarily’ whilst waiting for SAN space. Still there months later.  Could effect host maintenance since can’t be VMotioned

Find Host Version and Build  Get-VMHost | Get-View | | Sort-Object Name | Export-Csv C:\Scripts\Hosts.csv - NoTypeInformation Demo: Get-View Exploring

Who’s seen one of these? Or three in one month? Three different servers, same model, same ESX version, same CPU error

Find Vendor, Model and Bios  Get-VMHost | Get-View | @{N="Bios Date";E={$_.hardware.biosinfo.releasedate}} | Sort-Object Name | Export-Csv C:\Scripts\Bios.csv - NoTypeInformation Note: Some vendors don’t seem to be populating this information for all models

SVMotion  Moved entire production infrastructure between SAN’s in different data centres with no downtime simply by scheduling these commands  Get-VM Server01 | Move-VM –Datastore (Get-DataStore Datastore10)  Combine with Import-CSV to make it even easier for large batches  Watch out for VM’s with multiple disks in different datastores if you have multiple target datastores

Slot Size  What are ESX Slot Sizes?  ‘Prevent VMs from being powered on if they violate availability constraints’  Cluster with seemingly plenty of capacity won’t power on VM’s.  Watch out for ‘expensive’ VM’s with CPU or Memory reservations, and / or vSMP

Slot Size Code

Project Onyx from PowerCLI team  Currently in Alpha  Think Macro Recorder for Excel  Best for automating things that can’t be automated using native PowerCLI cmdlets  Beats having to read the API documentation Project Onyx Demo

The VESI  Offshoot from Quest PowerGUI tool  PowerShell scripts bundled up into a GUI interface  Great for beginners to use PowerShell scripts before getting to grips with writing your own  Great for more advanced scripters wishing to share code VESI Demo

Resources     PowerCLI community forum