[VLCR] How to collect logs from VMware Live Cyber Recovery components
search cancel

[VLCR] How to collect logs from VMware Live Cyber Recovery components

book

Article ID: 313704

calendar_today

Updated On:

Products

VMware Live Recovery

Issue/Introduction

This article will list the steps to collect logs for the following VLCR components

  • Cloud DVX (CDVX)
  • ControlShift (IRR)
  • vLCR Connector(s)



Environment

VMware Live Cyber Recovery 

Resolution

Collecting logs from VCDR UI

        1. Log in to the VLCR UI.

Note: Collecting logs from UI only collects Cloud Backup and Connector logs, all other logs need to be collected manually using CLI method.

        2. Click on Protected Sites, and then select the protected site you want to pull logs for in list. 

        3. Click the hamburger icon and then click 'Send support bundle'. 




     4. After submitting the support bundle, note down the support ID. 

 

Collecting logs from VCDR Connector CLI

Steps (run on every connector available across all protected sites):

  1. SSH to the connector IP using credentials available in the VLCR UI. 
     
  2. Once you're logged in to the connector, run the following command;

    >> support submit

Generating Support Bundle Logs for Cloud DVX (CDVX) 

Steps (run it from any one of the available connector):

  1. SSH to the connector IP
     
  2. Run the following commands to get the Cloud DVX IP. If you know the Cloud DVX IP, then, proceed to Step 3

    >> entersupportmode
    >> dev aws show-cloud-site-info --output-format json

     3. Run the following commands from the connector CLI to connect to Cloud DVX via its IP and once connected, run support submit

            >> dev aws connect <Cloud DVX IP>
            >> sudo su -
            >> support submit
 

Generating Support Bundle Logs for ControlShift (IRR)

Steps (run it from any one of the available connector):

  1. SSH to the connector IP
     
  2. Run the following commands to get the ControlShift IP. If you know the ControlShift IP, then, proceed to Step 3

    >> entersupportmode
    >> dev aws show-cloud-site-info --output-format json

    3. Run the following commands from the connector CLI to connect to ControlShift via its IP and once connected, run support submit

            >> dev aws connect <ControlShift IP>
            >> sudo su -
            >> support submit
 

How to manually pull Connector Appliance logs:

  1. SSH to the connector VM (requires root access).Refer KB 379853

  2. All logs are located in /da/data/var/log, you can tar the folder by using the following command. 
                tar c -vz /da/data/var/log/* -f  <file name .gz>

  3. Then you can SCP/WinSCp the zip file off the connector VM.