IBM Sterling Connect:Direct : Instalação

From Wiki

Pré Instalação

Required Files

Você pode baixar o C:D do IBM Passport Advantage ou da IBM Fix Central

  • 6.1.0.1-IBMConnectDirectforUNIX-Linux-x86-iFix000.tar -> IBM Connect Direct for Unux V6.0.1.1 iFix 0 Linux x86_64

Linux User

First you need to create a user on you Linux host

useradd cduser

Change password

passwd cduser

Login with cduser to do installation

Unpack installers

1) Create temporary directories

mkdir -p /home/cduser/installers/

copy file 6.1.0.1-IBMConnectDirectforUNIX-Linux-x86-iFix000.tar to directory /home/seasuser/installers

2) Unzip pakages

cd /home/cduser/installers

tar -xvf 6.1.0.1-IBMConnectDirectforUNIX-Linux-x86-iFix000.tar

Instalação

Instalação do CD Server e Cliente na mesma máquina

Execute o Instalador

[cduser@cdnode01 installers]$ ./cdinstall

Pressione ENTER

================================================================
Licensed Materials - Property of IBM

IBM(R) Connect:Direct(R) for UNIX
...
...
... 
UNIX is a registered trademark of The Open Group
================================================================

Press ENTER when ready.

Informe o diretório de instalação

Enter the FULL path of the Connect:Direct for UNIX 6.1.0.1 installation directory.
You can use /home/cduser to shorten the name:[/home/cduser/cdunix]

Connect:Direct for UNIX installation directory specified:
/home/cduser/cdunix

Informe a instalação 1 e pressione Enter

Please select one of the following installation options:

  (1) Connect:Direct for UNIX Server and Client(CLI/API)
  (2) Connect:Direct for UNIX Server
  (3) Connect:Direct for UNIX Client(CLI/API)
  (4) Connect:Direct for UNIX File Agent
  (5) Connect:Direct Secure+ Option for UNIX
  (6) EXIT

Enter your choice:[1]

Informe o local do arquivo cdunix, no meu caso /home/cduser/installers/cdunix e confirme com Y

Specify the fully qualified name of the Connect:Direct for UNIX installation
file (file name prefixed with the absolute path, e.g., /localhome/cdadmin/cdunix): 
/home/cduser/installers/cdunix

Both Connect:Direct for UNIX Server and Client(CLI/API) Version 6.1.0.1
will be installed in your system. Do you want to continue?:[Y/n]

Aguarde a instalação dos pacotes

Please wait while the procedure determines if there is
sufficient disk space to complete this operation.
 
Sufficient free disk space:
167546 kbytes needed, 22116808 kbytes available

... Extracting server_and_cliapi installation listfile from the media.
...
...
...
install_agent installation in progress...

Configuração do CD Server

Configuração do CD Client

Verificando a instalação

Iniciando o servidor C:D

/opt/cdunix/ndm/bin/cdpmgr -i /opt/cdunix/ndm/cfg/cliapi/ndmapi.cfg

Faça o export da variável NDMAPICFG

export NDMAPICFG=d_dir/ndm/cfg/cliapi/ndmapi.cfg

Invocando o cliente

/opt/cdunix/ndm/bin/direct

No prompt do direct

direct> Select statistics;

Envie um processo de teste. Este processo de exemplo copia o arquivo msgfile.cfg para o arquivo cddelete.me, no seu diretório HOME.

Direct> submit file=/opt/cdunix/ndm/bin/sample.cd;

Para monitorar a atividade de transmissão execute o comando:

Direct> select process pnumber=1;

O direct gera um relatório com o nome e número do Processo, usuário, nó de submissão, fila e status.

Após o final do Processo, veja as estatísticas com o comando:

Direct> select statistics pnumber=1;

Saia do C:D direct com o comando

Direct> quit;

Se desejar para o servidor digite:

Direct> stop;

Ver também