The vCommander™ VM Access Proxy is an appliance you deploy to allow users outside your corporate firewall to establish connections to their VMs using vCommander or the Service Portal. Occasionally, you may need to retrieve log files from the appliance in order to perform troubleshooting. On the appliance, the logs are created here: /var/log/tomcat7/


The most commonly useful log file is named remoteAccess.log.


You must first enable SSH, by following the procedure below:


  1. Login to the VM Access Proxy using a console connection.

    username
    : vcommander
    password: gRHrB211

  2. Execute the command sudo service ssh start. You will be prompted to enter the password again.

    blob1477576488135.png


If you would like to use a client to download the logs, follow one of the procedures below.

Use Filezilla
Use WinSCP

Filezilla


Filezilla is a free, open source FTP client that also supports secure copy.

Download and install Filezilla and complete the steps below to retrieve the log files.

  1. Under the File menu, choose Site Manager.
  2. Click New Site and name it VM Access Proxy.
  3. Enter the hostname or IP address of the console proxy in the Host field.
  4. Choose SFTP – SSH File Transfer Protocol from the Protocol menu.
  5. Choose Normal as the Logon Type.
  6. Enter the Username (vcommander), and Password (gRHrB211).
  7. Click Connect.
  8. If you are using the self-signed certificate, you will receive a warning that the connection is untrusted. Check Always trust this host, add this key to the cache and click OK.

  9. Enter /var/log/tomcat7 in the Remote site pane.

  10. Double-click remoteAccess.log to download it onto your local computer, in the location shown in the Local site pane.


WinSCP


WinSCP is a free, open source secure copy client for Windows.

Download and install WinSCP and complete the steps below to retrieve the log files.

  1. Choose SFTP  as the File protocol.
  2. Enter the hostname or IP address of the console proxy in the Hostname field.
  3. Enter the Username (vcommander), and Password (gRHrB211).
  4. Click Login.
  5. When presented with the authentication banner, click Continue.

  6. Enter /var/log/tomcat7 in the Address field and hit enter.

  7. Right-click remoteAccess.log and choose Download.
  8. Select a path to which the file will be downloaded on your local computer and click OK.

See Also