Deploy FAST Search for SharePoint using PowerShellPost by: Ivan JosipovicPosted on: 10/15/2012 6:58:00 PMCategories: SharePointDescription: Download the scripts HERE Pre installation Tips: Read through all of Microsoft’s documentation http://technet.microsoft.com/en-us/sharepoint/ee441234 Read through the deployment guide (if you have not already): http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=3343 Perform the installation at least once using the GUI prior to using the scripts Deploy Office Web Apps, in order to receive document previews Disable Chimney Offloading Show Settings using - netsh int tcp show global Set Settings using - netsh int tcp set global chimney=disabled Run SQLIO to test disk performance Disable Windows Defrag Exclude FAST Installation directory from your Anti-Virus, default dir is C:\FASTSearch FQDN is case sensitive in the configuration Installation: Copy the FAST installation bits to a Temp directory on the server (I will use D:\Temp\FAST) Download FAST SP1 from: http://support.microsoft.com/kb/2460039 Open PowerShell as Administrator Enter "Set-ExecutionPolicy bypass" Run the PrerequisiteInstaller.exe If it fails run it again Run fsserver.exe to install FAST Modify the certificate creation script. This will allow the cert to be valid longer than a year (Thanks Mikael Svenson) Navigate to “%FASTSearch%installer\scripts\include” Open certificatesetup.ps1 with Notepad etc Find Add-Content -Path $infFile -Value "SuppressDefaults=true" Append the following lines underneath it: Add-Content -Path $infFile -Value "ValidityPeriod=Years" Add-Content -Path $infFile -Value "ValidityPeriodUnits=100" Set up the deployment.xml which is required for the Installation Microsoft Reference: http://technet.microsoft.com/en-us/library/ff354931.aspx There are sample files in “%FASTSearch%etc” The files are named: deployment.sample.multi1.xml deployment.sample.multi2.xml deployment.sample.single.xml For the purpose of this guide I will deploy a single server instance Run the “Microsoft FAST Search Server 2010 for SharePoint Configuration Wizard” Click Next Select Admin Server (Do not select Single Server!!!) Click Next Enter the service account credentials which FAST will use Click Next Enter a Certificate Password Click Next Enter the local Server FQDN (It is case sensitive!) Keep the base port number as is Locate the deployment.xml created earlier Click Next Enter the database connection string (At this time FAST does NOT support SQL aliases) Modify the database name if needed Modify the database port if needed Click Next Select SharePoint Farm Enter the Farm Account user name Click Next Review the configuration Click Configure Click Finish and reboot the server Install FAST SP1 and Permissions Fix Add your account to the FASTSearchAdministrators Windows Group Run fastsearchserver2010sp1-kb2460039-x64-fullfile-en-us.exe Open “Microsoft FAST Search Server 2010 for SharePoint” PowerShell Enter cd $Env:FASTSearch"installer\scripts" Enter .\psconfig.ps1 –action p Enter nctrl status Make sure all the services are Running Configure SharePoint (Thanks to Steve Goodyear for a portion of this script) Download and extract the FASTDeployment.zip to any location on the SharePoint Server Copy FASTSearchCert.pfx from the FAST Server to same location as the scripts Located in %FASTSearch%data\data_security\cert The directory should have the following files: Edit the required parameters in FAST_Deployment-ConfigureSharePoint.ps1 All the required parameters can be found in %FASTSearch%Install_Info.txt Open PowerShell as the Farm Account Browse to the directory containing the scripts Enter .\FAST_Deployment-ConfigureSharePoint.ps1 Go and grab a coffee Copy SharePointCert.cer and FAST_Deployment-FastCerts.ps1 to the FAST Server It is located in the same directory as the scripts Open PowerShell Enter .\FAST_Deployment-FastCerts.ps1 Create a Local Windows group called FASTSearchKeywordAdministrators on the FAST Server Add the SharePoint Application Pool accounts to this group FAST is now deployed! If you have any questions please leave a comment. Enjoy!