Here is a small and simple PowerShell script to list VMs, their last successful backup and the days gone since then.
Recently I had to create a new 3PAR CPG using just new added 1.2TB disks. But the system uses already a cage full of 600GB disk. While it was straight forward to change the existing CPG (using 3PAR Management Console – StoreServe Management Console (SSMC) does not support this feature any more) to use all disk in cage 0, it was not possible to create a new CPG for all FC disks in cage 1. It was not possible to filter cage number, slot in cage, magazine or chunklet-sizes in the GUI. Also using a simple version of
createcpg command does not work. All I got was an error: “
Error: no available space for given (invalid?) parameters“.
To get the work done, I used this command:
createcpg -sdgs 32g -t r5 -ha mag -ssz 4 -ss 128 -ch first -p -devtype FC -tc_gt 546 -saga "-ha mag -p -devtype FC -tc_gt 546" FC_r5_1200_AO
Growth Increment. Note: use
r0, r1, r5, r6)
port, cag, mag)
Set-size. For example: set-size of 4 when using Raid5 means 3+1
Preferred chunklets (
FC, NL, SSD)
Means: “total chunklets greater than”.
-tc_gt 546selects all disk have more than 546 chunklets (size of a chunklet = 1G –> use all disks greater than 600GB)
Means: “total chunklets less than”.
This parameter describes the admin-space of the CPG. If you don’t enter this parameter, the characteristic of the admin-space will be different to the characteristic of the user-space.
Name of the new CPG
There are a few CLI methods to configure advanced settings in ESXi Hosts. It depends on where you are (vMA/Linux, Windows Client, Console) and what you want to do (configure all hosts or just a specific host, …) which option fits best. Here I describe the options: native PowerCLI, esxcli (console), esxcli (get-esxcli), esxcli (get-esxcli -v2) to:
- All settings
- All settings in a specific Tree or Folder (eg.
- A specific option
- All settings that differ from default settings (Delta)
Some time ago differentiation between PDL (Permanent Device Loss) and APD (All Path Down) was introduced to vSphere. In a PDL situation, the hosts does not expect the device to return. PDL happens for example, when an administrator unpresents a LUN from a host. APD on the other hand is completely unplanned. By default the host tries to get the device back. Starting with vSphere 6.0 there are settings in a HA-Cluster for response to PDL and APD. This post gives some information about the different settings, what happens to VMs with more than one VMDK, custom alarm creation and more.
There are a few best practices when implementing a 3PAR into a vSphere environment. One of these is the creation of a custom PSP-rule. With this set, all 3PAR volumes are automatically configured according to best practices when they get mounted. In this post I will show ways to create this rule.
Mounting a HP BladeSystem enclosre DVD drive on a VM sounds easy. And it is, but it is not that easy as I thought first. Technically it is a USB drive for the host, but it is not possible to pass through the device as a USB drive. This post describes the steps to take for windows VMs (tested for Windows 2008 and 2012), but this should also work for other OSs.
There is not very much information out there for the new feature Intelligent Workload Placement in vROps 6.1 and its improvements in 6.2. In this post there are some information that should help to understand what this feature does.