Browsed by
Tag: vsphere

A wrap-up of my own VCDX Jurney #291

A wrap-up of my own VCDX Jurney #291

This is a post I was about to write already 2 months ago as a summary of 2020 as it’s imporant to wrap-up a long time I spent preparing for VCDX and also say Thank You. However, due to other tasks, engagements, etc. I just managed to complete it right now! So first things first – finally, after a very long and extremely informative journey at 15 Dec 2020, I finally received probably the best e-mail ever. Hi Pawel, Congratulations! You passed!…

Read More Read More

0 Shares
General vSAN Error

General vSAN Error

vSAN is a wonderful shared storage option in a vSphere cluster, but it requires an administrator with deep product knowledge and overall awareness to be able to manage it with an understanding of its quirks and gotchas. I’ve worked with several vSAN clusters composed of many nodes for a few years now but sometimes it still surprises me. I’ve recently spent a couple of hours troubleshooting a “General vSAN Error” to figure out why I couldn’t put a host in…

Read More Read More

0 Shares
Part 1 – PVRDMA and how to test it in home lab.

Part 1 – PVRDMA and how to test it in home lab.

One of the members of the VMware User Community (VMTN) inspired me to build a configuration where two VMs use PVRDMA network adapters to communicate. The goal I wanted to achieve was to establish the communication between VMs without using Host Channel Adapter cards installed in hosts. It’s possible to configure it as stated here, in the VMware vSphere documentation. For virtual machines on the same ESXi hosts or virtual machines using the TCP-based fallback, the HCA is not required….

Read More Read More

0 Shares
dcli and how to shutdown vCSA

dcli and how to shutdown vCSA

Sometimes You want to shutdown vCSA or PSC gracefully, but You don’t have an access to GUI through vSphere Client or VAMI. How to do it in CLI? I’m going to show You right now using dcli, because I’m exploring a potential of this tool and I can’t get enough. Open an SSH session to vCSA and log in as root user. Run dcli command in an interactive mode. dcli +i Use shutdown API call, to shutdown an appliance, giving…

Read More Read More

0 Shares
VCSA Tools – Part 1 – journalctl. Better way for vCSA log revision.

VCSA Tools – Part 1 – journalctl. Better way for vCSA log revision.

There’s a plenty of great CLI tools in VCSA that modern vSphere administrator should know, so I decided to share my knowledge and describe them in the series of articles. The first one is journalctl. A tool that simplifies and quickens the VCSA troubleshooting process. Below I’m presenting how I’m using it, to filter the logs records. Log in to VCSA shell and run the commands below, regarding to the result you want to achive. The logs from the current…

Read More Read More

0 Shares
dcli and orphaned VMs in vCenter Server inventory

dcli and orphaned VMs in vCenter Server inventory

The orphaned VMs in vCenter inventory is an unusual view in experienced administrator’s Web/vSphere Client window. But in large environments, where many people manage hosts and VMs it will happen sometimes. You do know how to get rid of them using traditional methods described in VMware KB articles and by other well known bloggers, but there’s a quite elegant new method using dcli. This handy tool is available in vCLI package, in 6.5/6.7 vCSA shell and vCenter Server on Windows…

Read More Read More

0 Shares
VSAN real capacity utilization

VSAN real capacity utilization

There are a few caveats that make the calculation and planning of VSAN capacity tough and gets even harder when you try to map it with real consumption on the VSAN datastore level. VSAN disks objects are thin provisioned by default. Configuring full reservation of storage space through Object Space Reservation rule in Storage Policy, does not mean disk object block will be inflated on a datastore. This only means the space will be reserved and showed as used in VSAN Datastore…

Read More Read More

0 Shares
Part 2 – How to list vSwitch “MAC Address table” on ESXi host?

Part 2 – How to list vSwitch “MAC Address table” on ESXi host?

The other way to list MAC addresses of open ports on vSwitches on the ESXi host is based on net-stats tool. Use this one-liner. for VSWITCH in $(vsish -e ls /net/portsets/ | cut -c 1-8); do net-stats -S $VSWITCH | grep \{\”name | sed ‘s/[{,”]//g’ | awk ‘{$9=$10=$11=$12=””; print $0}’; done This is not a final word. 🙂

0 Shares