Angels Technology

  • Subscribe to our RSS feed.
  • Twitter
  • StumbleUpon
  • Reddit
  • Facebook
  • Digg

Friday, August 31, 2012

Cannot find adaptec raid controllers on the vmware hardware comaptibility list (HCL)

Posted on 11:40 AM by Unknown

Looks like Adaptec is now PMC-Sierra. I didn't know that and I'm sure a lot of other people aren't aware of this as well. The fact that adaptec, a staple of raid controllers is listed as  another company is mind boggling. Why mess around with such a well known name.



Greetings from Adaptec by PMC!

Sorry for the confusion, []! Our cards are listed under PMC-Sierra in the "Brand Name" column on the compatibility search. Per the compatibility list, our 6405 card is compatible with the following ESX versions:

ESXi 5.0 U1
ESXi 5.0
ESX / ESXi 4.1 U2
ESX / ESXi 4.1 U1
ESX / ESXi 4.1

http://communities.vmware.com/message/2107732 




Read More
Posted in esx, esxi, hcl, raid, vmware, vsphere | No comments

Thursday, August 30, 2012

Storage Vmotion completes in zero seconds : no actual svmotion

Posted on 11:26 PM by Unknown
Here was someone on the forums trying to storage vmotion out their vms and it would not do anything but it would complete.
The user was storage vmotioning the virtual machine to the same datastore.
He was attempting to move it from thick to thin.
When ever you svmotion a vm to the same datastore it will complete because the vm is already there, even if you attempt to change the disk type.


If you look at the image, you can see the svmotion tasks finishes immediately.
That would be nice but not possible.


If you need to change the vmdk type of file from thin to thick, thick to thin, etc you have to use a different datastore.

http://communities.vmware.com/message/2107202


http://sparrowangelstechnology.blogspot.com/2012/07/convert-thick-disk-to-thin-using.html
If you want to convert the disk from thick to thin on the same datastore use the link above
Read More
Posted in converter, datastore. rdm, svmotion, vcenter, vm, vmdk, VMFS, vmkfstools, vmware, vsphere | No comments

Esxi : do logs persist after reboots if there is a local disk?

Posted on 11:55 AM by Unknown

    Logs don’t persist after reboots but lets check that.
    That should be for usb installs and autodeploy.
    Here is a host with a local hard disk:


    Im going to check the system syslog of my esxi host and see what the 1st item is



    Press w on your keyboard until you reach the 1st line.
    W goes up a page in the console logs.
    This is before the reboot





    So the 1st line is 2012-08-28
    Lets reboot and then see what the first line is
    Well what do you know, the logs stayed.
    Below is the first line of the log and this is after a reboot.




    Conclusion: if you have a local disk the logs stay around after a restart of the host
    I tried the same with a shutdown, same results.
Read More
Posted in console, DCUI, esx, esxi, logs, vcenter, vmware, vsphere | No comments

Tuesday, August 28, 2012

What’s New in VMware vSphere 5.1?

Posted on 1:41 PM by Unknown


    There are some interesting things in vsphere 5.1
    I'm surprised  there is a new virtual machine format already.
    One interesting thing is VMware tools updates without reboots in the future, vi client seems to be on the depreciated path, and vmotion without shared storage?
    Will have to dive deeper in to the release when more info is out.



    Virtual machines:
  1.  New virtual machine format : version 9
  2.  New features  include support for larger virtual machines, CPU performance counters and virtual shared graphics acceleration designed for enhanced performance.
  3. Virtual machines can now have up to 64 virtual CPUs (vCPUs) and 1TB of virtual RAM (vRAM).
  4.  Zero-downtime upgrade  for VMware  Tools: no reboots will be required for  subsequent VMware Tools upgrades.
  5. You will need to reboot when you upgrade to this version though





    Networking:
  6.  vSphere Distributed Switch  (VDS)– Enhancements such as Network Health Check, Configuration Backup and Restore, Roll Back and Recovery, and Link Aggregation Control Protocol support



  7. Availability
    • vSphere vMotion – vMotion without the need for shared storage configurations.
    That will be interesting
    • vSphere Data Protection –  VDR replacement  : newly architected solution based EMC Avamar technology built-in deduplication.
    • vSphere Replication – vSphere Replication enables efficient array-agnostic replication of virtual
    machine data over the LAN or WAN.  vSphere Replication simplifies management enabling replication
    at the virtual machine level and enables RPOs as low as 15 minutes.


    Esxi
    • vSphere Auto Deploy™ – Two new methods for deploying
    That will be something to look at

    Management (with vCenter Server)
    • vSphere Web  Client –The vSphere Web Client is now the core administrative interface for vSphere.
    So this will be replacing the vi client?
    • vCenter  Single Sign-On – Dramatically simplify vSphere admin- istration by allowing users to log
    in once to access all instances or layers of vCenter without the need for further
    authentication.


    http://www.vmware.com/files/pdf/products/vsphere/vmware-what-is-new-vsphere51.pdf

Read More
Posted in vcenter, VI console, vm, vmotion, vmware, vmware tools, vsphere, web client | No comments

ESXi How to backup restore the host configuration with powercli

Posted on 2:09 AM by Unknown

    Why powercli?
    A lot of what I've seen out there for backing up the host configuration uses VMA or Vcli but I use powercli more consistently as I know a lot of other people do also.


    Here is the code to backup your esxi host via powercli

    Get-VMHostFirmware -VMHost $host -BackupConfiguration -DestinationPath C:\DownloadFolder

    Set-VMHostFirmware -VMHost $Host -Restore -SourcePath c:\bundleToRestore.tgz -HostUser user -HostPassword pass



    *note: that the backup config files can be restored only to the same version of esxi and same build.
    I havent tested otherwise but posts on different blogs confirm that.




    Pre-backup evidence
    Test host: before backing up
    Here are some configs that I want to see go over after restoring






    Backing up the config
    Connect to your host/vcenter first

    Using:
    Get-VMHostFirmware -VMHost $host -BackupConfiguration -DestinationPath C:\Downloads
    Pasted from <http://www.vmware.com/support/developer/PowerCLI/PowerCLI41U1/html/Get-VMHostFirmware.html>





    Here is what is backed up, its tiny!





    Installing ESXi




    Here is the new install booting from dhcp




    Restoring Using:
    Set-VMHost -VMHost Host -State 'Maintenance'

    Set-VMHostFirmware -VMHost Host -Restore -SourcePath c:\bundleToRestore.tgz -HostUser user -HostPassword pass

    Pasted from <http://www.vmware.com/support/developer/PowerCLI/PowerCLI501/html/Set-VMHostFirmware.html>


    Connected to esxi host
    Place into maintenance mode








    I had to use the force optionotherwise I was getting  Restore failed: fault.MismatchedBundle.summary
    Figuredd that out thanks to here : http://www.php2s.com/virtualization/esxi-4-backup-and-restore-configuration.html



    Server came up by itself:
    Here is the console




    Here are the settings in the vmware client

    Looks like I will have to add the nic manually to the switch labeled vswitch1




    It knows the NTP time setting




    Conclusion:
    It can be a great timesaver if you have a lot of settings to redo.


    *notes:
    *Note was readig that  this cant be used to restore the config to a different system because you will get a fault.MismatchedBundle.summary because the nic macs are different
    I havent tried that with the force option so it might work…..

Read More
Posted in backup, disaster recovery, DR, esxi, NIC, powercli, powershell, vcenter, vm, vmware, vsphere | No comments

Sunday, August 26, 2012

Adding a SCSI controller to a virtual machine (VM) in esxi

Posted on 1:12 AM by Unknown

    So you want to add a scsi controller and don’t see the option to install it?



  1. Power off your vm.
  2. If you don’t you will get this greyed out Virtual Device Node


  3. Go to Edit and select a select a hard disk that you would like to have a different SCSI controller .
  4. In this case its hard disk 2

  5. Under virtual device node select a different scsi controller id
  6. In this case its SCSI (1:0)
    Hit ok




  7. Now you should see the new controller
  8. Click ok




Read More
Posted in esxi, scsi, vm, vmware, vsphere | No comments

Thursday, August 23, 2012

Dell server PCIE card not working with esxi install

Posted on 8:58 PM by Unknown
Saw this over at the forums
http://communities.vmware.com/message/2103207#2103207


Someone was unable to get their broadcom pcie card to be recognized by Esxi, even when using the Dell ISO install of esxi.
It was avaialble in bios.

" some servers going out with the PCIE slot disabled"
Looks like Dell has been shipping servers with pcie slot turned off so the card wont work even though it is recognized by bios.

12th gen servers now have an ability to disable PCIE slots.  And they are disabled apparently by default, even if you order the server prepopulated with a card.  
What makes it even tougher to diagnose is that the iDRAC can still report and see the card, even if it's in a disabled PCIE slot.

-vertices
Read More
Posted in dell, esxi, pcie, vmware | No comments

Can a virtual machine (vm) have more ram allocated than the esxi host physical memory?

Posted on 1:28 AM by Unknown

    Yes but you will need enough disk space for the swap file.




    Example:
    Host has 32GB physical ram





    Yet the vm has 64gb allocated to it







    If you don’t have enough swap space you get this error:




    Here 1tb of ram was allocated to the vvm.
    I don’t have 1tb on the store nor do I have 1tb or ram.
    So it couldn't power on.

Read More
Posted in esx, esxi, memory, vm, vmware, vsphere | No comments

Tuesday, August 21, 2012

VMDK : Thin vs thick disks : is there a performance difference?

Posted on 4:15 PM by Unknown

    modern versions of the hypervisor show almost no performance difference between thick and thin for 99% of workloads. -mcowger
    Pasted from <http://communities.vmware.com/message/2100863#2100863>


    Question : How different is the performance between thick and thin?
    So I was thinking most cases thin is as good as thick, but thick is for that extra performance bump.
    But things change a lot so I was looking for some hard data to back it up




    *This test from planet zorg benchmarks thin vs thick lazy vs thick eager
    Comparing the latency and iops they are very similar

  1.     I/O of a Thick Provision Lazy Zeroed disk
  2. Test name
    Latency
    Avg iops
    Avg MBps
    cpu load
    Max Throughput-100%Read
    0.00
    3491
    109
    3%
    RealLife-60%Rand-65%Read
    12.87
    4490
    25
    11%
    Max Throughput-50%Read
    101.44
    6190
    193
    15%
    Random-8k-70%Read
    13.96
    5681
    44
    17%
  3. I/O of a Thick Provision Eager Zeroed disk
  4. Test name
    Latency
    Avg iops
    Avg MBps
    cpu load
    Max Throughput-100%Read
    0.00
    3511
    109
    1%
    RealLife-60%Rand-65%Read
    12.78
    4460
    34
    30%
    Max Throughput-50%Read
    102.88
    6261
    195
    2%
    Random-8k-70%Read
    14.19
    5770
    45
    34%
  5. I/O of a Thin Provision disk
  6. Test name
    Latency
    Avg iops
    Avg MBps
    cpu load
    Max Throughput-100%Read
    0.00
    3530
    110
    0%
    RealLife-60%Rand-65%Read
    13.06
    4566
    35
    30%
    Max Throughput-50%Read
    102.36
    6243
    195
    2%
    Random-8k-70%Read
    14.17
    5767
    45
    36%

    Pasted from <http://planetzorg.wordpress.com/2011/08/25/vmware-5-0-disk-io-performance-thick-provision-lazy-zeroed-vs-thick-provision-eager-zeroed-vs-thin-provision/>



    White paper from Vmware
    This is referenced a lot on the web
    Essentially the performance of thin disks is on par with the tick disks
    http://www.vmware.com/pdf/vsp_4_thinprov_perf.pdf


    Conclusion:
    Using data from the web, It seems that thin is just as good as thick in possibly all but the most exteme cases.
    Ill run my own tests in the future just to have data, but the evidence points to always using thin disk unless recommended by vmware (or your application vendor).
Read More
Posted in esx, esxi, VMFS, vmware, vsphere | No comments

Increase disk space of vmdk with snapshots : possible?

Posted on 8:54 AM by Unknown



    While vmware recommends removing snapshots before increasing diskspace I was wondering if its possible to leave the snap.

    http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1004047



    The E drive is 10GB


    Took a snapshot



    Trying to Increase drive space to 15gb
    Hard disk properties are grayed out.




    Removing all snapshots




    After removing the snap I can increase the disk space






    Verdict: cannot have snaps if increasing disk space


Read More
Posted in snapshots, vm, vmdk, vmware, vsphere | No comments

Sunday, August 19, 2012

windows notes: Teamviewer free for home users

Posted on 10:41 PM by Unknown
Found out about this screen share remote control software called teamviewer that is like webex or livemeeting remote control but free for non-commercial use.


 http://www.teamviewer.com/en/download/windows.aspx

 it can be used on windows, linux , or mac and an install isnt even needed.


Read More
Posted in windows | No comments

Can you vmotion the vpshere vcenter server host to a different esxi server?

Posted on 10:04 PM by Unknown

    The answer is that the vcneter server is like any other vm and vmotioning it is not a problem.
    This is a proof of concept that it works.

    Earlier I also did a POC that storage vmotion (svmotion) also works on the vcenter host.
    http://sparrowangelstechnology.blogspot.com/2012/07/can-you-storage-vmotion-svmotion-your.html



    Here is the vcenter server on host 2




    Now its being vmotioned over to host 1











    Now the server is on host 1 as expected






Read More
Posted in esxi, vcenter, vmotion, vmware | No comments

How to update a esxi host that is not connected to the internet.

Posted on 9:49 PM by Unknown

    There may be some hosts that are disconnected from the internet for secutiry purposes
    Here is how to update them.

  1. Get the patches from the download portal: http://www.vmware.com/patchmgr/download.portal
  2. Leave release data alone, unless you are searching for a update released on a specific date
    Patches are normally cumulative








    Here is the latest download



    Here are the contents of the vib, but you will actually need the zip you downloaded from the site.


  3.  In the vmware client go to update manager.
  4. Go to patch repository->import patches

  5. Now add the zip from usb or iso





  6. When its done just hit Finish to confirm the import
  7. Here it is importing





  8.  Patch as you would with normally
  9. Here are the updates







    *Source:
    http://blogs.vmware.com/vsphere/2012/02/understanding-esxi-patches-finding-patches.html
    http://blogs.vmware.com/vsphere/2012/03/understanding-esxi-patches-manually-adding-patches-to-update-manager.html


Read More
Posted in esx, esxi, vsphere, vum | No comments

Saturday, August 18, 2012

Misc powercli commands I have found useful

Posted on 8:43 PM by Unknown

This script for powercli to get a vm's used disk space
get-vm winVM01| Select Name,UsedSpaceGB

-thx LucD



View a vm's , cluster, current esx host, and datastore:

Get-VM | Select Name, @{N="Cluster";E={Get-Cluster -VM $_}}, `
@{N
="ESX Host";E={Get-VMHost -VM $_}}, `
@{N
="Datastore";E={Get-Datastore -VM $_}}

Pasted from <http://ict-freak.nl/2009/11/17/powercli-one-liner-to-get-vms-clusters-esx-hosts-and-datastores/>




To export to a excel spreadsheet use the powershell command
Export-csv c:\temp\nameofexcelfile.csv
Example:
get-vm winVM01| Select Name,UsedSpaceGB | export-csv c:\temp\file22.csv



Read More
Posted in powercli | No comments

powershell script to move pc to a ou

Posted on 6:35 PM by Unknown

Here is a script if you want to move an object to a ou where another server is located
 you can double click the bat file and that will start the powershell script.
I made this to automate a process

Bat:
PowerShell.exe -File c:\users\user1\desktop\moveobj.ps1

Ps1
Add-PSSnapin Quest.ActiveRoles.ADManagement
Connect-QADService -service 250-ad
Move-QADObject   -NewParentContainer (get-qadcomputer pc1).parentcontainer




*
To use: get the powershell commandlets from quest. It is possible without them but requires a lot more effort.
PowerShell.exe -File c:\users\user1\desktop\moveobj.ps1
The reason I added this line rather than .\moveobj.ps1 was because it was opening the ps1 in notepad. This way it forces the ps1 to load in powershell.

Add-PSSnapin Quest.ActiveRoles.ADManagement
Loads the powershell admanagement from quest into powershell. Otherwise the commands wont work.

Connect-QADService -service 250-ad
Forces  a connection to a particualr dc. Example if you are in ny and wanted to conenct to a cali DC

Move-QADObject   objectname  -NewParentContainer (get-qadcomputer pc1).parentcontainer
Moves object  objectname to the  ou where pc1 is loacted. you could also just add the path of the ou.
If you leave out objectname, a prompt will come up
Read More
Posted in powershell, windows | No comments

Wednesday, August 15, 2012

performance issues and problems: set Write back mode for your storage array for ideal performance

Posted on 8:21 AM by Unknown
For performance you should have a battery backed cache for write back mode, which tells the OS that a write happened before it does because its saved on the cache
If you use write through mode, you will slow down the array because the os is then waiting for the disks to complete a write before continuing.



It might seem that this is obvious but if you are having problems check that out.
A user on the vmware forums was experiencing problems with their riad throughput and it was a mis config on the raid.

http://communities.vmware.com/message/2090651#2090651


A explanation from IBM on write back vs write cache for those interested:

Write back

For the write-back setting, the operating system sends data to the controller to write to a storage device. Subsequently, the controller sends a confirmation to the operating system before actually writing the data to the storage device. Doing so increases performance, but also contains an element of risk. For example, if there is a power failure, the data currently in the controller cache is lost. This is no risk when using a controller with a battery-backup cache. The battery preserves the data in the controller cache in the event of a power failure.

Write through

For the write-through setting, the operating system sends data to the controller to write to a storage device. Subsequently, the controller writes the data to the storage device; then, sends a confirmation to the operating system. This setting can decrease performance, but contains no risk of losing data.
http://publib.boulder.ibm.com/infocenter/eserver/v1r2/topic/diricinfo/fqy0_cwrcache.html
Read More
Posted in performance, raid, windows | No comments

Monday, August 13, 2012

Adding / increasing disk space of a vmdk, to power off or leave on the VM?

Posted on 2:52 PM by Unknown

Its best to have no snapshots and power off the vm according to vmware

http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1004047

    But is it possible to increase disk space without powering off the vm?


    Example: Disk is 35gb and the vm is active




    Adding 15 more GB to make a total of 50GB




    Rescanning disks and the extra space shows up









    Yes it is possible to increase a VM's disk space while powered on.


Read More
Posted in vm, vmdk, vsphere, windows | No comments
Newer Posts Older Posts Home
Subscribe to: Posts (Atom)

Popular Posts

  • Copy and paste clipboard items to and from your vsphere virtual machines and your pc
    Wanted to copy and paste text between your pc and a vm? Now you can. Power off your VM. Go to the vm properties->Options->Advanced-...
  • Interesting look at Win cpu usage vs Vmware CPU usage
    I came across this scenario: The windows task manager shows the cpu of the vm pegged at 100%. The vmware performance monitor says that ...
  • Storage comparison
    One of Cormac Hogan s posts provides a good basis for compares of different storage types for vmware Vsphere and how they stack up. He dis...
  • E1000 vs e1000e in vmware : notes
    Performance difference " The performance should be about the same, the reason for the change is that Intel is not longer supporting the...
  • vCenter and Hosts Disconnected -- Reason: Cannot verify the SSL thumbprint
    Just saw this over on the forums, but if your hosts are getting this error: Cannot syncronize the host <hostname.fqdn>, Reason: Cannot...
  • Vmware esxi : Intel Pro/1000 ET quad port adapter and ISCSI
    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...
  • Vmware DRS anti affinity rules wont let you enter maintenance mode for a esxi host
    You have a DRS rule that specifies that 2 vms need to be kept apart: In this case: 250-FT and 250sql3 For larger clusters with multiple...
  • Snapshot creation /reversion/ deletion/ listing with vim-cmd
    Here we are going to use the command line on a esxi host to create, revert, and delete snapshots. First ssh into your host. Important thi...
  • shutdown your esxi host using powercli
    if you want to shutdown a host using powercli: Set-VMhost -VMhost HOSTNAME -State Maintenance get-vmhost HOSTNAME | Foreach {Get-View $_.ID}...
  • Setting your esxi host to restart automatically after crash or purple screen aka psod
    The default and recommended setting is to leave the purple screen of death up to help you notice that het host has died and also leave t...

Categories

  • 5.1
  • backup
  • cloud
  • cluster
  • command line
  • console
  • converter
  • cpu
  • datacenter
  • datastore
  • datastore. rdm
  • DCUI
  • dell
  • disaster recovery
  • display
  • DR
  • e1000
  • e1000e
  • ec2
  • esx
  • esxi
  • esxtop
  • extent
  • Good for enterprise
  • HA
  • hcl
  • host
  • HP
  • ibm
  • iometer
  • iscsi
  • iso
  • linked mode
  • logs
  • MAC
  • memory
  • NFS
  • NIC
  • NTP
  • ova
  • ovf
  • p2v
  • pcie
  • performance
  • phone
  • powercli
  • powershell
  • PSOD
  • raid
  • RDM
  • resource pool
  • rvtools
  • scsi
  • sddc
  • snapshots
  • SQL
  • SRM
  • ssh
  • storage
  • svmotion
  • syslog collector
  • v2v
  • vapp
  • vcenter
  • vcloud
  • vcp
  • veeam
  • VI console
  • vm
  • vmdk
  • VMFS
  • vmkfstools
  • vmotion
  • VMUG
  • vmware
  • vmware tools
  • vmware.esxi
  • vmxnet3
  • vsphere
  • vum
  • web client
  • windows

Blog Archive

  • ►  2013 (28)
    • ►  October (2)
    • ►  September (1)
    • ►  August (1)
    • ►  July (1)
    • ►  June (14)
    • ►  May (1)
    • ►  April (1)
    • ►  March (5)
    • ►  February (1)
    • ►  January (1)
  • ▼  2012 (138)
    • ►  December (2)
    • ►  November (13)
    • ►  October (26)
    • ►  September (19)
    • ▼  August (35)
      • Cannot find adaptec raid controllers on the vmware...
      • Storage Vmotion completes in zero seconds : no act...
      • Esxi : do logs persist after reboots if there is a...
      • What’s New in VMware vSphere 5.1?
      • ESXi How to backup restore the host configuration ...
      • Adding a SCSI controller to a virtual machine (VM)...
      • Dell server PCIE card not working with esxi install
      • Can a virtual machine (vm) have more ram allocated...
      • VMDK : Thin vs thick disks : is there a performanc...
      • Increase disk space of vmdk with snapshots : possi...
      • windows notes: Teamviewer free for home users
      • Can you vmotion the vpshere vcenter server host to...
      • How to update a esxi host that is not connected to...
      • Misc powercli commands I have found useful
      • powershell script to move pc to a ou
      • performance issues and problems: set Write back mo...
      • Adding / increasing disk space of a vmdk, to power...
      • Remove a datastore that no longer exists from inve...
      • Vmware VMDK disk: Convert raw mapped lun from a v...
      • HP custom esxi iso cd download page ESX also
      • How to read PSOD errors on your esxi host
      • PSOD : Getting the Purple screen of death for test...
      • Download older versions of vmware tools for vms on...
      • Find what vms have out of date vmware tools
      • Vmware hardening: Preventing Other Users from View...
      • VSA : Vsphere Storage Appliance use Raid 5 and Raid 6
      • Esxi : Find which host has a lock on a file using ...
      • Repeated characters when typing in remote console ...
      • Why use OVA or OVF to export virtual machines and ...
      • Creating a ovf or ova file of a virtual machine f...
      • Check esxi host's disk latency / storage performan...
      • Copy and paste clipboard items to and from your vs...
      • Interesting windows links
      • Dell customized esxi iso
      • E1000 vs e1000e in vmware : notes
    • ►  July (34)
    • ►  June (9)
Powered by Blogger.

About Me

Unknown
View my complete profile