# Striim 3.9.7 documentation

#### Running Striim in Microsoft Windows

To install Striim for evaluation purposes, see Evaluating on Microsoft Windows.

To run Striim as a process, see Running Striim as a process.

To run Striim as a service:

This requires Windows Server 2008 or later and Windows PowerShell 5.0 or later.

For the first server:

1. If you have already installed Striim for evaluation purposes using one of the methods above, stop Striim (see Starting and stopping Striim) and skip to step 2.

Otherwise, download Striim_3.9.7.zip, extract it, and move the extracted striim directory to an appropriate location.

2. Start Windows PowerShell as administrator (right-click the Windows Powershell icon and select Run as administrator), change to the striim/conf/windowsService directory, and enter .\setupWindowsService.ps1.

If you are installing in a multi-server cluster and this is not the server that will run Derby, or you are hosting the metadata repository on Oracle or PostgreSQL, use setupWindowsService.ps1 -noDerby.

3. Edit striim/conf/startUp.properties, edit the following property values (removing any # characters and spaces from the beginning of the lines), and save the file:

• WAClusterName: a name for the Striim cluster (note that if an existing Striim cluster on the network has this name, Striim will try to join it)

• WAClusterPassword: the encrypted password for the cluster, which will be used by other servers to connect to the cluster and for other cluster-level operations

• CompanyName: If you specify keys, this must exactly match the associated company name.

• ProductKey and LIcenseKey: If you have keys, specify them, otherwise leave blank to run Striim on a trial license. Note that you cannot create a multi-server cluster using a trial license.

• Interfaces: If the system has more than one IP address, specify the one you want Striim to use, otherwise leave blank and Striim will set this automatically.

• If hosting the metadata repository on Oracle, set the following properties:

MetadataDb=oracle
MetaDataRepositoryPass=<encrypted password for Oracle user>

If you use an SID, the connection URL has the format jdbc:oracle:thin:@<IP address>:<SID>, for example, jdbc:oracle:thin:@192.0.2.0:orcl. If you use a service name, it has the format jdbc:oracle:thin:@<IP address>/<service name>, for example, jdbc:oracle:thin:@192.0.2.0/orcl.

If hosting the metadata repository on PostgreSQL, set the following properties:

MetadataDb=postgres
MetaDataRepositoryPass=<encrypted password for PostgreSQL user>

The PostgreSQL connection URL has the format <IP address>:<port>/striimrepo, for example 192.0.2.100:5432/striimrepo.

4. Optionally, perform additional tasks described in Configuring Striim, such as Changing the Derby password and increasing the maximum amount of memory the server can use.

5. Start the Derby and Striim services manually, or reboot to verify that they start automatically.

To uninstall the services, stop them, then run this batch file:

Striim/conf/windowsService/yajsw/bat/uninstallService.bat
##### Adding a server to a cluster in Microsoft Windows
1. Download Striim_3.9.7.tgz, extract it, start Windows PowerShell 5.0 or later as an administrator, and run conf\windowsService\setupWindowsService.ps1 -noderby.

2. Copy startUp.properties from the first server to .../striim/conf/startUp.properties. If Interfaces is specified, edit the file and change its value to an IP address of the current system.

3. Optionally, perform additional tasks described in Configuring Striim, such as increasing the maximum amount of memory the server can use.

4. Start the Striim service manually, or reboot to verify that it starts automatically.

To uninstall the service, stop it, then run this batch file:

/striim/conf/windowsService/yajsw/bat/uninstallService.bat