User Tools

Site Tools


virtualization:xenserver:xenserver

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
virtualization:xenserver:xenserver [2015/11/18 21:46]
gcooper
virtualization:xenserver:xenserver [2022/03/29 12:00] (current)
gcooper
Line 1: Line 1:
 ====== Citrix XenServer ====== ====== Citrix XenServer ======
 +
 +See also **[[virtualization:xenserver:xenserver_updates|Xenserver Updates]]**
  
 See also **[[http://www.sonoracomm.com/wiki/doku.php?do=search&id=xenserver|Other XenServer Pages in this Wiki]]** See also **[[http://www.sonoracomm.com/wiki/doku.php?do=search&id=xenserver|Other XenServer Pages in this Wiki]]**
- 
-:!: **Be sure to disable CPU power management (C-States) or stability issues may occur!** 
- 
-See also **[[virtualization:xenserver:xenserver_pwr_mgmt|Citrix XenServer and Power Management]]** 
- 
-See also **[[virtualization:openxenmanager|OpenXenManager]]** 
  
 http://www.citrix.com/xenserver http://www.citrix.com/xenserver
- 
-http://www.xen.org/products/cloudxen.html 
  
   * XenServer is a bare-metal (type 1) hypervisor, available for free   * XenServer is a bare-metal (type 1) hypervisor, available for free
Line 21: Line 15:
 ===== Official Citrix Resources ===== ===== Official Citrix Resources =====
  
-Quick Installation Guide:+**Quick Installation Guide**http://www.citrix.com/site/resources/dynamic/salesdocs/XenServer_Quick_Installation_Guide.pdf
  
-http://www.citrix.com/site/resources/dynamic/salesdocs/XenServer_Quick_Installation_Guide.pdf+**Other Docs**: http://www.citrix.com/xenserver_additionalresources_free
  
-Other documentation: +**P2V**https://www.citrix.com/go/products/xenserver/xenserver-xenconvert-free.html
- +
-http://www.citrix.com/xenserver_additionalresources_free +
- +
-http://www.citrix.com/go/products/xenserver/xenserver-xenconvert-free.html+
  
 ===== Updates ===== ===== Updates =====
  
-:!: **As of XenServer 6.5, you can now install updates using XenCenter, even in the free version.** +See also **[[virtualization:xenserver:xenserver_updates|Xenserver Updates]]**
- +
-  * Version upgrades are done with the Rolling Pool Upgrade tool within XenCenter +
-  * Command line updates are more reliable and faster +
-  * Updates to the pool master are applied pool-wide +
-    * Be sure to reboot hosts if needed after updates, again starting with the pool master +
- +
-**Download Updates**: http://xenserver.org/overview-xenserver-open-source-virtualization/download.html +
- +
-:!: The XenServer Dom0 disk space is limited and easy to fill up.  You should clean out any unnecessary files before, during and after updates to keep from filling the disk.  For example, on a large update like a Service Pack, you might want to just install the Service Pack, delete any unneeded files, then proceed with any other updates. +
- +
-<file> +
-# XenServer 6.5 - limiting bandwidth to 500KBps +
-wget --limit-rate=500k http://downloadns.citrix.com.edgesuite.net/10340/XS65ESP1.zip +
- +
-# XenServer 6.5 SP1 - limiting bandwidth to 500KBps +
-wget --limit-rate=500k http://downloadns.citrix.com.edgesuite.net/10566/XS65ESP1002.zip +
-wget --limit-rate=500k http://downloadns.citrix.com.edgesuite.net/10597/XS65ESP1003.zip +
-wget --limit-rate=500k http://downloadns.citrix.com.edgesuite.net/10663/XS65ESP1004.zip +
-# reboot +
-wget --limit-rate=500k http://support.citrix.com/filedownload/CTX201514/XS65ESP1005.zip +
- +
-for x in XS*.zip; do unzip $x; done +
- +
-for x in *.xsupdate; do xe patch-upload file-name=$x; done +
-</file> +
- +
-Then install the updates one at a time, in order, using the UUID's printed by the last command: +
- +
-<file> +
-xe patch-pool-apply uuid=<uuid-of-update> +
-</file> +
- +
-:!: You can use ''xe patch-list | more'' to show more patch details such as UUIDs, names and reboot recommendations. +
- +
-Migrate any running VMs off of the Pool Master: +
- +
-<file> +
-xe vm-migrate vm=<vm-name> host=<pool-member-host> +
-</file> +
- +
-:!: If the pool is HA enabled, you will have to disable HA, reboot the pool master, then reboot the pool member servers one by one after the pool master comes back up.  Finally, re-enable HA. +
- +
-:!: Don't put the Pool Master in Maintenance Mode unless you want to designate another member server as Pool Master. +
- +
-<file> +
-xe pool-ha-disable +
-xe pool-designate-new-master host-uuid=<UUID> +
-xe pool-ha-enable +
-</file> +
-  +
-Then restart XAPI or reboot the XenServer host as necessary: +
- +
-<file> +
-xe-toolstack-restart +
-</file> +
- +
-or +
- +
-<file> +
-reboot +
-</file> +
- +
-==== Multiple XenServers ==== +
- +
-For a single XenServer, the above commands would suffice when run from the commmand line of the XenServer. +
- +
-To update multiple XenServers, you would download the updates once, then push them to multiple servers by running additional commands specifying server/user/password on the 'xe patch-upload' and 'xe patch-pool-apply' commands. +
- +
-==== Patch Cleanup ==== +
- +
-First, we delete all the downloaded stuff (everything in ''/root''): +
- +
-<file> +
-cd ~ +
-rm -rf * +
-</file> +
- +
-Then, to clean patches pool-wide we run: +
- +
-<file> +
-for i in `xe patch-list --minimal|tr "," " "`;do xe patch-pool-clean uuid=$i;done +
-</file>+
  
 ===== PV vs. HVM ===== ===== PV vs. HVM =====
Line 270: Line 178:
 http://distro.ibiblio.org/pub/linux/distributions/smeserver/releases/testing/8.0beta6/smeos/i386/ http://distro.ibiblio.org/pub/linux/distributions/smeserver/releases/testing/8.0beta6/smeos/i386/
  
-===== Auto Start VMs =====+===== AutoStart VMs =====
  
 http://burm.net/2012/01/28/xenserver-tips-and-tricks-auto-start-your-vm/ http://burm.net/2012/01/28/xenserver-tips-and-tricks-auto-start-your-vm/
Line 340: Line 248:
 ===== Install XenServer Tools ===== ===== Install XenServer Tools =====
  
-:!Don't bother installing the Tools on a Linux guest if you don't have a Xen kernel. +See **[[virtualization:xenserver:xenserver_tools|XenServer Client Issues]]**
- +
-<file> +
-uname -a +
-</file> +
- +
-In XenCenter, select xs-tools.iso for the DVD drive. +
- +
-==== Ubuntu/Debian ==== +
- +
-<file> +
-mount /dev/xvdd /mnt +
- +
-/mnt/Linux/install.sh +
- +
-wget -q http://updates.vmd.citrix.com/XenServer/5.6.0/GPG-KEY -O- | apt-key add - +
- +
-/etc/init.d/xe-linux-distribution start +
-</file> +
- +
-==== SME Server 8 ==== +
- +
-<file> +
-mount /dev/xvdd /mnt +
- +
-mv /etc/redhat-release /etc/redhat-release-sme +
-echo "CentOS release 5 (Final)" > /etc/redhat-release +
- +
-/mnt/Linux/install.sh +
- +
-/etc/init.d/xe-linux-distribution start +
- +
-ln -s /etc/rc.d/init.d/xe-linux-distribution /etc/rc7.d/S26xe-linux-distribution +
-</file>+
  
 ===== Change XenServer Hostname ===== ===== Change XenServer Hostname =====
Line 474: Line 349:
 ===== Xenserver Backup ===== ===== Xenserver Backup =====
  
-See [[XenServer Backup]].+See also **[[computing:backup:xenserver_backup|XenServer Backup]]** 
 + 
 +See also **[[virtualization:xenserver:xenserver_backup_cli|XenServer CLI Backup]]** 
 + 
 +See also **[[virtualization:xenserver:xenserver_backup_system|Free XenServer Backup System]]**
  
 ===== AoE Storage ===== ===== AoE Storage =====
Line 488: Line 367:
 http://forums.citrix.com/message.jspa?messageID=1367138 http://forums.citrix.com/message.jspa?messageID=1367138
  
-* Bonded NICs +  * Bonded NICs 
-* Separate network paths for +  * Separate network paths for 
-* VMs +  * VMs 
-* Storage +  * Storage 
-* Management +  * Management 
-* 6 NICs per server! +  * 6 NICs per server! 
-* SAN/[[NAS]] storage+  * SAN/[[NAS]] storage
  
 ===== Firewall ===== ===== Firewall =====
Line 677: Line 556:
 </file> </file>
  
-Then manage:+Then manage (adjusting for your network):
  
 <file> <file>
Line 695: Line 574:
 ===== Change Pool Master ===== ===== Change Pool Master =====
  
-http://www.conigliaro.org/2009/02/04/change-pool-master-on-citrix-xenserver/+http://www.bl-nk.net/2014/03/change-xenserver-pool-master/
  
virtualization/xenserver/xenserver.1447908388.txt.gz · Last modified: 2015/11/18 21:46 by gcooper