XenMobile Logs Collection Guide



Similar documents
ReadyNAS Remote. User Manual. June East Plumeria Drive San Jose, CA USA

UP L18 Enhanced MDM and Updated Protection Hands-On Lab

Introduction to Android Development

How to Install Applications (APK Files) on Your Android Phone

Sophos Mobile Control Startup guide. Product version: 3.5

Sophos Mobile Control Startup guide. Product version: 3

NETGEAR genie Apps. User Manual. 350 East Plumeria Drive San Jose, CA USA. August v1.0

Silk Test Testing Mobile Applications

WatchDox for Mac User Guide

Apple OS / ios Installation Guide Includes MAC OSx and ios based devices

GREEN HOUSE DATA. Services Guide. Built right. Just for you. greenhousedata.com. Green House Data 340 Progress Circle Cheyenne, WY 82007

Sophos Mobile Control Administrator guide. Product version: 3

Download and Installation Instructions. Android SDK and Android Development Tools (ADT)

Kaspersky Lab Mobile Device Management Deployment Guide

Mobile Iron User Guide

Summer 2013 Cloud Initiative. Release Bulletin

B&SC Office 365

Migrating From Bobcat Mail To Google Apps (Using Microsoft Outlook and Google Apps Sync)

Sophos Mobile Control Installation guide. Product version: 3.5

How To Use Senior Systems Cloud Services

Your First App Store Submission

Frequently Asked Questions

CONNECT-TO-CHOP USER GUIDE

Booth Gmail Configuration

GO!Enterprise MDM Device Application User Guide Installation and Configuration for ios with TouchDown

Online Backup Client User Manual Mac OS

Online Backup Client User Manual Mac OS

Initial Setup of Microsoft Outlook 2011 with IMAP for OS X Lion

Outlook Web App (Online)... 3 Outlook 2013 (Desktop) Apple Mail Mobile Devices Android iphone... 40

How To Use A Citrix Netscaler Thin Client V (Windows) With A Citirix Vpn Desktop (Windows 10) With An Ipad Or Ipad (Windows 8) With Vpn

Bell Mobile Device Management (MDM)

Migrating From WVWC Mail to Google Apps

SonicWALL SSL VPN 3.5: Virtual Assist

Kony MobileFabric Messaging. Demo App QuickStart Guide. (Building a Sample Application

Office of Information Technology Connecting to Microsoft Exchange User Guide

Do I need to install anything on my computer to use the VC?

Live Maps. for System Center Operations Manager 2007 R2 v Installation Guide

Sophos Mobile Control Administrator guide. Product version: 3.6

Authentication in XenMobile 8.6 with a Focus on Client Certificate Authentication

How to Configure Certificate Based Authentication for WorxMail and XenMobile 10

XenApp & XenDesktop Documentation. Help Desk (202)

owncloud Configuration and Usage Guide

Cloud Services MDM. Control Panel Provisioning Guide

Setting up VMware ESXi for 2X VirtualDesktopServer Manual

Online Backup Client User Manual

Frequently Asked Questions Enterprise Mobile Manager

Commack UFSD Remote Access for Microsoft Windows Vista, 7 and 8 Apple Macs, ipads, iphones And Android devices

PARK UNIVERSITY. Information Technology Services. VDI In-A-Box Virtual Desktop. Version 1.1

Running a Program on an AVD

genie app and genie mobile app

Remote Application Server Version 14. Last updated:

OUTLOOK ANYWHERE CONNECTION GUIDE FOR USERS OF OUTLOOK 2010

AVG Business SSO Partner Getting Started Guide

Managing Documents in the Citrix XenApp Remote Desktop

Zipit Chat. Functional Specification / User Manual

Silk Test Testing Mobile Web Applications

DeviceAnywhere Enterprise. ios Device Onboarding Guide

Installation Guide. Live Maps 7.4 for System Center 2012

Going native with mobile applications:

Contents First Time Setup... 2 Setting up the Legal Vault Client (KiteDrive)... 3 Setting up the KiteDrive Outlook Plugin Using the Legal Vault

PolyU Connect Mobile Connection. Setup Guide

Sophos Mobile Control Installation guide. Product version: 3.6

BOTTOM UP THINKING SETUP INSTRUCTIONS. Unique businesses require unique solutions CLIENT GUIDE

Online Backup Client User Manual Linux

Sophos Mobile Control Installation guide

Guide: Using Citrix for Home/ Office

Technology Services Group Procedures. IH Anywhere guide. 0 P a g e

Setting up Citrix XenServer for 2X VirtualDesktopServer Manual

Oracle Beehive. Using Windows Mobile Device Release 2 ( )

Backup & Disaster Recovery Appliance User Guide

Product Manual. MDM On Premise Installation Version 8.1. Last Updated: 06/07/15

Sophos Mobile Control Installation guide. Product version: 3

Apple Configurator Settings for Deploying ios Devices

Remote Application Server Version 14. Last updated:

Instructions for Configuring Your Browser Settings and Online Security FAQ s. ios8 Settings for iphone and ipad app

ShareSync Get Started Guide

Knappsack ios Build and Deployment Guide

RecoveryVault Express Client User Manual

Amazon WorkMail. User Guide Version 1.0

App Distribution Guide

Store & Share Quick Start

Installation Guide for Pulse on Windows Server 2012

GO!Enterprise MDM Device Application User Guide Installation and Configuration for ios Devices

Total Baby. Backup, Restore and itunes Backup Extraction

NAS 242 Using AiMaster on Your Mobile Devices

How do I configure the wireless printer using a USB or Ethernet cable and install the printer driver in Windows?

3. Viewing and Restoring Items and Files from the Mimosa Archive

Installation Guide for Pulse on Windows Server 2008R2

Cloud Services MDM. ios User Guide

Sophos Mobile Control as a Service Startup guide. Product version: 3.5

1. Product Information

The safer, easier way to help you pass any IT exams. Exam : 9L OS X Server Essentials 10.8 Exam. Title : Version : Demo 1 / 6

Media Server Installation & Administration Guide

Online Backup Linux Client User Manual

Google Apps for Education at UTK

MaaS360 Mobile Enterprise Gateway

The "Eclipse Classic" version is recommended. Otherwise, a Java or RCP version of Eclipse is recommended.

Online Backup Client User Manual

ELPA21 Field Test Setup and Installation Guide December 2014

Transcription:

XenMobile Logs Collection Guide 1

Contents Summary... 3 Background... 3 How to Collect Logs from Server Components... 4 Support Bundle Contents... 4 Operations Supported for Server Components... 5 Configurations in App Controller to collect logs via 3rd party tools ios and Android... 10 How to Collect Logs for MDX wrapping issues... 11 How to Collect Logs from Client Devices... 11 ios Devices... 11 Worx Home Logs... 11 Overriding/Resetting logging level... 16 How to Collect Logs on ios Devices using Xcode... 22 How to Collect System Logs on ios Devices via Configuration Utility Tool... 26 How to Collect Crash Logs on ios Devices... 29 Using itunes Sync... 29 Using Device Diagnostics... 31 How to Collect System Logs on ios Devices (prior to ios 7)... 34 Android Devices... 38 Worx Home Logs... 38 Overriding/Resetting logging level... 41 Collecting Logs via Command Line (ADB)... 45 Collecting Logs using Eclipse ADT Bundle... 46 Windows Phone... 50 Collecting Exchange Active Sync Logs from Outlook Web Access (OWA) for Mobile Devices... 54 More Information... 57 2

Summary The purpose of this document is to illustrate the log collection process on different XenMobile components. Background Understanding logging helps you to send useful information to technical support when you run into issues using Worx Home and WorxMail. What is logging, and why is it good? Logging is a useful tool for capturing information about an app's usage that helps determine the problem when something doesn't work right or there is a problem with the app. When you contact customer support, they will likely ask you to send them logging information so they can troubleshoot the issue and help you solve the problem. By default, logging data is collected about WorxMail while you use the app, WorxMail keeps a log of what you do when you use the app, such as when you send email, change settings, accept meeting invitations, and so on. Do I have to enable logging, or is it already on? For both Worx Home and WorxMail, basic logging is on by default. How do I enable logging? Best Practices If you are working on a reproducible problem, you should first delete the old log files prior to reproducing the issue to capture the logs for the issue accurately. Also, this helps since there is a limited buffer to store the logs and to avoid running into the size limit on email attachments which may vary by email servers. If the email client you are attempting to use to send the logs fails, try a different one. 3

How to Collect Logs from Server Components Support Bundle Contents Support bundle from XenMobile servers will be collected and stored in App Controller. All support bundles will be compressed into one file. The support bundles will be cleaned up during logoff, session expiry or during reboot of App Controller. Support bundles are not encrypted. Upload to TaaS (Citrix Insight Services) ᵒ All support bundles will be compressed into one file before upload. ᵒ A manifest file will be created in the compressed XenMobile bundle Support bundles from XenMobile Device Manager, App Controller and NetScaler Gateway servers contain system and deployment details, log files, thread and memory information, installed patches and other diagnostic information. A detailed list of information to be collected is given below. 1. NetScaler Server Support bundle a. NetScaler System information b. NetScaler Gateway logs c. NetScaler Gateway database information d. NetScaler Gateway core information e. NetScaler Trace files 2. AppController Server Support bundle a. Auditlogs with information for customers to get an overall picture of what is happening in the system b. Debugfile with information required for DEV during debugging 3. XenMobile Device Manager Server Support bundle a. Logs i. From C:\Program Files (x86)\citrix\xenmobile Device Manager\tomcat\logs b. Configuration files i. From C:\Program Files (x86)\citrix\xenmobile Device Manager\tomcat\webapps\zdm\WEB- INF\classes 1. Cluster_configuration 2. Ew-Config.properties 4

3. Pki.xml 4. Log4j 5. Push_services 6. Oscache ii. From C:\Program Files (x86)\citrix\xenmobile Device Manager\tomcat\conf iii. Server.xml c. Information collected as part of helper.jsp i. Patches ii. Cluster Info iii. Thread Dump iv. Thread Dump V2 v. Push Service Status (if IOS) d. Server details (Windows) i. OS Version ii. number of cores (CPU) iii. Memory iv. Page file settings v. Interfaces settings (speed, ipv4, ipv6 (enabled) vi. Disk space Operations Supported for Server Components App Controller NetScaler Gateway XenMobile Device Manager Generate Support Bundle and download to client Connectivity Checks Generate Support Bundle and upload to TaaS 5

1. To access XenMobile Server Support page, open a browser and login to AppController 9.0 admin ControlPoint: https://<appcontroller SERVER>:4443/ControlPoint/main.html. After successful login, navigate to Support Page by removing main.html and adding Support https://<appcontroller SERVER>:4443/ControlPoint/Support Click on + to add the Server details. 2. 1. NetScaler Gateway: Management IP needs to be provided with root credentials. 2. AppController: ControlPoint IP/URL and administrator credentials need to be provided. 3. XenMobile Device Manager: IP/FQDN of XenMobile Device Manager Server and administrator login credentials need to be provided. Select the operation that needs to be performed. Ensure the Server checkbox is checked. 3. Operation 1: Select the server and choose the operation to Generate support bundles and download to client 4. 6

Download and Save all the generated support bundles to client machine which is in one single zip file. 5. For details on the Support Bundle content refer to the Support Bundle Contents section. 6. Email these logs to Citrix Support Team. Operation 2: Select the server and choose the operation to Perform Connectivity Checks 7. Note: Connectivity checks cannot be performed on App Controller. Please refer to Operations Supported for Server Components section above. 8. 7

Operation 3: Generate Support Bundle and upload to Citrix Insight Services Server 9. 8

In case if you already have a Service Request Number (SR Number) from the TaaS server for which you want to link these support bundle, check the option Provide Service Request Details 10. Provide the SR details and click on Apply button. Click on Start button on the Support Page to generate Support Bundle. 11. 9

Configurations in App Controller to collect logs via 3rd party tools ios and Android To collect logs using the third party tools, the below configuration is required on App Controller. Set the default log output to console in the app details of the app for which you need the logs. Step 1. Login to App Controller Administrator Control Point Select the mobile app for which you want the logs to be sent to console Click on Edit option and navigate to Policies and make changes as shown below: 10

How to Collect Logs for MDX wrapping issues To collect logs for troubleshooting issues related to wrapping please refer to MDXToolkit Documentation: CTX120458 - http://support.citrix.com/article/ctx140458 How to Collect Logs from Client Devices ios Devices Worx Home Logs Pre-requisites: WorxMail needs to be configured on this device while sending logs using Send using WorxMail option item #4 below. If there are issues sending logs with WorxMail, turn off this setting and use native mail to send the logs. Step Log into Worx Home and tap on the > icon 1. 11

In the Support screen, tap the Support icon 2. 12

Select the app for which you need assistance. 3. 13

Generate and send the logs. 4. 14

Enter the e-mail address you want to send the attached logs.zip file and tap on Send button 5. When the email arrives it should contain two attachments if an MDX app was selected, Worx Home.zip and <AppName>.zip, where <AppName> is the name of the application you selected in previous step. (e.g. - WorxMail app is chosen here). 6. On extracting the above Logs.zip file, there will be a folder containing logs for the MDX app that was chosen above. 15

Overriding/Resetting logging level IMPORTANT: 1. Changing the log level to a higher level is advised only to reproduce an issue. 2. Ensure that after the issue has been reproduced, the log level has been reset to the default level. 3. Increasing the log level and not resetting to default level can result in battery drain and/or performance issues. The logging parameters are set for each app via the policy on the App Controller. The default levels should be sufficient for most cases, but if necessary you may temporarily override the logging level. To do so, follow above steps until you reach the Support screen in Worx Home to arrive at the Choose App screen then select the app to gather the logs and perform the following steps: Step 1. On the Create Log screen, tap on the Settings icon at top right corner to change the logging level. 16

2. On the Log Settings screen, tap on Level to modify the level settings Note: The default level is 4 17

3. On the Select Level page, change the level to 6 or higher 4. Go back to the Log Settings screen by tapping on the back arrow icon 18

5. Save the log setting 19

6. Reproduce the issue in the application, and then tap the back-button to return to the Choose App screen. 20

7. Send the Logs 8. Note: If an MDX app was selected, then following sequence of events occur: i. The selected MDX app gets launched. ii. New log level gets applied to the app. iii. Once new log level is applied, Worx Home app is launched. 21

How to Collect Logs on ios Devices using Xcode Step 1. Download Xcode from the Apple App Store on to your Mac 22

2. Connect your ios device to your Mac and then open Xcode. Select Window>Organizer. 3. In the Organizer window, click Devices on the top bar to display the devices organizer. 23

4. On the left navigation bar, in the ipad section, select Console to view the Console logs. NOTE: The Device Logs pane in the Organizer contains information about app crashes. You might have to unplug your device and plug it again to refresh the crash list. 5. Ensure the logs are cleared first by using Clear option on left corner to capture the issue accurately 24

6. Reproduce the issue. Click Save Log As on right hand corner and Save the logs. Email the logs and attach it from the location where you saved the logs. 25

How to Collect System Logs on ios Devices via Configuration Utility Tool Step 1. Download and Install iphone Configuration Utility Tool. This tool is available for Windows and Mac: http://support.apple.com/kb/dl1466 Note: This tool can be used for both ipad and iphone. 2. Ensure the System Requirements and Supported Languages requirements are met. Run the installer and follow the wizard to complete installation. 26

3. After the installation is complete, launch the Configuration Utility tool. 4. Click on your device under Devices section. 5. Then click on Console on the top navigation bar to view the logs. 6. Ensure the logs are cleared first by using Clear option on left corner to capture the issue accurately. Reproduce the issue 27

7. Click Save Console As on right hand corner and Save the logs. Attach and Email the logs. 28

How to Collect Crash Logs on ios Devices Using itunes Sync Step 1. Sync your ios device to itunes 2. On the Mac, navigate to Finder>Go >Go to Folder and type in the location as ~/Library/Logs/CrashReporter/MobileDevice/<DEVICE_NAME> where ~ is your Home folder 3. Select all files with the problematic application *.crash, *.plist or *.ips files archive the files and send to Citrix Support for analysis. 29

4. To collect the crash logs on your On Windows, navigate to the Run window and type: %userprofile%\appdata\roaming\apple Computer\Logs\CrashReporter\MobileDevice\<DEVICE_NAME> Where the <DEVICE_NAME> is the name of your device. NOTE: AppData folder is hidden by default. 5. Select all files with the problematic application *.crash, *.plist of *.ips files (for ios 7 or newer) archive the files and email the files to Citrix Support for further analysis. NOTE: If itunes is not available, you can manually select the content in the crash file on the device following the steps below. 30

Using Device Diagnostics Step 1. To collect the crash logs on your ios device, go to Settings > General > About. 2. Tap Diagnostics & Usage Data. 31

3. Tap LatestCrash.plist to open the log NOTE: The related Crash logs for Worx Home, WorxMail, Citrix Receiver etc., may also be needed for investigating the issue. 4. Double tap the LatestCrash.plist log, select Select All, and then Copy to copy the log. Note: Select All option is not available on ios 7 or later. 32

5. Next, open WorxMail or the native mail client and paste the log by double tapping the message content area. Email the log by taping on the Send button. NOTE: If the WorxMail is not launching, you can use the native mail client of the device to send the logs. 33

How to Collect System Logs on ios Devices (prior to ios 7) Note: The current available version of System Console is not supported with ios 7 or later. Step 1. From the itunes App Store, download the System Console app on to your ios device and then start the app. 34

2. Try to reproduce the issue on the Worx app. 35

3. In the System Console app, click forward icon (top right corner). Tap Email Log. NOTE: The related Crash logs for Worx Home, WorxMail, Citrix Receiver etc., may also be needed for investigating the issue. 36

4. Email the log. 37

Android Devices Worx Home Logs Pre-requisites: WorxMail needs to be configured on this device while sending logs using Send using WorxMail option item #4 below. If there are issues sending logs with WorxMail, turn off this setting and use native mail to send the logs. NOTE: This is also applicable to Samsung Knox devices. Step 1. Log into Worx Home and tap on the > icon 2. In the Support screen, tap the Support icon under Need Help? 38

3. Choose the App for which you want to send the logs. 4. Send logs for the chosen app. 5. Enter the e-mail address to whom you want to send the attached logs.zip file and tap on Send button 39

6. When the email arrives it should contain two attachments if an MDX app was selected, Worx Home.zip and <AppName>.zip, where <AppName> is the name of the application you selected in previous step. (e.g. - WorxMail app is chosen here). 40

Overriding/Resetting logging level IMPORTANT: 1. Changing the log level to a higher level is advised only to reproduce an issue. 2. Ensure that after the issue has been reproduced, the log level has been reset to the default level. 3. Increasing the log level and not resetting to default level can result in battery drain and/or performance issues. The logging parameters are set for each app via the policy on the App Controller. The default levels should be sufficient for most cases, but if necessary you may temporarily override the logging level. To do so, follow above steps until you reach the Support screen in Worx Home to arrive at the Choose App screen then select the app to gather the logs and perform the following steps: Step 1. On the Create Log screen, tap on the Settings icon at top right corner to change the logging level. 41

2. On the Log Settings screen, tap on Level to modify the level settings Note: The default level is 4 3. On the Select Level page, change the level to 6 or higher 42

4. Go back to the Log Settings screen by tapping on the back arrow icon 5. Save the log setting 43

6. Reproduce the issue in the application, and then tap the back-button to return to the Choose App screen. 7. Send the Logs 8. Note: If an MDX app was selected, then following sequence of events occur: i. The selected MDX app gets launched. ii. New log level gets applied to the app. iii. Once new log level is applied, Worx Home app is launched. 44

Collecting Logs via Command Line (ADB) 1. Install the Android Debug Bridge using http://developer.android.com/tools/help/adb.html 2. Instructions on installing Android Debug Bridge are located here: http://www.howtogeek.com/125769/how-to-install-and-use-abd-the-androiddebug-bridge-utility 3. Run the following commands: adb logcat -c" (This clears the logs.) 4. Reproduce the issue. 5. Then run the following command to capture the logs in a file: adb logcat -d > Name_of_Log_File.txt" To gather VERBOSE logging: adb shell setprop log.tag.worxhome VERBOSE Note: If you cannot see the device or see a message waiting for device please ensure the USB Debugging is enabled on the device. Instructions to achieve this are available in next section step#4 through step#6. 45

Collecting Logs using Eclipse ADT Bundle Pre-requisites: Java JDK 7 or later must be installed Step 1. Download and install Eclipse with built-in ADT (Android Development Tools): http://developer.android.com/sdk/index.html 2. Install Android USB drivers on the machine for your device if it is a Samsung device. For example: Samsung USB Driver for Windows machine: http://developer.samsung.com/android/tools-sdks/samsung-andorid-usb-driver-for- Windows 3. Browse to the location where ADT bundle was downloaded. Run SDK Manager as Administrator. Ensure that the Google USB Driver is installed. 46

4. Enable Unknown sources on the device under Settings > Security > Unknown Sources. 5. Enable USB Debugging on the device under Settings > Developer Options > USB Debugging. 6. Attach your Android device to the machine using USB. Run Eclipse as Administrator. 47

7. Get and view the logs using Log Cat (Under Window>Show View>LogCat) 8. Clear the existing logs using the Clear Log option located at the right corner of the window. Reproduce the issue on your device. NOTE: It is important to delete any previous logs since there is a limited buffer to store the logs. 48

9. Save the logs to a location on your machine. Email the logs with the steps to reproduce the problem. 49

Windows Phone Pre-requisites: Please ensure that native email is configured on the device Step 1. Login to Windows Phone. Then go to Worx Home application. 50

2. To gather the logs, tap on the at bottom of the screen to see other options 3. Tap on Support option 51

4. Choose the application for which you need to gather the logs 5. Enter the e-mail address to whom you want to send the attached WorxHome_SupportBundle.zip file and tap on Send 52

6. When the email arrives it should contain an attachment for both Worx Home and if an MDX app was selected, WorxH_log and <App log> for the application you selected in previous step. (e.g. - WorxWeb app is chosen here). WorxHome logs: For MDX apps: 53

Collecting Exchange Active Sync Logs from Outlook Web Access (OWA) for Mobile Devices Step 1. Log into OWA (Outlook Web Access) using browser. 2. Click on the Options on the top right corner and select See All Options. 3. Select the Phone tab under See All Options screen. A list of all mobile devices are shown that have Exchange Active Sync configured. 54

4. Select the Device on which WorxMail is installed and then click on Start Logging. 5. A popup appears. Select Yes 6. Now go back to the device and reproduce the issue. After repro ing the issue, log in to OWA and go to the options screen again. Select the same device and click on Retrieve Log. 55

7. An email is sent to your inbox with the logs as attachments. 8. Email the logs. 56

More Information For details on XenMobile MDXToolkit Documentation, please refer to CTX120458 - http://support.citrix.com/article/ctx140458 For details on XenMobile Server Support FAQ, please refer to CTX140986 - http://support.citrix.com/article/ctx140986 For details on collecting logs for 8.6 and 8.7 XenMobile releases, please refer to CTX141008 - http://support.citrix.com/article/ctx141008 For details on collecting logs for 8.5 XenMobile release, please refer to CTX140100 - http://support.citrix.com/article/ctx140100. 57