© 2014 VMware Inc. All rights reserved My Slides from VMware vSphere: Optimize and Scale.

Slides:



Advertisements
Similar presentations
7-1 Configure Software Initiator: Enable Topic 1: iSCSI Storage (GUI & Command Line) Enable the iSCSI initiator, the iSCSI name and alias are automatically.
Advertisements

© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 3: VLANs Routing & Switching.
© 2010 VMware Inc. All rights reserved Confidential Performance Tuning for Windows Guest OS IT Pro Camp Presented by: Matthew Mitchell.
1 © 2004, Cisco Systems, Inc. All rights reserved. CCNA 3 v3.1 Module 6 Switch Configuration.
Managing Your Network Environment © 2004 Cisco Systems, Inc. All rights reserved. Managing Cisco IOS Devices INTRO v2.0—9-1.
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment Chapter 8: Implementing and Managing Printers.
Introducing VMware vSphere 5.0
Virtualization Infrastructure Administration Cluster Jakub Yaghob.
Storage Management Module 5.
© 2010 VMware Inc. All rights reserved VMware ESX and ESXi Module 3.
VMware is a registered trademark of VMware, Inc. (an EMC company).
High Availability Module 12.
VMware vCenter Server Module 4.
Scalability Module 6.
© 2012 The McGraw-Hill Companies, Inc. All rights reserved. 1 Third Edition Chapter 3 Desktop Virtualization McGraw-Hill.
1 © 2001, Cisco Systems, Inc. All rights reserved. Session Number Presentation_ID 8.6(2) OVAs UCBU Platform Team.
© 2009 Cisco Systems, Inc. All rights reserved. SWITCH v1.0—2-1 Implementing VLANs in Campus Networks Applying Best Practices for VLAN Topologies.
1 Some Context for This Session…  Performance historically a concern for virtualized applications  By 2009, VMware (through vSphere) and hardware vendors.
About the Presentations The presentations cover the objectives found in the opening of each chapter. All chapter objectives are listed in the beginning.
Hands-On Microsoft Windows Server 2008

© 2012 The McGraw-Hill Companies, Inc. All rights reserved. 1 Third Edition Chapter 6 Today’s Windows Windows Vista and Windows 7 McGraw-Hill.
How to Resolve Bottlenecks and Optimize your Virtual Environment Chris Chesley, Sr. Systems Engineer
Hands-On Virtual Computing
1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 3 v3.0 Module 6 Switch Configuration.
11 SYSTEM PERFORMANCE IN WINDOWS XP Chapter 12. Chapter 12: System Performance in Windows XP2 SYSTEM PERFORMANCE IN WINDOWS XP  Optimize Microsoft Windows.
Storage Module 6.
VSP1999 esxtop for Advanced Users Name, Title, Company.
Cisco Confidential © 2010 Cisco and/or its affiliates. All rights reserved. 1 MSE Virtual Appliance Presenter Name: Patrick Nicholson.
A powerful network monitoring system
VI3 Command Line Changes Jeremy van Doorn Systems Engineer Danny Claproth Channel Systems Engineer.
MICROSOFT HYPER-V 2012 Presentation By:- Danish Khan.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public ITE PC v4.0 Chapter 1 1 Static Routing Routing Protocols and Concepts – Chapter 2.
Hands-On Virtual Computing
© 2012 The McGraw-Hill Companies, Inc. All rights reserved. 1 Third Edition Chapter 6 Today’s Windows Windows Vista and Windows 7 McGraw-Hill.
VSphere 5 – Maximums – Virtual Machine Compute vCPUs per VM 32 Memory vRAM per VM 1TB Swap per VM 1TB Storage SCSI Adapto rs per VM 4 SCSI Targets per.
Gary Cochrane VMware Tips for AE’s. VMWare Tips Topics −VMware Shrink −Resetting after a demo or training class −Performance tips.
1 15-Mar-16 VLAN Trunking protocol CCNA Exploration Semester 3 Chapter 4.
Virtual Machines Module 2. Objectives Define virtual machine Define common terminology Identify advantages and disadvantages Determine what software is.
Introduction to Exadata X5 and X6 New Features
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.
© 2015 VMware Inc. All rights reserved. Creating Virtual Machines Module 3.
From VMware to Proxmox Federico Calzolari Scuola Normale Superiore - INFN Pisa.
© 2002, Cisco Systems, Inc. All rights reserved..
2V0-621 VMware Certified Professional 6 - Data Center Virtualization Beta.
Open-E DSS V6 MPIO with VMware ESXi 4.x Software Version: DSS ver up55 Presentation updated: August 2011.
“Geek Out”: DIY vSphere 5.1 Lab Hartford / CT VMware User Group March 28 th, 2013 Matt Kozloski.
VIRTUAL MACHINE – VMWARE. VIRTUAL MACHINE (VM) What is a VM? – A virtual machine (VM) is a software implementation of a computing environment in which.
VMware Solutions To Access EXSi Server & Virtual Machine Consoles Presented By: Opvizor
Virtualization With:. Virtualization With: What Kind of Virtualization? Full virtualization Platform Resource.
VMware ESX and ESXi Module 3.
vSphere 6 Foundations Beta Question Answer
Installing VMware ESX and ESXi
VSPHERE 6 FOUNDATIONS BETA Study Guide QUESTION ANSWER
User Portal Error Messages
Bruno Giovanini Manesco © 2016
Chapter 5: Switch Configuration
Creating a Windows Server 2012 R2 Datacenter Virtual machine
Creating a Windows Server 2016 Datacenter Virtual machine
Creating a Windows 7 Professional SP1 Virtual machine
Optimizing SQL Server Performance in a Virtual Environment
2V0-622 Dumps PDF VMware Certified Professional 6.5 ? Data Center Virtualization (6.5) Exam 2V0-622 Dumps2V0-622 Exam Dumps2V0-622 dumps pdf2V0-622 braindumps.
2018 Real Huawei H Exam Questions Killtest
2018 Valid H Huawei Exam Dumps IT-Dumps
Chapter 5: Switch Configuration
“Geek Out”: DIY vSphere 5.1 Lab
HC Hyper-V Module GUI Portal VPS Templates Web Console
Successfully Virtualizing SQL Server on vSphere: Straight from the Source M2 technical Deck ( ) Randy Knight SQL Solutions Group Founder.
Presentation transcript:

© 2014 VMware Inc. All rights reserved My Slides from VMware vSphere: Optimize and Scale

1-2 © 2014 VMware Inc. All rights reserved VMware vSphere: Optimize and Scale Found at  PrepForVCP-DCV.zip (Prep for VCP)  VCAP-DCA.zip (Prep for VCAP)  vSphere_Perf.zip (Performance Documents) Additional student materials

1-3 © 2014 VMware Inc. All rights reserved VMware vSphere: Optimize and Scale vSphere Management Assistant includes the following commands:  Esxcli (Both)  Resxtop (vMA) esxtop (SSH)  Svmotion (Both)  vicfg- commands (vMA)  esxcfg- commands (deprecated) (Both)  Vifs (vMA)  Vihostupdate (Cannot be used with ESXi 5.0 or later)  Vmkfstools (Both)  vmware-cmd (vMA)  vim-cmd (SSH) vSphere Management Assistant & SSH Commands

1-4 © 2014 VMware Inc. All rights reserved VMware vSphere: Optimize and Scale Use vim-cmd commands from ESI Shell or SSH ESXi Shell & SSH Get a list of VMs on a host vim-cmd vmsvc/getallvms Unregister a VM vim-cmd vmsvc/unregister vmid Delete a VM vim-cmd vmsvc/destroy vmid Determine if a VM has a snapshot vim-cmd vmsvc/get.snapshot vmid Take a snapshot of a VM vim-cmd vmsvc/snapshot.create vmid snapshot_name Remove a snapshot of a VM vim-cmd vmsvc/snapshot.remove vmid Get the current power state of a VM vim-cmd vmsvc/power.getstate vmid Get the uptime for a VM vim-cmd vmsvc/get.summary vmid |grep uptimeSeconds Power on a VM vim-cmd vmsvc/power.on vmid Shutdown a VM vim-cmd vmsvc/power.shutdown vmid Power off a VM esxcli vm process kill –w world_id vim-cmd vmsvc/power.off vmid Reboot a VM vim-cmd vmsvc/power.reboot vmid Reset a VM vim-cmd vmsvc/power.reset vmid Upgrade VMware Tools in a VM vim-cmd vmsvc/tools.upgrade vmid Display the IP address of a VM vim-cmd vmsvc/get.guest vmid |grep -m 1 "ipAddress = \""

1-5 © 2014 VMware Inc. All rights reserved VMware vSphere: Optimize and Scale Use the esxcli command with the network vswitch standard namespace:  esxcli conn_options network vswitch standard cmd_options Examples:  To set the maximum transmission unit size: esxcli –-server esxi02 network vswitch standard set --mtu= vswitch-name=vSwitch5 esxcli network vswitch standard set –m 9000 –v vSwitch5  To set the Cisco Discovery Protocol status: esxcli –-server esxi02 network vswitch standard set --cdp-status=advertise --vswitch-name=vSwitch5 esxcli network vswitch standard set –c advertise –v Switch5 (or –c listen, -c both, -c down) esxcfg-vswitch –B both vSwitch1 Setting Virtual Switch Attributes

1-6 © 2014 VMware Inc. All rights reserved VMware vSphere: Optimize and Scale Use the esxcli command with the network vswitch standard namespace:  esxcli conn_options network vswitch standard cmd_options Examples of using esxcli:  To create a standard switch: esxcli –-server esxi02 network vswitch standard add –-vswitch-name=vSwitch5 SSH: esxcfg-vswitch –a vSwitch5  To list information about a standard switch: esxcli –-server esxi02 network vswitch standard list –-vswitch-name=vSwitch5 SSH: esxcfg-vswitch -l  To delete a standard switch: esxcli –-server esxi02 network vswitch standard remove –-vswitch-name=vSwitch5 SSH: esxcfg-vswitch –d vSwitch5 You can also use the vicfg-vswitch command. See examples in the notes. Listing, Creating, and Deleting Standard Switches

1-7 © 2014 VMware Inc. All rights reserved VMware vSphere: Optimize and Scale Use the esxcli command with the network vswitch standard portgroup namespace:  esxcli conn_options network vswitch standard portgroup cmd_options Examples:  To list port groups on all standard switches: esxcli –-server esxi02 network vswitch standard portgroup list  To add a port group to a standard switch: esxcli –-server esxi02 network vswitch standard portgroup add --portgroup-name=TestDev --vswitch-name=vSwitch5 esxcli network vswitch standard portgroup add –p TestDev –v vSwitch5  To remove a port group from a standard switch: esxcli –-server esxi02 network vswitch standard portgroup remove --portgroup-name=“VM Network” --vswitch-name=vSwitch0 You can also use the vicfg-vswitch command. See examples in the notes. Listing, Adding, and Removing Port Groups

1-8 © 2014 VMware Inc. All rights reserved VMware vSphere: Optimize and Scale Device driver queue depth determines how many commands to a given LUN can be active at one time. Set device driver queue depth size properly to decrease disk latency.  Qlogic adapters depth of queue is 64 (default)  Other brands depth of queue is 32 (default).  Maximum recommended queue depth is 64. Set Disk.SchedNumReqOutstanding to the same value as the queue depth. Device Driver Queue Depth Set LUN queue depth to its maximum: 64. ESXi 5.1 & earlier

1-9 © 2014 VMware Inc. All rights reserved VMware vSphere: Optimize and Scale ESXi 5.5 To check the current value for a device,run the command: esxcli storage core device list -d naa.xxx Note: The value appears under No of outstanding IOs with completing worlds: To modify the current value for a device,run the command esxcli storage core device set -d naa.xxx -O Value Where Value is between 1 and 256 Source: KB Article 1258

1-10 © 2014 VMware Inc. All rights reserved VMware vSphere: Optimize and Scale vscsiStats  -l List running virtual machines and their world IDs (worldGroupID).  -s Start vscsiStats data collection.  -x Stop vscsiStats data collection.  -p* Print histograms, specifying histogram type.  -c Produce results in a comma-delimited list.  -h Display help menu for more information about command-line parameters.  -w Specify worldGroupID * Followed by all, ioLength, seekDistance, outstandingIOs, latency or interarrival (Case sensitive) Running vscsiStats

1-11 © 2014 VMware Inc. All rights reserved VMware vSphere: Optimize and Scale Configure the BIOS: 1.Check for latest BIOS version 2.Enable  H.A.V  Hyperthreading  NUMA  All Sockets  Enable NX/XD 3.Disable unused devices  USB, Serial, Parallel, etc 4.Set power management to OS controlled 5.Consider turning off Dynamic Voltage & Frequency Scaling  Intel SpeedStep or AMD PowerNow VMware Best practices for configuring ESXi hosts

1-12 © 2014 VMware Inc. All rights reserved VMware vSphere: Optimize and Scale VM “A” Boots up. Vmk assigns it memory pages. VM “B” Boots up. Vmk assigns it memory pages. How TPS Works The vmkernel hashes each memory page. If redundant pages are verified, then the vmkernel will map both hosts to the same page Thus freeing up pages and making more memory available Memory pages on an ESXi host

1-13 © 2014 VMware Inc. All rights reserved VMware vSphere: Optimize and Scale Example of ESXi Host with 512 GB of RAM Take the first 4 GB of RAM x 6% = 246 MB Next 4 to 12 GB is 8GB x 4 = 328 MB Next 12 to 28 GB is 16 GB x 2% = 328 MB Any amount above 28 GB x 1% Take 512 – 28 = 484 x 1% = 4842 MB Base Total 5742 MB If free memory is > 64% of base (5742 x 64% = 3098 MB Free) = High If free memory is between 32 & 64% of base then state is Soft If free memory is between 16 & 32% of base then state is Hard If free memory is less than 16% of base then state is Low Example of Calculating MinFreePct

1-14 © 2014 VMware Inc. All rights reserved VMware vSphere: Optimize and Scale VM Overhead Prior to vSphere 5.0 vSphere VM overhead is now swapped to vms vswp