Tail desktone.log

Find, Read & Export Desktone.log on Horizon DaaS 8.0

Introduction

In this article I will explain how to find, read and export the desktone.log file on VMware Horizon DaaS 8.0

How to tail the Desktone.log file via SSH

Connect to one of the Service Provider appliances using your your favorite SSH client.

SSH to Service Provider appliance
SSH to Service Provider appliance

Find the Link-Local IP address of the Tenant appliance

Find the Link-Local IP address in the vCenter Server
Find the Link-Local IP address in the vCenter Server
  1. Initiate a SSH connection from the Service Provider appliance to the Tenant appliance
  2. Gain sudo rights on the Tenant appliance
  3. The Desktone password is the same password as the Desktone password on the Service Provider appliances
  4. Type command “tail -f /var/log/desktone/desktone.log
  5. You will now have a live view on the desktone.log file
SSH to Tenant appliance
SSH to Tenant appliance

How to export the Desktone.log files from the Tenant appliances

If you’re not looking for a live overview, and you want to examine some historic logs you need to Export the old Desktone.log files to your PC.
When you do this, you can open multiple files and look for issues with a single search command.

First we need to export the Desktone.log files from the Tenant appliances:

  • Navigate to the Horizon DaaS Service Center
  • Browse to Appliances > Browse Appliances in the menu
Browse Horizon DaaS appliances
Browse Horizon DaaS appliances
  • Select the tenant and datacenter from the list and choose Search
  • Look for the primary appliance of the Tenant and choose Actions
Browse to the Actions page
Browse to the Actions page
  • Navigate to the second tab Actions
  • Choose Download Logs
Actions > Download Logs” class=”wp-image-138″/><figcaption>Actions > Download Logs</figcaption></figure>



<ul><li>Now, a blue box <strong>appears</strong></li><li>Thick the box to <strong>include </strong>the HA pair of the Tenant appliance</li><li><strong>Choose </strong>OK</li></ul>



<figure class=Download Desktone.log for both Tenant appliances
Download Desktone.log for both Tenant appliances
  • Depending on the size of the logs it can take a couple of minutes to gather all logs.
  • When finished a pop-up will invite you to download a .ZIP file
Extracting the logs can take a couple of minutes
Extracting the logs can take a couple of minutes
  • Inside the .ZIP file you will find a new .ZIP file for each Tenant appliance
  • Extract the .ZIP file somewhere
  • Navigate to the Desktone folder
  • The most recent Desktone log is direct available
  • The rest of the files need to be unzipped first
  • Now you can open them all using Notepad ++
Extract all files
Extract all files
Open all the logs in Notepad ++
Open all the logs in Notepad ++
  • Now you find all log entries matching your search criteria using the option 
Notepad ++ - Search in All Opened Documents
Notepad ++ – Search in All Opened Documents

Do you want to know more about Horizon DaaS, read our Horizon DaaS our Horizon DaaS 8.0 series

357 total views, 3 views today

AboutMarc Roeleveld

Cloud Engineer @ Uniserver Internet | vExpert 2019

4 comments

  1. Good article. When troubleshooting operations – like user login issues or connectivity to AD – there are a couple of notes to consider:

    > When looking for anything in particular, remember the logs are kept in UTC time – so keep timezone differences in mind. Do NOT change the timezone on the appliances.
    > The appliances are in pairs and run in active-active mode. You should best open two SSH (e.g. Putty) windows and connect to the 169.254.x.x address of both appliances, then run the tail command to check what happens on both simultaneously.
    > When looking for errors you might want to pipe and grep the output for keywords like ERROR or username:
    tail -f /var/log/desktone/desktone.log | grep ERROR
    > You might opt for automatic downloading of logs using an additional server like a Nagios Log server – which would need to be able to connect to the same network.

Leave a Reply

Your email address will not be published. Required fields are marked *