Forwarding Cloud Director App LaunchPad logs to vRealize Log Insight using the vRLI Agent
| 3 minutes
VMware VMware Cloud Director App LaunchPad VCD ALP vRLI vRealize Log Insight CSP-Cloud Builder VCPP

Bill of Materials

  • VMware vRealize Log Insight 8.10.2
  • VMware Cloud Director 10.4.1
  • VMware Cloud Director App Launchpad Extension 2.1.2
  • Photon OS 4.0 (for ALP)

Have you deployed the Application Launchpad (ALP) extension into VMware Cloud Director in your Cloud Platform? You’re probably wondering how you can get those pesky logs out from your ALP servers.

I found a great post by Vysakh Nair detailing how to use the vRLI Agent to forward logs from Cloud Director appliances. I followed the steps and had it done in minutes. After having some issues with my ALP deployment (which turned out to be pebcak), I decided to re-use the steps from Vysahk to monitor the ALP service.

Recreating the vRLI agent deployment for ALP was very straight-forward and incredibly similar to VCD.

The overall process is:

  1. Create agent group, specifying the log location
  2. Download and Install agent on ALP server

vRealize Log Insight Agent Group

  1. Log into your vRealize Log Insight deployment.
  2. In the left-hand navigation pane, expand Management and click Agents
  3. Expand the agent group selection drop down and click NEW GROUP

  4. Enter a name and description for your new agent group.

    At the top of the page, you’ll see a section to enter filters. This filtering section allows you to distribute the agent group configuration to any agent that connects to vRealize Log Insight with ths specified properties. In my case, I want to filter based on IP address.
  5. Update the filter from Hostname to IP Address and enter the IP address(es) of your ALP server. In my case,

  6. Scroll to the bottom of the screen, under the Agent Configuration section.
  7. Switch to the Edit tab, and paste the following:
  9. You now have an agent group defined and ready to push config to.

vRealize Log Insight Agent Installation

  1. On the very same agent group page, you’ll see a vRLI agent download link. Click it and download the vRLI agent for your linux distribution running your ALP extension. I’m running PhotonOS 4 so I picked Linux RPM.

  2. Copy the downloaded RPM to your ALP server and SSH to it. I put it into the /home directory of my root user.
  3. Install the logging agent:
    rpm -ivh VMware-Log-Insight-Agent-8.10.2-21113573.noarch_10.1.3.71.rpm
  4. At this point, most if not all of the steps are similar to Vysakh’s post above.
  5. Prepare the service:
    1. Restart the agent: sudo systemctl restart liagentd
    2. Enable it to start on system startup: sudo systemctl enable liagentd
    3. Check the status of the service: sudo systemctl status liagentd
  6. Back in vRLI you’ll see the server appear in the agent list for the agent group:

  7. A quick look at Interactive Dashboard under Explore Logs shows we’re now receiving logs:

That’s pretty much it. Vysakh did a great job on the VCD cell log forwarding and it can very easily be adjusted for any and all services.

About Stellios Williams
Senior Cloud Solutions Architect - Service Providers VMware
This is my personal tech related blog for anything private and public cloud - including homelabs! My postings are my own and don’t necessarily represent VMware’s positions, strategies or opinions. Any technical guidance or advice is given without warranty or consideration for your unique issues or circumstances.
comments powered by Disqus