Upgrading Aria Automation (formerly known as vRealize Automation, vRA) is crucial for maintaining the efficiency, security, and compatibility of your automation tasks. For environments without VMware Aria Suite Lifecycle, you can still perform the upgrade using the vracli
command-line utility. This blog post will guide you through the process of upgrading Aria Automation using two different methods: from a mounted ISO (CD-ROM) and from an online update repository URL.
Prerequisites
- SSH access to your Aria Automation appliance.
- Sufficient backup of your Aria Automation environment.
- Downloaded ISO for the Aria Automation upgrade, if using the CD-ROM method. Link to the download
- Access to the Aria Automation appliance with root privileges.
- Check the health of the pods by running
kubectl get pods -n prelude
The upgrade will fail if any pods are in a non Running state.
Method 1: Upgrading from a Mounted ISO (CD-ROM)
- Prepare the ISO Image: Before starting, ensure that the ISO image for the Aria Automation upgrade is downloaded and available.
- Mount the ISO to the Appliance: Mount the ISO image to your Aria Automation appliance. This step might require physical access to the server or through the management interface provided by your hypervisor (e.g., ESXi). To mount the CD-ROM we can use:
mount /dev/sr0 /mnt/cdrom
- SSH into the Aria Automation Appliance: Access your appliance via SSH as the root user.
- Execute the Upgrade Command: Run the following command to start the upgrade process:
vracli upgrade exec -y --profile lcm --repo cdrom://
- This command will automatically start the upgrade process using the ISO mounted on the CD-ROM drive. The
-y
flag automates the acceptance of the upgrade process, and--profile lcm
specifies the use of the lifecycle manager upgrade profile, even though the Lifecycle Manager itself is not being used. - Monitor the Upgrade Process: The upgrade process will provide output to the console. Monitor this output for any errors or prompts that require manual intervention.
- Use
'vracli upgrade status --follow'
to monitor the progress. - Finalize the Upgrade: Once the upgrade completes, follow any on-screen instructions to finalize the upgrade. This may include rebooting the Aria Automation appliance.
Post-Upgrade Steps
- Verify the Upgrade: Log in to the Aria Automation user interface to verify that the upgrade was successful and all services are running correctly.
- Review Logs: Check the upgrade logs for any warnings or errors that might need attention.
- Test Deployments: Execute a few test deployments to ensure that all functionalities are working as expected.
Conclusion
Upgrading Aria Automation without the Lifecycle Manager is straightforward with the vracli
utility. Whether you’re upgrading from a mounted ISO or an online repository, the process is designed to be seamless. Always ensure that you have backups and a rollback plan in case of any issues.