IBM Sterling Connect:Direct: Difference between revisions

From Wiki
Line 77: Line 77:


Detalhes em [https://www.ibm.com/docs/en/SS4PJT_6.2.0/pdf/CDFA_pdf.pdf IBM® Connect:Direct File Agent 6.2].
Detalhes em [https://www.ibm.com/docs/en/SS4PJT_6.2.0/pdf/CDFA_pdf.pdf IBM® Connect:Direct File Agent 6.2].
Já possui suporte ao AWS S3.


* Habilitando o Integrated File Agent, no initparm.cfg (Versão 6.2 ou superior)
* Habilitando o Integrated File Agent, no initparm.cfg (Versão 6.2 ou superior)
Line 91: Line 89:


  cdfacfg -f Default_Config.json
  cdfacfg -f Default_Config.json
* Suporte ao AWS S3.
O File Agent suporta monitorar novos arquivos em um bucket do S3.
O File agente não move os arquivos após processamento, deve ser realizado via o C:D Process. Neste caso podemos utilizar o comando
aws s3 mv s3://mybucket/test.txt s3://mybucket/test2.sent_ok
ou
aws s3 mv s3://mybucket/test.txt s3://mybucket2/
dentro do '''RUNSTATS'''.
Mais detalhes em: https://awscli.amazonaws.com/v2/documentation/api/2.0.33/reference/s3/mv.html


* [[IBM Sterling Connect:Direct File Agent: Funcionamento, Principais Comandos e Arquivos]]
* [[IBM Sterling Connect:Direct File Agent: Funcionamento, Principais Comandos e Arquivos]]

Revision as of 20:01, 21 March 2023

IBM Connect:Direct, IBM C:D WebServices e C:D File Agent


IBM Connect:Direct

Portas utilizadas pelas Soluções

Origem Destino Porta(s) Função
Cliente C:D SSP Engine * Definido na configuração do Connect:Direct Proxy Server Adapter
C:D Cliente C:D Server 1363 port to listen for a Client connection request
C:D Server C:D Server 1364 port to listen for a remote connection request

Install, Commands and Configurations

Performance Tips


Containers and Kubernetes

IBM Connect:Direct WebServices

  • Anyone that wants to login to the CDU server via the CDWS Web Console will need to have a 'local user' record in the userfile.cfg file.
You can grant specific privileges to the users using the userfile record. 
https://www.ibm.com/support/knowledgecenter/SS4PJT_5.3.0/cd_unix/cdunix_admin/CDU_Local_User_Info_Rec_Fmt.html
  • Rest API

Send file

{"processFile": "PP PROCESS \n SNODE=CDDEST \n STEP2 COPY \n FROM ( \n FILE=/connectd/cdinstall/ndm/cfg/msgfile.cfg \n ) \n TO ( \n FILE=/connectd/cdinstall/work/cddelete.me \n DISP=RPL \n ) \n PEND"}

Send file

{ "processFile": "/opt/cdunix/scripts/send_process.cdp" }

IBM Connect:Direct File Agent

Detalhes em IBM® Connect:Direct File Agent 6.2.

  • Habilitando o Integrated File Agent, no initparm.cfg (Versão 6.2 ou superior)
fileagent.enable=Y
  • Convertendo do Standalone para o Integrated
cdfaconvertcfg -i <Standalone File Agent>.ser -o <Integrated File Agent>.json
  • Verificando os arquivos
cdfacfg -f Default_Config.json
  • Suporte ao AWS S3.

O File Agent suporta monitorar novos arquivos em um bucket do S3.

O File agente não move os arquivos após processamento, deve ser realizado via o C:D Process. Neste caso podemos utilizar o comando

aws s3 mv s3://mybucket/test.txt s3://mybucket/test2.sent_ok

ou

aws s3 mv s3://mybucket/test.txt s3://mybucket2/

dentro do RUNSTATS.

Mais detalhes em: https://awscli.amazonaws.com/v2/documentation/api/2.0.33/reference/s3/mv.html

Ver também