How to perform Log Collection with the Zerto Virtual Replication Diagnostics Utility
Viewed 2609 times
While using Zerto Virtual Replication an administrator may need to collect logs from Zerto Virtual Replication, to submit to Zerto for analysis. Zerto Virtual Replication can gather log data from its own components as well as from vSphere/AWS/Hyper-V components.
To ensure the network connectivity is available for automatic log upload to the Zerto Log Servers, kindly review the "Security" section in the Remote Log Collection KB as the same principles apply.
To gather logs via Zerto Virtual Replication Diagnostics, follow these steps:
On the machine running Zerto Virtual Replication, open the Zerto Diagnostics Utility. Navigate to Start > All Programs > Zerto Virtual Replication > Zerto Diagnostics.
Select "Collect Zerto Virtual Replication Logs for Use by Zerto Support" then click Next.
In the Initialize dialog, specify the following and click "Next":
IP / Host Name – The IP of the Zerto Virtual Manager where the log collection runs from. Logs are collected from this site and from the paired sites.
Port – The port used for inbound communication with the Zerto Virtual Manager (Unless modified during the installation, the default port is 9080).
Your Company Name – A name to identify the log collection for the customer. This information is used by Zerto support. An account name must be entered. After this information is added, it is displayed in subsequent uses of the diagnostics utility.
Email – An email address for use by Zerto support when analyzing the logs. An email address must be entered. After this information is added, it is displayed in subsequent uses of the diagnostics utility. Preferably insert an E-mail address that’s associated with Company name in the Zerto Support Portal.
Timeframe – The amount of time from which you want to collect logs. The more time, the bigger the collection package.
Case Number – The case number assigned by Zerto support.
Description – An optional free text description of the reason for collecting the logs.
After clicking "Next," the alerts dialog will be displayed, and if any alerts have been issued, they are displayed in the Select Alerts dialog. If any particular alerts require analysis, select the relevant alerts and click "Next." If there are no alerts, this screen is skipped. (Please note that as you select an alert, the VPGs, ZVMs and VRAs that are related to this alert will be automatically selected in the subsequent dialog screens).
If any particular VPGs require analysis, select the relevant VPGs in the Select VPG screen. (Please note that as you select a VPG, the ZVMs and VRAs that are related to this VPG will be automatically selected in the subsequent dialog screens).
Subsequently, the following Customize dialogs are displayed:
The Select Sites dialog
The Select VRA Hosts dialog
The Select vSphere Logs dialog
The Select vCloud Director Logs dialog
The Select Sites dialog is displayed, and lists the local site and all the sites paired to it.
Note: Zerto Virtual Manager logs from both sites are collected when both sites are trusted sites. Otherwise, only logs from the local site are collected (e.g. in a DRaaS scenario, where an end client is paired to a cloud site via a Zerto Cloud Connector, if logs are collected from the end client’s ZVM, Cloud site logs will not be collected).
The Select VRA Hosts dialog is displayed. You can change the collection criteria using the plus and minus buttons. The expected size of the collection package is updated dependent on the selected VRAs. Verify that the VRAs that need analyzing are selected and click Next
The Select vCenter Server Logs dialog is displayed. If requested by Zerto Support, check "Collect vCenter Server Diagnostics" and "Collect ESX/ESXi logs". Checking the "Collect ESXt logs" option will collect a light ESX logs bundle including the VMkernel and Hostd logs. If more extensive logs are required from the ESX select a host and click the (+) button and repeat for each desired host, then click Next.
In the Save Logs Destinations screen, you may specify a specific local destination where the log bundle will be generated and saved. Please note that by default the "Automatically Upload Files to Zerto FTP Server" option will be checked. Be sure to select the appropriate server for upload, depending on your geographic location, as well as the preferred protocol to connect to our FTP server. Click Next.
In the Review screen, review the details you selected and click "Start" in order to start the log collection.
The logs are collected and are added into an archive and uploaded to the selected FTP server.
The bundle will be named according to the following convention: Zerto_SupportLogs_<collection date>_<account name>
**The bundle is also stored at the local destination and can be manually uploaded to Zerto**
** If the Zerto Diagnostics utility is unable to communicate with the ZVM service, proceed to the Local ZVM Log Collection with Zerto Virtual Replication article **