Cada arquivo de configuração possui suas peculiaridades (arquivos apresentado como exemplo). Aqui, temos exemplos para o LockServero Broker, BalanceSecondary01, Secondary01 Secondary02 e Secondary02DBAccess.
Dica |
---|
Caso você utilize mais de um servidor em seu ambiente, configure o compartilhamento dos diretórios com o NFS. Sempre confira o caminho configurado nos serviços. |
Aviso |
---|
|
A partir da release 12.1.2210, o uso do Lock Server é descontinuado. |
Deck of Cards |
---|
|
Card |
---|
id | Appserver_LockServerBroker |
---|
label | LockServerBroker-Smartclient |
---|
effectType | fade |
---|
| Bloco de código |
---|
;##### Servico do Lock Server Distribuicao carga entre servico ####
[Generalgeneral]
AsyncConsoleLog=0
CONSOLELOGConsoleLog=1
CONSOLEFILEConsoleFile=/totvs/microsiga/protheus12protheus/bin/loglogs/applockserverAPPBROKER.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=5555app_environment=producao
[BALANCE_SMART_CLIENT_DESKTOP]
LOCAL_SERVER_PORT = 10000
REMOTE_SERVER_01 = 127.0.0.1 10001
REMOTE_SERVER_02 = 127.0.0.1 10002
SERVICE_NAME = totvsbroker
SERVICE_DISPLAY_NAME =.totvsbroker
SESSION_TIMEOUT = 100
#### Exemplo balanceamento por consumo de memória reportado pelo appserver
SORT_METHOD = SERVER_MEMORY
#### configuracao para o protheus monitor
PROTHEUS_MONITOR_EMBEDDED=1
MONITORING_TYPE = SMARTCLIENT_ACTIVE
#### environment para autenticação do monitoramento
[producao]
SourcePath=/totvs/protheus/apo
RpoCustom=/totvs/protheus/apo/tttm120_custom.rpo
RootPath=/totvs/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 |
|
Card |
---|
id | Appserver_BalanceSec01 |
---|
label | BalanceSecondary01 |
---|
effectType | fade |
---|
| Bloco de código |
---|
;#### Servico Protheus BalanceSecondary01 ####
[p1225producao]
SourcePath=/totvs/protheus/apo
RpoCustom=/totvs/microsigaprotheus/protheus12apo/tttm120_custom.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
StartSysInDB=1
[DBAccess]
DataBase=postgres
Server=localhost
ALIAS=tmprd
PROTHEUSONLY=0
[General]
CHECKSPECIALKEY=0
CONSOLELOG=1
CONSOLEFILE=/totvs/microsiga/protheus12protheus/bin/log/appbalanceappsec01.log
InstallPath=/totvs/microsiga/protheus12/
CanAcceptFSRemote=1
ASyncConsoleLog=0
[LockServerDrivers]
EnableACTIVE=0TCP
ServerMultiProtocolPortSecure=localhost
Port=12000
messagelog=1
[Drivers]
ACTIVE=TCP1
MultiProtocolPort=1
[TCP]
TYPE=TCPIP
PORT=1000010001
[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_Sec01Sec02 |
---|
label | Secondary01Secondary02 |
---|
effectType | fade |
---|
| Bloco de código |
---|
;#### Servico Protheus Secondary01Secondary02 ####
[p1212210producao]
SourcePath=/totvs/protheus/apo
RpoCustom=/totvs/microsigaprotheus/protheus12apo/tttm120_custom.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
ALIASAlias=tmprd
PROTHEUSONLY=0
[General]
CHECKSPECIALKEY=0
CONSOLELOG=1
CONSOLEFILE=/totvs/microsiga/protheus12protheus/bin/log/appsec01appsec02.log
InstallPath=/totvs/microsiga/protheus12/
CanAcceptFSRemote=1
ASyncConsoleLog=0
[LockServerDrivers]
EnableACTIVE=0TCP
ServerMultiProtocolPortSecure=localhost
Port=12000
messagelog=1
[Drivers]
ACTIVE=TCP1
MultiProtocolPort=1
[TCP]
TYPE=TCPIP
PORT=1000110002
[LICENSECLIENT]
SERVER=localhost
PORT=5555 |
|
Card |
---|
id | Appserver_Sec02DBAccessSQL |
---|
label | Secondary02DBAccess SQL Server |
---|
effectType | fade |
---|
| Bloco de código |
---|
;#### Servico Protheus Secondary02 ####
[p1212210[General]
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=5555Port=7890
ThreadInfo=0
LogFull=0
GlbPRofiler=0
ThreadMin=200
ThreadMax=10000
ThreadInc=100
ConsoleMaxSize=100000000
LicenseServer=127.0.0.1
LicensePort=5555
maxStringSize=100
[MSSQL]
environments=TPPRD
clientlibrary=/usr/lib64/libodbc.so
[MSSQL/TPPRD]
user=TPPRD
password=èÿîä
TableSpace=
IndexSpace=SECONDARY
Disable=0
|
|
Card |
---|
id | DBAccessPgsql |
---|
label | DBAccess PostgreSQL |
---|
effectType | fade |
---|
| Bloco de código |
---|
[General]
ODBC30=1
Port=7890
ThreadInfo=0
LogFull=0
GlbPRofiler=0
ThreadMin=200
ThreadMax=10000
ThreadInc=100
ConsoleMaxSize=100000000
LicenseServer=127.0.0.1
LicensePort=5555
maxStringSize=100
[POSTGRES]
environments=tpprd
clientlibrary=/usr/pgsql-12/lib/psqlodbca.so
CodePage=WIN1252
[POSTGRES/tpprd]
user=tpprd
password=œðö¼
TableSpace=tpprd_data
IndexSpace=tpprd_index
|
|
Card |
---|
id | DBAccessOra |
---|
label | DBAccess Oracle |
---|
effectType | fade |
---|
| Bloco de código |
---|
[General]
Port=7890
ThreadInfo=0
LogFull=0
GlbPRofiler=0
ThreadMin=200
ThreadMax=10000
ThreadInc=100
ConsoleMaxSize=100000000
LicenseServer=127.0.0.1
LicensePort=5555
maxStringSize=100
[ORACLE]
ORACLE_HOME=/usr/lib/oracle/19.10/client64
Clientlibrary=/usr/lib/oracle/19.10/client64/lib/libclntsh.so
memoasblob=0
environments=TPPRD
[ORACLE/TPPRD]
user=TPPRD
password=œðö¼
TableSpace=tpprd_data
IndexSpace=tpprd_index
LogAction=0
MemoAsBlob=1
Disable=0 |
|
|
Prossiga sua instalação configurando os serviços de inicialização.
...