The Verba PowerShell Deployment Toolkit simplifies the process of the Verba deployments and upgrades in large environments. The toolkit consists of two PowerShell files:
- autoinstall.ps1 : Configurable PowerShell script for uninstalling, installing and upgrading Verba servers and components.
- verba.psm1 : A PowerShell library which contains a collection of functions usable for Verba deployments. For the documentation of the functions see: Verba PowerShell Deployment Library
The Verba PowerShell Deployment Toolkit does not install the prerequisites of the Verba services (Java, Visual C++, etc.) nor does the registration of the SfB/Lync Filter application in the SfB/Lync pool. These have to be done manually.
Deployment Toolkit Prerequisites
The CLR Types for Microsoft SQL Server 2014 (x64) and the SQL Server Shared Management Objects (x64) have to be installed on the machine where the script is started.
- CLR Types for Microsoft SQL Server 2014 (x64) download: https://www.microsoft.com/en-us/download/details.aspx?id=27596
- SQL Server Shared Management Objects (x64) download: http://go.microsoft.com/fwlink/?LinkID=188439&clcid=0x409
The Windows User who runs the script (logged in to the server) must be added to the following local groups at all Verba servers. If Windows authentication is used for the SQL access, then the database user also have to be added to these groups at the Media Repository and/or Single Servers.
- Remote Management Users
If Windows authentication is used for the SQL access, then the CredSSP authentication has to be enabled on some of the servers.
The following command has to be executed on the Media Repository and/or Single Servers in order to enable CredSSP authentication in server mode:
The following command has to be executed on the server where the script started in order to enable CredSSP authentication in client mode:
*At the -DelegateComputer parameter the Media Repository and/or the Single Server hostname has to be provided. It accepts wildcard also ("*", "*.domain.com").
For more information about the CredSSP authentication see this article: https://msdn.microsoft.com/en-us/powershell/reference/4.0/microsoft.wsman.management/enable-wsmancredssp
If database mirroring is used, make sure that the primary database (based on the Verba configuration) is the principal!
The Verba PowerShell Deployment Toolkit can be configured by editing the autoinstall.ps1 file. The configuration part can be found at the beginning of the file, between the "Configuration" and "End of configuration" lines. Edit the values of the following variables:
|$path||A network folder which contains the Verba executables (VerbaRecording.msi, VerbaAdditionalRoles.msi). The network folder has to be accessible for the windows user which is used for running the script.||"\\storage\Verba\8.8\"|
|$tempPath||Folder path for temporary files. This folder will be created on each server.||"C:\verba_install\"|
|$installpath||Verba installation directory.||"C:\Program Files (x86)\Verba\"|
Tests the servers
|$uninstall||Sets whether the script will uninstall the specified servers. The script removes the Verba software, the registry set and the files from the server. This setting is ignored when $upgrade=1 is used.||1|
Installs the Verba application on the servers. This setting is ignored when $upgrade=1 is used.
Sets whether the script will upgrade the specified servers. The upgrade involves the following process:
If turned on, then the $uninstall, $install, $backupconfiguration and $restoreconfiguration values will be ignored.
|$backupconfiguration||Backups the list of the activated services and the registry from the servers. The filenames going to be hostnames of the servers. If the files already exist, the filename going to end with .bak. This setting is ignored when $upgrade=1 is used.||1|
|$restoreconfiguration||Restores the list of the activated services and the registry from the files named with the corresponding server hostnames. This setting is ignored when $upgrade=1 is used.||1|
|$keepLogs||Sets whether the script should remove the log folder in case of uninstalling or upgrading.||1|
|$mrHostNames||List of the Media Repository hostnames, separated by comma.||@("testmr1", "testmr2")|
|$rsHostnames||List of the Recording Server hostnames, separated by a comma.||@("testrs1", "testrs2")|
|$comboHostNames||List of the Single Server hostnames, separated by comma.||@("testcombo1", "testcombo2")|
|$proxyHostnames||List of the server hostnames where the Verba Media Collector and Proxy component will be installed, separated by comma.||@("testproxy1", "testproxy2")|
|$mcfepoolHostNames||List of the server hostnames where the Verba SfB/Lync Filter and Media Collector components will be installed, separated by comma.||@("testfe1", "testfe2")|
|$fepoolHostNames||List of the server hostnames where the Verba SfB/Lync Filter component will be installed, separated by comma.||@("testfe1", "testfe2")|
|$ucmaHostNames||List of the Announcement Server hostnames, separated by comma.||@("testucma1", "testucma2")|
The startup type of the Verba services:
|$windowsAuth||Sets whether Windows Authentication will be used for the SQL connection. If turned on, then the specified windows user will be used for all Verba services. If $sqlAuth is 0, then the windows user will be used for the SQL access. The user can be specified at the $windowsUser and $windowsPassword values.||0|
|$windowsUser||Windows user name for the Verba services and SQL connection. In case of SfB/Lync Filter installation this account going to be used as service account.||"contoso\verba-service"|
|$windowsPassword||The password of the windows user.||"P@ssw0rd"|
|$databaseHost||The hostname of the server where the Verba database hosted.||"SQLSERVER"|
|$databaseName||The name of the Verba database.||"Verba"|
|$sqlAuth||Sets whether SQL Authentication will be used for the SQL connection. If turned on and $windowsAuth is 0, then all Verba services will run as Local System. The user can be specified at the $sqlUser and $sqlPassword values.||1|
|$sqlUser||SQL user name for the SQL connection.||"verba-user"|
|$sqlPassword||The password of the SQL user.||"P@ssw0rd"|
|$enableCouldMode||Sets whether cloud mode will be used for the Node Manager||1|
|$mrPoolName||The Media Repository pool name.||"testmr1"|
|$mrPortNumber||The port used at the Media Repository for the incoming registration requests.||4432|
|$tokenPassword||The password of the registration token.||"P@ssw0rd"|
When the configuration is done, the script can be started.