Angels Technology

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

Wednesday, March 13, 2013

Access the DCUI console from the via shell ssh

Posted on 1:13 PM by Unknown

    Did you know you can call up a graphical dcui while you are ssh'd into your host?


    Just type DCUI




    Now you can  access a black and white shell















Read More
Posted in command line, DCUI, esx, esxi, ssh, VI console | No comments

Friday, March 8, 2013

Convert : V2v Amazon EC2 instance to Vmware

Posted on 11:35 AM by Unknown
http://communities.vmware.com/message/2207331

User Fred Weston had a error when he tried converting his amazon ec2 windows 2008 boxes to Vmware workstation vms. He experienced a BSOD that pointed to storport.sys

ivivanov posted this answer which was confirmed by Fred Weston

You need to somehow get access to the target disks. You can use VMware Workstation to mount the target VMDK or you can temporarily attach the disk with the Windows directory to another Windows VM (in this case you should open Disk Manager and select Rescan Disks command from the Actions menu and the new virtual disk from the converted Amazon VM should become visible). After that:
* run regedit on that machine
* select HKLM hive
* from the File menu select 'Load Hive' command
* navigate to the target SYSTEM registry hive (it is under WINDOWS\system32\config\system *on the target disk* that was attached to the VM, but *not* the currently running Windows directory)
* pick a name for the new key (e. g. ec2-system)
* navigate to  ec2-system\ControlSet001\Services
* search for the three drivers and delete the whole keys
* then select again the ec2-system key under HKLM
* from File menu select 'Unload Hive' command and close Regedit
* unmount the mounted VMDK or detach the target virtual disk from the "temporary" VM

Power on the converted VM



Good knowledge to have in the toolkit.



Read More
Posted in converter, ec2, vsphere | No comments

Wednesday, March 6, 2013

iscsi conenctions in guest vs esxi host

Posted on 2:29 PM by Unknown
Dave.Mishchenko  wrote a nice post on the advantages and disadvantages of using in guest iscsi connections vs having your esxi host handle it.

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



Advantages
- easy to get past the 2 TB disk limit.  This was more of an issue in the past as you can get around this in ESXi 5.1 with a physical RDM
- required for official support with MS clustering - (see the support protocols section) - http://kb.vmware.com/kb/1037959

Disadvantages
- the backend storage network is exposed to a guest OS
- portability of the VM may be hindered - i.e. you have to make sure the destination host will allow for the VM to have all the network access it needs.  That'll probably be the case, but it's more difficult to verify than if the storage is presented via ESXi.
- a snapshot of the VM also requires another snapshot of the iSCSI LUN that the guest OS accesses
- you need to configure multipathing with the guest OS



Read More
Posted in esxi, iscsi, vmware, vsphere, windows | No comments

Saturday, March 2, 2013

Use Powercli to check the build number of your host

Posted on 6:48 PM by Unknown

    So you want to check your host's version number via powercli?

    Use this:
    This is setup for a single host
    ****************************************
    #thanks ict-freak.nl
    #adapted from http://ict-freak.nl/2009/06/09/powercli-get-esx-version-info/

    #host will be the host name you want to check
    $vhost = Read-Host "Enter the host name you want to check"

    Connect-VIServer $vhost

    get-vmhost $vhost | Sort Name -Descending | % { $server = $_ |get-view; `
        $server.Config.Product | select `
        @{ Name = "Server Name"; Expression ={ $server.Name }}, `
        Name, Version, Build, FullName, ApiVersion }

    Disconnect-VIServer -Confirm:$false

    ****************************************




Read More
Posted in command line, esx, esxi, powercli, powershell | No comments

Friday, March 1, 2013

Maximum allowed SCSI paths error

Posted on 1:38 PM by Unknown

    Nice post here from user: SteveShepherd
    http://communities.vmware.com/message/2203951


    Received this error while rescanning  his storage adaptors:
    Error while rescanning adapter vmhba36.  Error was Unable to scan VMkernel SCSI subsystem for new devices.Sysinfo error on operation returned status : Maximum allowed SCSI paths have already been claimed.


    Problem:
    His count of the scsi paths was no where near 1024, which is the toal number of paths allowed.

    He had 12 paths

    Example of where to look in the GUI:




    Answer he found:
    The gui didn’t count dead paths but they are counted against him:

    Used esxcfg-mpath -l   to find the list of paths from the command line
    Over 1000 dead paths? that's a lot of paths.
    Rebooting fixed him up.

    Could have also done this:   use esxcfg-rescan -d adaptor
    In this case adaptor would be vmhba32 which has the dead path

    here is  esxcfg-mpath -l getting an error in a state of a path

     rescan the hba




    Now if we look for any dead paths we don’t find one.



    No more dead paths
Read More
Posted in | 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)
      • Access the DCUI console from the via shell ssh
      • Convert : V2v Amazon EC2 instance to Vmware
      • iscsi conenctions in guest vs esxi host
      • Use Powercli to check the build number of your host
      • Maximum allowed SCSI paths error
    • ►  February (1)
    • ►  January (1)
  • ►  2012 (138)
    • ►  December (2)
    • ►  November (13)
    • ►  October (26)
    • ►  September (19)
    • ►  August (35)
    • ►  July (34)
    • ►  June (9)
Powered by Blogger.

About Me

Unknown
View my complete profile