IT Systems Engineering
-
Monitor a website using SCOM 2012
So you just installed SCOM? Now you are excited to put it to use. One of the first things I wanted to do is to monitor a website. Here I will describe how you can do it quickly.
-
Quick install guide for System Center 2012 – Operations Manager
Here are my notes for installing SCOM on a single server. The DB will be on a different server. Prerequisites: In a nutshell you need to do these things first. For reference, Here is the official documentation. I also used Kevin Holman’s blog about a similar deployment here.
-
Troubleshooting Windows Remote (WinRM)
Here are a few commands which can be run to troubleshoot Windows Remote (WinRM) connectivity (These commands may need to be run on an elevated CMD): This shows you which port and IP addresses WinRM is listening to: winrm e winrm/config/listener This checks if WinRM has some problem: winmgmt /salvagerepository This shows you the configuration: winrm get winrm/config I ran these commands on my Hyper-V nodes and VMM server, while troubleshooting connectivity / permission related errors.
-
Querying for SPNs
While troubleshooting connectivity problems in VMM 2012 I had to query AD to check if SPNs have been created for the service account used to run VMM. Here is what I used to query AD: setspn –l Domain_name\VMM_service_account_name Incidentally, this showed me that I have two SPNs for this service account. One was for the current VMM server and the second one was for the old VMM server. I had an old VMM server at one time. Then I killed it and created a new VMM server. I deleted the old SPN using this command: setspn -d SCVMM/VMM_server_name Domain_name\VMM_service_account_name PS: Microsoft PSS told me to do this.
-
PowerShell command to check checkpoints in Hyper-V
Here is a quick PS command to check how many of your VMs have a snapshot: Get-VMCheckpoint |format-List -Property Name,Description It is always a good ideal to keep an eye on snapshots of your VMs.