WordPress to Cloudflare Workers: how I statically mirrored my entire site (and kept search & lightbox!)

I wanted to cache everything behind Cloudflare and stop worrying about PHP, MySQL, and plugin drift on my backup site cosmin.gq. I tried one-click export plugins (both the free and paid Simply Static), but I couldn’t get a clean export that behaved like the live site. So I rolled up my sleeves and wrote a Bash script that: crawls the site using the official sitemaps (including .gz children), mirrors HTML + assets incrementally, cleans up quirks like ?p= permalinks, generates a small search index (no dependencies, no bs4), adds a lightweight lightbox for images, and serves it all from Cloudflare Workers Static Assets with a smart router that understands /path, /path/, /path.html, and /path/index.html. Below is the story of how each section of the script came to be, what went wrong, what I learned, and why each piece is there. ...

August 22, 2025 · 27 min · Cosmin
Article cover image

Upgrading Aria Operations to 8.18.2 Using a .PAK File

Upgrading Aria Operations (formerly VMware vRealize Operations) is a crucial task to ensure you’re using the latest features, security patches, and performance improvements. In this guide, we’ll walk through the step-by-step process of upgrading Aria Operations using a .pak file. Prerequisites Before starting the upgrade, ensure the following prerequisites are met: Backup the Existing Deployment: • Take a snapshot of all nodes in the Aria Operations (Master, Cloud proxies, and any other nodes). ...

January 16, 2025 · 3 min · Cosmin
Article cover image

Step-by-Step Guide: Upgrading Aria Operations for Logs to 8.18.1 Using a .PAK File

Upgrading Aria Operations for Logs (formerly VMware vRealize Log Insight) is a crucial task to ensure you’re using the latest features, security patches, and performance improvements. In this guide, we’ll walk through the step-by-step process of upgrading Aria Operations for Logs using a .pak file. Prerequisites Before starting the upgrade, ensure the following prerequisites are met: Backup the Existing Deployment: • Take a snapshot of all nodes in the Aria Operations for Logs cluster (Master, Worker, and any nodes). ...

January 16, 2025 · 3 min · Cosmin

Upgrading Aria Automation to 8.18 via CLI: A Step-by-Step Guide

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.

July 28, 2024 · 3 min · Cosmin

Upgrading Aria Automation via CLI: A Step-by-Step Guide

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. Access to the Aria Automation appliance with root privileges. 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. Method 2: Upgrading from an Online Update Repository URL SSH into the Aria Automation Appliance: Ensure you have SSH access to the appliance as the root user. Determine the Repository URL: Identify the URL of the update repository you intend to use for the upgrade. This URL should point to the VMware online repository or an internally hosted repository mirror. Execute the Upgrade Command: Use the following command to initiate the upgrade from the online repository: vracli upgrade exec --profile lcm -r <url> Replace <url> with the actual URL of your update repository. Similar to the CD-ROM method, --profile lcm indicates the lifecycle manager upgrade profile. Monitor the Upgrade Process: As with the ISO method, keep an eye on the console output for any actions required on your part. Use 'vracli upgrade status --follow' to monitor the progress. Complete the Upgrade: After the upgrade process finishes, perform any additional steps prompted by the system, which may include system reboots. 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.

July 28, 2024 · 3 min · Cosmin
Article cover image

VMware Aria Suite Lifecycle upgrade to 8.18

In this guide i will go over the steps of getting an existing 8.x vRSLCM appliance upgraded to the latest 8.18 release. The release notes can be found here. We can upgrade from vRealize Lifecycle Manager to VMware Aria Suite Lifecycle. The first step is to log in to VMware Aria Suite Lifecycle under the Lifecycle Operations section Go to Settings -> System Upgrade Click on Check for Upgrade ...

July 28, 2024 · 1 min · Cosmin
Article cover image

VMware Aria Suite Lifecycle upgrade to 8.16

In this guide i will go over the steps of getting an existing 8.x vRSLCM appliance upgraded to the latest 8.16 release. The release notes can be found here. We can upgrade from vRealize Lifecycle Manager to VMware Aria Suite Lifecycle. The first step is to log in to VMware Aria Suite Lifecycle under the Lifecycle Operations section Go to Settings -> System Upgrade Click on Check for Upgrade ...

March 13, 2024 · 1 min · Cosmin

Upgrading Aria Automation without Lifecycle Manager: A Step-by-Step Guide

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. Access to the Aria Automation appliance with root privileges. 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. Method 2: Upgrading from an Online Update Repository URL SSH into the Aria Automation Appliance: Ensure you have SSH access to the appliance as the root user. Determine the Repository URL: Identify the URL of the update repository you intend to use for the upgrade. This URL should point to the VMware online repository or an internally hosted repository mirror. Execute the Upgrade Command: Use the following command to initiate the upgrade from the online repository: vracli upgrade exec --profile lcm -r <url> Replace <url> with the actual URL of your update repository. Similar to the CD-ROM method, --profile lcm indicates the lifecycle manager upgrade profile. Monitor the Upgrade Process: As with the ISO method, keep an eye on the console output for any actions required on your part. Use 'vracli upgrade status --follow' to monitor the progress. Complete the Upgrade: After the upgrade process finishes, perform any additional steps prompted by the system, which may include system reboots. 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.

February 14, 2024 · 3 min · Cosmin
Article cover image

Upgrading VMware Aria Suite Lifecycle to 8.14

In this guide i will go over the steps of getting an existing 8.x vRSLCM appliance upgraded to the latest 8.14 release. The release notes can be found here. We can upgrade from vRealize Lifecycle Manager to VMware Aria Suite Lifecycle. The first step is to log in to vRealize Suite Lifecycle Manager under the Lifecycle Operations section Go to settings -> System Upgrade Click on Check for Upgrade ...

October 25, 2023 · 1 min · Cosmin
Article cover image

Upgrading vRSLCM (vRealize Lifecycle Manager) to 8.12

In this guide i will go over the steps of getting an existing 8.x vRSLCM appliance upgraded to the latest 8.12 release. The release notes can be found here The first step is to log in to vRealize Suite Lifecycle Manager under the Lifecycle Operations section Go to settings -> System Upgrade Click on Check for Upgrade We can see that the check found a new version available for 8.12 ...

June 20, 2023 · 1 min · Cosmin