Streaming Log Files Between Client Computers

You can stream log files from one client computer to another client computer. This is useful for infrastructure computers, where their log files can be streamed to a data lake, backed up from there, and kept for forensic purposes.

Requirements

  • Both client computers must be running Commvault Platform Release 2024E (11.36) or a more recent release.

  • Both client computers must be running either Windows or Linux operating systems.

Configuration

Add the following EventManager registry entry:

sStreamLogsTo MangledName

Where is the mangled name of the host receiving the logs, formatted as follows:

<HostName>*<ClientName>*<CVDPort>*8402

For example, if:

  • <HostName> is logserver.company.com

  • <ClientName> is logserver

  • <CVDPort> is 8400

The client registry key entry would be the following:

sStreamLogsTo logserver.company.com*logserver*8400*8402

Viewing the Logs

All logs received on the data lake client will be stored under the standard LOG_FILES location in a subdirectory called STREAMEDLOGS. Under that directory, there will be a subdirectory for each client streaming the logs.

For example, if the client named Client1 is streaming log files, then the Logserver client will have log files for Client1 in the following location:

logserver:/var/log/commvault/Log_Files/StreamedLogs/Client1

Troubleshooting

If the client computer log files are not showing up on the data lake client computer, do the following:

  1. Do the following on both client computers:

    • Verify that both client computers are running either Windows or Linux operating systems.

    • Verify that both client computers are running Commvault Platform Release 2024E (11.36) or a more recent release.

    • Verify that services are running on both client computers.

  2. Do the following on the client computer:

    • Verify that the CvScaleLog process is running for the instance.

    • Check the CvScaleLog.log file and verify that the client computer connected successfully to the data lake client and is sending logs. If not, and the registry was just updated, check if services were restarted.

  3. Do the following on the data lake client computer:

    • Verify that the CvScaleLog process is running for the instance.

    • Check the CvScaleLog.log file and verify that the data lake client computer has accepted a Log PL connection.

×

Loading...