Instalación del servidor Tivoli Storage Manager (TSM) en Linux

Opciones de implantación: IBM Netezza Dispositivo

Aprenda a instalar el servidor Tivoli Storage Manager (TSM) en el sistema Linux.

Antes de empezar

Para instalar el servidor TSM, asegúrese de que dispone de un equipo Linux con RHEL 7.x.
Nota:
  1. No instale el servidor TSM está en IBM Cloud Pak for Data System.
  2. Si tiene algún problema al instalar o configurar TSM, póngase en contacto con el servicio de asistencia de TSM.

Procedimiento

  1. Instale el servidor TSM:
    1. Descargue TSM/IBM Spectrum Protect de Fix Central y guárdelo en el sistema servidor. Por ejemplo: 8.1.10.000-IBM-SPSRV-Linuxx86_64.bin.
    2. Como root, descomprima el paquete de instalación:
      ./8.1.10.000-IBM-SPSRV-Linuxx86_64.bin.
      Ejemplo:
      [root@~ ~]# ./8.1.10.000-IBM-SPSRV-Linuxx86_64.bin
    3. Ejecute el script install.sh para iniciar la instalación:
      ./install.sh
      Ejemplo:
      [root@~ ~]# ./install.sh
    4. Seleccione los paquetes de software que desea instalar:
      1. Escriba 1 para iniciar la instalación de los paquetes:
        =====> IBM Installation Manager
        
        Select:
             1. Install - Install software packages
        -----> 1
      2. Escriba [C] 1 para seleccionar el paquete IBM Spectrum Protect server 8.1.10.20200521_1523 para su instalación:
        =====> IBM Installation Manager> Install
        
        Select packages to install:
             1. [ ] IBM Spectrum Protect server 8.1.10.20200521_1523
             2. [ ] IBM Spectrum Protect languages 8.1.10.20200521_1521
             3. [ ] IBM Spectrum Protect storage agent 8.1.10.20200521_1521
             4. [ ] IBM Spectrum Protect device driver 8.1.10.20200521_1522
             5. [ ] IBM Spectrum Protect Operations Center 8.1.10000.20200519_112
        
        
             C. Cancel
        -----> [C] 1
        Escriba 1 para elegir la versión de instalación:
        =====> IBM Installation Manager> Install> Select
        
        IBM Spectrum Protect server 8.1.10.20200521_1523
        
        Options:
             1. Choose version 8.1.10.20200521_1523 for installation.
             2. Show all available versions of the package.
        
             C. Cancel
        -----> [1]
      3. Escriba [N] 2 para seleccionar el paquete IBM Spectrum Protect languages 8.1.10.20200521_1521 para su instalación:
        =====> IBM Installation Manager> Install
        
        Select packages to install:
             1. [X] IBM Spectrum Protect server 8.1.10.20200521_1523
             2. [ ] IBM Spectrum Protect languages 8.1.10.20200521_1521
             3. [ ] IBM Spectrum Protect storage agent 8.1.10.20200521_1521
             4. [ ] IBM Spectrum Protect device driver 8.1.10.20200521_1522
             5. [ ] IBM Spectrum Protect Operations Center 8.1.10000.20200519_1120
        
             O. Check for Other Versions, Fixes, and Extensions
        
             N. Next,      C. Cancel
        -----> [N] 2
      4. Escriba 1 para seleccionar la versión que desea instalar:
        =====> IBM Installation Manager> Install> Select
        
        IBM Spectrum Protect languages 8.1.10.20200521_1521
        
        Options:
             1. Choose version 8.1.10.20200521_1521 for installation.
             2. Show all available versions of the package.
        
             C. Cancel
        -----> [1]
      5. Para seleccionar los paquetes 3, 4, y 5 para su instalación, repita los pasos.
      6. Una vez seleccionados todos los paquetes, escriba N :
        =====> IBM Installation Manager> Install
        
        Select packages to install:
             1. [X] IBM Spectrum Protect server 8.1.10.20200521_1523
             2. [X] IBM Spectrum Protect languages 8.1.10.20200521_1521
             3. [X] IBM Spectrum Protect storage agent 8.1.10.20200521_1521
             4. [X] IBM Spectrum Protect device driver  8.1.10.20200521_1522
             5. [X] IBM Spectrum Protect Operations Center 8.1.10000.20200519_1120
        
             O. Check for Other Versions, Fixes, and Extensions
        
             N. Next,      C. Cancel
        -----> [N]
    5. Escriba 11090 para especificar un puerto https seguro:
      Specify the secure communication settings - Secure (https) port
      -----> [11090]
    6. y establezca una contraseña de su elección:
      ---- Create password
      
      Password length:
               - Minimum: 6 characters
               - Maximum: 64 characters
      
               The password must contain at least:
               - One uppercase letter (A - Z)
               - One lowercase letter (a - z)
               - One digit (0 - 9)
               - Two non-alphanumeric characters: ~ # $ % ^ @ * _ - + =  | ( ) { } [ ] : ; < > , . ? /
      
      Create password
      
      
      Confirm password
      
    7. Escriba 1 para seleccionar el producto que ha comprado:
      ---- Configuration for IBM Spectrum Protect server 8.1.10.20200521_1523
      
      Select the product that you purchased:
           1. IBM Spectrum Protect
           2. IBM Spectrum Protect Extended Edition
           3. IBM Spectrum Protect for Data Retention
      
      -----> 1
    8. Lea y acepte IBM Spectrum Protect - Acuerdo de Licencia de Software y IBM Spectrum Protect - Condiciones No- IBM.
      Escriba el número asignado a cada licencia para leerla y escriba A para aceptar los términos:
      Read the following license agreements carefully.
      View a license agreement by entering the number:
           1. IBM Spectrum Protect - Software License Agreement
           2. IBM Spectrum Protect - Non-IBM Terms
      Options:
           A. [ ] I accept the terms in the license agreements.
           D. [ ] I do not accept the terms in the license agreements.
      
      -----> A
      Read the following license agreements carefully.
      View a license agreement by entering the number:
           1. IBM Spectrum Protect - Software License Agreement
           2. IBM Spectrum Protect - Non-IBM Terms
      Options:
           A. [X] I accept the terms in the license agreements.
           D. [ ] I do not accept the terms in the license agreements.
    9. Lea y acepte IBM Spectrum Protect for Storage Area Networks - Acuerdo de Licencia de Software y IBM Spectrum Protect for Storage Area Networks - Condiciones No- IBM.
      Escriba el número asignado a cada licencia para leerla y escriba A para aceptar los términos:
      ---- Configuration for IBM Spectrum Protect storage agent 8.1.10.20200521_1521
      
      
      Read the following license agreements carefully.
      View a license agreement by entering the number:
           1. IBM Spectrum Protect for Storage Area Networks - Software License Agreement
           2. IBM Spectrum Protect for Storage Area Networks - Non-IBM Terms
      Options:
           A. [ ] I accept the terms in the license agreements.
           D. [ ] I do not accept the terms in the license agreements.
      
      -----> A
      Read the following license agreements carefully.
      View a license agreement by entering the number:
           1. IBM Spectrum Protect for Storage Area Networks - Software License Agreement
           2. IBM Spectrum Protect for Storage Area Networks - Non-IBM Terms
      Options:
           A. [X] I accept the terms in the license agreements.
           D. [ ] I do not accept the terms in the license agreements.
      
    10. Escriba N para pasar a la pantalla de instalación:
           B. Back,      N. Next,      C. Cancel
      -----> [N]
    11. Escriba I para instalar los paquetes:
      =====> IBM Installation Manager> Install> Prerequisites> Shared Directory>
        Location> Features> Custom panels> Summary
      
      Target Location:
        Package Group Name         :  IBM Spectrum Protect
        Installation Directory     :  /opt/tivoli/tsm
        Shared Resources Directory :  /opt/IBM/IBMIMShared
      
      Translations:
              English
      
      Packages to be installed:
              IBM Spectrum Protect server 8.1.10.20200521_1523
              IBM Spectrum Protect languages 8.1.10.20200521_1521
              IBM Spectrum Protect storage agent 8.1.10.20200521_1521
              IBM Spectrum Protect device driver  8.1.10.20200521_1522
              IBM Spectrum Protect Operations Center 8.1.10000.20200519_1120
      
      Options:
           G. Generate an Installation Response File
      
           B. Back,      I. Install,      C. Cancel
      -----> [I]
      
                       25%                50%                75%                100%
      ------------------|------------------|------------------|------------------|
      ............................................................................
    12. Cuando los paquetes estén instalados, escriba [F] V para ver los detalles del mensaje:
      =====> IBM Installation Manager> Install> Prerequisites> Shared Directory>
        Location> Features> Custom panels> Summary> Completion
      
      
           V. View Message Details
      
      Options:
           F. Finish
      -----> [F] V
    13. Escriba O para ocultar los detalles
      INFORMATION: The IBM Spectrum Protect Operations Center is now installed.  You can access it at the following URL:
      
      https://tsmtest.test.ibm.com:11090/oc
      
      O. OK,      D. Hide Details
      -----> [O]
    14. Escriba F para finalizar la instalación del servidor TSM:
      =====> IBM Installation Manager> Install> Prerequisites> Shared Directory>
        Location> Features> Custom panels> Summary> Completion
      
      
           V. View Message Details
      
      Options:
           F. Finish
      -----> [F]
  2. Configure el Installation Manager TSM:
    1. Crea un grupo:
      groupadd tsmsrvrs
    2. Añade un usuario al grupo:
      useradd -g tsmsrvrs tsminst1
    3. Establezca una contraseña para el usuario:
      passwd tsminst1
      Ejemplo:
      # passwd tsminst1
      Changing password for user tsminst1.
      New password:
      Retype new password:
      passwd: all authentication tokens updated successfully.
    4. Entra en tsminst1 y crea un directorio:
      # su - tsminst1
      $ pwd
      /home/tsminst1
      $ mkdir /home/tsminst1/tsminst1
      $ mkdir tsm71_storage
      $ cd tsm71_storage
      $ mkdir tsm71_storage;mkdir tsmarchlog;mkdir tsmarchlogfailover;mkdir tsmdb001;mkdir tsmdb002;mkdir tsmdb003;mkdir tsmdb004;mkdir tsmlog;mkdir tsmlogmirror;mkdir tsminst1;
      $ ls
      tsm71_storage  tsmarchlog  tsmarchlogfailover  tsmdb001  tsmdb002  tsmdb003  tsmdb004  tsminst1  tsmlog  tsmlogmirror
      $ pwd
      /home/tsminst1/tsm71_storage
      $ logout
      # groupadd nz
      # useradd -g nz nz
      # chown nz:nz /opt/IBM
    5. Como root, cree una instancia de db2 :
      /opt/tivoli/tsm/db2/instance/db2icrt -a server -u tsminst1 tsminst1
      Ejemplo:
      # /opt/tivoli/tsm/db2/instance/db2icrt -a server -u tsminst1 tsminst1
      
      DBI1070I  Program db2icrt completed successfully.
    6. Actualiza la ruta por defecto de la base de datos:
      su - tsminst1
      /opt/tivoli/tsm/db2/bin/db2 update dbm cfg using dftdbpath /home/tsminst1
      export PATH=/opt/tivoli/tsm/db2/bin:$PATH
      db2 update dbm cfg using dftdbpath /home/tsminst1
    7. Copie dsmserv.opt.smp en /home/tsminst1 y formatee dsmserv :
      cp -rp /opt/tivoli/tsm/server/bin/dsmserv.opt.smp /home/tsminst1/dsmserv.opt
      pwd
      /home/tsminst1
      dsmserv -i /home/tsminst1/tsminst1  format dbdir=/home/tsminst1/tsm71_storage/tsmdb001 activelogdir=/home/tsminst1/tsm71_storage/tsmlog archlogdir=/home/tsminst1/tsm71_storage/tsmarchlog
      Salida de ejemplo:
      ANR0152I Database manager successfully started.
      ANR2976I Offline DB backup for database TSMDB1 started.
      ANR2974I Offline DB backup for database TSMDB1 completed successfully.
      ANR0992I Server's database formatting complete.
      ANR0369I Stopping the database manager because of a server shutdown.
    8. Vaya al directorio tsminst1 e inicie el servicio dsmserv :
      cd /home/tsminst1/tsminst1
      dsmserv
  3. Configure el servicio dsmserv.
    Ejecute los comandos en dsmserv :
    1. Establezca el nombre del servidor:
      set servername CHOOSE_NAME
      Ejemplo
      set servername SQA_TSM_SERVER
    2. Registro tsminst1 :
      register admin tsminst1 tsminst1
    3. Conceder autoridad a tsminst1 :
      grant authority tsminst1 classes=system
    4. Establezca la contraseña del servidor:
      set serverpassword server_console
    5. Stop dsmserv :
      halt
    6. Vuelve a dsmserv :
      dsmserv
  4. Cree un dominio, un conjunto de políticas y active la política recién creada.
    Ejecute los comandos desde dsmserv.
    Cambie los nombres que se utilizan en los comandos según sus necesidades.
    1. Copia el dominio:
      copy domain standard NETEZZA
    2. Actualiza el grupo de copia:
      update copygroup NETEZZA standard standard standard type=backup verexists=10
    3. Validar el conjunto de políticas:
      validate policyset NETEZZA standard
    4. Active el conjunto de políticas:
      activate policyset NETEZZA standard
    5. Registrar el nodo :
      register node 9.70.203.26 netezza1 domain=NETEZZA
      9.70.203.26 es la dirección IP donde está instalado el cliente.
    6. Nodo de registro:
      register node 9.70.203.26_IPS netezza1 domain=NETEZZA
    7. Conceder nodo proxy:
      grant proxynode agent=9.70.203.26 target=9.70.203.26_IPS
    8. Conceder nodo proxy:
      grant proxynode agent=9.70.203.26_IPS target=9.70.203.26
    9. Defina el pool de almacenamiento:
      define stgpool NETEZZA disk maxsize=800G
      maxsize especifica el tamaño máximo de un archivo físico que el servidor puede almacenar en el pool de almacenamiento.
    10. Definir volumen basado en el nombre de montaje externo y la ruta:
      define volume BACKUPPOOL /external_mnt/SAN/backup formatsize=800000
    11. Muestra los volúmenes definidos:
      q vol
    12. Muestra los nodos definidos:
      q node
    13. Cambia la ruta en función del nombre y la ruta del montaje externo.
      Puedes definir varios volúmenes en función del tamaño disponible y de las necesidades.
      define volume BACKUPPOOL /external_mnt/SAN/backup formatsize=800000
    14. Muestra los nodos definidos:
      q node