高手请进,怎么上传ISO到Xenserver?
文档上是这么说的:Copying ISOs to local storage
In XenServer 3.2 and earlier, ISOs could be copied directly to the control domain into the /opt/xensource/packages/
iso directory. In XenServer 5.0.0 hosts, this directory is reserved for use of the built-in ISO images, and is not
intended for general use. This directory is considered to be identical across hosts in a resource pool, and CD images
may fail to attach if the contents are modified.
To use local ISO storage from the control domain
1. Log onto the host console.
2. Create a directory to copy the local ISOs into:
mkdir -p /var/opt/xen/iso_import
3. Create an ISO storage repository by:
xe sr-create name-label= type=iso \
device-config:location=/var/opt/xen/iso_import/ \
device-config:legacy_mode=true content-type=iso
4. Copy the ISO images into this directory, taking care not to fill up the control domain filesystem.
5. Verify that the ISO image is available for use by xe vdi-list, or checking the CD drop-down box in XenCenter.
第三步的命令我没看明白,谁解释一下??是什么意思?我执行到这步一直出错。谢谢 最简单的方式就是把iso放到网络上一个共享的文件夹里,在xenserver的storage里添加成iso library就可以了。 问题解决,手册的命令多了一个参数正确的为
xe sr-create name-label= type=iso \
device-config:location=/var/opt/xen/iso_import/ \
device-config:legacy_mode=true content-type=iso 官方的做法是做个网络存储! 我就是在xen client的机器上设了一个共享目录,然后用xenclient在xenserver添加iso cifs存储,里面的iso镜像直接使用就好了 学习了! 1)#mkdir /iso
2)#xe sr-create name-label=iso type=iso device-config:location=/iso device-config:legacy_mode=true content-type=iso
3)#xe-toolstack-restart 存储上划块NAS,ISO都放到里面,XenCenter上添加Storage。
页:
[1]