Archive

Archive for the ‘VMWare’ Category

VMware released a free web client for ESXi

November 11, 2015 Leave a comment

Very nice!

http://www.vladan.fr/esxi-free-web-client-interface/

Though I wonder why? Are they going from ESXi back to ESX roots? :)))

Categories: VMWare Tags:

Multicast on Checkpoint R76 Gaia + Palo Alto and Cisco

May 21, 2014 Leave a comment

Just finished troubleshooting of multicast issues (no traffic received at all) with a subscriber sitting on a DMZ behind Checkpoint Gaia R76 and source being a couple of hops away behind another firewall – a Palo Alto box. Both firewalls were sitting on top of L2 Cisco kit (Catalysts & Nexuses)

Long story short here are few things to take away from the exercise:

  • IPS on that stupid Checkpoint even being globally disabled on the firewall is blocking PIM traffic (hello packets) and thus neighbour relationships do not form on PIM. Solution: enable IPS, find the rule blocking PIM, disable it, disable IPS. LOL!!!
  • When you enable IGMP on Gaia boxes which are part of HA group (in this case it was VRRP; ClusterXL might be different) declare your multicast group as local and specify VRRP VIP, not the IP of the box itself;
  • Enable PIM not only on the interface facing PIM next hop but also  on the interface facing the subscriber (alongside with IGMP) otherwise it looks like Cisco kit is not aware where to send IGMP Joins (which are destined to 224.0.0.22) puts them into a sink hole;
  • Pay attention to the IGMP version that you enable on Checkpoint interfaces facing the client. Do a packet capture to double-check. In my case the subscriber was sending v.3 despite the rest of the setup configured for ASM.

As a bonus here is a couple of commands useful on Palo Alto box for some light multicast troubleshooting:

 show routing multicast pim neighbour – to see your neighbours

show routing multicast pim statistics – to see your hello packets (both received and sent)

show routing multicast pim state – to see PIM state for your groups

(sorry, omitting Checkpoint stuff as it’s too much writing and I do not really like them – notes above should be sufficient to make it work anyway)

Clipboard Copy and Paste in vSphere Client 4.1

November 19, 2012 Leave a comment
Categories: VMWare Tags:

How to display hidden devices in Windows Device Manager

November 5, 2012 Leave a comment

Another variable that is rarely needed (I use it after P2V to tidy up the new VM) and hence is always forgotten 🙂

devmgr_show_nonpresent_devices=1

and then

mmc devmgmt.msc

Categories: VMWare, Windows

How to downgrade VM HW version from 7 to 3

May 2, 2012 Leave a comment

Good How To is here (opens in new window).

Categories: VMWare Tags:

How to rename ESX host in vCenter

April 16, 2012 1 comment

Official sequence from VMWare is here.

Simple way (just to change presentation of the host in the vClient):

  1. edit the VPX_HOST table in the SQL database
  2. restart vCenter service
Categories: VMWare Tags:

vCenter permission to run resxtop

July 14, 2011 2 comments

In Global section there is a permission called “Service managers”. Despite having quite meaningless name it actually allows use of the resxtop command in the vSphere CLI.

Categories: VMWare Tags:

How to extend a partition on VMWare Virtual Machine that runs Windows

March 3, 2011 Leave a comment

This can be done nice and easy using VMWare console. Here are the steps you would need to perform:

  1. Commit all existing snapshots for the target VM (see VMWare KB1006847)
  2. Turn off the VM
  3. Expand the VM’s VMDK file as follows:vmkfstools –X <new size> <path to vmdk file>
  4. Power on the VM
  5. Go into disk manager to confirm you’ve got additional space on your partition
  6. Go into command line and run DISKPART. There you will need to select your volume (do “list volume –> select <volume you need> –> extend –> exit”)
  7. Done!

The example above relates to non system volumes. If you want to extend the system volume you would need to use another Windows VM. Power off the target VM, expand its disk using vmkfstools, add it as a new disk to the helper VM, expand the Windows partition as described above, delete the disk from the helper VM, power on the target VM. Done!

Alternatively, you can use VMWare Converter, for instance, but it’s a much longer process and certainly much less elegant than the above procedure.

Categories: VMWare, Windows Tags: