To prevent log data loss in the event of a disaster, you configure log forwarding in vRealize Log Insight in the first VMware Cloud Foundation instance to a second VMware Cloud Foundation instance.

UI Procedure

  1. Log in to vRealize Log Insight at https://<vrealize_log_insight_fqdn> with a user assigned the Super admin role.
  2. On the main navigation bar, click Administration.
  3. In the left pane, under Management, click Log management.

  4. Click the Log forwarding tab.

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




    Ingestion API

    Use SSL


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

  7. Click Save.

  8. Repeat this procedure for all additional vRealize Log Insight instances in all additional VMware Cloud Foundation instances.

PowerShell Procedure

  1. Start Windows 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 = ""
    $sddcManagerUser = "administrator@vsphere.local"
    $sddcManagerPass = "VMw@re1!"
    $destinationName = "sfo to lax"
    $destinationFqdn = ""
    $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