2. If you start from having just one web application that hosts all the sites (portal, ssp administration site host, my sites) here’s what you need to do to separate them:
Scenario :
portal url : http://portal/
Administration site host for the ssp http://portal/ssp/admin
mysites host http://portal/personal
Issue A: you cannot change the association for the administration site host of an ssp
i : create a new web application to host the administration site for the OLD SSP
http://newsite:10000/
backup the site at http://portal/ssp/admin
stsadm –o backup –url http://portal/ssp/admin –filename c:\sspadmin
ii. create a managed path (explicit inclusion) in the new site to point to /ssp/admin
http://newsite:10000/ssp/admin
restore the backup you just created at this location
stsadm –o restore –url http://newsite:10000/ssp/admin –filename c:\sspadmin –overwrite
change the ssp administration site host from http://portal/ssp/admin to http://newsite:10000/ssp/admin
stsadm –o editssp –title “your old ssp name” –sspadminsite “http://newsite:10000/ssp/admin”
Now you can change the portal association between the SSPs
Issue B:
how to move the mysites from http://portal/personal to a new webapplication at http://mysite/ ?
(mysite web application was created either when creating the new SSP as the new mysite host or manually using My Site Host template, in which case you need to add an wildcard inclusion to /personal manged path)
backup and restore
enumerate all the mysites that were already created (output it to a file for easier work):
stsadm –o enumsites –url http://portal/personal/ > c:\mysites.txt
edit the txt file and create 3 batch files ot of it:
one for backing up the mysites, one for creating the destination mysites , one for restoring from backup at the destination:
for instance, the following line from the initial file resulted (mysites.txt)
will become (in 3 bat files):
stsadm -o backup -url http://portal/personal/username -filename c:\backup\username.dat
stsadm -o createsite -url http://mysite/personal/username -sitetemplate SPSPERS -owneremail username@domain.com -ownerlogin "Domain\username"
stsadm -o restore -url http://mysite/personal/username -filename c:\backup\username.dat –overwrite
same for the rest of my sites
No comments:
Post a Comment