Don’t see all the options listed above? You don’t have SP1 for DPM installed and/or the agent on this machine hasn’t been updated. Pre-SP1 there was no options for this utility, it simply prompted for a username and password.
Once this operation is complete, you will notice the ‘Windows SharePoint Services VSS Writer’ Windows service is now started and set to use the credentials you specified.
More information about using ConfigureSharePoint.exe can be found here: http://technet.microsoft.com/en-us/library/dd441708.aspx.
But what about ‘stsadm –o registerwsswriter’, what’s that command for? You do not need to run this command when you use ConfigureSharePoint.exe, it does the equivalent operation on your behalf and is just used for activating the service.
Hang on, what is WSSCmdletsWrapper?
When running ConfigureSharePoint.exe we saw a reference to another utility called WSSCmdletsWrapper. We also see entries for this in the SharePoint logs when protection is up and running (more on this in part 4), so what is it?
WSSCmdletsWrapper is a DCOM application registered as a server on the WFE. It is used to connect the SharePoint Object Model (managed code) to the unmanaged DPMRA service. So basically we use ConfigureSharePoint.exe to give the WSSCmdletsWrapper process access to the SharePoint farm via the SharePoint Object Model. This then passes information to the DPM replication agent (DPMRA) service. This process is used for all jobs requiring access to the SharePoint farm.
Creating a Protection Group
Now we have a high level understanding of how DPM works with SharePoint under the hood, let’s look at how you actually protect SharePoint from the DPM UI.
Once you have run ConfigureSharePoint.exe from the WFE being used to interface with DPM, the SharePoint farm will appear in the UI when creating a protection group using the wizard. As shown below, when protecting a SharePoint farm, you only need protect it with a single check-box in the UI via this WFE. The farm is displayed in the name format: ‘Server\ConfigDBName’.