Wednesday, June 5, 2019

NSX-T 2.4 Test Drive

Log in as admin using the NSX Manager Simplified UI after deploying the first NSX Manager Node via ovf/ova. These can also be installed using KVM.


Register the Computer Managers (vCenters) with NSX:





Create a Management Cluster with 3 nsx appliances and configure the Virtual IP:


Verify the state of your cluster:



Get Comfortable with the Simplified AND Advanced user Interfaces. Be aware that the terminology varies depending on the Interface you are using.



Add Transport Nodes, Transport Zones, IP Pools and N-VDSs:






If you enable SSH, learn about commands:






Take a look at the Dashboards:



Friday, April 19, 2019

Understanding Esxi Partitions

Have you ever looked at the boot disk of your enviroment and wondered what exactly do those entries represent?  I am talking about :1, :2 and so forth... Have you ever wondered if your boot disk has the same number of partitions, or is the number potentially different when comparing two esxi hosts?



Let's take a look at the boot disk in this case. All your drives are listed in /dev/disks, which is a link to /vmfs/devices/disks. The way you recognize the boot disk is by looking at all the partitions of such drive.  The boot disk is the only one that has so many partitions.




To understand the type of partitions that exist in the boot disk, simply use the partedUtil command. This command creates, removes and list partitions. Use the --help command to see all the options. In this case, we query the boot disk and see several partitions.




Partition Breakdowns 

Let us start with partition 1. This 4mb partition contains the bootloader.

Partition 2 (4gbs in size) is used as the scratch partition. The output of vm-support is located there.

Partition 5 (250mb) is your bootbank. The hypervisor's image is located here.

Partition 6 (250) is your alt bootbank. This is used when upgrading esxi hosts.

Partition 7 is used for the Purple Screens of Death. It's 110mb in size.

Partition 8 is used to store the vmware tools images.

Final Note: Be aware that your boot disk could also have a vmfs partition. This happens for example when installing esxi on a sata disk (like in a lab). Not created on flash memory.

Wednesday, January 9, 2019

The D.C.L.I. (Datacenter CLI)

What is the DCLI?  The DCLI is one of the newest command line interfaces available in vSphere. It can be used interactively or via scriptable mode. Here are a few examples of commands available. These commands were run from a linux (ubuntu) vm.

Note: These commands will only work if you take care of the certificates ahead of time. 

Run the following command to get started with the DCLI


Run this command to view the existing datastores


Run the following command to get a list of the existing vms


This command will show any resource pools


Run partial command to view the capabilities of the DCLI





Have fun...