Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The servers can be configured not at the beginning of the script, but below, at line 133. The $Servers variable is an array of VerbaServer objects. New items can be added with the New-VerbaServer command. The command parameters are the following:

ParameterDescriptionMandatoryExample value
-FQDNThe FQDN, hostname, or IP address of the server to install.Yes"verbars.contoso.local"
-RoleThe Verba server role to install. Accepted values: Combo, MR, RS, LF, LFRC, RC, SA, SSYesCombo
-UseLegacyAPISwitch parameter. If present, the legacy, less secure connection will be used between the Verba services (Verba 8.x and older).Yes, if the -UseAdvancedAPI parameter is not present
-UseAdvancedAPISwitch parameter. If present, the new, certificate-based connection will be used between the Verba services (Verba 9.0 and later). If present, either the -ServerCertThumbprint or the -GenerateCertificates parameter is mandatory.Yes, if the -UseLegacyAPI parameter is not present
-ServerCertThumbprintThe thumbprint of the server certificate that will be used for the connection between the Verba services. The certificate must be in the Windows Certificate Store.Yes, if the -GenerateCertificates parameter is not present"a909502dd82ae41433e6f83886b00d4277a32a7b"
-GenerateCertificatesSwitch parameter. If present, the script will generate certificates. If present, either the -CA or the -CAFQDN parameter is mandatory.Yes, if the -ServerCertThumbprint parameter is not present
-CASwitch parameter. If present, the script will generate a self-signed certificate for CA certificate, and a server certificate using this CA certificate.Yes, if the -GenerateCertificates is present, and the -CAFQDN parameter is not present
-CAFQDNThe FQDN of the Verba MR or Combo server that acts as a CA. The script will request a server certificate from this server.Yes, if the -GenerateCertificates is present, and the -CA parameter is not present"verbamr.contoso.local"
-SSLCertificatePathPath to the .crt file that will be used as an SSL certificate by the Verba Web Application. The file must exist at the given location. In order to generate this file from .pfx or .p12 file, see: Installing an SSL certificate for HTTPS accessYes, if the -Role parameter is set to MR or Combo, and the -GenerateSSLCertificate parameter is not present"C:\certs\verba.crt"
-SSLCertificateKeyPathPath to the .key file that will be used as an SSL certificate by the Verba Web Application. The file must exist at the given location. In order to generate this file from .pfx or .p12 file, see: Installing an SSL certificate for HTTPS accessYes, if the -Role parameter is set to MR or Combo, and the -GenerateSSLCertificate parameter is not present"C:\certs\verba.key"
-SSLCertificatePasswordThe password of the .key file.Yes, if the -Role parameter is set to MR or Combo, and the -GenerateSSLCertificate parameter is not present"P@ssw0rd"
-GenerateSSLCertificateSwitch parameter. If present, the script will generate a self-signed SSL certificate for the Web Application. If present, the -SSLCertificateRequest parameter is mandatory.Yes, if the -Role parameter is set to MR or Combo, and none of the following parameters are present: -SSLCertificatePath, -SSLCertificateKeyPath, -SSLCertificatePassword
-SSLCertificateRequestCertificate request object for the SSL certificate that will be used for the Web Application.Yes, if the -GenerateSSLCertificate parameter is present$sslCertificate

Examples:

Install server with legacy configuration (Verba 8.x) without Advanced API, and self-signed SSL certificate
$servers = @(
(New-VerbaServer -FQDN "verbamr.contoso.local" -Role MR -UseLegacyAPI -GenerateSSLCertificate -SSLCertificateRequest $sslCertificate),
(New-VerbaServer -FQDN "verbars.contoso.local" -Role RS -UseLegacyAPI)
}

...