Wednesday, November 29, 2017

Community Vmware management pack for vmware sphere 6.0

Mitch Luedy has created a very good management pack for monitoring VMware. He also was gracious enough to make it available to everyone for free.

Link to his github repository of the entire solution is here.

This management pack uses PsSnapins in the powershell scripts. And vmware has ceased the use of snapins from 6.0.

 I have modified the scripts to use modules and this management pack will work on vsphere 6.0 now.

Link to that repository is here.


Friday, November 17, 2017

Orchestrator fails to import 64 bit powershell modules. Cmdlets do not work.

Orchestrator spawns processed in 32bit powershell. So if you use any activity that uses 64bit powershell modules. Those modules fail to load.
To overcome this encapsulate your script in the following lines.

C:\Windows\Sysnative\WindowsPowershell\v1.0\Powershell.exe -NonInteractive -Command {
###Enter your script here###



Thursday, November 9, 2017

Installing scom webconsole on stand alone server

To install scom web console on a stand alone server.  Follow this link

Then there are some minor configurations to be done.

1. Change the binding of your default website in iis manager. Enter the hostname for your web server there.

2.   Check if the spn for momsdksvc is registered to the account the sdk service is running on
setspn -L msomsdksvc/managementservernamewithfqdn domain\sdkaccount

msomsdksvc/managementservername domain\sdkaccount

If this is not present add the spn using

setspn -A msomsdksvc/managementservernamewithfqdn domain\sdkaccount
setspn -A msomsdksvc/managementservername domain\sdkaccount

3. The allow delegation in Active directory for the account the sdk service is running on the management server the webconsole will connect.

Open Active directory and select the computer which has the web console installed.
  • Click delegation tab.
  • Check radio button for Trust this computer for delegation to specified services only
  • Check radio button for Use Kerberos only.
  • Click add and search users or Computers for the sdk service account
  • Select your management server spn. Which will be of the form (msomsdksvc/servername) 
  • Click ok and close the box
  4. Restart iis on the web server using
      iisreset /restart