Command Line Installation

This section describes how to install Service Virtualization from the command line.

For wizard installation, see Installing Service Virtualization on Windows.

This section includes:

Command line installation options

Note:  

  • Command Line Installation does not verify prerequisites.
  • Each property may apply to the Service Virtualization Designer, Server, or to both.
  • To install the product successfully, the database user must have the proper privileges.

    • If you select the option to create the database automatically during installation, the database user must have sufficient privileges to create the database—the SQL server roles dbcreator and public, and the database role db_owner.
    • For the PostgreSQL database, the CREATEDB role is required.
    • If you are using an existing database, the database user must have sufficient privileges to create the database schema—the SQL server role public and the database role db_owner.

The installers can be executed from the command line by running msiexec with the following properties:

Property Installer Description Defined in UI
ADD_EVERYONE_TO_ACL_GROUPS Server

Set true to enable every authenticated user to access and use the Service Virtualization Server's Management Endpoint and Service Virtualization Management.

Set false to enable only members of the local system's Administrators group to access and use these features.

Note:  

  • This option takes effect only if Service Virtualization user groups do not yet exist. The installer does not modify existing user group settings.

  • You can modify the list of authenticated users after installation by modifying the Service Virtualization user groups. For details, see Service Virtualization User Groups.

Values: true/false

Default: false

Yes
CERTIFICATE_SOURCE Both

Specify the source location of the certificate for Service Virtualization Management, the Server Management Endpoint, and the default HTTPS Gateway and Proxy Agents.

Values: file/generate

Default: generate, if CERTIFICATE_IMPORT_FILENAME is not specified

Yes
CERTIFICATE_IMPORT_FILENAME Both

Specify the full path and name of the file containing the certificate to import.

The file must be a valid .p12 file with a public and private key pair.

If this property is set, and CERTIFICATE_SOURCE is absent, then CERTIFICATE_SOURCE is set to file.

Yes
CERTIFICATE_IMPORT_PASSWORD Both Specify the password of the .p12 file specified by the CERTIFICATE_IMPORT_FILENAME property. Yes
CERTIFICATE_EXPORT_PASSWORD Both

Specify the password for encryption of generated or imported certificate.

Default: changeit

Yes
CREATE_SERVER_SERVICE Server

Create the Service Virtualization Server service.

Values: true/false

Default: true

Yes
CREATE_USER_ENABLE Both

Set true to create a new local user for remote Performance Monitor access.

For details on the Service Virtualization performance counters, see the Service Virtualization User Guide or the Service Virtualization Help Center (http://admhelp.microfocus.com/sv/en/latest) .

Values: true/false

Default: false

Yes
CULTURE Both

Specify the installation language.

Values: Supported values correspond to product localization variants.

Default: en

No
DB_AUTHENTICATION Both

Specify if database authentication uses either Windows or database credentials.

Values: WinAuth / SqlAuth

Default: WinAuth

Yes
DB_CREATE Both

Create database.

Set to true to create the database during product installation, and remove the database when the product is uninstalled.

Set to false to use the existing database.

Values: true/false

Default: true

For MS SQL Server or PostgreSQL only.

Yes
DB_DATASOURCE Both

Specify the data source part of the connection string.

Basic syntax:

MSSQL: server\instance,port

Oracle: host/servicename, host:port/servicename, or host/servicename:port,

PostgreSQL: host

Default: localhost\SQLExpress_SV

Yes
DB_NAME Both

Specify the database name.

Default:

  • Designer installation: <username>_designer
  • Server installation: <username>_server

For MS SQL Server or PostgreSQL only.

Yes
DB_PROPERTIES Both

Specify additional database connection properties, such as:

  • Encrypt='true' to use an SSL connection to the database server.
  • Proxy User Id=pUserId;Proxy Password=pPassword to specify proxy authentication for connection to an Oracle server.
Yes
DB_TYPE Both

Specify the database type.

Values: mssql/oracle/postgresql

Default: mssql

Yes
DB_USERNAME Both Specify the database user name. Used only when using database credentials mode of authentication. Yes
DB_USERPASS Both Specify the database user password. Used only when using database credentials mode of authentication. Yes
IGNORE_DB_ERROR Both
  • Set true to install product despite database errors.
  • Set false to fail installation in the event of a database error.

Values: true/false

Default: false

No
INSTALL_DESKTOP_DESIGNER_SHORTCUT Designer

Create desktop icon for Designer.

Values: true/false

Default: true

Yes
INSTALLLOCATION Both

Installation target directory.

Default:

  • Designer: C:\Program Files\Micro Focus\Service Virtualization Designer
  • Server: C:\Program Files\Micro Focus\Service Virtualization Server
Yes
LICENSE_SERVER Both

URL of the license server to initialize concurrent licensing of the Designer or Server. You can change the value in the Designer application or in the SV Server License Utility after installation.

Example: https://licenseServer.myCompany.com:5814

For more details on licensing, see Server Licensing or the Service Virtualization User Guide or the Service Virtualization Help Center (http://admhelp.microfocus.com/sv/en/latest).

No
MANAGEMENT_ENDPOINT_AUTH Both

Set authentication on the management endpoint of the Designer's embedded server or the Service Virtualization Server.

Values: true/false

Default: true

Yes
MANAGEMENT_ENDPOINT_PORT Server Set port of Service Virtualization Server management endpoint. Yes
MANAGEMENT_INTERFACE_PORT Server

Port number for the Service Virtualization Management Interface.

Values: May be in the range 1 to 65535.

Default: 6086

Yes
PERFORMANCE_MONITOR_USERNAME Server

Login name of Performance Monitor user.

For details on the performance counters, see the Service Virtualization User Guide or the Service Virtualization Help Center (http://admhelp.microfocus.com/sv/en/latest).

Default: SVMonitor

Yes
PERFORMANCE_MONITOR_USERPASS Server Password of Performance Monitor user. Yes
SERVICE_LOGIN_TYPE Server

Specifies if the Windows services that start the Service Virtualization Server and Service Virtualization Management are run under the local system account, or by a different user account.

Values: system/user

Default: system

Yes
SERVICE_USER_NAME Server

The name of the user account running the Service Virtualization services.

Valid only if SERVICE_LOGIN_TYPE=user.

Yes
SERVICE_USER_PASSWORD Server

The password of the user account running the Service Virtualization services.

Valid only if SERVICE_LOGIN_TYPE=user.

Yes

Quiet Server installation example

The following is an example of a quiet Server installation with the following parameters:

  • Installs Server with SQL database authentication
  • Creates Performance monitor user and Windows Service Virtualization
  • Sets Management endpoint authentication.
  • Logs installer output in the installer-server.log file

msiexec /i ServiceVirtualizationServer.msi /l*V "installer-server.log" /passive DB_DATASOURCE=czb240 DB_PROPERTIES="Encrypt='false'" DB_AUTHENTICATION=SqlAuth DB_USERNAME="guest" DB_USERPASS="guest" CREATE_USER_ENABLE="true" PERFORMANCE_MONITOR_USERNAME="SVMonitor" PERFORMANCE_MONITOR_USERPASS="changeit"

Quiet Designer installation example

The following is an example of a quiet Designer installation with the following parameters:

  • Installs Designer with Windows database authentication
  • Logs installer output in the installer-designer.log file

msiexec /i ServiceVirtualizationDesigner.msi /l*V "installer-designer.log" /passive DB_DATASOURCE=localhost\ SQLExpress_SV DB_PROPERTIES="Encrypt='false'" DB_AUTHENTICATION=WinAuth