How to crash your server to test HA

There are several ways to test if HA is working. You can unplug the power of your server or perform a reset of the machine and a fail over will take place. In training classes and for demo's it's nicer if you can actually have the server to crash and show a Purple Screen of Death (PSOD).

vsish command

This is the command to execute:

vsish -e set /reliability/crashMe/Panic 1

Convert a Template to a Virtual Machine from the command line

The normal procedure to convert a template to a virtual machine is to right-click the template in the vSphere Web Client and select the menu-option Convert to Virtual Machine. You would do this for example if you need to update the template with new software, patches or other modifications before using it to deploy additional virtual machines. When the virtual machine is updated you then convert it back to a template.

Import and Export Virtual Machines from the command line with VMware's OVF Tool

Importing Virual Machines (also called deploying OVF templates) or exporting them into the OVF format can be done with the vSphere Client, vSphere Web Client or from the vCloud Director management portal. But did you know you can also perform these actions from the command line? There is a utility available from VMware that runs on Linux and Windows that allows you to perform these actions from the command line, and thus can also be used in scripts.

VirtualHere with Raspberry Pi as USB server

When you want to use USB devices in a virtual machine you don't want to connect them to your physical ESXi-host and then from there pass through to a virtual machine. By doing this you pin the virtual machine to the host. For example with a failover the virtual machine would boot on another host and would not be able to connect to it's USB-device, which is still plugged into the failed host. Also with vMotion your options are limited. To solve this problem several solutions have been around to access USB-devices remotely via the network. 

Follow us on LinkedIn




Theme by Danetsoft and Danang Probo Sayekti inspired by Maksimer