To vBlock or not to vBlock

EMC vBlock is great way to reduce the overhead of complex Infrastructure installs and to reduce mistakes. But, it comes at extremely high cost and vendor lock in.. (Cisco,EMC, VMware!!!) Mercedes Mclaren of Technology Vendors!

 

My advice is, copy the vBlock reference architecture and do it your self and save a ton of money..

Partner link for VCE – http://www.vceportal.com/

3D vBlock – http://www.emc.com/campaign/global/vce/kaon/index.htm

Reference Architecture – http://www.emc.com/collateral/hardware/technical-documentation/h6935-vblock-infra-packages-ref-arc.pdf

Good interview with EMC – http://chucksblog.emc.com/chucks_blog/2009/11/behind-the-vblock.html

VMware Commands and Tricks

Commands

(Double TAB in console will display full list of VMware Commands)

  • VMKPing
  • VMware bootable CPUID utility
  • cp (Unix Copy command for VM files)
  • vmkfstools -i *.vmdk *.vmdk (copy VM Disk files)
  • esxcfg -firewall -o 456,tcp,out,out-smtps
  • vm-support –X (Kill VM)
  • vmkdump–l <core_dump_file>
  • service firewall restart
  • esxcfg-firewall -r (reset firewall)
  • service
  • ps -ef | grep hostd
  • excfg -info
  • excfg -vswitch
  • esxupdate
  • esxcli
  • tcpdump
  • cpuid
  • esxtop/resxtop
  • service mgmt-vmware status
  • vmkload_mod -u nfsclient
  • vmkload_mod -u vmfs2
  • /bin/vim-cmd vmsvc/getallvm
    /bin/vim-cmd vmsvc/power.on <vmid> — or you could use power.off / power.reset / power.getstat

    /bin/vim-cmd vmsvc/getallvm/bin/vim-cmd vmsvc/power.on <vmid> — or you could use power.off / power.reset / power.getstat

  • Boot edit *.vmx file and add bios.bootDelay = “boot delay in milliseconds”

vSphere Documenters

Review scripts and Tools to document vSphere

VI Power Documenter

http://blog.scottlowe.org/2008/12/05/installing-the-vi-power-documenter/

http://communities.vmware.com/docs/DOC-7473

vCheck5

http://www.virtu-al.net/script-list/#Reporting

vDiagram

http://www.virtu-al.net/2009/01/26/vdiagram-draw-your-vi-with-one-script/

Virtual Environment Overview Report

http://communities.vmware.com/docs/DOC-7422

http://www.veeam.com/vmware-esx-reporting_enterprise.html

Report in MS Word

http://communities.vmware.com/docs/DOC-7070

Visio Automagic

http://www.commandbreak.com/2007/10/14/VisioPowershellAutomagic.aspx

Some other vmware scripts for reporting

  • LucD – Guest Provisioning System (cloning from templates)
  • tzamora – Vmware Infraestructure Power Documenter
  • esloof – Dynamic Resource Pool Calculator
  • rt7500 – VI-Cluster-Audit
  • Kyle Weir – VM Service Report v1.0
  • GordonG – Virtual Machine Failover
  • shambo – PowerAlarm Manager
  • rsgqjj – Get-VIReports
  • Adidas6 – Virtual Environment Overview Report
  • slx86 – clonevdi
  • ibeerens – VMware Healthcheck script
  • dbbaskette – powerVDI
  • CSummers311 – Rescan HBAs
  • olan025 ESXi – Builder
  • Jonwalz – Get-VDMData
  • justingrote – Create Disaster Recovery Hard Drive
  • tobru – VCB Backup Script
  • ITS_TDT – Business Continuity Roll over Script
  • RobMokkink – Deploy VM’s based on a template from a .csv
  • alanrenouf – Report into MS Word
  • MorDrakka – Find Orphaned VMDK’s
  • hugopeeters – Get-StorageInfo 85
  • ewmccarty – function destroy-network
  • RobMokkink – Add/Remove active directory user accounts
  • ewmccarty – Shutdown VM in specific Resource Pools
  • Chris Uys – Find snapshots and send email
  • RobMokkink – HBA Loadbalance script

VCP 410 Exam Course Notes

VMWare Documents

Vmware KB Articles

ESX Partions

  • /boot = 1.25 GB
  • /= 5GB
  • swap= 600 MB
  • /usr= none
  • esxconsole.vmdk= 1.2GB

Optional Partions

  • /home = 512 MB
  • /tmp = 1024MB
  • /usr =
  • /var/log =2000MB

Name Number Protocol Description

VMware vCenter Update Manager8084TCPSOAP Port

9084TCPWeb Port

9087TCPSSL Port


Converter Enterprise Server to remote physical machine445TCP

139TCP

137UDP

138TCP


Converter Enterprise Server to Virtual Center Server 443TCP


Converter Enterprise Client to Converter Enterprise Server443TCP


Physical machine to VirtualCenter Server443TCP


Physical machine to ESX Server443TCP

902TCP


SSH Contacting Port22TCP

Best Practice

  • Remove the Administrators group from the VMWare vCenter Administrators roles and configure proper delegated administration model.
  • There is no virtual NIC traunking between ESH standard switches, communcations is conduct via the physical link
  • Develop naming convention for VMware objects (Switchs,etc)
  • Sphere vCenter, Loosing this will effectivtly mean that the advanced feature set of the Enterprise Plus wont be avaiable until Sphere vCenter is restored. To migitate this ricks you can use Clustering, Backup System and vVMware vCenter Headbeat Server
  • The Database will also require Backup configured and aslo Replication or Clustering

VMKernel Port

iSCSI / NAS Storage

vMotion

ESXi

LUN Datastore Sizing

1 TB LUN ( max 2TB)

8 VMs per LUN

VMWare 3.0 to 4.0 Upgrade Options

VMWare Upgrade Manager (VC)

Host Update Utility (VC Client)

ESX vApp can be used to create a DHCP configuration

Minimum and Maximum Requirements for ESX

64 Bit

2 CPUs (min)

64 CPUs (max)

Software Options

Anywhere USB

https://elabgateway.moppssc.com/Citrix/XenApp/auth/login.aspx

Known Issues

You can not Hot Clone VM guest on a Distributed Switch, you will have to change at least one of the NICs to a Standard Switch

vCPU Allocation Dilemma

CPU Ready – http://vmfaq.com/entry/42/

VM1 = 1xvCPU

VM2=2xvCPU

VM3=1xvCPU

CPU Timeslice Table Example

Exam Tips

  • Read the VMWare vSphere v4.0 Resource Management Guide
  • How Many Questions? 70
  • How Long? 90 mins
  • How many labs? NONE
  • Pass Mark? 70% (49 Correct, 21 Wrong)

ESX Advanced Settings

Hosts and Clusters / Select ESX Host / Configurations Tab / Advanced Settings

Virtual Center Server Settings

Administration Menu / vCenter Server Settings

Virtual Client Settings

Edit / Client Settings

ESX Deployment and PXE Appliance

http://www.vmware.com/appliances/directory/89313

http://www.vmware.com/appliances/directory/232

http://www.vmware.com/appliances/directory/390023

Componets

  • VMware ESXi or VMware ESX (deployment-time choice)
  • VMFS (Virtual Machine File System)
  • 8-way Virtual SMP
  • VMware vCenter Server Agent
  • VMware vStorage APIs / VMware Consolidated Backup (VCB)
  • VMware Update Manager
  • VMware High Availability (HA)
  • VMware vStorage Thin Provisioning
  • VMware VMotion™
  • VMware Hot Add
  • VMware Fault Tolerance
  • VMware Data Recovery
  • VMware vShield Zones
  • VMware Storage VMotion
  • VMware Distributed Resource Scheduler (DRS)
  • VMware Distributed Power Management (DPM)
  • VMware vNetwork Distributed Switch
  • VMware Host Profiles
  • VMware vStorage APIs for Multipathing
  • VMware ESXConfig (Network, Storage)
  • VMware vSphere vCenter
  • VMware VMs
  • VMware vCenter Heartbeat
  • VMware VMware vCenter Update Manager/Host Update Utility

Example Questions

Which of the following partitions is specific to ESXi 4.0?
A. usr
B. vmkcore
C. scratch
D. swap
Answer: C

An administrator is installing ESX 4.0 on a physical server. Which of the following components would
need to be modified or replaced to support a successful installation?
A. 4 Intel PRO 1000 Network Adapters
B. 4GB RAM
C. 2 AMD Opteron CPUs
D.  2 LSI Logic LSI7202XP-LC Fibre Channel HBAs  
 Answer: D

Question 77
In configuring a VMware HA Cluster the System Adminidtrator can configure Admission Control.There are two options. Do not power on Virtual Machines if they violate availability constraints, or Virtual Machines to be powered on even if they violate availability constraints.
If the System Administrator chooses the option “Do not power on Virtual Machines if they violate availability” then which of the following apply? Select two.
A. Virtual Machines running on failed ESX hosts will not be restarted on surviving ESX hosts.
B. VMware HA restarts WM’s on surviving host with the most unreserved capacity.
C. Only Virtual Machines with a high restart priority will be restarted on surviving ESX hosts.
D. VMware HA enforces the failover capacity define for the cluster.
Answer: B,D

Question 78
What file systems will be mounted under/ vmfs/volumes?
A. all partitions not allocated to the Service console
B. all partitions allocated to the VMkernel
C. all partitions listed in the /etc/fstab
D. all partitions that have a VMFS file system
Answer: D

Question 79
Which three are ESX Server pre-defined roles?(Choose three.)
A. Administrator
B. Virtual Machine User
C. No Access
D. Virtual Machine Administrator
Answer: A,C,E

Question 80
What is the maximum number of VMkernel swap files that an ESX Server can have on a single VMFS volume?
A. 1per virtual machine
B. VMkernel swap files must be stored locally on the ESX Server
C. 1 per virtual disk
D. 1
Answer: A

VMWare limits

max hosts / vCenter      200      v2.5

max hosts / vCenter      200      v4.0 (32 bit)

300            v4.0 (64 bit)

max VMs / vCenter      2000    v2.5

3000        v.40 (simultaneous VMs on)

4500        v.40 (in Inventory)

Linked Mode Limits

Max hosts                    1000

Max VMS                    10,000

Max vCener Servers     10

License Labs

3448J-ML2DP-58138-00CKK-9E47J vSphere (ESX)

HM41J-PA013-J803A-0J3RK-0JM4J vCenter (VC)

 

Other Articles