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.

Follow us on LinkedIn

  

   

   

Theme by Danetsoft and Danang Probo Sayekti inspired by Maksimer