
Help us make the xCAT documentation better! Here's some tips on how to edit the documentation.
The xCAT documentation has been converted to mediawiki format and reorganized. The goals of/reasons for this new format are:
We would appreciate your feedback on our documentation. Please give us your comments about how the documents could be improved, for example, information that is missing, incorrect, or poorly worded. We really want to know specific suggestions of how to make the documentation better!
You can post your document suggestions/corrections/additions to the xCAT mailing list or open a defect in our bug tracker.
To get edit authority to the xCAT wiki:
Yes, you can. If we have granted you editor access, you can make updates to the documentation pages, as long as you know what you are talking about. This is MarkDown style contributions: xCAT developers are tracking all of the changes, and we will back out your updates (The wiki keeps a history of all changes) if we think they are not an improvement. So do your homework, make good changes, and everyone will benefit. Especially remember that xCAT is used in a lot of environments, so you have to think about more than just your situation when updating the documentation.
In order for the xCAT documentation pages to look clean, nice, and consistent, follow these guidelines, this is for MarkDown WIKI.
As of June 19th, 2014, xCAT MediaWiki docs were imported into SourceForge Wiki which uses Markdown syntax. However, the import process was not perfect, and manual cleanup of all of our documents is required. As you work through this cleanup, please add here issues that you have found, and ways that you fixed them. This will help others know what to look for and an idea of what needs to be done.
Missing content: The import process lost information from your doc.
Problem: The import process lost entire chunks of data from the original doc. The original doc contained character strings such as:
Fix: Find a copy of the MediaWiki doc and manually add back the missing text.
Code examples:
˜˜˜˜
your example command or code block
˜˜˜˜
- Many command examples and code blocks were imported with bold and/or italic formatting characters on each line. These now show up as `_ and *` characters within the Markdown code block and must be manually removed.
Use of < > in code examples. If the code example contained a < and >, it probably was not converted from the html characters < and > . You will have to manually change to < > and should surround the code block or command with lines containing four tildes.
If your line was bold in mediawiki, that is it was surrounded with double quotes; the import will have converted the double quotes to underbar(). All these will have to be fixed, for example it now looks like this in the document (/usr/bin/mysql_install_db --user=mysql_)
Text formatting:
Problem: Occasionally, highlighted MediaWiki text that may contain Markup formatting characters may cause strange results. A very common one is italicized strings containing imbedded underscores, especially in paragraphs that contained many different cases of these. For example, this MediaWiki source:
the ''lpp_source'' location
was imported as:
the _lpp_source _location _
So instead of getting 'the lpp_source location', we got 'the lpp_source _location '.
Fix: Carefully review your formatting for these types of strings and adjust the underscores correctly.
Indented paragraphs may have been turned into code blocks. The most obvious symptom is that the new wiki page now has a scroll bar in the middle of it where you weren't expecting one. You will need to remove the blanks preceding the paragraph and use some other formatting. Blockquotes may do what you want: use the > character in front of the paragraph.
Only italics (as single * or _) and bold (double ** or __) are available as Markdown basic text formatting. For others such as underlining or strikethrough, you need to drop into HTML (e.g. <u>underlined text</u> and <s>strikethrough text</s> respectively). I have found that underlined text was converted to italicized text with the import, so take special note if there was something that you really needed underlined.
Backticks ` are special Markdown characters to signify a piece of inline text that should not be formatted. Be sure to verify anywhere you may have used backticks as part of a command example.
The backslash could be used to display the special characters like *, [ and > in markdown, for example, there are a lot of cases in our doc that embedded some words using [], for example [RH],[SLES], needs to change to \[RH\] and \[SLES\].
If any pages had a "/" in the name, it will have to be renamed. Markdown wiki will not load it.
Links to other xCAT wiki docs:
Links to wiki docs need to change. For example, update
[Cluster_Name_Resolution]
to
[Cluster Name Resolution](Cluster_Name_Resolution) . Note you need to use the Description. If you just put [Name of page] the link will work in the wiki but not in the generated PDF, we ship.
All of the links that are linking to a sub-section of a doc need to be changed, because this new wiki makes the anchor for headings by lowercasing all the words and replacing the spaces with "-",
Transcludes need to be changed
All attachments and hyperlinks need to be verified that they are correct especially those that have full links to the now obsolete https://sourceforge.net/apps/mediawiki/xcat/.... pages.
Headers:
# this is a header 1
---
## this is a header 2
this is some test words.
<!---
begin_xcat_table;
numcols=3;
colwidths=20,20,20;
-->
| YOUR | TABLE | HEADERS
-------|-------|-----------------
| YOUR | TABLE | ROWS
<!---
end_xcat_table
-->
"Search" is not working correctly in Allura Wiki, see sourceforge site support bug 8031 - Status: Fixed
Print the docs in Allura wiki, see sourceforge site support feature request 100 - Status: Open
Allura Wiki page TOC does not include the headers from "included" pages, see sourceforge site support bug 4771 - Status: target for Sep 19 2014
Subscribe to the whole wiki, see sourceforge site support bug 4905 - Status: target for Sep 19 2014
Last modified info for the Allura wiki pages, see sourceforge site support feature request 285 - Status: Open
Can not display the pages that have "/" in the title, see sourceforge site support bug 8157 - Status: Open
Can not show show which pages that this page "includes" and which pages that "include" this page, see sourceforge site support feature request 289 - Status: Open
A page can be included into another page (they call this transcluding), using [[include ref=Installing_Stateful_Linux_Nodes]] . We can use this for some of the common info that is needed in many places.
When two pages need to discuss the same material in the same way, they can share a section. This involves creating a third page and transcluding that page onto both pages. Please the details in Pages with a common section
The small "pagelets" that we have created for including into other pages are listed here for ease of editing:
Note: The login nodes install the same base OS packages that are installed on compute nodes. References to compute.*.pkglist in this step are correct.
TODO: This must be changed for MarkDown wiki. mediawiki no longer supported
A couple pages have been created to experiment with the various aspects of mediawiki pages. Feel free to edit these pages to try something out:
This is the third rendition of the xCAT cookbooks, created in June 2014, managed by Allura Wiki stored in SourceForge. These were converted from the previous Mediawiki format. Many manual changes were required after the initial automated conversion. Please be patient while we continue this process and let us know if there are critical changes you need that are missing that still need to be made.
The original xCAT cookbooks were written in ODT format and were converted to Mediawiki.
The xCAT documentation is periodically converted to HTML and PDF and stored on sourceforge for downloading, for use when you are working in a cluster environment that doesn't have internet access.
The xCAT command getxcatdocs is provided to download/convert all of the latest xCAT wiki docs to HTML and PDF. It is a stand-alone perl script that can be copied to and executed on any machine that has perl and is connected to the internet. The conversion uses the Allura wiki API to download the markdown with curl, which is then converted to html and pdf using Pandoc and LaTex. Before you can use the getxcatdocs command on your machine, you must install these packages, the following example runs on RHEL 6.x, the procedure on other Linux distributions might be slightly different.
rpm -Uvh http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
texlive-xetex x86_64 2007-57.el6_2 C6.2-updates 2.1 M
Installing for dependencies:
dvipdfmx x86_64 0-0.31.20090708cvs.el6 C6.0-base 344 k
libpaper x86_64 1.1.23-6.1.el6 C6.0-base 34 k
perl-PDF-Reuse noarch 0.35-3.el6 C6.0-base 89 k
teckit x86_64 2.5.1-4.1.el6 C6.0-base 275 k
texlive-texmf-errata-xetex
noarch 2007-7.1.el6 C6.0-base 4.7 k
texlive-texmf-xetex
noarch 2007-38.el6 C6.2-base 137 k
xdvipdfmx x86_64 0.4-5.1.el6 C6.0-base 487 k
yum install pandoc texlive-latex texlive-xetex
Download getxcatdocs
Run the command help for options:
getxcatdocs -h
getxcatdocs
Wiki: AIX_Overview
Wiki: AIX_SN_backup_-_no_reboot
Wiki: Add_additional_base_AIX_packages_to_your_lpp_source
Wiki: Add_the_HPC_packages_to_the_lpp_source_used_to_build_your_image
Wiki: Add_to_pkglist
Wiki: Build_and_Boot_Stateless_Images
Wiki: Building_a_Stateless_Image_of_a_Different_Architecture_or_OS
Wiki: Cluster_Name_Resolution
Wiki: Configure_ethernet_switches
Wiki: Configuring_name_resolution_on_AIX
Wiki: Configuring_xCAT
Wiki: Copy_the_HPC_software_to_your_xCAT_management_node
Wiki: Create_an_AIX_Diskless_Image
Wiki: Defining_Networks
Wiki: Design_Warning
Wiki: Energy_Management
Wiki: Gather_MAC_information_for_the_node_boot_adapters
Wiki: Generate_Pack_Image_for_Power_775
Wiki: HAMN_OS_Image
Wiki: Howto_Warning
Wiki: IB_Interface_Configuration_ON_Management_node
Wiki: Initiate_a_network_boot_over_HFI_on_Power_775
Wiki: Install_Additional_Packages
Wiki: Install_the_optional_xCAT-IBMhpc_rpm_on_your_xCAT_management_node
Wiki: Install_xCAT_on_the_Management_Node
Wiki: Installing_AIX_diskful_nodes_-_using_NIM_rte_method
Wiki: Installing_Stateful_Linux_Nodes
Wiki: Instructions_for_adding_IBM_HPC_products_to_existing_xCAT_nodes_AIX
Wiki: Instructions_for_adding_IBM_HPC_products_to_existing_xCAT_nodes_Linux
Wiki: Managing_Large_Tables
Wiki: Monitor_Installation
Wiki: Network_boot_the_nodes_AIX
Wiki: Network_boot_the_nodes_Linux
Wiki: No_Longer_Used_Warning
Wiki: Node_Network_Boot_Flow
Wiki: Power_775_Cluster_on_MN
Wiki: Prepare_the_Management_Node_for_xCAT_Installation
Wiki: REST_API_Reference
Wiki: Set_up_LoadlLeveler_DB_access_node_and_Central_Manager
Wiki: Setting_Up_Name_Resolution
Wiki: Setting_up_IBM_HPC_Products_on_an_IO_node
Wiki: Setup_for_Power_775_Cluster_on_xCAT_MN
Wiki: Switching_Databases
Wiki: Synchronize_system_configuration_files
Wiki: Synchronize_system_configuration_files_AIX
Wiki: Template_of_mypostscript
Wiki: Temporary_xCAT_zVM_Fixed_Doc
Wiki: The_location_of_synclist_file_for_updatenode_and_install_process
Wiki: Update_the_image_-_SPOT
Wiki: Updating_etc_hosts
Wiki: Using_AIX_service_nodes
Wiki: Using_Provmethod=install,netboot_or_statelite
Wiki: Using_Provmethod=osimagename
Wiki: Writing_Man_Pages
Wiki: XCAT_Discussion_Page_Header
Wiki: XCAT_Doc_Test_Page
Wiki: XCAT_Doc_Test_Transcluded_Page
Wiki: XCAT_Documentation
Wiki: setup_hosts