Instalación y configuración de NC de BAR en nodos de TPA - Teradata Data Mover

Teradata® Data Mover Guía de instalación, configuración y actualizaciónpara clientes

Product
Teradata Data Mover
Release Number
17.00
Published
Noviembre de 2021
ft:locale
es-ES
ft:lastEdition
2021-12-03
dita:mapPath
es-ES/xmy1574692806525.ditamap
dita:ditavalPath
es-ES/stp1591127384938.ditaval
dita:id
B035-4102
Product Category
Analytical Ecosystem
  1. Ejecute build_dsainputs en uno de los siguientes servidores, en función de la configuración de DSA que esté utilizando:
    Configuración de DSA Servidor
    DSA agrupado Servidor de Data Mover
    DSA externo Servidor de DSC externo

    Copie el script build_dsainputs en el servidor de DSC externo y ejecútelo desde allí. El script se puede copiar y ejecutar desde cualquier directorio.

  2. Cree un archivo de dsainputs para el nodo de TPA mediante la herramienta build_dsainputs.
    La herramienta build_dsainputs crea los archivos /tmp/dsainputs para las bases de datos SMP y MPP. Opcionalmente, transfiere los archivos a los nodos de TPA si el usuario con acceso de escritura al directorio /tmp está especificado con la opción -u. También se puede especificar un archivo de identidad que contiene una clave privada con la opción -i.
    El siguiente ejemplo muestra el resultado cuando no se proporciona ningún parámetro al ejecutar build_dsainputs:
    # ./build_dsainputs
     
    Usage: build_dsainputs -d | -m <media_server_hostname>[,<media_server_hostname>...] | [-i <identity_file> -u <userid>] | [-u <userid>] | -h
     
    Description:
       Run this utility on the DSC server to create /tmp/dsainputs file(s) for the DSC or media server(s).
     
       -d  Creates a /tmp/dsainputs file for the DSC server.
     
       -m  Creates /tmp/dsainputs file(s) for a media server. Run this script one time for each Teradata
           system. Specify 1 host for an SMP System, or a comma separated list for an MPP System. Creates a
           /tmp/dsainputs.<media_server_hostname> file for each host in the list. The /tmp/dsainputs files must be
           copied to ther corresponding host before installing the ClientHandler rpm.
     
           Examples:
             1) ./build_dsainputs -m devsys
     
             Creates /tmp/dsainputs.devsys for SMP system 'devsys'. Copy this files to the corresponding
             database host and rename to /tmp/dsainputs before installing the ClientHandler rpm.
     
             2) ./build_dsainputs -m kiwi1,kiwi2
     
             Creates dsainputs files for a 2 node MPP system with hosts kiwi1 and kiwi2. The following
             files are created: /tmp/dsainputs.kiwi1, /tmp/dsainputs.kiwi2. Copy these files to the
             corresponding database hosts (rename to /tmp/dsainputs) before installing the ClientHandler rpm.
     
           Optionally the /tmp/dsainputs files will be coppied to their respective hosts if either
           the -i or -u options are provided:
     
       -i  (Optional) When used with the -m option this specifies the identify_file (that contains the private key)
           that will be used along with the userid (provided with the -u option) to scp the /tmp/dsainput(s) files
           to their respective hosts. The -u option must be provided when the -i option is included.
     
           Example:  ./build_dsainputs -m kiwi1,kiwi2 -i ./my_identity_file -u ec2-user
     
       -u  (Optional) When used with the -m option this specifies the userid that will be used to scp the /tmp/dsainput(s)
           files to their respective host(s). Note that if you are using this without the -i option and password-less SSH
           is not configured then you will be prompted for a password for each file transfer.
     
           Example:  ./build_dsainputs -m kiwi1,kiwi2 -u root
     
       -h  Displays usage help
    El siguiente ejemplo muestra la ejecución de build_dsainputs para un sistema MPP de 4 nodos. La opción -u se ha proporcionado para transferir los archivos a los nodos de TPA individuales:
    # ./build_dsainputs -m kiwi1,kiwi2,kiwi3,kiwi4 -u root
    Generating /tmp/dsainputs.kiwi1 - copy this file to /tmp/dsainputs on kiwi1 before installing the ClientHandler rpm.
    Generating /tmp/dsainputs.kiwi2 - copy this file to /tmp/dsainputs on kiwi2 before installing the ClientHandler rpm.
    Generating /tmp/dsainputs.kiwi3 - copy this file to /tmp/dsainputs on kiwi3 before installing the ClientHandler rpm.
    Generating /tmp/dsainputs.kiwi4 - copy this file to /tmp/dsainputs on kiwi4 before installing the ClientHandler rpm.
    
    Transferring /tmp/dsainputs file to kiwi1.
    dsainputs.kiwi1                                                                                                                                              100%  349     0.3KB/s   00:00    
    
    Transferring /tmp/dsainputs file to kiwi2.
    dsainputs.kiwi2                                                                                                                                              100%  348     0.3KB/s   00:00    
    
    Transferring /tmp/dsainputs file to kiwi3.
    dsainputs.kiwi3                                                                                                                                              100%  348     0.3KB/s   00:00    
    
    Transferring /tmp/dsainputs file to kiwi4.
    dsainputs.kiwi4 
    • Para un sistema MPP, los nodos enumerados en el servidor de medios con la opción -m deben resolverse en direcciones IP a las que se pueda acceder desde cada nodo de TPA de MPP.
    • Cuando se ejecuta la herramienta en un sistema SMP, solo aparece un mensaje de generación y transferencia de archivos únicos.
  3. Instale el RPM de ClientHandler de DSA en los nodos de TPA.
    Para obtener más información, consulte Guía de instalación, configuración y actualización de Teradata® Data Stream Utility, B035-3153.
    Si está instalando ClientHandler en la línea de comandos en lugar de utilizar PUT, utilice el comando rpm -ivh ClientHandler*.rpm en lugar del script empaquetado. Si utiliza el script clienthandler_install.sh empaquetado en la línea de comandos, la configuración de la propiedad /tmp/dsainputs se sobrescribe y debe quitar ClientHandler utilizando rpm -e y, a continuación, volver a comenzar con el paso 1 para crear el archivo dsainputs para el nodo de TPA.
  4. Realice los pasos siguientes para actualizar el sistema operativo en los nodos BAR NC TPA:
    1. Ajuste los siguientes parámetros del sistema operativo en los nodos TPA donde se ejecuta BAR NC:
      net.ipv4.tcp_max_syn_backlog to 16384 (default 2048)
      net.core.somaxconn to 16384 (default 128)
    2. Ejecute los siguientes comandos en los nodos TPA para incorporar los cambios inmediatamente:
      # echo 16384 > /proc/sys/net/core/somaxconn
      # echo 16384 > /proc/sys/net/ipv4/tcp_max_syn_backlog
    3. Reinicie ClientHandler en esos nodos TPA:
      # /etc/init.d/clienthandler restart
    4. Modifique sysctl.conf con los siguientes valores para que los valores sean persistentes al inicio:
      net.core.somaxconn=16384
      net.ipv4.tcp_max_syn_backlog=16384
      Teradata recomienda incorporar estos cambios para evitar problemas de comunicación de red entre DSMain y BAR NC. Consulte KB0016835 para obtener más detalles.