Creating Shared Service Provider (SSP) via command-line options
Using the SharePoint Admin UI there can often be quite a delay to perform administrative actions compared to doing the same actions via the powerful command-line tools. One of the tools that should be very familiar to SharePoint Admins is STSADM.exe.
The STSADM.exe admin tool is available in the default location: c:\program files\common files\microsoft shared\web server extensions\12\bin. To see what actions are available with the tool you can run STSADM.exe –help which will output the operations that can be performed and STSADM.exe –help <operation name> to get more detailed documentation about a particular operation.
Creating the Shared Service Provider (SSP) is one admin task that can be done via the command-line:
The recommended procedure for creating an SSP is to create a web application for the MySite host and a separate web application for the SSP. To create a new web application for both the MySite host and SSP run this STSADM.exe command for each new web application:
stsadm.exe -o extendvs -url <URL> -ownerlogin <domain/username> -owneremail <emailed> -exclusivelyusentlm -databaseserver <DBservername> -databasename <NewcontentDBname> -donotcreatesite -apcreatenew -apidname <Apppoolname> -apidtype configurableid -apidlogin <domain/username> -apidpwd <Password>
For example:
stsadm.exe -o extendvs -url http://intranet:8080 -ownerlogin Redmond\username -owneremail user@ms.com -exclusivelyusentlm -databaseserver SQLServer -databasename MySiteContentDB -donotcreatesite -apcreatenew -apidname MySiteAppPool -apidtype configurableid -apidlogin Redmond\username -apidpwd MyPassword
will create a web application with the URL http://intranet:8080 that can be used to host the MySite sites. Similarly, you can create another web application to host the SSP:
stsadm.exe -o extendvs -url http://intranet:8090 -ownerlogin Redmond\username -owneremail user@ms.com -exclusivelyusentlm -databaseserver SQLServer -databasename SSPContentDB -donotcreatesite -apcreatenew -apidname SSPAppPool -apidtype configurableid -apidlogin Redmond\username -apidpwd MyPassword
At this point, you can create the SSP by running this STSADM.exe command:
stsadm.exe –o createssp –title <SSP name> -url <Web application url> -mysiteurl <MySite Web application url> -ssplogin <username> -indexserver <index server> -indexlocation <index file path> -ssppassword <password> -sspdatabaseserver <SSP database server> -sspdatabasename <SSP database name>