How to identify if an ESXi host is booted from PXE?

Have you ever wanted to find out if an ESXi host is booted from PXE?

In ESXi 5.0 and later, a handy CLI based tool, bootOption, can help you accomplish this task. This is available at the DCUI or via SSH.

The syntax to use is:

# bootOption -p

The output can be one of 2 possibilities:

Booted via (g)PXE : 0
which means Not booted from PXE

Or:

Booted via (g)PXE : 1
Which means it is booted form PXE

 

Monster VM panel VAPP4679 voted top 10 at VMworld 2013 San Francisco

Monster VM panel VAPP4679 session voted top 10 at VMworld 2013 in San Francisco.

This session will be delivered in Barcelona as well.

Going to VMworld 2013 in Barcelona?
Make sure to sign up for session VAPP4679 “Software-Defined Datacenter Design Panel for Monster VMs: Taking the Technology to the Limits for High Unilization, High Performance Workloads”

On the panel with me:
Frank Denneman, PernixData
Andrew Mitchell, VMware
Paul Nothard, VMware
Michael Webster, VMware

 

Monster VM panel at VMworld 2013

Going to VMworld 2013 in San Francisco or Barcelona?
Make sure to sign up for session VAPP4679 “Software-Defined Datacenter Design Panel for Monster VMs: Taking the Technology to the Limits for High Unilization, High Performance Workloads”

On the panel with me:
Frank Denneman, PernixData
Andrew Mitchell, VMware
Mark Achtemichuk, VMware
Michael Webster, VMware

 

vSphere 5.0 Update 1 introduces a tool to manually reclaim deleted blocks

With today’s release of VMware vSphere 5.0 Update 1, included is an update to vmkfstools that enables administrators to manually reclaim deleted blocks on thin provisioned LUNs on VAAI capable storage arrays.

The new flag added to vmkfstools is “-y” and takes the percentage of the deleted blocks to reclaim as an argument.

You need to cd into the VMFS volume with the deleted blocks before you run the command.

For example:

# cd /vmfs/volumes/MyThinVol

# vmkfstools -y 70

This will reclaim 70% or the deleted blocks. Note that this works even though the UNMAP Primitive was disabled when you installed Update 1. It is time consuming though. My advice is to run this off-peak time and place the host in maintenance mode.

See VMware KB article 2014849 for details.

Storage Troubleshooting Boot Camp – Partner Exchange 2012

I will deliver vSphere 5 Storage Boot Camp at Partner Exchange 2012 in Las Vegas on Sunday February 12, 2012.

The session is free to Partner Exchange 2012 attendees and will be 4 hours long starting at 8:30am

Here is the session details:

VMware vSphere 5 – Storage Troubleshooting

Learn basic to advanced levels of troubleshooting storage on vSphere 5 including extensive details about vm-support script, its structure, diagnostics data it collects and how to interpret them from the storage perspective. We will also cover advanced CLI options that will help in daily storage administration.

When: Sunday, February 12 (8:30am – 12:30pm)

Cost: Free with your conference registration.

Who Should Attend: Post-sales engineers who have basic operational and storage knowledge at VMware partners who are responsible for configuration and maintenance of storage environments supporting VMware vSphere 5 infrastructures.

Storage tips on VMware vSphere Storage (Mostafa Khalil)

%d bloggers like this: