Thursday, 10 September 2015

Throttling a VM's IOPS - vSphere 6

By default there is no disk I/O throttling setup within vSphere - in order to get an idea of how many IOPS the machine is hitting we should firstly use esxtop to provide the information:SSH into the ESXI host >> run the 'esxtop' command >> press the 'v' key to go into the VM view.You can then confirm the IOPS by observing the CMDS/s column.Dependent on your disk setup you could also make use of an IOPS calculator to give you an estimate of what kind of IPOS you should be expecting:http://www.thecloudcalculator.com/calculators/disk-raid-and-iops.htmlOnce...

Wednesday, 9 September 2015

How to check the queue depth of a storage controller using ESXTOP

 From http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1027901 To identify the storage adapter queue depth: Run the esxtop command in the service console of the ESX host or the ESXi shell (Tech Support mode). For more information, see Using Tech Support Mode in ESXi 4.1 and ESXi 5.0 (1017910) or Tech Support Mode for Emergency Support (1003677) . Press d. Press f and select Queue Stats. The value listed under AQLEN is the queue depth of the storage adapter. This is the maximum...

My collection of useful Powershell commands

The below is (or rather will be) a compilation of powershell commands that have come in handy for myself during day to day operations. Ensure all users in a specific OU have thier accounts set to "Password Never Expires": Get-AdUser -Filter * -SearchBase "OU=myou,DC=my,DC=domain" -Server dc01 | Set-ADUser -PasswordNeverExpires $true -Credential administrat...

Wednesday, 2 September 2015

Error: A binding for this client already exists.

When attempting to add a reservation into a Cisco 1841 I encountered the following error message: A binding for this client already exists. when running: client-identifier 0100.0111.001e.48 To resolve firstly identify which IP address the MAC address is assosiated with - this can be performed with: show ip dhcp binding Identify the assosiated IP and then simply run the following command to remove the binding: clear ip dhcp binding <ip-address> You should now be able to run the client-identifier command aga...

Setting up a reverse proxy for several websites with IIS and TMG 2010

Firstly launch the Forefront TMG Console and go to the "Firewall Policy" node and select "Publish Web Sites" on the Tasks" navigation window on the far left.In the wizard give the rule name something like "Reverse Proxy" >> Next >> Allow >> Select "Publish multiple Web sites" >> Add your desired site.The wizard will also ask you to create a new 'Listener' - assign or add an additional IP address to your 'External' adapter.Make the appropriate DNS entries into your DSN system and proceed by going to IIS and setting up our...

Tuesday, 1 September 2015

Performing a test DR recovery of a virtual machine with vSphere Replication

Unless you are using vSphere Replication with Site Recovery Manager you will not be able to perform a 'test recovery' (i.e. recover the VM while the source site/VM is still active/online). The process you could follow in case you would like to keep your primary site online is as follows:1. Perform Recovery using the second option (Recover with latest available data). In this way you would not need to power off source VMs and your primary site will be online.2. After recovery is complete, stop the replications (which will be in Recovered state)3....