l 在SUSE Linux Enterprise Server 10 SP2 (x86_64)系统上,配置xen的VMs随DOM 0自动启动
转载:王××(zbwangjian@×××.cn)
1. Change to the /etc/xen/vm directory
#cd /etc/xen/vm
2. This directory will contain multiple files. For instance, if two virtual machines were installed with the names of vm1 and vm2, then the following files would be in the directory:
vm1, vm1.xml, vm2, vm2.xml
3. For the virtual machines that are to be auto-started after system reboot of Dom 0 (the main OS, or the host OS), create a soft link to the non-xml files to the /etc/xen/auto directory. Under SLES 10 SP2 the /etc/xen/auto directory does not exist. In order to use this method, you will need to create the directory (mkdir -p /etc/xen/auto)
#cd /etc/xen/auto/
#ln -s /etc/xen/vm/vm1 vm1
4. In the case above (because only vm1 was copied, and not vm2), only vm1 will auto start after a system reboot of Dom 0.