Skip to content

JonathanThorpe/xenserver-xslt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 

Repository files navigation

XenServer XSLT Template

An XSLT Stylesheet for interpreting the XenServer XAPI Database.

Originally based on my work at Citrix in 2010 (http://support.citrix.com/article/CTX129070), this repository contains amendments to reflect changes in how XAPI stores data. This version is designed to work with XenServer 6.5, but may work with earlier and later releases with varying degrees of success.

Report Contents

The XSLT template enables the following information to be extracted from the XenServer XAPI Database.

  • Pool Information
    • General Information
    • Pool Configuration
    • Patches / Hotfixes
    • Storage Repositories
    • Networks
  • XenServer Host Configuration
    • Host Summary and Licensing
    • CPUs
    • Memory
    • Physical Block Devices
    • Physical Network Interfaces
    • Physical Network Interface Details
    • Patches / Hotfixes
  • XenServer Virtual Machines
    • Virtual Machine Details
    • Virtual Block Devices

To use this XSLT

  1. Get a current XAPI Database XML database. This can be done from within XenCenter by exporting a Server Status Report (Tools -> Server Status Report in XenCenter) with the "XenServer Database" option selected.

  2. Open the ZIP file containing the report and copy the xapi-db.xml file to the same location as the xslt file.

  3. Open the xapi-db.xml file and place the following at the very top: <?xml-stylesheet type="text/xsl" href="xenserver.xsl"?>

  4. Open the xapi-db.xml file in a web browser that can apply XSLT templates to an XML document such as Firefox or Internet Explorer (does not work in Chrome).

About

XenServer XAPI XSLT Template for Building Inventory Reports

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages