IBM Sterling Connect:Direct

From Wiki

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.
  • 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. Detalhes em AWS S3 Bucket access from Connect Direct File Agent

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