Prueba de concepto de Red Hat Virtualization (2/7): Instalación de Data Warehouse y Reports

Instalación de Red Hat Enterprise Virtualization Data Warehouse y Reports

Como elemento opcional podemos instalar Data Warehouse para obtener información de la infraestructura Red Hat Enterprise Virtualization de forma que podamos obtener información de la infraestructura en distintos formatos (web, PDF, Exce, CSV…) Reports está basado en JasperReports

Aunque vamos a instalarlos a la vez, indicar que son dos componentes diferentes. Data Warehouse debe de ser instalado y configurado antes que Reports, y ambos tras tener ya instalado y configurado Red Hat Enterprise Virtualization Manager.

Existen varias opciones de despliegue:

  • Instalar y configurar Data Warehouse y Reports en la misma máquina que RHEV Manager.
  • Instalar y configurar Data Warehouse y Reports en una máquina dedicada
  • Instalar y configurar Data Warehouse en una máquina y Reports en otra
  • Instalar y configurar Data Warehouse en la misma máquina que RHEV Manager y Reportes en otra diferente
  • Instalar y configurar Data Warehouse en una máquina y Reports en la misma que RHEV Manager

Para simplificar la instalación, en mi caso voy a instalar los 3 componentes (RHEV Manager, Data Warehouse y Reports) en la misma máquina.

Seguimos los siguientes pasos:

  • Instalamos los paquetes rhevem-dwh y rhevm-reports
yum install rhevm-dwh rhevm-reports

RedHatVirtualization-016

  • Ejecutamos engine-setup
engine-setup
  • Seguimos el asistente
[root@RHEVM-01 ~]# engine-setup
[ INFO  ] Stage: Initializing
[ INFO  ] Stage: Environment setup
          Configuration files: ['/etc/ovirt-engine-setup.conf.d/10-packaging-dwh.conf', '/etc/ovirt-engine-setup.conf.d/10-packaging-wsp.conf', '/etc/ovirt-engine-setup.conf.d/10-packaging.conf', '/etc/ovirt-engine-setup.conf.d/20-packaging-rhevm-reports.conf', '/etc/ovirt-engine-setup.conf.d/20-setup-ovirt-post.conf']
          Log file: /var/log/ovirt-engine/setup/ovirt-engine-setup-20151201185131-qh7foa.log
          Version: otopi-1.3.2 (otopi-1.3.2-1.el6ev)
[ INFO  ] Stage: Environment packages setup
[ INFO  ] Stage: Programs detection
[ INFO  ] Stage: Environment setup
[ INFO  ] Stage: Environment customization

          Welcome to the RHEV 3.5 setup/upgrade.
          Please read the RHEV 3.5 install guide
          https://access.redhat.com/site/documentation/en-US/Red_Hat_Enterprise_Virtualization/3.5/html/Installation_Guide/index.html.
          Please refer to the RHEV Upgrade Helper application
          https://access.redhat.com/labs/rhevupgradehelper/ which will guide you in the upgrading process.
          Would you like to proceed? (Yes, No) [Yes]: Yes

          --== PRODUCT OPTIONS ==--

          Configure Data Warehouse on this host (Yes, No) [Yes]: Yes
          Configure Reports on this host (Yes, No) [Yes]: Yes

          --== PACKAGES ==--

[ INFO  ] Checking for product updates...
[ INFO  ] No product updates found

          --== ALL IN ONE CONFIGURATION ==--


          --== NETWORK CONFIGURATION ==--

          Setup can automatically configure the firewall on this system.
          Note: automatic configuration of the firewall may overwrite current settings.
          Do you want Setup to configure the firewall? (Yes, No) [Yes]: Yes
[ INFO  ] iptables will be configured as firewall manager.

          --== DATABASE CONFIGURATION ==--

          Where is the Reports database located? (Local, Remote) [Local]: Local
          Setup can configure the local postgresql server automatically for the Reports to run. This may conflict with existing applications.
          Would you like Setup to automatically configure postgresql and create Reports database, or prefer to perform that manually? (Automatic, Manual) [Automatic]: Automatic
          Where is the DWH database located? (Local, Remote) [Local]: Local
          Setup can configure the local postgresql server automatically for the DWH to run. This may conflict with existing applications.
          Would you like Setup to automatically configure postgresql and create DWH database, or prefer to perform that manually? (Automatic, Manual) [Automatic]: Automatic

          --== OVIRT ENGINE CONFIGURATION ==--

          Skipping storing options as database already prepared

          --== PKI CONFIGURATION ==--


          --== APACHE CONFIGURATION ==--


          --== SYSTEM CONFIGURATION ==--


          --== MISC CONFIGURATION ==--

          Reports power users password:
          Confirm Reports power users password:

          --== END OF CONFIGURATION ==--

[ INFO  ] Stage: Setup validation
          During execution engine service will be stopped (OK, Cancel) [OK]: OK
[WARNING] Less than 16384MB of memory is available
[ INFO  ] Cleaning stale zombie tasks and commands

          --== CONFIGURATION PREVIEW ==--

          Firewall manager                        : iptables
          Update Firewall                         : True
          Host FQDN                               : rhevm-01.localdomain.local
          Engine database name                    : engine
          Engine database secured connection      : False
          Engine database host                    : localhost
          Engine database user name               : engine
          Engine database host name validation    : False
          Engine database port                    : 5432
          Engine installation                     : True
          PKI organization                        : localdomain.local
          DWH installation                        : True
          DWH database name                       : ovirt_engine_history
          DWH database secured connection         : False
          DWH database host                       : localhost
          DWH database user name                  : ovirt_engine_history
          DWH database host name validation       : False
          DWH database port                       : 5432
          Configure local DWH database            : True
          Reports installation                    : True
          Reports database name                   : ovirt_engine_reports
          Reports database secured connection     : False
          Reports database host                   : localhost
          Reports database user name              : ovirt_engine_reports
          Reports database host name validation   : False
          Reports database port                   : 5432
          Configure local Reports database        : True
          Engine Host FQDN                        : rhevm-01.localdomain.local
          Configure WebSocket Proxy               : True

          Please confirm installation settings (OK, Cancel) [OK]: OK
  • Podemos acceder al portal y comprobar que ahora tenemos acceso a la web de Reports

RedHatVirtualization-019

  • Y una vez accedido con el usuario admin, vemos las opciones disponibles

RedHatVirtualization-020

 

En los siguientes pasos son instalaremos y configuraremos:

  • Instalación de RHEV Manager
  • Instalación de Data Warehouse y Reports (Opcional)
  • Instalación de RHEV Hypervisor
  • Integración de RHEV Manager y RHEV Hypervisor
  • Creación de la infraestructura básica
  • Configuración de red y almacenamiento
  • Creación de las máquinas virtuales

Deja una respuesta

Tu dirección de correo electrónico no será publicada. Los campos obligatorios están marcados con *

Este sitio usa Akismet para reducir el spam. Aprende cómo se procesan los datos de tus comentarios.