'Virtualization' Category

  • Powershell: Windows Updates for Hyper-V/SCVMM Cluster

    February 8, 2012

    I let this sit for awhile before deciding to finish it, from what I can see it works perfect for our environment.   function Get-Updates ($VMHost) { $VMMServer = Get-VMMServer "SCVMM IP Adress" $SCOMServer = "SCOM Server FQDN" New-PSDrive -Name:Monitoring -PSProvider:OperationsManagerMonitoring -Root:\ | Out-Null New-ManagementGroupConnection -ConnectionString:$SCOMServer | Out-Null Set-Location "Monitoring:\$SCOMServer" function StartMaintenance { $SCOMAgent = [...]

  • Powershell: Get List of Storage Hogging VMs by Volume

    December 16, 2011

    Lately a couple of our Cluster Shared Volumes have been hitting a high percentage of usage, to alleviate any issues, I wanted a simple way to find out which VMs had the largest disk usage on those volumes. I chose to query volumes that were over 70% usage and the top 5 storage hogging VMs from those. [...]

  • Powershell: SCVMM Host Status Snippet

    December 1, 2011

    I changed this around in my last script to verify the operational status of a host via SCVMM instead of the Hyper-V server itself. function CheckHostStatus { $HostState = Get-VMHost $VMHost if (($HostState.ComputerState -match "Responding") -and ($HostState.ClusterNodeStatus -match "Running") -and ($HostState.VirtualServerState -match "Running") -and ($HostState.VirtualServerStateString -match "Running") -and ($HostState.CommunicationStateString -match "Responding") -and ($HostState.CommunicationState -match "Responding")) [...]

  • Powershell: Windows Updates for single Hyper-V Server

    October 10, 2011

    I’m now in charge of roughly 30 Hyper-V servers, half in an HA cluster, and the rest are standalone. Rather than doing updating each server manually I decided to take it upon myself to automate it via PowerShell. In my environment, we use SCVMM and SCOM, so doing this is rather easy, we also have [...]

  • Perfect vSphere 5 whitebox

    August 25, 2011

    I was hunting for a new affordable whitebox all pieced together for me, IE a desktop that was inline with the HCL. I looked through Best Buy since they usually have decent deals and went to my local CompUSA store to scope things out. I ended up buying a Gateway DX4860 from Best Buy for [...]

  • vCenter 5: The FQDN cannot be resolved.

    August 24, 2011

    I was lucky enough to grab a copy of the vSphere 5 suite this weekend. Upgrade went fine, but I encountered an error during the install process for vCenter 5 stating “The Fully Qualified Domain Name could not be resolved”, after doing some testing I had no issue resolving that to my IP address assigned [...]

  • Locking yourself out of vCenter

    August 22, 2011

    A few days ago, I was browsing through Reddit and saw this post, where it was suggested that the person edit their database or vpxd.cfg to fix this issue via this article from years ago by Eric Sloof. There is a much simpler way of remedying this issue. vCenter takes its base permissions from the Administrators [...]

  • pfSense and NATing with vSphere

    May 6, 2011

    After getting my server setup in our datacenter, I had to think of a way to not use all of my 5 allocated IP addresses. pfSense came to mind as I heard of it before. This neat little piece of software can do a ton of different things, in my case, NATing and routing. pfSense [...]

  • Using vCenter behind a NAT

    May 5, 2011

    Well, I finally got my server up and running at our datacenter, I wanted to then hook it up a vCenter server running at my house. All seemed well, I got DNS and firewall ports all set, then finally connected my host to vCenter. Shortly after, to my dismay, my host suddenly disconnected. I tried [...]

  • vCenter: Using the Master DB is not permitted

    May 4, 2011

    I always forget how to do this when I have to, which was last week. I thought I’d use my blog to keep track of this needed task. In vCenter, you are not allowed to use Microsoft SQL Server’s default master database when configuring vCenter, so you have to end up creating a new one [...]

 
Powered by Wordpress and MySQL. Theme by Shlomi Noach, openark.org