Red Hat ENTERPRISE LINUX 5 - VIRTUALIZATION GUIDE Manual page 240

Hide thumbs Also See for ENTERPRISE LINUX 5 - VIRTUALIZATION GUIDE:
Table of Contents

Advertisement

Chapter 19. Xen live migration
bridge name
bridge id
xenbr1
8000.feffffffffff
vif0.1
Verify the relocation parameters are configured on both hosts:
[et-virt07 ~]# grep xend-relocation -/etc/xen/xend-config.sxp -|grep --v -'#'
(xend-relocation-server yes)
(xend-relocation-port 8002)
(xend-relocation-address -'')
(xend-relocation-hosts-allow -'')
[et-virt08 ~]# grep xend-relocation -/etc/xen/xend-config.sxp -|grep --v -'#'
(xend-relocation-server yes)
(xend-relocation-port 8002)
(xend-relocation-address -'')
(xend-relocation-hosts-allow -'')
Make sure the relocation server has started and is listening on the dedicated port for Xen migrations
(8002):
[et-virt07 ~]# lsof --i -:8002
COMMAND
PID
USER
python 3445 root 14u IPv4 10223 TCP *:teradataordbms (LISTEN)
[et-virt08 ~]# lsof --i -:8002
COMMAND
PID USER
FD
python 3252 root 14u IPv4 10901 TCP *:teradataordbms (LISTEN)
That the default /var/lib/libvirt/images directory is available and mounted with networked
storage on both hosts. Shared, networked storage is required for migrations.
[et-virt08 ~]# df -/var/lib/libvirt/images
Filesystem
et-virt07:/var/lib/libvirt/images
images
[et-virt08 ~]# file -/var/lib/libvirt/images/testvm1.dsk
/var/lib/libvirt/images/testvm1.dsk: x86 boot sector; partition 1: ID=0x83,
active, starthead 1, startsector 63, 208782 sectors; partition 2: ID=0x8e,
starthead 0, startsector 208845, 10265535 sectors, code offset 0x48
[et-virt08 ~]# touch -/var/lib/libvirt/images/foo
[et-virt08 ~]# rm --f -/var/lib/libvirt/images/foo
Verify saving and restoring the guest
Start the virtual machine (if the virtual machine is not on):
[et-virt07 ~]# virsh list
Id Name
----------------------------------
Domain-0
[et-virt07 ~]# virsh start testvm1
226
STP enabled
no
FD
TYPE
DEVICE SIZE NODE NAME
TYPE DEVICE SIZE NODE NAME
1K-blocks
Used Available Use% Mounted on
70562400
State
running
interfaces
peth1
2379712
64598336
4% -/var/lib/libvirt/

Advertisement

Table of Contents
loading

Table of Contents