Overview
This article provides a step-by-step guide for collecting logs from a Druva VMware proxy machine using WinSCP. It is intended for IT administrators and support personnel who need to troubleshoot or analyze issues related to Druva Phoenix VMware backups and restores.
User Scenarios
Troubleshooting: Investigating backup or restore failures on VMware workloads.
Log Collection: Gathering diagnostic data for submission to Druva Support.
System Analysis: Accessing service logs from a Linux-based Druva VMware proxy.
Procedure 1: Prerequisites and Preparation
Before attempting to collect logs, ensure the following requirements are met to allow successful communication between your workstation and the proxy.
Prerequisites
WinSCP Client: Must be installed on your Windows machine. Download WinSCP here.
Network Access: Ensure Port 22 (SSH) is open between your workstation and the Proxy IP.
Credentials: Obtain the root credentials for the Proxy VM. (Default is often druvaphoenix).
SSH Status: SSH/SFTP must be enabled on the Druva VMware proxy VM.
Procedure 2: Identify Log Locations by Agent Version
The directory structure for Druva logs varies depending on the version of the agent installed on the proxy. Identify your version to locate the correct files.
For Agent Version 7.x.x and Later
Main Service Logs: /var/log/Druva/EnterpriseWorkloads/ControlService.log
VMware Logic Logs: /var/log/Druva/EnterpriseWorkloads/vmware/vmware.log
Backup Job Logs: /var/log/Druva/EnterpriseWorkloads/vmware/backup/<backupset_id>/jobid/EnterpriseWorkloadsFL.<job_id>.<timestamp>.log
Restore Job Logs: /var/log/Druva/EnterpriseWorkloads/vmware/restore/<backupset_id>/<job_id>/EnterpriseWorkloadsFL.<job_id>.<timestamp>.log
Deployment Logs: /var/log/Druva/EnterpriseWorkloads/proxyBoot.log and proxySetup.log
For Agent Version 6.x.x and Earlier
Main Service Logs: /var/log/Phoenix/main_service.log
Backup Job Logs: /var/log/Phoenix/VMWARE/backup/[bkpset_id]/Phoenix.<epoch>-<BackupJobID>.log
Restore Job Logs: /var/log/Phoenix/VMWARE/restore/[bkpset_id]/Phoenix-<epoch>-<RestoreJobID>.log
Deployment Logs: /var/log/Phoenix/proxyBoot.log and proxySetup.log
Procedure 3: Connect to Proxy and Collect Logs Using WinSCP
Follow these steps to establish a session and transfer the required log files.
Steps to Connect and Collect Logs
Launch WinSCP: Open the application to trigger the Login dialog.
Configure Session:
File protocol: SFTP
Host name: [Enter Proxy IP or Hostname]
Port number: 22
User name: root
Password: [Enter Root Password]
Log In: Click Login. If prompted, accept the SSH key fingerprint to establish a trusted connection.
Navigate to Log Directories: Use the right-hand panel (Remote side) to browse to the paths identified in Procedure 2.
Download Logs: * Select the required files or folders.
Drag and drop the files to the left-hand panel (Local side) or click the Download button.
Compress and Disconnect: * Archive the collected logs into a .zip or .7z file before uploading to the Druva Support portal.
Close WinSCP or click Disconnect to terminate the session.
See also
