Apache ActiveMQ Artemis System Service Deployment Guide

  1. Update the Artemis URLs connections in the helm-values/ef-cx-custom-values.yaml, while deploying the CX-Core

    #Not using svc name anymore, use the respective IP Address of VM where Artemis is deployed
    
    efConnectionVars:
      ACTIVEMQ_PRIMARY_URL: "<10.192.11.18>" 
      ACTIVEMQ_SECONDARY_URL: "<10.192.11.18>"
    
  2. Update the Redis configuration AUTH plugin configs env variables in ./kubernetes/pre-deployment/activemq-artemis/env

    vi artemis.env
    
    REDIS_HOST=10.192.11.21 <use IP instead svc-name>
    REDIS_PORT=30195 <use redis nodeport>
    REDIS_USERNAME=superuser
    REDIS_PASSWORD=Expertflow464
    REDIS_SSL=true
    REDIS_TRUSTSTORE_PASSWORD=Expertflow123
    REDIS_KEYSTORE_PASSWORD=Expertflow123
    REDIS_MAX_WAIT=-1
    REDIS_MIN_IDLE=25
    REDIS_MAX_IDLE=50
    REDIS_MAX_ACTIVE=50
    REDIS_TIMEOUT=5000
    REDIS_SENTINEL_ENABLE=false
    REDIS_SENTINEL_MASTER=expertflow
    REDIS_SENTINEL_PASSWORD=Expertflow123
    ENABLE_CLOUD_MANAGED_CONNECTIONS=false
    
  3. Run Artemis Installer Script. in ./kubernetes/scripts

  4. chmod +x artemis-install.sh
    sudo ./artemis-install.sh
    
  5. Reload and enable artemis system service:

    sudo systemctl daemon-reload
    sudo systemctl enable artemis
    sudo systemctl start artemis
    
  6. Configure your own TLS certs. (Optional if already configured before, with the new IP based certs)

  7. Test Connectivity

    systemctl status artemis
    
  8. To securely access the Artemis Web Console UI.

    #### SSH Tunel to the access the WEB UI.
    #### replace <ip_address> and <vm_user>
    ssh -L 8161:localhost:8161 <vm_user>@<ip_address>
    
    #### While the SSL session is running on your browser, you can access the web console on http://localhost:8161
    #### when you are done just type exit in the terminal to close the SSH session