One of Cormac Hogans posts provides a good basis for compares of different storage types for vmware Vsphere and how they stack up.He discusses the comparisons of iSCSI, NFS, Fiber Channel, and FCoE (Fiber channel over Ethernet)http://blogs.vmware.com/vsphere/2012/02/storage-protocol-comparison-a-vsphere-perspective.htmlSomethings worth noting:NFS easiest to setup / no load balancing./need vlan to secure / NO RDM FC 16GB is throttled to 8GB by vsphereISCSI use CHAP and Vlan to secureMSCS : only supported on FC. FCoE: cant redirect...
Wednesday, October 31, 2012
Tuesday, October 30, 2012
shutdown your esxi host using powercli
Posted on 1:01 PM by Unknown
if you want to shutdown a host using powercli:Set-VMhost -VMhost HOSTNAME -State Maintenanceget-vmhost HOSTNAME | Foreach {Get-View $_.ID} | Foreach {$_.ShutdownHost_Task($TRUE)} here is a way to shutdown all the hosts in your vcenter: #Shut down the host $currentesxhost = get-vmhost $esxhost Set-VMhost -VMhost $currentesxHost -State Maintenance Sleep 55 $currentesxhost | Foreach {Get-View $_.ID} | Foreach {$_.ShutdownHost_Task($TRUE)} ...
Friday, October 26, 2012
Esxi : Ping vs vmkping : same thing
Posted on 9:43 PM by Unknown

This site pointed out that in ESXI they point to the same binary Just to check I ssh'd to my esxi host and did a md5 comparison on the binaries of the commandsThey are the sameJust a small fyi for those coming from a esx si...
Vmware esxi : Intel Pro/1000 ET quad port adapter and ISCSI
Posted on 9:40 PM by Unknown
I've seen issues pop up with intel quad ports here and there on the forums so I thought it would be good to note down what worked here.Though I have not experienced this myself hopefully it can assist someone.Example problems from one specific thread:One solution was to replace the nic card. That’s pricey.Another from: aqualityplacem"Solved, the default interuppt rate for this driver is set as adaptive. After talking to VMware (took 3 weeks to get to someone who knew their stuff) I have had much better results setting this at a fixed rateesxcfg-module...
Thursday, October 25, 2012
Check if a datastore is part of a datastore cluster. Remove datastore from datastore cluster
Posted on 2:29 PM by Unknown

Check if a datastore is part of a datastore clusterGo to Home- > Inventory-> Datastores and Datastore ClustersOn the left hand side you will see your datastores and datastore clusters.Datastore clusters should come up first under your Datacenter and have a different Icon then other datastoresSee how the datastore cluster icon cluster looks like it has 3 disks Now expand your datastore cluster to see if your datastore is listed...
Wednesday, October 24, 2012
Which esxi host will be my HA master?
Posted on 3:10 PM by Unknown

Want to predict which host will become your high availability master?According to Duncan Epping's deep dive here The host that is participating in the election with the greatest number of connected datastores will be elected master. If two or more hosts have the same number of datastores connected, the one with the highest Managed Object Id will be chosen. This however is done lexically; meaning that 99 beats 100 as 9 is larger than...
Get vm ips via powercli
Posted on 3:07 PM by Unknown
Needed to get the ip addresses for some of my virtual machines and wanted to use powercli to do it.Found thisget-vm | select Name,@{N="IP Address";E={@($_.guest.IPAddress[0])}} | export-csv c:\VM_IP_Addresses.csvChanged out-file to export-csv so I could sort it. Out-file dumps the entire line into one cell, while the export-csv let me use columns in excel.Thanks Dan Hayward :: Pasted from <http://www.spug.co.uk/?p=259>...
notes: HA responses to storage failure
Posted on 2:21 PM by Unknown
Thread here: http://communities.vmware.com/message/2135864User as wondering why HA didn’t kick in when a host of his was disconnected in vcenter, and VMs were not responsive. The host had lost it's connection to the datastore.So user was thinking, no datastore heartbeats, how come HA didn’t fail over the vms until the host was manually powered off?They key to note was that he was able to ssh in to the host with an error.As mention by eziskind:"HA currently only responds to total host failures and network isolation/partition. You can ssh...
notes: Check VAAI status with VCLI and VAAI hardware offload cannot be used when..
Posted on 2:20 PM by Unknown
Thread Post in forums the by mcowger <http://communities.vmware.com/message/2134534#2134534> He was responding to a question on vaai appearing to not work,If you see the vaai plug in name after running this commandesxcli storage core device vaai status get for example: VAAI Plugin Name: VMW_VAAIP_CX"Then VAAI is being recognized as available and being used when relevant. Its definitly working.Don't forget that VAAI acceleration is not used in all cases (especially clone operations):VAAI hardware offload cannot...
Tuesday, October 23, 2012
Suppress esxi shell and ssh warnings for your esxi host
Posted on 9:55 AM by Unknown

By default esxi shell (tech support mode) and ssh to your esxi host have been disabled.When you enable them you get a yellow icon on your host and your get this error in your summary.If you choose to leave your host with open ssh ports or the esxi shell enabled this will lead you to have the warnings on your host consistently, The problem with this is when there is a warning that you should be aware of it may not come to your attention.Here...
Vmware Converter : P2V : which controller to select for the VMDK when you do a conversion?
Posted on 9:48 AM by Unknown
When you convert a server from a physical box to a virtual one, which controller do you select when using vmware converter ?Normally the default is fine.Noticed in this thread this is the config that continuum usesI use vmscsi for 2000, XP and 2003 32bitLSI for 2003 / 64LSI-SAS for Win7 and 2008 R2Pasted from <http://communities.vmware.com/message/2134800#2134800>...
Monday, October 22, 2012
Find your esxi High availability (HA) Master
Posted on 3:49 PM by Unknown

Curious which host is the HA master?Here is how to look at it in the vmware vsphere VI clientPowercli I further in the pageUse the client Select your clusterGo to the hosts tabYou should see the vsphere HA state If you don’t see the vssphere HA state Right click the name columnSelect vsphere HA stateUse PowerCLIUse commandget-cluster clustername | get-haprimaryvmhost http://www.vmware.com/support/developer/PowerCLI/Power...
VM stuck while powering on? Have a raw disk?
Posted on 7:42 AM by Unknown

Actually this issue can be any due to a vmdk also if it has an error.If you have a bad disk It will prevent the vm from powering onBut, if there is a bad vmdk, esxi or vcenter will tell you which disk is your problemWhen you have a problem with the path to a raw mapping (RDM), for example when the path to your lun is dead, you will just get the vm hanging on the virtual bios/black screenIt has been like this for 10 mins....
Saturday, October 20, 2012
Powercli : get list of powered off virtual machines and date of shut down
Posted on 7:20 PM by Unknown
Here is a good script that I came acrosshttp://communities.vmware.com/message/2133377The script connects to your vcenter or esxi host and checks to see if you have powered off vms and when they were powered off.@"===============================================================================Title: vminventory.ps1Description: Exports VM Information from vCenter into a .CSV file for importing into anythingUsage: .\vminventory.ps1Date: ...
Friday, October 19, 2012
Powercli script to check vmotion compatibility to another host
Posted on 9:13 PM by Unknown

This thread here shows you how to test vmotion compatibility to a specific host.It’s a good starting point.The return value are using the managed objet id's so you would need to convert them into the vm name if you don’t know them and are using a looping script.## name of VM to check for VMotion compatibility$strMyVMNameToCheck = "myVM0"## name of destination VMHost to check for VMotion compatibility for this VM$strMyVMHostNameToCheck...
someone else's Pros and Cons for NFS vs iSCSI for datastores.
Posted on 5:55 PM by Unknown
Question on the forums about NFS vs ISCSIhttp://communities.vmware.com/message/2133427someone brought up this zombie thread but its makes some good points.Thoguh a little pro-NFS, I liked J1mbo's post."The real difference is that with iSCSI, the file system is at the vSphere host end (VMFS), whilst with NFS the file system is at the other end (i.e. the storage server). On the wire, packet overheads for block access is almost identical.NFS has the real advantage that the NFS server process controls what's going on; it's very easy...
Thursday, October 18, 2012
VMs with snapshots boot faster than without snaps
Posted on 2:51 PM by Unknown
Weirdcontinuum brought this up in this thread that he noticed that virtual machines on esxi with snapshots were booting faster than vms without a snap.<http://communities.vmware.com/message/2132946#2132946> I ran some tests.Used the same vm windows 2008 , had a clean shutdown each time, vmware tools is installed, using a stopwatchwithout snapshot the boot times were1:181:121:071:14took snap. shutdown. startup1:03:571:01delete snap1:09So the vm with a snap always booted faster then a vm without a snap by a few seconds.I would have...
Wednesday, October 17, 2012
Get all the ips , mac addresses, and other network data for your hosts
Posted on 9:41 AM by Unknown

Want to quickly get the ip and mac address for your esxi hosts?Use this powercli commandget-vmhost | Get-VMHostNetworkAdapter | select VMHost, DeviceName, Mac, IP, ExtensionDataYou get the hostname, device name, mac, ip and see if it's physical or virutalOther useful options to select are:WakeOnLanSupported, VMHostId, DhcpEnabled, SubnetMaskSee : http://www.vmware.com/support/developer/windowstoolkit/wintk40u1/html/Get-VMHostNetwo...
Sunday, October 14, 2012
How to tell if your cpu and bios is Intel VT or AMD-V capable or enabled in the BIOS
Posted on 5:31 PM by Unknown

Log on to your esxi hostType in esxcfg-info|grep "HV Support"Here ar e the values you can receive0 - VT/AMD-V indicates that support is not available for this hardware.1 - VT/AMD-V indicates that VT or AMD-V might be available but it is not supported for this hardware.2 - VT/AMD-V indicates that VT or AMD-V is available but is currently not enabled in the BIOS.3 - VT/AMD-V indicates that VT or AMD-V is enabled...
Saturday, October 13, 2012
How to get a drive in windows larger than 2tb when a vmware esxi vmdk is limited to 2tb
Posted on 9:40 PM by Unknown

A vmware vmdk is limited to 2tb-512b.With data these days being big that might not fit the needs of certain individuals or requirements.You can use a raw disk but that isnt always an option.Here is what you can do:Create a striped volume in windows made out of multiple vmdks.Add 2 or more vmware virtual hard disks to your virtual machine.See here I have 2 drives of 1.5tb eachIn windows go to disk managementRight click and initialize...
Subscribe to:
Posts (Atom)