Sign In
zevenseas logo
What we offer
Work
Community
Who and where
Communities
Consultancy
Products
With us
Industries
Through us
Get on board
Jobs in the US
Blogs
Stuff
Codeplex
News
Who are we
Where are we
 
Navigation
  • Community Home
  • Blogs Home
  • This Blog's Home
Archives
  • February 2008 (4)
  • March 2008 (22)
  • April 2008 (5)
  • May 2008 (4)
  • June 2008 (3)
  • July 2008 (7)
  • August 2008 (1)
  • September 2008 (3)
Categories
  • Support
  • Code
  • How-to
  • Governance
  • MOSS Search
  • LoveLinks
  • Workflow
RSS Feed Feed your read!

Site Life Cycle Management V2 .. Why V2? 

Tags:

I've been busy this week with a new project called LCMv2. If you remember, Joel Oleson and Bill Bear posted a governance solution called Site Life Cycle Management a while ago on CodePlex. MS IT use this solution to do the following:

Microsoft IT Team Site Life Cycle Management is a custom Microsoft solution that provides lifecycle management for Windows SharePoint Services site collections through write locking, back up to disk.
The MSIT SLCM tool helps you by "arching" (backup/delete) unused sites and automating the notification process of pinging owners on sites that are not in use. A site collection is used to administer the settings and configuration for the Site Life Cycle Management process.

Now the customer where I'm currently working requested such a feature. So I downloaded and installed it on our development environment to see if it worked and more importantly how it worked since the customer also had some extra requirements like : give us a report that tells us how many sites are using the Enterprise features, how many sitecollections are in each webapplication, how many MySites are there and more analytical stuff like that.

So I downloaded the source code and the first thing I was particularly interested in was the EventReceiver. So I went in the folder and opened up the DeleteEventReceiver.cs file and while browsing the code the following caught my attention :

v2deprecatedclasses

Then I scrolled up again and noticed that the source code was dated in November 2006 .. just shortly after the launch of our beloved 2007 version. So that's probably the reason why the new classes like SPFarm and SPWebApplication weren't used. After seeing this and other things like the custom Windows Service (why not use a custom TimerJob) and the separate creation of a sitecollection to configure the LCM (why not use a propertybag to store data and use a custom .aspx page in the Central Admin to configure) I decided to recreate and extend this solution!

So things to do are :

  1. Create an application page to configure LCM settings
  2. Modify the EventReceiver to make use of the new OM
    • While deleting, store information about the site (date of deletion, name of backup file, size of site)
  3. Create a custom timer job to gather all the information of all the webapplications and it's sitecollections
  4. Create an application page to get an overview of all the gathered information
    • Get an overview of unused sites
    • Get an overview of sites / webs with enterprise features enabled
    • Get an overview of how many sites per webapplications are in the farm
    • Get an overview of all the mysites
    • Get an overview of all unique active users on the farm
  5. Create a subweb to store rich information about all the gathered information within the CA

And while we are at it.. store the custom webparts (already built) that displays the following information in there as well :

  1. For a given user, show what his or her rights are on each sitecollection and webs
  2. For a given site/web, show what all the rights are per user per list/document library

Think it makes sense to redevelop the whole tool to be a. supported when we upgrade to the next version and b. make it more fancy by using 2007 techniques. I got 75% covered already this week.. so expect to see the final version and the post on 'How we dit it' very soon (prolly within a week after the SharePoint conference)

 
Posted by Robin Meure on 29-Feb-08
1 Comments  |  Trackback Url  |  Link to this post | Bookmark this post with:        
 
Failed to render control: Value does not fall within the expected range.

Comments

Monday, 8 Sep 2008 12:52 by Manish
Hi, Any updates to this post?? You mentioned that you would explain how you made modifications to this tool to make it more helpful.. I'm thinking about using it in our environment.. Regards, Manish Chopra

Name

Url

Email

Comments

CAPTCHA Image Validation


 

© 2007 Community Kit For SharePoint