Announcing the SharePoint Utility Suite Release 2 including SPSiteManager 1.1 and SPUserUtil 2.2


Announcing the SharePoint Utility Suite Release 2 and SPSiteManager 1.1

Now available live at https://www.microsoft.com/sharepoint/downloads/components/detail.asp?a=724


This release also contains an update to the SPUserUtil tools (SPSUserUtil and WSSUserUtil) with a couple of really good additions.

The SharePoint Utility Suite

Release: 2.0

Introduction

The purpose of the SharePoint Utility Suite is to provide a packaged collection of Tools and Utilities showcasing the rich Object Model that is delivered with the SharePoint Product and Technologies SDK (which includes Windows SharePoint Services 2.0 and SharePoint Portal Server 2003). This package includes code and tool examples that SharePoint Developers and SharePoint Administrators might find useful.

The source code examples provided in this package are delivered “AS-IS”.

The second release of this package contains the following utilities:

There are two main folders for the utilities (WSS and SPS). The SPS Folder contains source code for tools that require SharePoint Portal Server 2003 in order to compile and run. The WSS Folder contains source code for tools that only require Windows SharePoint Services in order to compile and run, but may also be run against SharePoint Portal Server sites and areas.

Folder

Tool

Version

Description

SPS\SPSAddCS

SharePoint Portal Server Content Source Add tool

1.0

An example of how to add Content Sources programmatically in SharePoint Portal Server 2003

SPS\SPSPropCheck

SharePoint Portal Server Indexer Property Sequence Number Checker

1.0

This tool will check the PropSeqNum values for indexes on the index server, and compare the values on all related Search Servers

SPS\SPSPropConfig

1.0 NEW to Release 2!!

WSS\DeleteSite

WSS\RefreshList

List Refresh Tool

Rebuilds a list for you in case you need to apply the latest template changes on the list.

WSS\SPExportWebFiles

Document Library file extractor

1.0

Extract files recursively from a document library out to the local file system

WSS\SPPruneWeb

SharePoint Web Pruning tool

1.0

Removes all necessary subwebs recursively for a web at any level in the site collection, without the need to do this manually.

WSS\SPSiteBuilder

SiteBuilder test tool

1.5 Updated in Release 2!!

Create a series of Site Collections and nested webs for testing purposes

WSS\SPSiteManager

SharePoint Site Manager

1.1 NEW to Release 2!!

Allows the administrator to batch backup, delete, restore and repartition sites across content databases.

WSS\SPUserUtil

SharePoint User Util

2.2 Updated in Release 2!!

User Maintenance tool for Windows SharePoint Services and SharePoint Portal Server

SPSiteManager

Release: 1.1

The purpose of the SharePoint Site Manager (SPSiteManager) is to assist customers with performing SharePoint Site Collection maintenance activities for SharePoint Products and Technologies (which includes Windows SharePoint Services 2.0 and SharePoint Portal Server 2003). This sample source can be compiled to produce a tool that will allow you to Repartition or Level sites across content databases, and perform batch backups, restores, and deletes of site collections.

We also wanted to use the tool set to show off the rich object model that the product provides, thus the source code for the tool is included. In fact, you’ll find there is no binary in this tool set, only the source and instructions to build.

Automates site collection repartitions rather than using STSADM for each site.

In order to repartition Site Collections in and out of content databases you have to use the following steps:

  1. If you have not done so already:
    1. Create a new content database to place the backed up site into.
  2. STSADM –o backup (to backup the site collection to disk)
  3. STSADM –o deletesite (To delete the site from the current content database)
  4. Visit the Content Database management page from the Windows SharePoint Services Central Admin pages.
    1. Select the First content database and either: 
      1. Set it’s status to Offline or
      2. Set it’s max-sites and warning-sites counts to that equal to the number of current sites in the content database (Be sure to have a notebook handy to write down all of the original values so that you can re-set them in a later step.)
    2. Repeat step 4.a for each content database EXCEPT the one you are restoring to (This prevents the WSS Logic from load balancing the existing content databases, to determine which content database to restore the site in)
  5. STSADM –o restore (restore the site into the new targeted database)
  6. Visit the Content Database management page from the Windows SharePoint Services Central Admin pages.
    1. Select the First content database and either: 
      1.  Set it’s status back to Online (If it was online to begin with) or
      2. Set it’s max-sites and warning-sites counts to their previous values (refer to the notes taken in Step 4.a.2)
    2. Repeat step 6.a for each content database
  7. Repeat steps 2-6 (unless you need to create more content databases, in which case you restart at step 1).

As you can see this is a very labor intensive and time consuming process. If you had to do this for many sites, although you could be smart, and handle a batch of sites steps 2, 3 and 5, it becomes impractical to do all of this manually.

SPSiteManager automates the entire process for you for each site.

New and Improved Features

 

New!

Rich Site Distribution Document (SDD) data generation via the analyze operation. The SDD gives you a high level look at your site distribution details (See SPSiteManager XML DTD for more details)

New!

Easily and reliably re-partition your site distributions across multiple Content Databases and SQL Servers in one batch. Site selection can be specified via the Site Distribution Document or using a URL filtering mask

New!

Backup/Delete sites en-masse via the Site Distribution Document or using a URL filtering mask

New!

Restore sites en-masse using the Site Distribution Document

New!

Create and Provision new Content Databases on the fly as needed for site repartition operations. (When repartitioning sites, new Content Database will be created as necessary)

Common use scenarios

  • Automate reporting of your current site distributions to look for trends, such as:
    • Number of unique users whom have visited each site. (Not anonymous users)
    • Track site usage over time, then re-partition easily to avoid over-taxing a content database, or complete content database server
  • Re-partition thousands of sites via a single command line, without the need to manually run STSADM backup/restores manually.
  • Use the analysis features to determine needs for restructuring SharePoint content and sites and perform Site Leveling.

 The package is delivered in AS-IS source on the SharePoint Products and Technologies Web Component Directory at the following location:

https://www.microsoft.com/sharepoint/downloads/components/detail.asp?a=724