Xen Document Days/TODO: Difference between revisions

From Xen
Jump to navigationJump to search
(Removed historical done items)
(Remove XCP related entries, these are handled over at xenserver.org now.)
Line 38: Line 38:
==== Draft a list of Questions for a User Survey ====
==== Draft a list of Questions for a User Survey ====
* [[User:Lars.kurth|Lars.kurth]] 10:09, 30 April 2014 (UTC) : See [[Xen Project User Survey]]
* [[User:Lars.kurth|Lars.kurth]] 10:09, 30 April 2014 (UTC) : See [[Xen Project User Survey]]

==== Restructure XCP Related Categories ====
'''NOTE:''' ''XCP is about to be transitioned to a new home, so it is important that we make sure the XAPI content remains after XCP goes. Correctly tagging items for XAPI is essential. [April 30, 2014]''
* This is executing the proposal http://lists.xenproject.org/archives/html/xen-api/2013-06/msg00109.html [Proposal for input] Disentangling XAPI, XAPI packages and XCP on wiki.xenproject.org]. In a nutshell:
* Category XCP : only use for content specific to the XCP ISO
Latest revision Your text
* New Category XAPI Project : this is basically a category for developers
* New Category XAPI Users : this is basically for users of XAPI, XAPI packages in distro and other flavours of XAPI (e.g. XCP ISO when not specific to the ISO)
* Move content into those locations


=== Easy tasks for Beginners ===
=== Easy tasks for Beginners ===
Line 87: Line 78:


The usage of the example code is also not documented. http://lists.xen.org/archives/html/xen-users/2014-01/msg00162.html has some (incomplete) info.
The usage of the example code is also not documented. http://lists.xen.org/archives/html/xen-users/2014-01/msg00162.html has some (incomplete) info.

==== Manpages for xe command ====
Write manpages for xe and its 430 subcommands.
* A team led by [[user:GrantMcWilliams|Grant McWilliams]] and including [[user:Matthew.Spah|Matthew Spah]], [[user:Lisa.Nguyen|Lisa Nguyen]] and [[user:MRWebberOne|Mike Webber]] is currently working on documenting the xe command and will continue to do so until completed. Moving the source repo to xen-org has been [[http://lists.xen.org/archives/html/xen-api/2012-09/msg00053.html proposed]].
* As of September 2013, the [http://xenapiadmin.com Xenapi Admin Project] team is currently automating the manpage creation process for all xe subcommands.


==== Describe the different ways, and necessary components, to create PVs using xl ====
==== Describe the different ways, and necessary components, to create PVs using xl ====
Line 126: Line 112:




=== Visually distinguish Xen, XAPI, MirageOS and Community Documentation better ===
=== Visually distinguish Xen, MirageOS and Community Documentation better ===
{{Comment|[[User:Lars.kurth|Lars.kurth]] 15:32, 28 January 2013 (UTC):}} Users are getting confused when looking at wiki pages. If there was a visual way to distinguish Xen, XCP and Other content better, this would help. We could use colors and skinning when it comes to various elements, as well as masocts/logos:
{{Comment|[[User:Lars.kurth|Lars.kurth]] 15:32, 28 January 2013 (UTC):}} Users are getting confused when looking at wiki pages. If there was a visual way to distinguish Xen, MirageOS and Other content better, this would help. We could use colors and skinning when it comes to various elements, as well as mascots/logos:
* For example: [[Help:Contents]] has a different feel (and colour scheme)
* For example: [[Help:Contents]] has a different feel (and colour scheme)
* This could be replicated in trail boxes and other elements
* This could be replicated in trail boxes and other elements
* We can also use mascots (note we don't have an XCP mascot)
* We can also use mascots


'''But first, I need to investigate what is possible.'''
'''But first, I need to investigate what is possible.'''


{{Comment|[[User:Lars.kurth|Lars.kurth]] 16:14, 28 January 2013 (UTC):}} Looks as if the only way this can be done is via [http://www.mediawiki.org/wiki/Manual:Using_custom_namespaces Custom Namespaces]. The only way to do this properly is to
{{Comment|[[User:Lars.kurth|Lars.kurth]] 16:14, 28 January 2013 (UTC):}} Looks as if the only way this can be done is via [http://www.mediawiki.org/wiki/Manual:Using_custom_namespaces Custom Namespaces]. The only way to do this properly is to
* Have different namespaces for Xen, XCP, ... and Community stuff and keep all the common stuff in Xen
* Have different namespaces for Xen, MirageOS, ... and Community stuff and keep all the common stuff in Xen
* The name spaces could then be styled differently, for example the '''Help''' namespace includes the '''ns-12''' style into the body attributes, whereas the '''Main (default)''' namespace uses the '''ns-14''' style.
* The name spaces could then be styled differently, for example the '''Help''' namespace includes the '''ns-12''' style into the body attributes, whereas the '''Main (default)''' namespace uses the '''ns-14''' style.
* Custom namespaces can be created by changing the config and are linked to custom styles
* Custom namespaces can be created by changing the config and are linked to custom styles
Line 141: Line 127:


'''Implications''' of using custom namespaces:
'''Implications''' of using custom namespaces:
* '''Search''': Pages in a custom namespace do not show up in default search results. So if we had a custom XCP namespace, it would mean that search results for XCP would not show up. One would need to go to '''Advanced Search''' and select XCP
* '''Search''': Pages in a custom namespace do not show up in default search results. So if we had a custom MirageOS namespace, it would mean that search results for MirageOS would not show up. One would need to go to '''Advanced Search''' and select MirageOS
* '''Rename''': Renaming pages is possible and as straightforward as renaming pages
* '''Rename''': Renaming pages is possible and as straightforward as renaming pages
* '''Xen Namespace''': The Xen namespace exists already, this may need to be renamed
* '''Xen Namespace''': The Xen namespace exists already, this may need to be renamed

Revision as of 13:18, 25 June 2014

Icon Ambox.png The Xen Project Wiki has been subject to a severe spam attack in the last several months. To solve this and keep the wiki usable for everyone, we had to lock down the wiki and create an editors group. Please fill out this form and we will add you to the group.

Go back to Xen Project Document Days

Requested Documentation

Icon Info.png Feel free to comment on items using the following convention:
* {{Comment|~~~~:}} your comment

Feel free to add new workitems using the following convention:

==== Workitem ====
~~~~: work-item description


(SUGGESTED FOR MAY 28, 2014) Performance-related Documentation

The documentation on Performance Tuning seems thin, given the importance of the subject:

Missing bits in Beginners Guide

Xen_Project_Beginners_Guide has a lot of todos in it. In particular missing diagrams

(IMPORTANT) Linux Distros

It seems that the list of Linux Distros which support Xen is a lot larger than listed on this wiki.

The following pages need updating and new categories need to be created (these pages are used as reference by new users so they are extremely important to keep up to date!):

Pictogram voting comment 15px.png Lars.kurth 09:38, 5 June 2014 (UTC) Has all of this been done? It seems so

In progress (some just need double checking whether finished)

Draft a list of Questions for a User Survey

Easy tasks for Beginners

You may want to read Wiki Help if you do not have an account.

Migrate useful blog posts to wiki

Sift through blog.xenproject.org and copy useful posts to wiki. This will mainly be a reformatting exercise. Before you copy an article, perform a search on the wiki (headline or key word) to see whether the post exists already. If in doubt, ask on the IRC channel.

Fix articles that need attention

Review Categorization

Pages With Comments or Improvement Suggestions

Missing Pages

  • Special:WantedPages - You can find missing pages by going to this link. There are several courses of actoin that can be taken:
    • The page is needed : Add {{TODO|With a comment}} to the top of the page
    • The page is not needed : Remove the reference to the page (follow the link in the bracket besides the page)
    • Note that the list of Wanted pages contains lots of needed translations and categories, which you can ignore
    • If in doubt, ask for help on the IRC channel

Pictogram voting comment 15px.png Double-p 09:55, 25 February 2013 (UTC): There are a gazillion Template-Whatever including a TODO, really needed? Pictogram voting comment 15px.png Lars.kurth 17:40, 25 March 2013 (UTC): See #Special:WantedPages_broken


Xen : Open work items

UEFI Secure Boot

Write a document on how to sign the xen binary for UEFI Secure Boot. Potential reference here: Dealing With Secure Boot

Documentation on lib(xen)vchan

The header has some stuff, but a more complete guide would be useful.

The usage of the example code is also not documented. http://lists.xen.org/archives/html/xen-users/2014-01/msg00162.html has some (incomplete) info.

Describe the different ways, and necessary components, to create PVs using xl

Raised by mail by Matthias Blankenhaus (who is prepared to take the lead, but needs help): This document would describe the different ways, and necessary components that each way requires, to create PVs using xl. Right now there are at least the following cases:

  • loopbacked vhds
    • single partition format
    • disk format
  • qemu backed vhds
    • qcow / qcow2
  • LVS backed image

This is not a complete list. Also the mileage of each case differs depending on the kernel features enabled in dom0/domu and also depending on the Xen version. Furthermore, certain format require additional infrastructure like the tap device.

All in all, this a complex topic that needs clarification. Doing this based on the lowest common denominator, xl, would clarify many things. In addition, baseline performance data on all of the above would help a great deal. Matthias volunteered to run the majority of needed perf tests

Review and Update: xenpm usage recommendations

There is Xen power management and Xenpm command which may all be outdated. These should probably be reviewed and updated.

HOWTO : using xm trigger to poweroff or firing off NMIs

Howto on using xm trigger to poweroff or firing off NMIs.

HOWTO: Chain pypxeboot and pygrub

How to chain pypxeboot and pygrub

  • Pictogram voting comment 15px.png Lars.kurth 10:35, 27 March 2012 (UTC): Is pypxeboot popular at all?
  • Pictogram voting comment 15px.png Fheigl: I added that. It is somewhat common, OVM 2 and OVM 3 rely on it for PXE installs. I'm not sure if xenpvnetboot is the same, or works. The use case is "you want to use the same installation server for Xen VMs and phys. servers. You want to be able to reinstall them based on PXE reply.
  • Pictogram voting comment 15px.png Fheigl: There is documentation for pypxeboot, but there is no (afaik) documentation for how pygrub is used as a fallback loader. We wasted many days just to get some hack that can't even load a newer kernel. Which sucks, in the end you spend more time/money making PV PXE boot work than you save by using virtualized servers.
  • Pictogram voting comment 15px.png Fheigl: How could it be popular given the state of documentation. <= Key issue to the left of this sentence.
  • Pictogram voting comment 15px.png Lars.kurth 16:03, 19 September 2012 (UTC): wondering whether this video contains what is needed
  • Pictogram voting comment 15px.png Ijc 11:01, 25 June 2014 (UTC): Although I've not watched the whole thing I stepped through that video enough to see all the slides (I think) and I didn't see anything about this topic or anything like it.
  • Pictogram voting comment 15px.png Ijc 11:17, 25 June 2014 (UTC): I've downloaded pypxeboot 0.0.3 and as far as I can tell the fallback to pygrub is supposed to happen automatically if pxelinyx.cfg says to do a local boot. If this doesn't Just Work then I think that is a code bug rather than a documentation issue. I'd recommend retiring this docs TODO in favour of a bug report to the pypxeboot authors and/or xen-devel. I googled around a bit and didn't find any existing bug reports anywhere.


Visually distinguish Xen, MirageOS and Community Documentation better

Pictogram voting comment 15px.png Lars.kurth 15:32, 28 January 2013 (UTC): Users are getting confused when looking at wiki pages. If there was a visual way to distinguish Xen, MirageOS and Other content better, this would help. We could use colors and skinning when it comes to various elements, as well as mascots/logos:

  • For example: Help:Contents has a different feel (and colour scheme)
  • This could be replicated in trail boxes and other elements
  • We can also use mascots

But first, I need to investigate what is possible.

Pictogram voting comment 15px.png Lars.kurth 16:14, 28 January 2013 (UTC): Looks as if the only way this can be done is via Custom Namespaces. The only way to do this properly is to

  • Have different namespaces for Xen, MirageOS, ... and Community stuff and keep all the common stuff in Xen
  • The name spaces could then be styled differently, for example the Help namespace includes the ns-12 style into the body attributes, whereas the Main (default) namespace uses the ns-14 style.
  • Custom namespaces can be created by changing the config and are linked to custom styles
  • The styles are then defined in MediaWiki:Common.css

Implications of using custom namespaces:

  • Search: Pages in a custom namespace do not show up in default search results. So if we had a custom MirageOS namespace, it would mean that search results for MirageOS would not show up. One would need to go to Advanced Search and select MirageOS
  • Rename: Renaming pages is possible and as straightforward as renaming pages
  • Xen Namespace: The Xen namespace exists already, this may need to be renamed
  • Categories and Namespaces: Categories cross namespaces. In other words, Category:XXX would go across all namespaces. As an example, see Category:Wiki_Management

Mediwiki Issues

Special:WantedPages broken

Issue 1: Pages that need translation are spamming the list
  • Solution: fix language templates and mark with {{Stub translation}}
  • Pictogram voting comment 15px.png Lars.kurth 16:48, 28 January 2013 (UTC): There is something wrong with the language templates, essentially spamming the wanted pages. Do ignore these instructions until fixed.
  • Pictogram voting comment 15px.png Lars.kurth 23:28, 11 February 2013 (UTC): Fixed language template issues by removing most languages from the templates
  • Pictogram voting comment 15px.png Lars.kurth 18:03, 25 March 2013 (UTC): Started marking pages with {{Stub translation}}
Issue 2: Missing templates are spamming the list
Issue 3: Missing categories are spamming the list

Categories & Indexes

  • Pictogram voting comment 15px.png Lars.kurth 13:54, 29 January 2013 (UTC): Combined categories such as list all XCP FAQs have been asked for sevceral times
  • Investigate plug-ins

Developer Docs

Docs that need attention or are missing

  • Make XAPI docs (built from source) available on xen.org
  • PVOPS portal on xen.org - Konrad volunteered
  • some more xenstore docs (i.e. recent python bindings that were sent to the -users list)
    • Pictogram voting comment 15px.png Ijc 12:13, 25 June 2014 (UTC): I don't think these are included in Xen? Need a reference.
  • Using libxenstat python bindings (imo they're broken)
    • Pictogram voting comment 15px.png Ijc 12:13, 25 June 2014 (UTC): Is this a bug report? If they are broken we should fix them (as well as potentially documenting them)
  • More PV protocol docs (see recent patches to blkif.h for example)
    • Pictogram voting comment 15px.png Ijc 12:13, 25 June 2014 (UTC): blkif.h and netif.h are perhaps the most critical ones and those are now pretty good. But the rest (fbif.h, kbdif.h, pciif.h, usbif.h, tmpif.h and vscsiif.h) could all stand to be improved.
  • Document xenstore paths used by guests and toolstack etc

Done Recently

Xen 4.4 Documentation

Need to flesh out Xen_4.4_Acknowledgements

Xen 4.3 / 4.4 Documentation : Spice Config Example for upstream QEMU

Take this thread and convert into an Example

Pictogram voting comment 15px.png Lars.kurth 16:56, 9 April 2014 (UTC) Created SPICE_support_in_Xen for now

Update Xen Project Repositories

Xen Project Repositories references Xen 4.2 as the latest.

Pictogram voting comment 15px.png Rcpavlicek 23:59, 27 January 2014 (UTC): Updated reference to 4.3, but needs a developer to verify that nothing else is needed.

Pictogram voting comment 15px.png Lars.kurth 12:02, 2 April 2014 (UTC) This looks fine