Skip to content

Programs, services and files

What SQDR installs on a Windows server, by their names on disk and in Services, with the default locations, and what the SQDR Plus installer changes in Db2 and Windows. Use it to find a file Stelo Support asks for, or to check what runs on a server. For the Docker container's volumes, services and log files, see Manage the Docker container.

Paths are the defaults. Stelo Apply installs in C:\Program Files\StarQuest\SQDR, Stelo Capture in C:\Program Files\StarQuest\sqdrplus and the Data Replicator Manager in C:\Program Files\Stelo\SteloRepMgr.

Programs

Name What it is Default location See
sqdrsvc.exe The Replicator Service, run by the Windows service SQDRSVC. C:\Program Files\StarQuest\SQDR The Replicator Service
sqdrconf.exe The SQDR Configuration Tool. Start menu: Data Replicator Configuration. C:\Program Files\StarQuest\SQDR SQDR Configuration Tool
sqdrprops.exe The SQDR Service Properties utility. Start menu: SQDR Service Properties. C:\Program Files\StarQuest\SQDR\SQDRProps Service properties
starlic.exe License Configuration, for entering license keys (also possible on the Licenses tab of Service Settings). Start menu: License Configuration. C:\Program Files\StarQuest\SQDR Licenses
drmgr.exe The classic Windows Data Replicator Manager, discontinued. Start menu: Data Replicator Manager. C:\Program Files\StarQuest\SQDR Classic Data Replicator Manager help
SQDRPowershell.dll The SQDR PowerShell module. C:\Program Files\StarQuest\SQDR\Tools PowerShell
StarAdmin StarSQL's administration tool, for example to bind the StarSQL packages in a Db2 database. Installed with Stelo Capture. Start menu: SQDR Plus (64-bit) › Tools › StarAdmin. C:\Program Files\StarQuest\sqdrplus\StarAdmin SQDR Configuration Tool

The SQDR Start menu folder is StarQuest Data Replicator.

Windows services

Service name Display name What it runs Starts See
SQDRSVC StarQuest Data Replicator The Replicator Service. Automatically The Windows service
SteloRepMgr-runtime Stelo Data Replicator Manager The web Data Replicator Manager (port 9119), in C:\Program Files\Stelo\SteloRepMgr, installed by the Stelo Data Replicator Manager package. It runs as NT SERVICE\SteloRepMgr-runtime. Data Replicator Manager

Stelo Capture services

On a server with Stelo Capture, the SQDR Plus installer adds three services:

Service name Display name What it runs Depends on
sqdr+capagent SQDR Plus Launch Agent The Launch Agent, which starts a Java process for each Capture Agent. sqdr+derby
sqdr+jetty SQDR Plus Jetty The SQDR Control Center (description "SQDR Plus Manager"). sqdr+derby
sqdr+derby SQDR Plus Derby An Apache Derby database server (description "SQDR Plus Control Database"). The Launch Agent's configuration is in SQDRC; see What the Stelo Capture upgrade changes for the history. —

All three start automatically with Windows and run as the Local System account. There is no service per Capture Agent. The Db2 for LUW instance that holds the Stelo Capture databases has its own Windows services, installed with Db2.

Databases

Name What it is See
SQDRC The control database on a server with Stelo Capture: the Launch Agent's tables, and the Replicator Service's control tables when it runs on the same server. Created by the SQDR Plus installer in the local Db2 for LUW. Control database, Stelo Capture
SQDRP0, SQDRP1, ... (SQDRPn) The staging database of each Capture Agent, created by the Launch Agent with the first free name. Add a Capture Agent

Changes to Db2

On a first install (not an upgrade), the SQDR Plus installer runs LUWConf.bat, which:

  • sets the Db2 database manager configuration JAVA_HEAP_SZ 204800, DIAGSIZE 2 and INSTANCE_MEMORY 60 (60% of the server's memory), and the registry variable DB2_CPU_FEATURE_DISABLE=AVX512;
  • stops and restarts the Db2 instance so these take effect;
  • creates the database SQDRC, unless it already exists, on the drives you chose, and sets automatic maintenance, automatic online backups (AUTO_DB_BACKUP ON, NUM_DB_BACKUPS 2, REC_HIS_RETENTN 7, AUTO_DEL_REC_OBJ ON) and LOGFILSIZ 16384 for it; the automatic backups use disk space on the server;
  • activates SQDRC.

Its output is in LUWConf.log in the ProgramData folder.

The installer also creates the scheduled task DB2ActivateSQDRC, which runs as SYSTEM whenever the Db2 service starts and activates SQDRC (log: DB2activate.log), so SQDRC is always ready for the Launch Agent and SQDR.

The Capture Agents' staging databases (SQDRPn) need no scheduled task: the Launch Agent activates each one when it starts the agent. An active database stays active until you deactivate it, so before an offline backup of a staging database (or of SQDRC), stop the agents that use it and deactivate it in a Db2 command window, for example db2 deactivate db SQDRP0 (see Back up the databases).

SQDRC uses Db2's default circular logging, so the automatic backups can only be offline backups, which Db2 takes only when nothing is connected to SQDRC; check that they run, or back it up yourself (see What the installer sets up). The other Db2 tasks on this server (start and stop, backup and restore, disk space, log size, memory, Db2 updates) are in Db2 databases on the Stelo Capture server. Deleting an agent deactivates and drops its staging database for you when no other agent uses it (see Delete); to drop one yourself, see Clean up unused staging databases.

Windows network setting

The SQDR Plus installer moves Windows' range of dynamic TCP ports to 51000–65535 (netsh int ipv4 set dynamicport tcp start=51000 num=14536), so that Windows doesn't hand out ports that Db2 and the Capture Agents use (50000, and 50005 and above), which would cause "port already in use" errors.

Folders and Start menu

Location What's there
C:\Program Files\StarQuest\SQDR The SQDR program files.
C:\ProgramData\StarQuest\SQDR The Replicator Service's data folder: sqdr.properties and the shipped .json files (see Configuration files).
C:\Program Files\StarQuest\sqdrplus The Stelo Capture program files.
C:\ProgramData\StarQuest\sqdrplus The Stelo Capture working area: the Launch Agent's configuration conf\sqagent.properties, a folder per Capture Agent (conf\agt<N>), and the logs.
C:\Program Files\Stelo\SteloRepMgr The Data Replicator Manager.
Separate folders The Stelo Capture prerequisites are separate products in their own folders, for example C:\Program Files\Stelo\jetty and C:\Program Files\Stelo\derby.

In the SQDR Plus (64-bit) Start menu folder, Staging Agent Log and Staging Agent Configuration are those of the first Capture Agent (conf\agt0).

Configuration files

Name What it is Default location See
sqdr.properties The Replicator Service's control database connection (password encrypted) and listener properties. Written by the SQDR Configuration Tool. C:\ProgramData\StarQuest\SQDR Control database, Service properties
connector-templates.json The connection string templates offered for sources and destinations. C:\ProgramData\StarQuest\SQDR Connection strings
type-config.json The Replicator Service's type configuration, used to map source types to destination types. C:\ProgramData\StarQuest\SQDR Data type mapping
builtin-macros.json The built-in macros, such as the destination phrases of spatial columns. C:\ProgramData\StarQuest\SQDR Data type mapping
Registry key SQDRSVC The Replicator Service's registry settings. HKEY_LOCAL_MACHINE\SOFTWARE\StarQuest\SQDRSVC Back up the configuration
sqagent.properties The Launch Agent's properties. C:\ProgramData\StarQuest\sqdrplus\conf Launch Agent
sqagent.properties (one per agent) A Capture Agent's properties. C:\ProgramData\StarQuest\sqdrplus\conf\agt<N> Configuration
init.properties The control database password saved, encrypted, by the SQDR Control Center for the Launch Agent. C:\ProgramData\StarQuest\sqdrplus\conf Change the passwords Stelo Capture uses
wrapper.conf The settings of the service wrapper that runs sqdr+capagent (Java options, log file, service name). C:\Program Files\StarQuest\sqdrplus\capagent\wrapper\conf Launch Agent
wrapper.conf The same, for sqdr+jetty. C:\Program Files\StarQuest\sqdrplus\jetty\wrapper\conf SQDR Control Center
wrapper.conf The same, for sqdr+derby. C:\Program Files\StarQuest\sqdrplus\derby\wrapper\conf Install Stelo Capture

Every install, upgrade or repair replaces the three .json files, so changes you make to them are lost: keep a copy and apply it again after each upgrade (see Before you upgrade).

Log files and folders

Name What it is Default location See
sqdrsvc_service.log, sqdrsvc_verbose.log The Replicator Service's log and verbose log; older generations end in .1, .2, ... C:\Users\Public\Documents\StarQuest\SQDR\Logs Logs
CrashDumps Crash dumps, sqdrsvc_crash.log and sqdrsvc_error.log. C:\Users\Public\Documents\StarQuest\SQDR\CrashDumps Logs
CNTRLDB_UDB.log, CNTRLDB_MSSQL.log, UPDATEDB610_UDB.log, UPDATEDB610_MSSQL.log What the SQDR Configuration Tool ran to create or upgrade control tables. %LOCALAPPDATA%\StarQuest\SQDR of the user who ran it Review
sq_launcher0.log The Launch Agent's log. C:\ProgramData\StarQuest\sqdrplus\conf Launch Agent
capture_agent0.log A Capture Agent's log. C:\ProgramData\StarQuest\sqdrplus\conf\agt<N> Read the Capture Agent and server logs
wrapper.log The service wrappers' logs: sqdr+capagent, sqdr+jetty and sqdr+derby. Each rotates at 10 MB. C:\ProgramData\StarQuest\sqdrplus\conf, ...\sqdrplus\jetty\logs and ...\sqdrplus\derby\logs Stelo Capture services
derby.log The Derby server's log. C:\ProgramData\StarQuest\sqdrplus\derby Stelo Capture services
LUWConf.log, DB2activate.log What the SQDR Plus installer did to Db2, and the activations of SQDRC by the scheduled task. C:\ProgramData\StarQuest\sqdrplus Changes to Db2

Scripts and tools

Name What it is Default location See
TargetChecker.vbs Compares the row counts of an incremental group's sources and destinations. C:\Program Files\StarQuest\SQDR\Tools TargetChecker
PauseResumeIRGroup.vbs Pauses or resumes an incremental group. C:\Program Files\StarQuest\SQDR\Tools PauseResumeIRGroup
chk-subs.ps1, dlt-sub.ps1, move-sub.ps1, pause-grp.ps1, resume-grp.ps1, run-grp.ps1, run-sub.ps1, show-irgrp.ps1 Sample PowerShell scripts that use the SQDR module. C:\Program Files\StarQuest\SQDR\Tools PowerShell
agent-*.sql Queries the Replicator Service runs on Stelo Capture staging databases for a Capture Agent's status. Don't edit. C:\Program Files\StarQuest\SQDR\Tools\db2
CNTRLDB_UDB.SQL, CNTRLDB_MSSQL.SQL, UPDATEDB610_UDB.SQL, UPDATEDB610_MSSQL.SQL The scripts the SQDR Configuration Tool runs to create or upgrade control tables on Db2 or SQL Server. C:\Program Files\StarQuest\SQDR SQDR Configuration Tool
jping.bat Checks that the IBM i host servers can be reached. Start menu: SQDR Plus (64-bit) › Tools › JPing - Verify IBM i host servers. C:\Program Files\StarQuest\sqdrplus\capagent
ij.bat Derby's interactive SQL tool. Start menu: SQDR Plus (64-bit) › Tools › IJ - Interactive SQL tool for Derby. C:\Program Files\StarQuest\sqdrplus\derby\appdata
SQDRPlusOracleScripts.zip SQL*Plus scripts that create the Oracle agent user, control tables, procedures and publishing user in advance. C:\Program Files\StarQuest\sqdrplus\Tools\Oracle_Scripts Create the control tables in advance
XStream.zip SQL*Plus scripts that set up Oracle XStream (administrator, outbound server). C:\Program Files\StarQuest\sqdrplus\Tools\Oracle_XStream XStream

Free disk space on the server

Disk use on the Stelo VM grows over time, especially after an incident that logged many errors or left a large backlog of change data. To free space:

  • The staging databases' table spaces: see Reclaim table-space storage and Control how staged changes are pruned. Old Db2 backup images and archived logs also take space (see Back up the databases).
  • Stelo Capture logs in C:\ProgramData\StarQuest\sqdrplus (see Log files and folders): the wrapper.log files in conf, jetty\logs and derby\logs, and derby\derby.log.
  • Db2 diagnostic files in C:\ProgramData\IBM\DB2\DB2COPY1\DB2 or its DIAG0000 subfolder: old db2diag.log files (run db2diag -A in a Db2 command window to start a new one, then delete the old), *.trap.bin, *.db2pd.bin, javacore* and Snap.* files, and FODC.* subfolders.
  • Java dump files in C:\Program Files\StarQuest\sqdrplus\capagent.
  • Installer images you no longer need (downloaded ZIP files and their expanded folders), especially large ones such as Db2 and IBM Data Studio.
  • Windows Disk Cleanup, including system files; worth running after Windows updates.

Swap space can also take disk space when many Capture Agents (each a Java process) overcommit the server's memory. See Troubleshooting failure to start some agents (memory overcommitted).