Citrix XenServer Install Guide
Citrix XenServer Install Guide
Help
XenServerRelease Notes
XenServerInstallation Guide
XenServerAdm inistrator'sGuide
XenAPISpecification
XenServer
Hardw are Com patibility List
How to SetUp a SerialCable
forTroubleshooting on XenServer
Readm e First
Netw ork Boot
Installations
Upgrading XenServer
Perform clean installation
Upgrade
Upgrading XenServer
Restore
XenServerAdm inistrator'sGuide
strongly
XenServerand IntelliCache
not the fully qualified
dom ain nam e (FQDN)
Installing XenServeron Sm allDevices
XenServerAdm inistrator'sGuide
disable-gpt
disable-
gpt
*
includes root, backup, local SR (if any), boot, log, and SWAP
†
includes root, backup, and local SR (if any)
‡
includes root, backup, local SR (if any), and boot
client_install XenCenterSetup.exe
HKEY_LOCAL_MACHINE\Software
\Citrix\XenCenter
AllowCredentialSave true false
any
autom atically
XenServerAdm inistrator's
Guide
device-config-server device-
config-serverpath shared
xe pool-param-set uuid=<pool_uuid> \
default-SR=<storage_repository_uuid>
xe-set-iscsi-iqn <iscsi_iqn>
unique
xe sr-create name-label=<name_for_sr> \
content-type=user device-config-target=<iscsi_server_ip_address> \
device-config-targetIQN=<iscsi_target_iqn> \
device-config-localIQN=<iscsi_local_iqn> \
type=lvmoiscsi shared=true device-config-LUNid=<lun_id>
device-config-target
device-config-LUNid shared
true
xe host-disable host=<hostname>
localsr=`xe sr-list type=ext host=<hostname> params=uuid --minimal`
xe host-enable-local-storage-caching host=<hostname> sr-uuid=$localsr
xe host-enable host=<hostname>
reset true
persist true
on-boot=persist
on-
boot=reset allow-caching=true
<uuid>.vhdcache
/var/run/sr-mount/<sr-uuid>
xe sr-list params=local-cache-sr,uuid,name-label
upgrade
not
multipathd
BootFrom SAN Environm ents
Boot From SAN
Environm ents
XenServerAdm inistrator'sGuide
XenServer Adm inistrator's Guide
em ergency
m ode
em pty
uuid
xe vbd-eject uuid=<uuid>
xe host-disable <host-selector>=<host_selector_value>
xe patch-pool-apply uuid=<UUID_of_file>
hosts
.xsupdate
hosts
/opt/xensource/installer/report.py
support.tar.bz2
not
multipath
multipath
device_mapper_multipath=yes
default xenserver
label xenserver
kernel mboot.c32
append /tftpboot/xenserver/xen.gz dom0_max_vcpus=1-2 dom0_mem=1024M,max:1024M com1=115200,8n1 \
console=com1,vga --- /tftpboot/xenserver/vmlinuz \
xencons=hvc console=hvc0 console=tty0 \
device_mapper_multipath=yes \
install --- /tftpboot/xenserver/install.img
XenServer
Adm inistrator'sGuide
*
Software-boot-from-iSCSI has been tested in Legacy BIOS and UEFI boot mode using Cisco UCS vNICs and Power Vault, NetApp and
EqualLogic arrays. Other configurations may work, however, they have not been validated.
boot: menu.c32
--- /install.img
label XenServer
kernel mboot.c32
append XS/xen.gz dom0_max_vcpus=2 dom0_mem=1024M,max:1024M
com1=115200,8n1 console=com1,vga --- XS/vmlinuz xencons=hvc console=tty0
console=hvc0 use_ibft --- XS/install.img
label XenServer
kernel mboot.c32
append XS/xen.gz dom0_max_vcpus=2 dom0_mem=1024M,max:1024M
com1=115200,8n1 console=com1,vga --- XS/vmlinuz xencons=hvc console=tty0
console=hvc0 use_ibft device_mapper_multipath=enabled --- XS/install.img
before
/tftpboot xenserver
mboot.c32 pxelinux.0 /usr/lib/syslinux /
tftboot
mboot.c32 pxelinux.0
install.img vmlinuz
xen.gz /boot /tftpboot/xenserver
/tftboot pxelinux.cfg
pxelinux.cfg default
tty0
default xenserver
label xenserver
kernel mboot.c32
append /tftpboot/xenserver/xen.gz dom0_max_vcpus=1-2 dom0_mem=1024M,max:1024M com1=115200,8n1
console=com1,vga --- /tftpboot/xenserver/vmlinuz \
xencons=hvc console=hvc0 console=tty0 \
--- /tftpboot/xenserver/install.img
answerfile_device=ethX answerfile_device=MAC
default xenserver-auto
label xenserver-auto
kernel mboot.c32
append /tftpboot/xenserver/xen.gz dom0_max_vcpus=1-2 dom0_mem=1024M,max:1024M com1=115200,8
console=com1,vga --- /tftpboot/xenserver/vmlinuz \
xencons=hvc console=hvc0 console=tty0 \
answerfile=http://pxehost.example.com/answerfile \
install --- /tftpboot/xenserver/install.img
/tftpboot EFI/xenserver
/EFI/xenserver/grubx64.efi
grub.cfg
answerfile_device=ethX answerfile_device=MAC
default xenserver-auto
label xenserver-auto
kernel mboot.c32
append /tftpboot/EFI/xenserver/xen.gz dom0_mem=1024M,max:1024M watchdog dom0_max_vcpus=4 co
console=com1,vga --- /tftpboot/EFI/xenserver/vmlinuz \
console=hvc0 console=tty0 \
answerfile=http://pxehost.example.com/answerfile \
install --- /tftpboot/EFI/xenserver/install.img
.treeinfo
XS-REPOSITORY-LIST
<?xml version="1.0"?>
<installation srtype="ext">
<primary-disk>sda</primary-disk>
<guest-disk>sdb</guest-disk>
<guest-disk>sdc</guest-disk>
<keymap>us</keymap>
<root-password>mypassword</root-password>
<source type="url">http://pxehost.example.com/XenServer/</source>
<post-install-script type="url">
http://pxehost.example.com/myscripts/post-install-script
</post-install-script>
<admin-interface name="eth0" proto="dhcp" />
<timezone>Europe/London</timezone>
</installation>
installation
srtype ext
XenServerand IntelliCache
SelectPrim aryDisk
yes no
yes
no
us
hash plaintext
<root-password type="hash">hashedpassword</root-password>
<source type="url">
http://server/packages
</source>
<source type="local" />
<source type="nfs">
server:/packages
</source>
<driver-source type="url">
http://server/drivers
</driver-source>
<driver-source type="local" />
<driver-source type="nfs">
server:/drivers
</driver-source>
filesystem -populated installation-start installation-
com plete
filesystem -populated
installation-com plete
<script stage="filesystem-populated"
type="url">
http://prehost.example.com/post-install-script
</script>
<script stage="installation-start"
type="local">
file:///scripts/run.sh
</script>
<script stage="installation-complete"
type="nfs">
server:/scripts/installation-pass-fail-script
</script>
file://
dhcp static
eth0
required
upgrade existing-
installation prim ary-disk guest-disk
<?xml version="1.0"?>
<installation mode="upgrade">
<existing-installation>sda</existing-installation>
<source type="url">http://pxehost.example.com/XenServer/</source>
<post-install-script type="url">
http://pxehost.example.com/myscripts/post-install-script
</post-install-script>
</installation>