Cada arquivo de configuração possui suas peculiaridades. Aqui, temos exemplos para o LockServer, BalanceBroker, Secondary01 e Secondary02.
...
Deck of Cards |
---|
|
Card |
---|
id | Appserver_LockServer |
---|
label | LockServer |
---|
effectType | fade |
---|
| Aviso |
---|
| ♦ A partir da release 12.1.2210, o LockServer não é mais utilizado. ♦ Na chave SERVER, na seção LockServer, utilize o IP interno da máquina ou o hostname. |
Bloco de código |
---|
;# Servico do Lock Server
[General]
CONSOLELOG=1
CONSOLEFILE=/totvs/microsiga/protheus12/bin/log/applockserver.log
InstallPath=/totvs/microsiga/protheus12/
CanAcceptFSRemote=1
ASyncConsoleLog=0
SOURCEPATH=/totvs/microsiga/protheus12/rpo
CHECKSPECIALKEY=0
ConsoleMaxSize=31457280
;Extende o tamanho do error.log (o padrao é 3Mb)
ErrorMaxSize=1073741824
[LockServer]
Enable=1
;Chave SERVER, insira o IP local do servidor ou o hostname
Server=127.0.0.1
Port=12000
messagelog=1
WorkThreadQtdMin=2000
WorkThreadStackSize=131072
[Drivers]
ACTIVE=TCP
[TCP]
TYPE=TCPIP
PORT=12000
[LICENSECLIENT]
SERVER=localhost
PORT=5555 |
|
Card |
---|
id | Appserver_BalanceBroker |
---|
label | BalanceBroker |
---|
effectType | fade |
---|
| Bloco de código |
---|
;#### Servico Protheus Balance ####
[p1225]
SourcePath=/totvs/microsiga/protheus12/rpo
RootPath=/totvs/microsiga/protheus_data
StartPath=/system/
x2_path=
RpoDb=top
RpoLanguage=Portuguese
RpoVersion=120
LocalFiles=CTREE
Trace=0
localdbextension=.dtc
TopMemoMega=1
PictFormat=DEFAULT
RegionalLanguage=BRA
SpecialKey=Prod
[DBAccess]
DataBase=postgres
Server=localhost
ALIAS=tmprd
PROTHEUSONLY=0
[General]
CHECKSPECIALKEY=0
CONSOLELOG=1
CONSOLEFILE=/totvs/microsiga/protheus12/bin/log/appbalance.log
InstallPath=/totvs/microsiga/protheus12/
CanAcceptFSRemote=1
ASyncConsoleLog=0
[LockServer]
Enable=0
Server=localhost
Port=12000
messagelog=1
[Drivers]
ACTIVE=TCP
[TCP]
TYPE=TCPIP
PORT=10000
[LICENSECLIENT]
SERVER=localhost
PORT=5555
[ServerNetwork]
MasterConnection=0
Servers=SRV01,SRV02
[SRV01]
Type=TCPIP
Server=localhost
Port=10001
Connections=100
[SRV02]
Type=TCPIP
Server=localhost
Port=10002
Connections=1 |
|
Card |
---|
id | Appserver_Sec01 |
---|
label | Secondary01 |
---|
effectType | fade |
---|
| Bloco de código |
---|
;#### Servico Protheus Secondary01 ####
[p1212210]
SourcePath=/totvs/microsiga/protheus12/rpo
RootPath=/totvs/microsiga/protheus_data
StartPath=/system/
RpoDb=top
RpoLanguage=Portuguese
RpoVersion=120
LocalFiles=CTREE
Trace=0
localdbextension=.dtc
TopMemoMega=1
PictFormat=DEFAULT
RegionalLanguage=BRA
SpecialKey=Prod
StartSysInDB=1
[DBAccess]
DataBase=postgres
Server=localhost
ALIAS=tmprd
PROTHEUSONLY=0
[General]
CHECKSPECIALKEY=0
CONSOLELOG=1
CONSOLEFILE=/totvs/microsiga/protheus12/bin/log/appsec01.log
InstallPath=/totvs/microsiga/protheus12/
CanAcceptFSRemote=1
ASyncConsoleLog=0
[LockServer]
Enable=0
Server=localhost
Port=12000
messagelog=1
[Drivers]
ACTIVE=TCP
[TCP]
TYPE=TCPIP
PORT=10001
[LICENSECLIENT]
SERVER=localhost
PORT=5555 |
|
Card |
---|
id | Appserver_Sec02 |
---|
label | Secondary02 |
---|
effectType | fade |
---|
| Bloco de código |
---|
;#### Servico Protheus Secondary02 ####
[p1212210]
SourcePath=/totvs/microsiga/protheus12/rpo
RootPath=/totvs/microsiga/protheus_data
StartPath=/system/
RpoDb=top
RpoLanguage=Portuguese
RpoVersion=120
LocalFiles=CTREE
Trace=0
localdbextension=.dtc
TopMemoMega=1
PictFormat=DEFAULT
RegionalLanguage=BRA
SpecialKey=Prod
StartSysInDB=1
[DBAccess]
DataBase=postgres
Server=localhost
Alias=tmprd
PROTHEUSONLY=0
[General]
CHECKSPECIALKEY=0
CONSOLELOG=1
CONSOLEFILE=/totvs/microsiga/protheus12/bin/log/appsec02.log
InstallPath=/totvs/microsiga/protheus12/
CanAcceptFSRemote=1
ASyncConsoleLog=0
[LockServer]
Enable=0
Server=localhost
Port=12000
messagelog=1
[Drivers]
ACTIVE=TCP
[TCP]
TYPE=TCPIP
PORT=10002
[LICENSECLIENT]
SERVER=localhost
PORT=5555 |
|
|
...