To receive log events from the Site Recovery Manager and the vSphere Replication virtual appliances, you add the appliances to the existing Photon OS agent group in VMware Aria Operations for Logs for Site Protection and Disaster Recovery for VMware Cloud Foundation.

UI Procedure

  1. Log in to VMware Aria Operations for Logs at https://<aria_operations_for_logs_fqdn> with a user assigned the Super admin role.
  2. On the main navigation bar, click Administration.
  3. In the left pane, click Management > Agents.

  4. From the All agents drop-down menu, for the Linux - systemd agent, click the Copy template icon.

  5. In the Copy agent group dialog box, enter Photon OS (PDR) - Appliance Agent Group as name and click Copy.

  6. On the Agents page, configure the default filter for the new agent.

    1. From the first drop-down menu, select hostname.

    2. From the second drop-down menu, select matches.

    3. In the text box, enter the FQDNs of the Site Recovery Manager and vSphere Replication instances.

  7. Click Refresh data and verify that the agent listed in the filter appear in the Agents list.

  8. At the bottom of the page, click Save new group.

PowerShell Procedure

  1. Start PowerShell.

  2. Replace the values in the sample code with values from your VMware Cloud Foundation Planning and Preparation Workbook and run the commands in the PowerShell console.

    $sddcManagerFqdn = "sfo-vcf01.sfo.rainpole.io"
    $sddcManagerUser = "administrator@vsphere.local"
    $sddcManagerPass = "VMw@re1!"
    
    $agentGroupName = "Photon OS (PDR) - Appliance Agent Group"
    $vmList = "sfo-m01-srm01.sfo.rainpole.io","sfo-m01-vrms01.sfo.rainpole.io","sfo-w01-srm01.sfo.rainpole.io","sfo-w01-vrms01.sfo.rainpole.io"
  3. Perform the configuration by running the command in the PowerShell console.

    Add-vRLIAgentGroup -server $sddcManagerFqdn -user $sddcManagerUser -pass $sddcManagerPass -agentGroupType photon -agentGroupName $agentGroupName -criteria $vmList