Saturday, 21 May 2016

How to Enable Logging for Linux agent in SCOM 2012 r2

How to Enable Logging for Linux agent in SCOM 2012 r2

    • Linux agent is one of the most challenging to monitor in SCOM. As is cross platform monitoring it does not give clear error when there is error.
    • So you should enable Loging on Agent to see whats happening.
    • Once loging is enabled you can see log created in /var/opt/microsoft/scx/log.log
    • To see the current state of loging type scxadmin -log-list
    • To set loging to Troubleshooting type scxadmin -log-set all verbrose

    • This will set the loging to TRACE and will start recording all events.
    • Once your troubleshooting is compeleted you have to reset the log back/
    • To do this use the command scxadmin -log-reset
    • This will reset the logs back to info level from Trace level

Thursday, 12 May 2016

Difference between VHD and VHDx disk

Difference between VHD and VHDx disk


  • The .vhd format has been used with Microsoft virtualization products since the days of Virtual Server. 
  • The .vhdx format is new to Windows Server 2012.
  • VHD:Virtual hard disk files in .vhd format are limited to 2040 GB. Virtual hard disks in this format are supported on Hyper-V hosts running Windows Server 2008, Windows Server 2008 R2, Windows Server 2012 and Windows Server 2012 R2.
  • Other than the size limitation, the important thing to remember is that you cannot use virtual hard disk files in .vhd format with generation 2 VMs.
  • VHDx: Virtual hard disks in .vhdx format have the following benefits:
  • Can be up to 64 TB in size,Have larger block size for dynamic and differential disks,Provide 4-KB logical sector virtual disks,Have an internal log that reduces chance of corruption,Support trim to reclaim unused space
  • The main limitation of virtual hard disks in .vhdx format is that they cannot be used with Hyper-V on Windows Server 2008 or Windows Server 2008 R2.