How to install RAAS manually on RHEL 8.8/8.9
search cancel

How to install RAAS manually on RHEL 8.8/8.9

book

Article ID: 402761

calendar_today

Updated On:

Products

VCF Operations/Automation (formerly VMware Aria Suite) VMware SaltStack

Issue/Introduction

Procedure to install RAAS service manually. 

Environment

Aria Automation Config 8.17

RHEL 8.8

RHEL 8.9

Resolution

Before RAAS can be installed, The dependency's will need to be sorted out. 

  • Install the latest JDK/open-jdk using the below command
    dnf install <latest-OpenJDK-package>

To Download OpenJDK package access https://openjdk.org/install/

  • Install singleton-manager-i18n (copy salt/sse/eapi_service/files/singleton-manager-i18n-0.6.15-0.el7.x86_64.rpm to raas machine, this file can be found in the SSE installer)
    rpm -i singleton-manager-i18n-0.6.15-0.el7.x86_64.rpm
  • Install RAAS (copy salt/sse/eapi_service/files/raas-8.17.0.6.el8.x86_64.rpm to raas machine, 
    rpm -i raas-8.17.0.6.el8.x86_64.rpm
  • Create raas configuration files:
    su - raas -c "raas genconfig  /etc/raas/raas"
  • Generate certificates
    openssl req -x509 -newkey rsa:4096 -sha256 -days 3650 -nodes -keyout /etc/pki/raas/certs/sse.key -out /etc/pki/raas/certs/sse.crt
  • Fix permissions 
    chown raas:raas /etc/pki/raas/certs/sse*
  • edit /etc/raas/raas, fill the DB server, redis server details:, add missing data
    #psql:
    sql:
      dialect: postgresql
      host: pgsql.domain.tld
      port: 5432
      driver: psycopg2
      ssl: false
    
    #redis
    redis:
      url: redis://redis.domain.tld:6379
    
    #TLS for webUI
    tls_minimum: 1.2
    tls_crt: /etc/pki/raas/certs/sse.crt
    tls_key: /etc/pki/raas/certs/sse.key
    
    #define port:
    port: 443
  • Save psql and redis creds
    one of the below
    • su - raas -c "raas save_creds"
    • or
    • su raas
      /usr/bin/raas save_creds 'postgres={"username":"psql_user","password":"psql_passwd"}' 'redis={"password":"redis_passwd"}'"
  • start RAAS service
    systemctl start raas