To prevent data loss for logs in the event of a disaster, you configure log forwarding in VMware Aria Operations for Logs in the first VMware Cloud Foundation instance to a second VMware Cloud Foundation instance.

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. In the left pane, click Log management.

  3. Click the Log forwarding tab.

  4. Click New destination, configure the following settings, configure the remaining settings according to your VMware Cloud Foundation Planning and Preparation Workbook.

    Setting

    Value

    Protocol

    Ingestion API

    Use SSL

    Selected

  5. To verify that the connection settings are correct, click Test.

  6. Click Save.

  7. Repeat this procedure for all additional VMware Aria Operations for Logs instances in all additional VMware Cloud Foundation instances.

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 = "[email protected]"
    $sddcManagerPass = "VMw@re1!"
    
    $destinationName = "sfo to lax"
    $destinationFqdn = "lax-vrli01.lax.rainpole.io"
    $destinationProtocol = "CFAPI"
    $destinationPort = 9543
  3. Perform the configuration by running the command in the PowerShell console.

    Add-vRLILogForwarder -server $sddcManagerFqdn -user $sddcManagerUser -pass $sddcManagerPass -name $destinationName -fqdn $destinationFqdn -protocol $destinationProtocol -port $destinationPort -acceptCert true -sslEnabled true -testConnection true