Riversoft STCP Gemini Server
Configuration of Riversoft® STCP Gemini Server, responsible for OFTP transfers.
Create the file from the template:
cd /usr/local/stcp/configs
cp example-stcpserver.config.json stcpserver.config.jsonInstance (ApplName)
Riversoft STCP Gemini Server runs the instance created in the Riversoft Console Portal. Set the instance name in ApplName.
Important
The ApplName value must be identical to the instance name registered in the Portal. Without a configured instance, the service does not start.
{
"Module": "stcpgemini-server",
"Version": "1.0",
"Description": "Configuration parameters STCP Gemini OFTP Server Linux",
"Modules": {
"STCPCore": {
"ApplName": "INSTANCIATESTE",
"ApplDescription": "",
"ApplUser": "stcp",
"ApplGroup": "stcp",
"ApplDir": "/usr/local/stcp/",
"ApplLockDir": "/usr/local/stcp/control",
"ApplPidFile": "/var/run/stcpserver.pid",
"ApplUmask": "0022",
"ApplDaemon": "0",
"ApplMsgFileName": "/usr/local/stcp/configs/stcplang.json",
"ApplMsgLanguage": "ptb",
"ApplConfigPassPhrase": "<secret-passphrase>",
"ApplDebug": "0",
"ApplMaximunConsoleMsgs": "100",
"ApplMaximunAsyncProcesses": "2048"
},
"STCPCfg": {
"DLLName": "libstcpcfgmysql.so",
"DBName": "GEMINI_DBConfig",
"DBHost": "db.example.com",
"DBPort": "3306",
"DBUser": "<user>",
"DBPswd": "<password>",
"MaxConfigTxt": "8192",
"MaxExtraTxt": "8192"
}
}
}STCPCoresets the instance, the run user and group, the directories and the process limits.STCPCfgsets the configuration access library (DLLName) and the configuration database connection. Use the library for the environment’s DBMS:
| DBMS | DLLName |
|---|---|
| Microsoft SQL Server | libstcpcfgodbc.so |
| Oracle Database | libstcpcfgoracle.so |
| MySQL and MariaDB | libstcpcfgmysql.so |
Parameters: Riversoft STCP Gemini Server.