This solution assumes that you are you managing less than 1,000 minions and intend to migrate to a single managed VM based on RHEL, or a compatible RHEL derivative such as Oracle Linux. However, this same basic process will also work for a multi-node deployment. You should download the same version of the installer as your current running version of RaaS on the LCM based appliance if possible. If this version is not available, then please contact support to see if a copy is available. This will help ensure that the migration goes as smoothly as possible.
- Backup data from the appliance including configs
- Instructions to backup your database
- Be sure to also back up a copy of the /etc/raas/pki/.raas.key file
- This file is essential for being able to decrypt certain items in the database
- Stand up a new VM with RHEL based OS for Aria Config installer compatibility
- Download the Aria Config installer that best matches your target OS from https://support.broadcom.com/group/ecx/productfiles?displayGroup=VMware%20Aria%20Automation%20-%20VMware%20Aria%20Automation%20Config&release=8.16&os=&servicePk=202405&language=EN&groupId=203949
- Be sure to download the "Automated Installer", not the OVA or virtual appliance
- Extract the installer tarball on the new managed VM
- Find the DB packages under sse-installer/salt/sse/eapI_database/files and install the RPM's in a single command like rpm -Uvh ./*.rpm
- If the service started, go ahead and stop the postgresql service for now
- Copy the DB configuration from the LCM based appliance over to the DB server
- The default configuration is normally under /var/lib/postgresql/data, or /var/lib/postgresql/<VERSION>/data
- You will need to copy the postgresql.conf and the pg_hba.conf files over to the new host
- Start the DB service with a command like "systemctl start postgresql-<VERSION>"
- Restore the DB backup on the new server
- See the linked instructions above
- Install Redis on the new managed VM from the installer provided packages
- The installer provided package can be found under sse-installer/sse/salt/eapi_cache/files/
- Run a command like rpm -Uvh ./*.rpm to install the service
- Ensure that the Redis service is stopped with a command like "systemctl stop redis"
- Copy over the Redis configuration from the appliance
- This file is normally stored under /etc/redis.conf or /etc/redis/redis.conf
- You can also just tarball the entire directory and copy it over to the new managed VM
- Start the Redis service with a command like "systemctl start redis"
- Install RaaS from the installer provided packages
- The installer provided packages can be found under sse-installer/salt/sse/eapi_service/files
- Install the files with a series of commands like the following
- rpm -Uvh ./openssl*.rpm
- rpm -Uvh ./lib*.rpm
- rpm -Uvh ./xml*.rpm
- rpm -Uvh ./ssc-trans*.rpm
- rpm -Uvh ./singleton*.rpm
- If this command hangs at some point it is okay to use Ctrl-c to quit out of the package installation
- Confirm that the package is installed successfully with rpm -qa | grep -i singleton
- This package requires Java to also be installed
- rpm -Uvh ./raas*.rpm
- Ensure that the RaaS service is stopped with a command like "systemctl stop raas"
- Copy over the previously created tarball containing the RaaS configuration and unpack the tarball on the new managed VM
-
- Confirm that you see the /etc/raas/pki/.raas.key file in the expected location
- Start the RaaS service with a command like "systemctl start raas"
- Check the RaaS service status with a command like "systemctl start raas"
- The service may take a minute to come up
- Resolve any errors that may arise
In the event that your Aria Config instance is integrated with Aria Automation (formerly vRA), then you will need to additionally follow these steps:
- Snapshot LCM, Aria Automation, Aria Config
- In LCM, open the Aria Automation environment and remove the Aria Config product from the environment
- This will not delete the LCM deployed Config appliance
- This will attempt to remove the Aria Config integration from Aria Automation
- If there are existing deployments in Automation that depend on the integration this step will fail
- If this step fails it is save to retry the operation and skip it in the LCM request
- In the newly deployed Aria Config, connect to the postgres database with the command: su - postgres -c psql
- In the PostgreSQL prompt the vra_params table content needs to be deleted: delete from vra_params;
- Once this is run only local account access will be enabled for Aria Config. vIDM based auth provided by Aria Automation will no longer work. If you do not want to leverage local accounts you may configure LDAP integration directly on Config
- https://docs.vmware.com/en/VMware-Aria-Automation/8.16/Using-Automation-Config/GUID-54FE4409-718B-4BA9-ADD3-7CA1874865F5.html
- Update any DNS / IP configurations for Aria Config. If the integration in step 2 did not delete and was skipped then the new Aria Config appliance MUST use the same fqdn as the previous Config appliance in DNS
- If the integration in step 2 succeeded the Aria Config appliance can use any desired fqdn when the integration is recreated
- If you are deploying Windows machines using the Aria Automation integration ensure you have also completed the following:
- Ensure that "salt-cloud" is installed along with "salt-master"
- Unpack the desired minion version bundle into /etc/salt/cloud.deploy.d
- Install the dependencies outlined in the following document using `salt-pip install <package_name>`:
- https://docs.saltproject.io/en/latest/topics/cloud/windows.html
Please contact support in the event you have any questions regarding this process.