nyuuzyou/wikis huggingface dataset:
Archive/XCP 1.0 Manuals

__NOTOC__
= XCP Documentation =
Per the explanation on http://xen.org/products/xcp/community_and_support.html, the best documentation for XCP is the official Citrix XenServer docs for 5.6, available here: http://docs.vmd.citrix.com/XenServer/5.6.0/1.0/en_gb/
XCP 1.0 is derived from XenServer 5.6 with a number of differences, such as additions and omissions. 
This documentation is best combined with knowledge of the feature differences between XCP and XenServer, as explained on the XCP/XenServer Feature Matrix comparison page.
For now, we are listing differences in these wiki pages to aid the creation of independent future XCP documentation. If you identify any further differences, please feel free to add changes yourselves or to ask an appropriate question on xen-api. This is a community effort: having come across an issue and tracking it here, will help others.
== XenServer Features not in XCP ==
Please visit the XCP/XenServer Feature Matrix comparison page for a full feature comparison matrix.
== XCP Features not in XenServer ==
* VastSky SM backend integration (this is a development version in alpha state in XCP 1.0)
* Performance Monitoring is not in the free version of XenServer
Add chapters with more detailed differences here
== Errata List ==
This section refers to pages in XenServer 5.6 documentation that do not apply for XCP.
* Functionality related to features not supported in XCP
* Add URL's to XenServer documentation including a chapter reference and brief description here
Category:XCP
Category:Users
Category:Manual
Archive/XCP 1.6 changes compare to 1.1

== xapi/core ==
* squeezed service is no longer required for xapi start of VM start. Memory manupulations are require squeezed daemon to be ran.
* guest tools of VMs is no longer required for vm migration/grace shutdown.
* all VM metrics about last shutdown time/reason/initiator (in other-config) is removed. If pool is upgraded or older vm imported, previous data in other-config will stay intact, but will not updates any more (reason: operations moved from xapi to xenops, and those metrics was skipped in process).
== host management ==
* new sequence of host shutdown operation: host-evacuate called automatically, if not, gracefull shutdown sent, if not, forced shutdown. Means: VM survive accidental reboots, but reboot sequence for host is much slower.
==Console ==
* new command: xe console vm=....
* vm: other-config:disable_pv_vnc is no longer supported
* vncterm can provide telnet-like access to VM consoles (PV only?), called 'tc'. Port can be found in xenstore /local/domain/ID/console/tc-port.
== OVS ==
* OVS 1.4.2, main changes:
** no memory leak on heavy load with many flows
** normal ipv6 support for ovs-ofctl
* new service /usr/bin/python /usr/share/openvswitch/scripts/ovs-xapi-sync
==IP/MAC antispoofing==
* new values in vif:
 locking-mode ( RW): locked
 ipv4-allowed (SRW): X.X.X.X
 ipv6-allowed (SRW): YY:YY:YY::YY:YY
* new vif initialization script: /opt/xensource/libexec/setup-vif-rules
==Logging==
* new log with xen log ring buffer content: /var/log/xen-dmesg
==Xen behavior==
* XCP now disable C-states on CPU with errors in powersaving routines. It appears in xen log:
 (XEN) Disabling C-states C3 and C6 on Nehalem Processors due to errata
== VHD/VDI ==
* snapwatchd daemon removed. But VHD tree is coalescing (still not known all cases - at least at the xe sr-scan). 
* 'Base copy' now named after the original disk name. No longer 'base copy' in name-label
* vhd coalescing now never remove last base copy (even there is no snapshots or any other reason for splitting). To reduce space usage create new snapshot, delete it, exec xe sr-scan and wait until 'old' and 'new' base copy (disk content prior snapshot creation) will be merged. Disk still gonna continue to grow (base copy is always read only).
= Release Notes Errata =
Category:XCP
Category:Release Notes
Archive/XCP CloudStack

=Introduction=
CloudStack (cloud.com) is a mature cloud orchestration technology that works with KVM, VMWare, XenServer, and XCP. CloudStack was acquired by Citrix in 2011, and is the orchestration system of choice for XCP and XenServer.
= ACS 4.0.0 =
NOTE: The steps re: repos are not necessary for ACS 4.0.0. Create a homogeneous cluster or perform a clean install and use "add host" to import the hosts into cloudstack. 
Renaming repos below will cause a "Duplicate name: xcp:main" which will prevent adding hosts. Clean reinstall or removing xs:main and xe pool-eject is needed for proper import.
= XCP 1.5 Compatibility =
Before installing CloudStack, there are a few compatibility fixes to apply:
# Rename the installed repo (this name changed between 1.1 and 1.5) to get the CloudStack supplemental pack installed.
# Fix the get_mtime bug by replacing the NFSSR.py file with a custom built version and actually include the python stats module to get access to the functions necessary. 
# Do not modify the XAPI version as some other HOWTOs suggest. For CloudStack to work the API version should be kept as it is from the install ("1.4.90"). 
To accomplish the above, run these commands on each XCP host being adding them to CloudStack:
# cp /etc/xensource/installed-repos/xcp:main /etc/xensource/installed-repos/xs:main
# mv /opt/xensource/sm/NFSSR.py /opt/xensource/sm/NFSSR.py.backup
# wget http://download.locatrix.com/xcp/cloudstack/NFSSR.py -O /opt/xensource/sm/NFSSR.py
# chmod 755 /opt/xensource/sm/NFSSR.py
Alternatively, you can modify the NFSSR script on the CloudStack server itself before the install:
# mv /usr/lib/cloud/agent/scripts/vm/hypervisor/xenserver/xcpserver/NFSSR.py /usr/lib/cloud/agent/scripts/vm/hypervisor/xenserver/xcpserver/NFSSR.py.backup
# wget http://download.locatrix.com/xcp/cloudstack/NFSSR.py -O /usr/lib/cloud/agent/scripts/vm/hypervisor/xenserver/xcpserver/NFSSR.py
=What CloudStack changes on a XCP Host=
* https://git-wip-us.apache.org/repos/asf?p=incubator-cloudstack.git;a=blob;f=scripts/vm/hypervisor/xenserver/xenserver60/patch;hb=HEAD
=References=
* Thanks to Shawn Henderson, Ryan Farrington, and Abhi for the above XCP 1.5 hints.
* http://cloudstack.org/
* http://incubator.apache.org/projects/cloudstack.html
Category:CloudStack
Category:XCP
Archive/XCP DRBD

=Introduction=
DRBD provides HA for block level devices, essentially allowing the possibility of a replicated SR across multiple XCP instances.
=Architecture to allow XenMotion=
A dual-primary DRBD device is created spanning two hosts in a resource pool. This device is set up as an LVM SR in the resource pool. VM VDIs are then stored on the SR.
=Potential problems=
All VMs sharing the same SR must run on the same host to avoid a split-brain situation, which could require manual intervention to rectify and could potentially cause data loss. When VMs are migrated across hosts, they should be separated for only a short time to minimize risk.
When migrating the master role to a slave host, management network interfaces are temporarily brought down and back up. This breaks DRBD replication, again requiring manual intervention. This might be worked around by running DRBD replication on separate network interfaces (needs to be confirmed).
=Install=
Linbit provides a full install guide here: http://www.linbit.com/fileadmin/tech-guides/xenserver-drbd.pdf
The only modification needed for XCP is the RPMs to be installed need to be those created specifically for XCP, with further directions below.
=Source Build=
Install the build tools
sed -i -e "s/enabled=0/enabled=1/" /etc/yum.repos.d/CentOS-Base.repo
sed -i -e "s/enabled=1/enabled=0/" /etc/yum.repos.d/Citrix.repo
yum install gcc flex rpm-build redhat-rpm-config make libxslt
Install the kernel development package from the XCP 1.5 beta binary packages ISO
rpm -i kernel-xen-devel-2.6.32.12-0.7.1.xs1.4.90.530.170661.i686.rpm
#might need to put this somewhere else and remote mount it via nfs
wget http://downloads.xen.org/XCP/53341/sources/binpkg.iso
mount -o loop binpkg.iso /mnt
cd /mnt/domain0/RPMS/i686
rpm -i kernel-xen-devel-2.6.32.12-0.7.1.xs1.4.90.530.170661.i686.rpm
Note: http://downloads.xen.org/XCP/53341 contains a beta build. You may want to use 61809c instead (XCP 1.6). We may remove (or not back up) unreleased binaries at some point in future.
Download and build DRBD
mkdir /drbd/
cd /drbd/
wget http://oss.linbit.com/drbd/8.4/drbd-8.4.1.tar.gz
tar zxvf drbd-8.4.1.tar.gz
cd drbd-8.4.1
./configure --prefix=/usr --localstatedir=/var --sysconfdir=/etc --with-km
make tgz drbd.spec drbd-km.spec
cp drbd*.tar.gz `rpm -E %_sourcedir`
rpmbuild -bb drbd.spec
rpmbuild -bb drbd-km.spec
You now have RPMs in /usr/src/redhat/RPMS/i386/drbd
=Downloads=
==XCP 1.5 Beta==
Locatrix Communications has provided a repository with the 8.4.1 RPMs (32-bit only, no sources) pre-built for XCP 1.5 Beta: http://download.locatrix.com/drbd/
For XCP binaries: see http://xenproject.org/downloads/xen-cloud-platform-archives.html
=References=
* Video Tutorial for XCP + DRDB and accompanying slides Step by Step Tutorial (from slide 153)
* http://backdrift.org/live-migration-and-synchronous-replicated-storage-with-xen-drbd-and-lvm
* http://joekane.eu/xenserver-drbd-update-4-the-guide
* http://www.drbd.org/
Category:Users
Category:XCP
Category:Tutorial
Archive/XCP FAQ General

== What is XCP? ==
The Xen Cloud Platform (XCP) is an open source enterprise-ready server virtualization and cloud computing platform, delivering the Xen Hypervisor with support for a range of guest operating systems including Windows and Linux, network and storage support and management tools. XCP comes in two flavours:
* The XCP applicance (which is a single, tested installable ISO image) that comprises CentOS 5.5, Xen and many other components
* The XCP/XAPI components in Debian and Linux
== Is XCP a operating with Xen hypervisor? ==
Aka is XCP like a VMware ESXi or Oracle VM? It doesn't need to setup a operating system. Is that right? 
A: Yes, the XCP ISO is a distribution based on CentOS 5.5 and is ready to provide easy handling by XE. Look at this link.
== How is XCP licensed? ==
XCP is Open Source, and is released under terms of the GNU General Public License v2. 
== What is XCP on Debian? ==
Debian contains the xcp-xapi and xcp-xe (see XE) packages, which makes XCP available as Debian package with Debian as Dom0. XCP on Debian contains the same components, than the XCP appliance, but it uses a different delivery model which gives the user more flexibility. See:
* Project Kronos
* XCP toolstack on a Debian-based distribution
== How do I use XCP with OpenStack ? ==
XCP OpenStack provides instructions on how to set up OpenStack with XCP. 
== What management tools can I use with XCP? ==
XCP Management Tools lists different management tool choices. You may also want to check out:
* XenCenter compatibility fixes for XCP 1.0 and 1.1
* Install the management CLI on a separate Linux box
== Can I use XCP with Ubuntu? ==
Yes. You may want to check out the following articles
* Installing Ubuntu guests on XCP
* Ubuntu grub problems, PV boot configuration
* Setting up PCI passthrough on an Ubuntu 10.04 guest
== How do I monitor Dom0's running XCP? ==
You may want to check the following articles
* Installing Nagios NRPE on XCP dom0 for monitoring
* Installing NUT on XCP dom0 for UPS power management
== Can I install XCP to a USB drive / SD Card ==
Yes, but you'll have to repack the initrd with USB support. See this tutorial.
But be advised, at least XCP 1.6 has issues using an USB device (no matter if internal SD or external usb key), that causes the XCP Host to lose it's rootfs after 1-2 Days of runtime (obviously depending on the Workload). I tested 2 Brands of SD (Kingston and Samsung), as well as Kingston USB Key, same things. This has to be checked. (Hardware tested: HP Proliant DL360p Gen8)
== Can I install XCP from USB drive / SD Card ==
Yes, but you'll have to prepare a Bootable USB Stick for this. A tool confirmed working for this is tool. Download the Program the rest is quite self-explanatory.
== How can I rebuild XCP? ==
We want to make it easier to rebuild XCP. Please read the following proposal
Making XCP easy to build and send feedback to xen-api@lists.xen.org.
Category:XCP
Category:FAQ
Category:Users
Category:Beginners
Archive/XCP HowTo, Index of

= Installation =
* CentOS 6 Virtual Machine installation on XCP
* Fedora 17 Virtual Machine installation on XCP
* Ubuntu 12.04 Virtual Machine installation on XCP
* Installing Ubuntu guests on XCP
* XCP toolstack on a Debian-based distribution
* FreeBSD 9.0 64-bit HVM on XCP 1.1
* Install XCP from a USB Thumbdrive
* OpenSuse 11.4 VM (64 bit) interactive installation on XCP
* XCP toolstack on a Debian-based distribution
* XCP toolstack on a Debian-based distribution - proposed
* Grant McWilliam's XCP VM installations
= Management Clients and Tools =
* List of available management tools 
* Xen Cloud Platform: Access to VM console
* XenCenter compatibility fixes for XCP 1.0 and 1.1
* Install the management CLI on a separate Linux box
* XCP Command Line Interface: A more detailed description in XCP Manuals
* Using XenCenter to manage XCP
= Disk and Networking =
* NIC Bonding on XCP
* SATA Direct Local Disk Access on XCP
* Create Various types of CD repositories on XCP
* Creating an iSCSI target on XCP 1.1
* How to add a disk to a VM on XCP
* How to add a CD to a running VM on XCP
* Howto access VHD VDIs from the Control Domain
* XCP and VLANs
* Ronny L. Bull blog - mostly articles on disk and networking
* Grant McWilliam's blog - some articles on networking
= Cloud =
* Integrate XCP with OpenNebula
* Integrate XCP with OpenStack
* Integrate XCP with CloudStack
= High Availability =
* DRBD with XCP
= Monitoring =
* Installing Nagios NRPE on XCP dom0 for monitoring
* Installing NUT on XCP dom0 for UPS power management
= Ubuntu =
* Ubuntu grub problems, PV boot configuration
* Setting up PCI passthrough on an Ubuntu 10.04 guest
= Other =
* How to create custom XCP templates
* Running XCP within an Xen/XCP VM (nesting)
* XCP Building Instructions
* XCP DirectDiskAccess
* XCP and VLANs
* XCP as virtual machine
* Xen Cloud Platform: Access to VM console
= Xen API and resources for Developers=
* XCP Overview for Developers
* Building XCP
* How to add fields to XAPI
* How to add functions to XAPI
* XenAPI client libraries for ocaml
= External HowTos =
* Ronny L. Bull blog
* Grant McWilliam's blog
Category:XCP
Category:Users
Category:Beginners
Category:HowTo
Category:Index
Archive/XCP Manuals

== XenServer / XCP ==
This table lists Citrix XenServer manuals that also apply to XCP. There are some differences between XCP and XenServer, these are discussed on the errata pages.
XCP version	XenServer version	Errata
 	6.2 	
1.6 	6.1 	yes
1.5 	6.0 	yes
1.1 	5.6 SP2 	yes
1.0 	5.6 FP1 	yes
0.5 	5.6 	
== XCP/XenServer Books==
This table lists available books.
Name 	Author 	Date 	Format 	Language
Citrix XenServer 6.0 Administration Essential Guide 	Daniele Tosatto (Packt Publishing)	2012, June 	Paperback: 364 pages	English
Virtualization with Xen: Including XenEnterprise, XenServer, and XenExpress	David E. Williams (Syngress) 	2007, April	Paperback: 512 pages	English
Category:XCP
Archive/XCP Release Features

XCP 1.0 	XCP 1.1 	XCP 1.5 	XCP 1.6
Initial Release 	March 2011 	October 2011 	February 2012 (beta only) 	November 2012
Corresponding XS release 	5.6 FP1 	5.6 SP2 	6.0 	6.1
Dependencies 	Dependencies 	Dependencies 	Dependencies 	Dependencies
Xen version 	? 	Xen 3.4.2 	Xen 4.1.0 	Xen 4.1.3
CentOS 	5.x? 	CentOS 5.x? (Linux kernel v2.6.32) 	5.6 (Linux kernel v2.6.32) 	5.7 (Linux kernel v2.6.32.43)
Open vSwitch 	? 	? 	? 	1.4.2
Limits (besides those listed for Xen) 	Limits (besides those listed for Xen)	Limits (besides those listed for Xen)	Limits (besides those listed for Xen) 	Limits (besides those listed for Xen)
Coniguration Limits 	 	 	 	1.6 limits
Feature 	Feature 	Feature 	Feature 	Feature
IntelliCache 	 	 	 	
Resilient distributed management architecture 	 	 	 	
VM disk snapshot and revert 	 	 	 	
XenCenter management 	1) 	1) 	1) 	
Conversion tools 	 	 	 	
Heterogeneous pools 	 	 	 	
Dynamic Memory Control 	 	 	 	
Performance alerting and reporting 	 	 	 	
Host power management 	 	 	 	
Live memory snapshot and revert 	 	 	 	
Web self-service with delegated admin 2) 	 	 	 	
Site recovery 	 	 	 	
Open vSwitch 	 	 	(default) 	(default)
GPU Pass-Through 	 	 	 	
GUID Partition Table 	 	 	 	
NIC Bonding 	 	 	 	
IPv6 	 	 	 	
LACP Bonding 	 	 	 	
Storage XenMotion® live Migration (cross-pool migration, VDI migration)	 	 	 	
Windows Drivers Installable via Windows Update 	 	 	 	
Templates 	Templates 	Templates 	Templates 	Templates
Additional Templates 	? 	? 	Ubuntu 10.04, Debian Squeeze, Oracle EL 6.0, SLES 10 SP4	Ubuntu 12.04, RHEL/CentOS 6.2, Oracle EL 6.1 & 6.2, Windows 8
[1] See Using XenCenter to manage XCP
[2] works flawless using original Virtual Appliance from Citrix (tested: XCP 1.5beta (1.4.90) and XenServer-wss-1.1.1.xva)
Also See:
* XCP Release History
* XCP Roadmap
Category:XCP Category:Users
Archive/XCP Release History

= XCP Release History =
This is not to be confused with the XCP-XAPI Release History.
For more details on upcoming release, see: XCP_Roadmap
== XCP 1.5 (beta) ==
Beta released on: 7th February 2012
Compatible with: XenServer 6.0
Further details: http://xen.org/download/xcp/index_1.5.0.html
== XCP 1.1 ==
Released on: 12th October 2011
Compatible with: XenServer 5.6 FP2
Further details: http://xen.org/download/xcp/index_1.1.0.html
== XCP 1.0 ==
Released on: 22nd February 2011
Compatible with: XenServer 5.6 SP1
Further details: http://xen.org/download/xcp/index_1.0.0.html
== XCP 0.5 ==
Released on: 7th July 2010
Compatible with: XenServer 5.6
Further details: http://blog.xen.org/index.php/2010/07/07/xen-cloud-platform-0-5-released/
Category:XCP
Archive/XCP as virtual machine

XCP (as any Xen-based solution) allow you to run xen as virtual machine under xen. That allows to run XCP as virtual machine under XCP.
== Restrictions ==
# You need HVM-capable processor to do this (intel VT or AMD Pacifica)
# You will be not able to run any HVM domains in 'virtual' XCP (only PV guests), so no windows at all (no way to do this, completely)
# You will be not able to run XCP in XCP in XCP, because XCP can be ran only in HVM domains (see #2)
== Howto ==
# Create vm with template 'Other install media'
# Set up VM memory at least 800Mb (1GB+ will be better)
# Create a vdi (at least 10-11Gb), attach it to vm (create VBD) as device=0 to vm
# Create one or more networks
# download XCP iso image and put it to /opt/xensource/packages/iso (or creates new ISO images SR)
# create CD vbd as device=1 with bootable=true flag
# start vm and attach to it console via VNC or via xl console and domain number, you can see domain number in 'xl list' command. This operation which will attach you to serial console of virtual machine. Answer the installation questions.
# After installation remove CD vbd.
== possible troubles ==
Don't forget to change mac of network interface if you clonning installed XCP. Same MAC can make you management interface working unreliable and even not reply to ssh.
Category: XCP
Category:HowTo
Category:Users
Archive/Xen and XCP Tutorial

See: 
* Xen & XCP Tutorial (presentation by Patric F. Wilbur)
Content:
* Xen versus Xen Cloud Platform
* Xen and Xen Cloud Platform installation and configuration
* Exploring the concepts of XCP -- pools, hosts, storage, networks, and VMs
* Building a private cloud with XCP
Category:Xen
Category:XCP
Category:Users
Category:Beginners
Category:Tutorial
Category:RefToExternalArticle
Archived/2014 GSoC and OPW Round 8 Projects

We are pleased to announce that a total of 7 applicants are participating in OPW and GSoC this year. This page lists the accepted projects and provides a space for students / interns to link to their own pages.
Also see:
* Google Summer of Code 2014
* OPW Round 8 
= Accepted Projects =
== GSoC Projects ==
* Hi, I am working on this project.
== Xen related GSoC Projects by other mentoring Organizations ==
== OPW Round 8 ==
= Students and Interns =
This section allows our students and interns to link to their own areas on this wiki.
Category:Community
Category:Developers
Category:OPW
Category:OPW_Round8
Category:GSoC
Category:GSoC 2014
Category:Internships
Archived/Developer Meeting/Aug2015

== When and Where ? ==
August 19, 2015 from 10:00-13:30
Seneca, 4th floor of the Union Street Tower (for a map see here, bottom of page.)
Sheraton Seattle Hotel
1400 6th Ave
Seattle, WA
USA
Lunch and break will be provided
== Topics to Discuss at the Developer Meeting ==
=== Instructions ===
Please reply to this thread or by update this wiki page
=== Topics ===
* PVH Next Steps (Konrad)
* XSplice Design - Loose Ends and Decisions (Konrad)
* Xen 4.6 retrospective and concrete process improvements (see here)
* pv_ops delta follow up (Luis)
* containers, containers, containers! (Konrad)
== Confirmed Attendees ==
* Lars Kurth, Citrix 
* Dario Faggioli, Citrix
* Jürgen Groß, SUSE
* Luis R. Rodriguez, SUSE
* Jim Fehlig, SUSE
* Julien Grall, Citrix
* Andrew Cooper, Citrix
* Anil Madhavapeddy, Cambridge University
* Wei Liu, Citrix
* Stefano Stabellini, Citrix
* Meng Xu, University of Pennsylvania
Category:Project
Category:Community
Category:Events
Category:Archived
Archived/Developer Meeting/Aug2015-BoFs

== BoF's ==
Besides presentations, the developer summit will also provide an opportunity for in-depth interactive discussions (Birds of a Feather sessions), which allow deep interaction and collaboration between Xen Project developers and community members. These will happen in a second track alongside part of the main event. To submit a BoF, please send an email to community dot manager at xenproject dot org and chose a BoF slot, title and short description.
=== Instructions ===
Please reply to this thread or by update this wiki page
=== Topics ===
Please select a slot, add a headline and short description and your name in the table below. The Developer Summit schedule can be found here. Note that some BoF slots are 30 minutes and others are 50 minutes long
BoF 	Date/Time 	Title 	Description 	Chair / Host of BoF
BoF 1	Aug 17, 16:20 - 17:10	This has been allocated to a talk	This has been allocated to a talk 	This has been allocated to a talk
BoF 2	Aug 18, 11:30 - 12:20	xSplice 	Talk about the nitty gritty details about it. 	Konrad Rzeszutek Wilk
BoF 3	Aug 18, 14:00 - 14:50	PVH 	Talk about the nitty gritty details of it. 	Elena Ufimtseva
BoF 4	Aug 18, 14:50 - 15:20	pv yielding 	Talk about the nitty gritty details of it. pv yielding slides and notes available here 	Luis Rodriguez
BoF 5	Aug 18, 16:00 - 16:50	 	 	
BoF 6	Aug 18, 16:50 - 17:20	Xen 4.6 Retrospective surgery 	Come and raise/discuss issues and improvements we can make in the community. Also see here	Lars Kurth
BoF 7	Aug 18, 17:20 - 17:50	 	 	
Category:Events
Category:Archived