Install-FASTSearchAdminDatabase

 

Applies to: SharePoint Server 2010

Installs the database used by the Microsoft FAST Search Server 2010 for SharePoint administration services.

Syntax

Install-FASTSearchAdminDatabase [-DbConnection <String>] [-DbName <String>] [-DbServer <String>] [-Force <SwitchParameter>] [-Upgrade <$true | $false>]

Detailed Description

This cmdlet installs the database used by the FAST Search Server 2010 for SharePoint administration services. This cmdlet is primarily called during installation, by the FAST Search Server 2010 for SharePoint installer.

The administration database default name is ā€œFASTSearchAdminDatabaseā€ and should be located in the Microsoft SQL Server instance specified by the DbServer or DbConnection parameters.

In addition to performing an initial installation of the database schema, this cmdlet can also:

-- Reinstall (destructively) the database schema if it already exists.

-- Upgrade the database schema from an earlier version.

Parameters

Parameter Required Type Description

DbConnection

Optional

System.String

Specifies the database connection string for the FAST Search Server 2010 for SharePoint administration database, in the same format as the ConnectionString property of the System.Data.SqlClient.SqlConnection .NET Framework type.

DbName

Optional

System.String

Specifies the name of the FAST Search Server 2010 for SharePoint administration database.

The name only takes effect when used in conjunction with the DbServer parameter, not the DbConnection parameter.

DbServer

Optional

System.String

Specifies the database server instance that contains the FAST Search Server 2010 for SharePoint administration database.

Only one of the DbServer and DbConnection parameters must be specified. Using DbServer with a value of sqlserver.contoso.com is equivalent to using DbConnection with the value "Data Source=sqlserver.contoso.com;Database=FASTSearchAdminDatabase;integrated Security=True"

Force

Optional

System.Management.Automation.SwitchParameter

The Force parameter specifies that the FAST Search Server 2010 for SharePoint administration database already exists, but should be reinstalled.

This will delete all data that already exists in the database.

Upgrade

Optional

System.Boolean

Specifies that the FAST Search Server 2010 for SharePoint administration database already exists and that it should be upgraded, because it uses an older version of the database schema.

The upgrade process will attempt to migrate all data to the new database schema.

Important

It is strongly recommended that you back up the database before performing this operation.

Input Types

Return Types

Example

---------------EXAMPLE 1-----------------

Install-FASTSearchAdminDatabase -DbConnection "Data Source=sqlserver.contoso.com;Database=FASTSearchAdminDatabase;integrated Security=True; "

This example installs the database schema in the database server specified by the connection string.

---------------EXAMPLE 2-----------------

Install-FASTSearchAdminDatabase -Upgrade -DbServer "sqlserver.contoso.com"

This example upgrades the database schema already installed in the FAST Search Server 2010 for SharePoint administration database on the given SQL Server instance.

---------------EXAMPLE 3-----------------

Install-FASTSearchAdminDatabase -Force -DbServer "sqlserver.contoso.com"

This example deletes and reinstalls the database schema already installed in the FAST Search Server 2010 for SharePoint administration database on the given SQL Server instance.

See Also

Reference

Uninstall-FASTSearchAdminDatabase