Disk Consolidation FileIO Lock Error

Performing Health Checks on one of the environments when I noticed that one of the servers had a yellow icon next to it. Click on the VM and on the Summary tab it said Virtual machine disks consolidation is needed.

diskconsolidation#1

Went to the VM, right click and select edit settings > Snapshot Manager > Consolidate Disk.
The job kicked off like normal, but then the following error appeared:

diskconsolidation#2

The Solution:

vMotion’d the storage to another datastore to release the lock. Then vMotion’d back to the same datastore.

Then perform a disk consolidation and it will perform successfully.

SharePoint 2010 – Access Denied

I was recently trying to re-provision a solution through Farm Solutions within Central Administration Service for Sharepoint.

Once I clicked deploy on the solution I got the below error:

Access denied. Only machine administrators are allow to create administration……

sharepoint#1

Weird. I doubled check that I had the correct permissions, which I did.

Solution:
————————–

Run Internet Explorer as Administrator by holding shift key and right clicking on the Internet Explorer icon and select Run as Administrator.

This will then run IE under the machine Administrator account.

SCOM Evaluation Period Has Finished

Was performing some checks on an environment and decided to check to see what SCOM was reporting. Open SCOM Console. Running SCOM 2012 R2 on Windows Server 2008 R2.

Couldn’t Connect. No descriptive error.

Opened Event Viewer, expanded Applications and Services Logs and click Operations Manager.
scomevaluationperiod#1

Found the following error that advised that I had exceeded the evaluation period.
scomevaluationperiod#2
To resolve, you need to licence SCOM with a valid licence.

Opened Operations Manager Shell on the Management Server and run the following script:

scomevaluationperiod#3
Set-SCOMLicence –ProductID 'ProductKey'