Tuesday, June 28, 2011

WSS 3.0 MOSS 2007 Installation Steps

Scenario:
Single Server (Non-Standalone install) on a new domain.
Backup and restore few site collections from an existing SharePoint farm to new farm.

Steps:

Current SharePoint Farm
- Note version of current farm from Central Admin-> Operations -> Servers in farm-> version column. Mine is 12.0.0.6545 hence August 2010 CU patch.
Reference,
https://www.nothingbutsharepoint.com/sites/devwiki/SP2007Admin/Pages/SharePoint%20Versions.aspx

- Since all site collections to be backed up are under 15GB used stsadm -o backup to perform backup.

- Copied backup files over to destination server

New Server Configuration

-Accounts needed
--> Setup account (dbcreator and securityadmin SQL permissions, Local admin on SP server)
--farm account
--pool account(s)
--mysite pool account
--ssp admin pool account
--search access account (used while starting office search service)
--ssp service account (used while provisionsing ssp)

- Web Apps needed
--> Collaboration web apps
--> Central Admin Web App
--> SSP Web App
--> Mysite web app



-install powershell on windows server 2003 which has a dependency on .net framework 2.0 sp1
powershell: http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=10512
.net framework 2.0 sp1:
http://www.microsoft.com/download/en/confirmation.aspx?id=6041

- DISABLE LOOPBACK,
http://support.microsoft.com/kb/896861

- Restart server

- Install SQL Server 2005 SP3

- Download and install windows imaging component en-us from here,
http://www.microsoft.com/download/en/details.aspx?id=1385

- Download and install .net framework 3. Remember .net framework 4 will not suffice the prerequisite. If this is not installed it throws a windows workflow foundation exception, http://msdn.microsoft.com/en-us/netframework/bb264589

- Download and install wss 3.0 sp2 from here,
http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=7006

--> Remember to install Advanced -> Web Front End.
--> Do not run PSConfig now

- Download and install moss 2007 with sp2 full version from your msdn subscription
MOSS 2007 with SP2 includes WSS 3.0.

- Run PSConfig and provide Central Admin details and farm account.

- Install WSS / MOSS Aug 2010 CU
Download and install WSS update: (do not run psconfig)
http://support.microsoft.com/default.aspx?scid=kb;EN-US;2276474

Download and install moss update
http://support.microsoft.com/default.aspx?scid=kb;EN-US;2276474

- Run psconfig or "SharePoint Products and Technologies Configuration Wizard"

- Create web application, e.g. http://sharepointsite.com
-- make sure to host IIS local folder on seperate drive other than c:\
--> NTLM
--> Non-HTTPS
--> New App Pool with independent identity
--> Unique database name

- IISReset /noforce

- Add host file entry to point hostheader "sharepointsite" to current server IP "127.0.0.1"

-Add stsadm as environment variable,
http://www.andrewconnell.com/blog/archive/2006/08/21/3882.aspx

- Add managed paths if required. In my case I had to.

- Create a site collection

- Configure host file on server to point all web application host headers to 127.0.0.1

- Configure site collection quotas from Central Administration or powershell

At this point you are ready to use this site on the server.

- Add DNS entries for using site's hostheader and server IP address and this site is good to go.

ERROR:
The current identity “domain\username” does not have write access to ‘C:\WINDOWS\Microsoft.NET\Framework64\v2.0.50727\Temporary ASP.NET Files’.

Solution:

Basically asp.net is not correctly installed on the server. hence perform the steps mentioned in this blog to fix. I did not have to add my app pool account to IIS_IUser group.

http://nishantrana.wordpress.com/2010/11/20/the-current-identity-domainusername-does-not-have-write-access-to-%E2%80%98cwindowsmicrosoft-netframework64v2-0-50727temporary-asp-net-files%E2%80%99/

- Set up IIS Logs to a drive which has ample space.
- Set up diagnostic logging to a drive which has ample space.

- If there are multiple domains involved with one-way trust, setup people-picker to read from all domains using,
STSADM.EXE -o setproperty -pn peoplepicker-searchadforests


For me there are some more steps:

- Deploy custom solutions from source farm to destination farm
- Restore site collection to new webapplication using stsadm -o restore

Error: default.aspx is corrupt and site collection root page is returning HTTP 404
http://itbeganin2009.blogspot.com/2011/06/sharepoint-2007-moss-wss-defaultaspx.html

- setup SSP

- Disable SharePoint designer,
http://support.microsoft.com/kb/940958

- If you ever need to change the IIS local folder of a sharepoint web application,

http://www.mattjimison.com/blog/2009/02/26/how-to-change-the-iis-path-for-a-sharepoint-web-application/

OR


Navigate to Central Admin -> Application management
Click on Delete Web application
Drop IIS only! Not Content database
Create new web application with some temp database name and same host header as before.
IISreset
Do not create any site collections
Navigate to content databases -> remove temp database. You can ask your DBA to permanently remove the temp db later
Open command prompt under farm account and type,
stsadm -o addcontentdb -databasename "old db name" -url "url name"

- SSP Creation:
-- pre-req: create mysite, ssp admin webapp, start office sharepoint search service and set indexing server.
-- change index file location to a drive with max space.
-- set ssp account which is different from admin pool account and search access account.

- Configure User profile synchronization
-- configure import connections, if it is the same domain then no need to specify account
-- setup import schedule
--start import

- Configure Search
-- setup content sources
-- setup crawl schedules
-start crawl

-Configure email settings.
Incoming: http://technet.microsoft.com/en-us/library/cc262947(office.12).aspx
Outgoing: http://technet.microsoft.com/en-us/library/cc263462(office.12).aspx
--Exchange connector settings
--SMTP Relay

REFERENCE:
http://officeimg.vo.msecnd.net/en-us/files/669/307/AF010287454.doc

No comments:

Post a Comment