XAPI Database Parsing Tool - Windows

XAPI Database Parsing Tool - Windows

book

Article ID: CTX129070

calendar_today

Updated On:

Description

Description

This script applies an XML stylesheet to the XAPI database and creates a file that can be viewed in a web browser. The style sheet is an example of how data can be extracted from the database for quick offline troubleshooting and configuration analysis.

Once the script has been ran against a xapi-db.xml file a database.xml file is created that can be opened in a web browser for review.

 

 


 

Where to download ?

Certain legacy Citrix tools are now available on request only. Please submit the request here - https://forms.gle/obA39PEz5qpDiSPq8

Once we verify your request, we will provide access to the download location. 

 

 


Prerequisites

Windows/DOS prompt
A xapi-db.xml file from a status report is required.


Installing XAPI Database Parsing Tool

 

  1. Unzip the contents of the file in a temporary location.

 

 

  1. Create a directory called c:\xapidbhead\

 

 

  1. Copy the xenserver.xsl and xml-header.inc files to the c:\xapidbhead directory.

 

 

  1. Place the xapidbhead.bat file in a folder in your path (for example: C:\windows\system32).

 


How to Use XAPI Database Parsing Tool

 

  1. At a command prompt, change directory to the location of your xapi-db.xml file.

 

 

  1. Run the command xapidbhead.

 

 

  1. With a web browser, open the database.xml file created in the same directory .

 


Security Permissions Required by XAPI Database Parsing Tool

None, other than read rights to the xapi-db.xml file and the ability to write to the same folder where it resides.


Data Modified by XAPI Database Parsing Tool

None


Uninstalling XAPI Database Parsing Tool

 

  1. Delete the C:\xapidbhead folder

 

 

  1. Delete xapidbhead.bat from the location it was placed at in your path.

 


Contact Information

Questions? Concerns? Send any feedback for this tool to  supporttools@citrix.com.


Disclaimer

The above mentioned sample code is provided to you as is with no representations, warranties or conditions of any kind. You may use, modify and distribute it at your own risk. CITRIX DISCLAIMS ALL WARRANTIES WHATSOEVER, EXPRESS, IMPLIED, WRITTEN, ORAL OR STATUTORY, INCLUDING WITHOUT LIMITATION WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NONINFRINGEMENT. Without limiting the generality of the foregoing, you acknowledge and agree that (a) the sample code may exhibit errors, design flaws or other problems, possibly resulting in loss of data or damage to property; (b) it may not be possible to make the sample code fully functional; and (c) Citrix may, without notice or liability to you, cease to make available the current version and/or any future versions of the sample code. In no event should the code be used to support of ultra-hazardous activities, including but not limited to life support or blasting activities. NEITHER CITRIX NOR ITS AFFILIATES OR AGENTS WILL BE LIABLE, UNDER BREACH OF CONTRACT OR ANY OTHER THEORY OF LIABILITY, FOR ANY DAMAGES WHATSOEVER ARISING FROM USE OF THE SAMPLE CODE, INCLUDING WITHOUT LIMITATION DIRECT, SPECIAL, INCIDENTAL, PUNITIVE, CONSEQUENTIAL OR OTHER DAMAGES, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. Although the copyright in the code belongs to Citrix, any distribution of the code should include only your own standard copyright attribution, and not that of Citrix. You agree to indemnify and defend Citrix against any and all claims arising from your use, modification or distribution of the code.


Additional Information

 


 

Where to download ?

Certain legacy Citrix tools are now available on request only. Please submit the request here - https://forms.gle/obA39PEz5qpDiSPq8

Once we verify your request, we will provide access to the download location.