Share via


Run scripted installation (FAST Search Server 2010 for SharePoint)

 

Applies to: FAST Search Server 2010

Installation of FAST Search Server 2010 for SharePoint can be automated through scripting. This section outlines the steps that you must follow to run a scripted installation.

Install and do initial configuration using scripts

Note

If you are installing a multiple server FAST Search Server 2010 for SharePoint farm, install and start the administration server first.

  1. Copy the installation files (see Overview of installation files) to a directory on the server where you want to install.

  2. Open a command prompt (cmd) and browse to the directory where you saved the installation files.

  3. Run the Prerequisite Installer by typing the following command:

    PrerequisiteInstaller.exe /unattended
    
  4. Set the Windows PowerShell Execution policy by typing the following command:

    Set-ExecutionPolicy RemoteSigned
    
  5. Restart the server.

  6. Install MSI by typing the following command:

    Msiexec /i fsserver.msi /q FASTSEARCHSERVERINSTALLLOCATION="<InstallDir>" /l msiLog.log
    

    Where <InstallDir> is the path of where you want to install, typically C:\FASTSearch.

  7. Run Windows Update. Download and install the latest FAST Search Server 2010 for SharePoint updates. Restart the server if it is required.

  8. Open Windows PowerShell as an administrator and browse to installer\scripts under the installation directory.

  9. Run the post-setup configuration script by typing the following command:

    .\Psconfig.ps1 [options]
    

    Where [options] are replaced with relevant configuration script options. See Configuration script options (psconfig.ps1) for more information.

  10. Restart the server.

Configuration script options (psconfig.ps1)

This section lists options that are available when you run the post-setup configuration script (psconfig.ps1).

Option Value Required Description

-action

i|u

Yes

Specifies the installation action;

i: Install

u: Uninstall

-roleName

single|admin|nonadmin

Yes

Specifies the kind of node to install:

single: Install as a single server/stand-alone server

admin: Install as the administration server in a multiple server deployment

nonadmin: Install as a non-administration server in a multiple server deployment

-userName

<domain\user>

Yes

The user name of the FAST Search Server 2010 for SharePoint user

-password

<user password as a secure string>

No

The user password of the FAST Search Server 2010 for SharePoint user.

If you do not specify a password in the script, you are prompted for one.

-certificatePassword

<Password for Fast Search Server certificate>

No

If you do not specify a certificate password in the script, you are prompted for one. Enter a password of your choice. (You will need this password to move certificates between servers.)

-localMachineName

<fully qualified local server name>

Server name cannot be longer than 15 characters.

Yes

Name of the local server name.

Example: fastserver.contoso.com

-baseport

<port number>

No

Identifies the base port, which is the first port number in a range of TCP/UDP port numbers that are used by an application. A port number is specified as the base port plus an integer.

Default:13000

-databaseConnectionString

<server and instance name>

Yes

Example with instance name set: localhost\sqlexpress

Example without any instance name set in SQL Server: localhost

-databaseName

<database name>

Yes

A unique name assigned to the database

-logFileName

<name of the log file>

No

Specifies the name of the log file.

.log is automatically appended to end of the name.

Default: psconfig_TIMESTAMP.log

-logLevelAsString

Debug|Info|Warning|Error

No

Specifies the amount and kind of information to log during installation.

Debug

Info

Warning

Error

Default: Debug

-adminMachineName

<fully qualified administration server name>

Required for non-administration server installation

Identifies the administration server that a non-administration server connects to.

-deploymentFile

<deployment file name>

No

Specifies the deployment file to use.

Optional parameter for administration server installation action.

-adminBasePort

<base port of administration server>

Not required for non-administration server installation

Identifies the base port of the administration server that the non-administration server connects to.

Default:13000

-SharePointInstalledMode

<basic or advanced>

No

Specifies the SharePoint Server 2010 installation mode: basic (corresponds to the Standalone option) or advanced (corresponds to the Server Farm option).

-SharePointServerName

<server name>

No

Specifies the server name where SharePoint Server 2010 is installed. Only needed if SharePointInstalledMode is basic (corresponds to the Standalone option).

-SharePointUserIdentity

<user name>

No

Specifies the user who is running the timer service in Microsoft SharePoint Server 2010. This user is specified in the SharePoint Server post-setup configuration. Only needed if SharePointInstalledMode is advanced (corresponds to the Server Farm installation option).

-sqlUserName

<SQL user account>

Yes, if SQL authentication was used when the database was created.

The user name that is used for SQL authentication.

-sqlPassword

<SQL user password as a secure string>

Yes, if SQL authentication was used when the database was created.

The password of the user that is used for SQL authentication.