$ hg clone -r 18430 http://xenbits.xensource.com/xen-3.3-testing.hg
$ hg clone -r 707 http://xenbits.xensource.com/linux-2.6.18-xen.hg
$ wget http://www.osrg.net/kemari/download/kemari-v1-xen-20081120.patch $ wget http://www.osrg.net/kemari/download/kemari-v1-linux-20081120.patch
$ cd xen-3.3-testing.hg $ patch -p1 < /where/you/put/patch/kemari-v1-xen-20081120.patch $ cd .. $ cd linux-2.6.18-xen.hg $ patch -p1 < /where/you/put/patch/kemari-v1-linux-20081120.patch $ cd ..
$ cd xen-3.3-testing.hg $ make dist # sudo make install
# xm migrate <domid> <destination hostname> --kemari & e.g.) # xm migrate 1 host01.example.jp --kemari &Since the command line will wait until the domain die, you need to execute 'xm migrate ... --kemari' in the background, or using GNU screen.
# xentopYou will see status change from ----p- to --b--- or -----r.
destination# ps ax| grep xc_kemari_restore
# kill_source_machine.sh destination# kill -HUP <PID of xc_kemari_restore>