Configuración de los sistemas de origen y destino - Teradata Data Mover

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

Product
Teradata Data Mover
Release Number
17.11
Published
Octubre de 2021
Language
Español
Last Update
2021-11-08
dita:mapPath
es-ES/jzo1626458613083.ditamap
dita:ditavalPath
es-ES/stp1591127384938.ditaval
dita:id
B035-4102
Product Category
Analytical Ecosystem
Utilice la herramienta dsa_configsys para configurar los sistemas Teradata de origen y destino cuando utilice Data Mover con DSA. Cuando se proporcionan las opciones -h y -u en la configuración, dsa_configsys reinicia DSMAIN en los sistemas de origen y destino. Si no se proporcionan las opciones -h y -u, DSMAIN debe reiniciarse manualmente con cnsterm antes de utilizar DSA.
Para configurar los sistemas de origen y destino, debe tenerse en cuenta lo siguiente:
  • El host de DSC debe resolverse en una IP a la que puedan alcanzar todos los nodos de TPA de los sistemas de origen y de destino.
  • Cada nodo de TPA debe resolver entradas de COP para todos los nodos del mismo sistema.
  • El usuario especificado con la opción -u debe ser "root" o un usuario con acceso sudo para ejecutar la utilidad cnsterm de Teradata.
  • Debe especificar TDPID con la opción -t.
Los scripts build_dsainputs y dsa_configsys se encuentran en el directorio /opt/teradata/datamover/support.
  1. Desde el host de DSC, ejecute hostname -i para comprobar que se pueda llegar a la IP resuelta desde los nodos de TPA.
  2. 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.

  3. Configure los sistemas de origen y destino, y reinicie DSMAIN mediante dsa_configsys.
    A continuación se incluye un ejemplo de uso de dsa_configsys para configurar TDPID sdt05126 y reiniciar DSMAIN:
    # ./dsa_configsys -t sdt05126 -p dbc -h sdt05126 -u root
    {"validationlist":null,"status":"CONFIG_TERADATA_SYSTEM_SUCCESSFUL","systemName":"sdt05126","tdpId":"sdt05126","valid":true,"links":[]}
    sdt05126 successfully configured.
    ---------------------------------------------------------------------------------
    Preparing to stop/start DSMain.
    
    There may be a delay of 30 seconds or more after each operation.
    
    PLEASE ALLOW BOTH OPERATIONS TO COMPLETE.
    
    If prompted .. please enter the password for user root on sdt05126:
    
     _______
        |                                |              |
        |    ___     __     ____         |    ____    __|__    ____
        |   /      |/  \    ____|    ____|    ____|     |      ____|
        |   ---    |       /    |   /    |   /    |     |     /    |
        |   \___   |       \____|   \____|   \____|     |__   \____|
     
        Release 15.10.03.05 Version 15.10.03.05
        DSA DSMain Utility
     
    
        This program is used to start or stop DSMain    
    
     
        **  DSMain is not running  **
    
    
     _______
        |                                |              |
        |    ___     __     ____         |    ____    __|__    ____
        |   /      |/  \    ____|    ____|    ____|     |      ____|
        |   ---    |       /    |   /    |   /    |     |     /    |
        |   \___   |       \____|   \____|   \____|     |__   \____|
    
        Release 15.10.03.05 Version 15.10.03.05
        DSA DSMain Utility
     
        This program is used to start or stop DSMain    
    
        DSMain started.    
    
    ---------------------------------------------------------------------------------
    
    Restart of DSMain Complete.
    
    Verifying that sdt05126 has registered with ActiveMQ .. please wait.
    
    sdt05126 has been successfully configured and has registered with ActiveMQ.
    Para comprobar si un sistema se ha configurado con DSA, utilice la opción --verify con las opciones -t y -p.
    El siguiente ejemplo muestra la información de uso de dsa_configsys que se muestra cuando no se proporciona ningún parámetro:
    ---------------------------------------------------------------------------------
    dsa_configsys                                                                   
    
    Usage: dsa_configsys -t <TDPID> [-U <db_user>] -p <db_user password> [--verify] [ -h <host>  -u <linux userid> [-i <identity_file>] ] | -?
    
    Description:
       This script will configure a TD system for DSA (similar to the 'dsc 
       config_systems' command). After the TD system is configured DSMain must be 
        re-started on the system. This script will restart DSMain if the -h 
        option is specified.
    
       Run this script locally on the DSC server for which the TD systems are 
       being configured.
    
       -t The TDPID of the system to configure. The TDPID must exactly match the 
          definition from the Data Mover <source_tdpid> and <target_tdpid> job XML. 
          For example: if the <source_tdpid> in the job XML is 
          prodsys.labs.td.com then it must be specified as prodsys.labs.td.com
          for this option.
    
       -U (Optional) Use this option to specify a user other than 'dbc'. This user 
          must have adequate permission for DB 'sysbar' to replace a macro (TD 
          version < 16.00) or insert a row in table sysbar.dsaconnectionstbl 
          (TD version >= 16.00).
    
       -p Password for user 'dbc' on the system specified above with the -t 
          option. Optionally, the -U option can be added to specify a different 
          user. Password must be enclosed by single quotes.
    
       --verify (Optional) Use this option along with -t and -p to check whether a 
                system has been configured in DSA. If the system is configured 
                then no additional configuration is needed with dsa_configsys.
    
       -h (Optional) If the user specifies the -h option followed by the TD system 
          host (SMP) or one of the TD system hosts (MPP) then dsa_configsys will 
          ssh into that host to restart DSMain (stop/start).
    
       -u Required when using the -h option, specify a user that has sudo 
          permissions to run TD cnsterm commands on the host (e.g. root, ec2-user, 
          azureuser).
    
       -i (Optional) Specify an identity file that includes the private key.
    
          Examples:
             ./dsa_configsys -t devsys -p dbc -h devsys -u root
             Configure SMP system 'devsys' and restart DSMain.
    
             ./dsa_configsys -t prodsys.labs.td.com -p dbc -h prodsys1 -i 
             my_identityfile -u ec2-user
             Configure MPP system 'prodsys' and restart DSMain. Note that 
             'prodsys1' resolves to the first node of the MPP system.
    
             ./dsa_configsys -t prodsys -p dbc --verify
             Check if 'prodsys' has been configured in DSA.
    
       -? Displays usage help.