Upgrading the Aria config from 8.14 to 8.17 on Centos machine.
search cancel

Upgrading the Aria config from 8.14 to 8.17 on Centos machine.

book

Article ID: 373174

calendar_today

Updated On:

Products

VMware Aria Suite

Issue/Introduction

Steps for upgrade of the Aria Config 8.14 to 8.17 on the Centos machine.

In this example, the salt-master and raas service is on the same node. 

Postgres and Redis are not part of the Postgres.

 

 

Resolution

Steps to upgrade Aria Config on Centos OS.

1. Make sure that you have a backup of the raas postgres database and snapshot or backup of raas machines.    
2. Get the RHEL or CENTOS installation files from Broadcom 

https://support.broadcom.com/group/ecx/productfiles?displayGroup=VMware%20Aria%20Suite%20-%20Enterprise&release=2019&os=&servicePk=202420&language=EN&groupId=204010

3. Backup raas configuration:
mkdir -r /tmp/raasupgrade/backup/
cp -rp /etc/raas/raas /tmp/raasupgrade/backup/
 
4. Stop the RAAS service
systemctl stop raas

5. Clean raas cache files
rm -rf ~raas/unpack/* && rm -rf ~raas/cache/* ;

6. Uninstall the RAAS 
 you can use package manager or RPM 
 like 
 dnf remove raas  or yum remove raas
 or RPM

rpm -evv raas


7. Uninstall the SSEAPE plugin 
(when salt run as OneDir ) 
salt-call --local pip.uninstall SSEAPE
(when salt run on python)
pip3 uninstall SSEAPE

8. Install the new version or RAAS
using RPM 
rpm -ivh <path to raas-rpm>/raas-8.17.0.6.el8.x86_64.rpm

9. Restore the config files from backup
cp -rp /tmp/raasupgrade/backup/raas /etc/raas/
*** be sure that all files were copied and permission are checked /etc/raas/raas.secconf and /etc/raas/raas
If needed chown -R raas:raas /etc/pki/raas


10. Now you can run RAAS db upgrade 
su - raas
raas upgrade
exit

11. Install the SSEAPE plugin 
(when salt run as OneDir )
salt-call --local pip.install /root/./sse-installer/salt/sse/eapi_plugin/files/SSEAPE-8.17.0.6-py3-none-any.whl 
(when run salt classic/python) 
pip3 install  <full path to file>/SSEAPE-8.17.0.6-py3-none-any.whl 

12. Enable and restart raas
systemctl enable raas

13. Validate the config for raas and SSEAPE
you can generate the new defult config for RAAS service and SSEAPE plugin and review the changes.
for SSEAPE and eAPIeAPIMasterPaths.conf
(when run salt classic/python)
sseapi-config --all > /etc/salt/master.d/raas-SSEAPE-conf.default
(when salt run as OneDir )
 /opt/saltstack/salt/extras-3.10/bin/sseapi-config --all > /etc/salt/master.d/raas-SSEAPE-conf.default
for RAAS service
su - raas 
raas genconfig /path/to/default-raas-cfg.conf

su - raas -c "raas genconfig raas-service-config.txt" 
results in /var/lib/raas/raas-service-config.txt
exit

14. Delete the snapshot or backup, only when you validate that all components are working fine and can communicate properly.