vCenter

Running an Alarm Script on the vCenter Server Appliance

When alarms on vSphere are triggered by the vCenter Server there is an option to run a script. That script will run on the vCenter Server appliance in Linux. In this article I will explain how to setup the script location and permissions and will show a demonstration script.

First of all let's look at the alarm definition in the vSphere Client. In the image below you see an alarm definition for a virtual machine event. When the VM reaches the powered off state this alarm will be triggered. The script that is configured to run is: /home/vpxd/alarm.sh.

Tags:

Logging in to the vCenter VAMI with an AD account

One of my students asked if it is possible to also login to the vCenter server appliance management interface (VAMI) with an Active Directory account. The VAMI is available on your vCenter server on port 5480. After installation of the vCenter Appliance you can login with root and with administrator@vsphere.local (or a different SSO-domain name if you have entered something else than  vsphere.local).

Tags:

Updating vCenter Server appliance from an ISO without access to the cd-drive

Normally updating a vCenter server appliance is as simple as accessing the VAMI interface on port :5480 and have the appliance download it's own update form the default update URL. And when that's not possible you can always just download the ISO-file and mount that on your vCenter server appliance.

Tags:

Set timeout to 0 for vSphere Client with a script

The vSphere Client and vSphere Web Client in the vCenter Appliance both have a timeout of 120 minutes. NSX-T has a timeout of 30 minutes. When I am teaching VMware classes the client always has just timed out when I want to demonstrate something to my students and I then have to re-login. So therefor I always configure the timeout to 0 (no timeout) at the start of each class. It is documented here how to do that:

vCenter 6.5 Appliance Backup and Restore

With the release of vSphere 6.5 VMware has introduced a new method for creating a backup of the vCenter Appliance. This method is available from the vCenter Appliance web management interface on port 5480 (https://applianceaddress:5480). In this article I will explain how to create a backup and what the restore procedure is.

vCenter Appliance backup

Follow us on LinkedIn

  

   

   

Theme by Danetsoft and Danang Probo Sayekti inspired by Maksimer