Sunday, February 13, 2011

Strange issues with the SCSM Mangement Server

I sometimes find strange issues with the SCSM management server. For example, my connectors have not synchronized in several days. Performing a manual synchronization does nothing. When I look in the event log, there are no errors, but there is a sync start/end immediately.

I have found that a restart of all the SCSM services will clear this up. If services restarts do not work, a server restart usually does work.

Tuesday, February 8, 2011

Export all unsealed MPs

http://www.scsm.se/?p=227


Here’s a little powershell script that I use for exporting all unsealed MPs. It’s really useful to run once in a while so you have a backup of all unsealed MPs.
The script will create a new folder with the current date and store all MPs in that folder. Change the $OutPutDir variable to a folder of your choice.
[powershell]
Add-PSSnapin SMCMDLetSnapIn

$OutPutDir = “C:\Unsealed MPs\”
$UnsealedMPs = Get-SCSMManagementPack | ?{ ! $_.Sealed }
$CurrentDate = Get-Date
$CurrentDate = $CurrentDate.ToShortDateString()
$CompletePath = ($OutPutDir + $CurrentDate)

if ( ! (test-path $CompletePath))
{
$output = New-Item -Type Directory -Name $CurrentDate -Path $OutPutDir
}

$UnsealedMPs | %{
” Exporting: {0}” -f $_.Name
$_ | Export-SCSMManagementPack -directory “$CompletePath”
}
[/powershell]

Sunday, February 6, 2011

SharePoint Surveys with SCSM

http://blogs.technet.com/b/servicemanager/archive/2009/12/08/incident-resolution-satisfaction-surveys-on-sharepoint.aspx

SCSM Portal is Slow - I got a suggestion from Travis Wright


I got some more information from one of our devs today.  Try this:
  • Open IIS
  • Select the Application Pools view
  • Select the SM_AppPool application pool (unless your portal is using a different app pool for some reason)
  • Click the Advanced Settings... link in the Actions pane on the right (or in the context menu)
  • Scroll down to the bottom to the Recycling section
  • Change the Regular Time Interval (minutes) option to 0 (never recycle)
That will make sure the portal doesnt just recycle the app pool and require a rebuild just because a certain amount of time has passed.