Posts

Showing posts from May, 2013

Disk Calculator HTML 5?

Here a small applet which will help you calculate the increase in disk space required to meet a threshold Enter current disk size (GB): Enter current free space (GB): Enter required % free space: Increase your disk by (GB):

When a snapshot isnt.

I came into the office this morning to see one of our Exchange 2010 VMWare boxes in disarray. Great start to the morning.  Did I say it was raining too? The DAG had failed over correctly so users were unaffected.  At least one thing was going my way! The error we saw on vSphere: "There is no more space for virtual disk xxx-000002.vmdk. You might be able to continue this session by freeing disk space on the relevant volume, and clicking Retry.  Click Cancel to terminate this session." We quickly found the LUN that the disk in question was sitting on and then browsed that LUN. Now is the time I will say we use Veeam for our backups.  This is nothing to do with their excellent system which two days previous had saved us from a SQL DB corruption - I have to get that point in as I would not want anyone to think this is in any way Veeams fault. Ok back on track... Veeam had run a backup of Exchange 2010 and failed due to the disk space issue.  Veeam uses snapshots.

PoshPAIG

Back again with some more information on the Scripting Guys' powershell for patching and auditing. If you have missed the first blog I found this whilst looking for something to help manage patches... I've not run this a couple of times in my environment (on servers which have no customer impact!) with good results. Here's my findings... Requirements: Install Net Framework 4 Install Powershell 3 Download both components: http://poshpaig.codeplex.com/releases/view/100929 http://technet.microsoft.com/en-us/sysinternals/bb897553 You may need to bypass the execution policy set-executionpolicy bypass You may need to add a firewall rule to your servers Rule Type:  Custom Rule Program - Keep defaults Protocol Type:   TCP   Local port: RPC   Dynamic Ports Scope - Keep defaults Action - Keep defaults Profile - Keep defaults Name it.  Finish What I did: Export list from vSphere client of all VM's Edit t

Disk Space Calculator?

One of the many things I deal with is monitoring servers. Those familiar with these tools will know about thresholds.  Typically disk thresholds are normally percentages of free space. So to keep those thresholds happy we need to manage the disk space. This leaves a question.  How much do you extend your disk by to satisfy the thresholds? Here is a formula: X=(((A-B)/(100-C)*100)-A Where: X = Space needed to add (GB) A = Current disk size (GB) B = Current free space (GB) C = Threshold limit (%) As an example: A 140GB disk blows the 10% threshold in Operations Manager, lets say the disk has 14GB free so you need to add some space to take it to 15% to satisfy the threshold with some head room. A = 140 B = 14 C = 15 X = (((140-14)/(100-15)*100)-140 X = ((126/85) * 100) - 140 X = 148.23 - 140 X = 8.23 So an increase of 8.23GB would yield 15% free space. Hope that helps.