|
Creates, connects, or disconnects this server from the server farm. Takes the following optional parameters:
[-create]
Creates a new configuration database and thus establishes a new server farm. If this server is already connected to a configuration database, the server will be disconnected first, and then the new configuration database will be created.
[-disconnect]
Disconnects this server from the configuration database and thus disconnects this server from the server farm.
[-connect]
Connects to an existing configuration database and thus joins this server to an existing server farm. If this server is already connected to a configuration database, the server will be disconnected first, and then connected to the existing configuration database.
[-server <SQLServerName>]
The computer running SQL Server where the configuration database is located.
[-database <SQLDatabaseName>]
The configuration database name.
[-dbuser <value>]
The user name used for SQL authentication.
[-dbpassword <value>]
The password used for SQL authentication.
[-user <Domain\User>]
The server farm administrator user account.
[-password <Password>]
The server farm administrator user account password.
[-addomain <value>]
The Active Directory domain name used for the server farm.
[-adorgunit <value>]
The Active Directory organization unit name used for the server farm.
[-admincontentdatabase <SQLAdminContentDatabaseName>]
The Central Administration Web application content database name.
Examples
psconfig.exe -cmd configdb -create -server <Server_name> -database <Database_name>
-dbuser <DOMAIN\username> -dbpassword <password>
-user <DOMAIN\username> -password <password>
-addomain <domain_name> -adorgunit <org_unit>
-admincontentdatabase <Database_name>
psconfig.exe -cmd configdb -disconnect
psconfig.exe -cmd configdb -connect -server <Server_name> -database <Database_name>
-dbuser <DOMAIN\username> -dbpassword <password>
|