作者:爱-雨轩_627 | 来源:互联网 | 2014-05-27 20:19
新安装的5台xen虚拟机,为了方便宿主机重启或开机xen机器能自动启动,我们做了如下配置:进入cd/etc/xen/auto#lslrwxrwxrwx1rootroot20Oct1218:07prdquotecompete01-../prdquotecompete01lrwxrwxrwx1rootroot13Oct80
新安装的5台xen虚拟机,为了方便宿主机重启或开机xen机器能自动启动,我们做了如下配置:
进入cd /etc/xen/auto
#ls
lrwxrwxrwx 1 root root 20 Oct 12 18:07 prdquotecompete01 ->
../prdquotecompete01
lrwxrwxrwx 1 root root 13 Oct 8 01:14 prdresin01 ->
../prdresin01
lrwxrwxrwx 1 root root 13 Oct 8 01:15 prdresin02 ->
../prdresin02
lrwxrwxrwx 1 root root 11 Oct 8 01:15 prdsta01 ->
../prdsta01
lrwxrwxrwx 1 root root 11 Oct 8 01:15 prdsta02 ->
../prdsta02
只需在auto目录下为每个xen虚拟机新建一个连接到/etc/xen的对应的配置文档就ok
如: ln -s /etc/xen/prdresin01
ln -s ../prdresin01 prdresin01
ln -s ../prdresin02 prdresin02
ln -s ../prdsta01 prdsta01
ln -s ../prdsta02 prdsta02
ln -s ../prdquotecompete01 prdquotecompete01