Featured »

March 2, 2022 – 2:00 pm

Books have been written on the subject of awk and sed. Here’s a small sample of commands I put together over the years that are useful for everyday system administration tasks. Most of these tasks …

Read the full story »
Networking

Unix and Linux network configuration. Multiple network interfaces. Bridged NICs. High-availability network configurations.

Applications

Reviews of latest Unix and Linux software. Helpful tips for application support admins. Automating application support.

Data

Disk partitioning, filesystems, directories, and files. Volume management, logical volumes, HA filesystems. Backups and disaster recovery.

Monitoring

Distributed server monitoring. Server performance and capacity planning. Monitoring applications, network status and user activity.

Commands & Shells

Cool Unix shell commands and options. Command-line tools and application. Things every Unix sysadmin needs to know.

Home » Archive by Category

Articles in Virtualization

AWS CLI Cheat Sheet

August 14, 2018 – 4:18 pm
bb3styfdt6jd861cmp7yt08l1dy

The installation and configuration process for AWS CLI is fairly simple. The package itself is installed with pip (yum -y install python-pip):

The Mystery of a Hemisphere

July 31, 2018 – 4:00 pm
vadgh6y3ejhsjuz41ztqtajgm12

To make this long (and embarrassing) story short: a friend’s kid had a homework assignment in geometry to calculate the surface area of a conjoined cone, a cylinder, and a hemisphere.

Get a List of all ESX Hosts in a Datacenter

April 17, 2017 – 3:18 pm
storage barrels cluster hpc

Another simple one-liner to get a list of hostnames of all ESX servers in the vCenter. This can be useful for a number of things, specifically as input for other PowerCLI scripts.

Use PowerCLI to Change NIC Type

April 17, 2017 – 11:52 am
machine-gun-001

This is a quick PowerCLI script that reads from a list of VM names and for each VM with network adapter type “E1000” changes it to “Vmxnet3”. Nothing fancy, no reboot is needed. MAC should …

Sample Salt Proxy Configuration for vCenter/ESX

March 20, 2017 – 4:15 pm
Spoon_Salt_Sugar_Black_Pour_1920x1200

The Salt proxy agent is a relatively new feature of Salt allowing to control networked devices where salt-minion cannot be installed directly. The official Salt documentation on the subject is outdated and full of syntax errors. It’s actually …

Configure and Run esxcli on Red Hat

March 20, 2017 – 3:58 pm
redhat_rhel_linux_0001

The esxcli utility is used to interface with the vSphere and ESX hosts. It is a useful tool for getting to some basic VMWare functionality from Unix shell. It is also a pre-requisite for some of …

Managing VMs with PowerCLI

February 20, 2017 – 5:45 pm
storage barrels cluster hpc

Below is a collection of useful Power-CLI one-liners (or thereabouts) that can speed up your script-writing efforts. As everything Windows, things change often and for no obvious reason, so expect to see type is deprecated and …

Copying a VM between VCenters

November 12, 2016 – 6:13 pm
cat_001

I had a little task: clone an operational VM from one VCenter to another. Normally, for such a task I would use the Standalone Converter. Unfortunately, this time I ran into an annoying SSH key …

Fixing NIC Name in Cloned VMWare Linux Machines

June 28, 2016 – 12:32 pm
network switch

A suspected bug with certain versions of VMware ESX causes cloned Linux VMs to obtain a sequentially-number NIC. For example, if the parent VM had eth0, the clone will have eth1, and the clone of …

VMWare VMDK Locked Error

May 21, 2016 – 10:27 pm
reverse_ssh_tunnel

So, being a Unix admin on-call for the week, I just spent half of my Saturday fixing a dead Windows VM. Very annoying. The best I can tell, the issue occurred during the snapshot operation. …

VMware vCenter Converter Standalone Notes

October 9, 2013 – 11:28 am
Grapevinesnail_01

The vCenter Standalone Converter is a handy app you can run on your Windows or Linux PC to to P2V a remote server. As convenient as the Converter is, there are a few gotchas that …