图解XenServer的SR,VDI,VBD之间的关系
2013-06-26 17:03
357 查看
今天在xenserver5.6下给一Ubuntu VM添加virtual disk时提示不能添加,如下图
查了下文档原来是因为每个VM都有disk数量的限制The current version of the XenServer product family has the following general limitations on virtual devicesfor VMs. Note that specific guest operating systems may have lower limits for certain features. Theselimitations are noted in the individual guest installation section.
*A maximum of 8 VCPUs are supported by XenCenter.*except for SLES 10 SP1 and RHEL 4.x, which support 3. RHEL 5.0/5.1/5.2 support 3, but can support 7 when the kernel is patched with the Citrix Tools for Virtual Machines. The same applies for Oracle andCentOS 5.0/5.1/5.2google了下,发现虽然不能通过xencenter添加,但是xenserver也支持CLI命令行的方式来管理。在使用xe命令添加vdisk时,首先需要理解xenserver下的SR,VDI,VBD这三个概念。如下图
存储库 (SR)虚拟磁盘映像 (VDI)物理块设备 (PBD)虚拟块设备 (VBD)下面就以图形来说明这些术语之间的关系。1、SR定义了一个名为存储库 (SR) 的容器来描述存储虚拟磁盘映像 (VDI) 的特定存储目标。SR 具有对本地连接的 IDE、SATA、SCSI 和 SAS驱动器和远程连接的 iSCSI、NFS、SAS 和光纤通道的内置支持,因而非常灵活。利用xe命令看到如下信息,部分显示内容被省略[root@xs-10 ~]# xe sr-list[root@xs-10 ~]# xe sr-list name-label=xenserver
uuid ( RO) : 0554628e-448d-fbdf-4544-04cc4f390529
name-label ( RW): xenserver
name-description ( RW): iSCSI SR [172.20.10.107 (iqn.2007-10.uit.com:techtest.xenserver)]
host ( RO): xs-10.8
type ( RO): lvmoiscsi
content-type ( RO):uuid ( RO) : c2b41896-467e-b936-6836-754eb22d36de name-label ( RW): vmware vsphere name-description ( RW): CIFS ISO Library [\\172.20.1.249\software\ISO\vmware vsphere] host ( RO): xs-10.8 type ( RO): iso content-type ( RO): isouuid ( RO) : 4188b1ee-76bc-10ed-dc15-6c7a236ce9aa name-label ( RW): Ubuntu name-description ( RW): CIFS ISO Library [\\172.20.1.249\software\ISO\linux\Ubuntu] host ( RO): xs-10.8 type ( RO): iso content-type ( RO): iso
结合图形,不难理解,所谓的SR就是一个存储仓库,里面存储了很多的ISO文件,你可以利用这些ISO文件来存储东西,如vmware vsphere、ubuntu这两个SR。又或者当做存储虚拟机文件的仓库,例如xenserver这个SR。下面接着看SR下一层的对象,叫做VDI.
查了下文档原来是因为每个VM都有disk数量的限制The current version of the XenServer product family has the following general limitations on virtual devicesfor VMs. Note that specific guest operating systems may have lower limits for certain features. Theselimitations are noted in the individual guest installation section.
*A maximum of 8 VCPUs are supported by XenCenter.*except for SLES 10 SP1 and RHEL 4.x, which support 3. RHEL 5.0/5.1/5.2 support 3, but can support 7 when the kernel is patched with the Citrix Tools for Virtual Machines. The same applies for Oracle andCentOS 5.0/5.1/5.2google了下,发现虽然不能通过xencenter添加,但是xenserver也支持CLI命令行的方式来管理。在使用xe命令添加vdisk时,首先需要理解xenserver下的SR,VDI,VBD这三个概念。如下图
存储库 (SR)虚拟磁盘映像 (VDI)物理块设备 (PBD)虚拟块设备 (VBD)下面就以图形来说明这些术语之间的关系。1、SR定义了一个名为存储库 (SR) 的容器来描述存储虚拟磁盘映像 (VDI) 的特定存储目标。SR 具有对本地连接的 IDE、SATA、SCSI 和 SAS驱动器和远程连接的 iSCSI、NFS、SAS 和光纤通道的内置支持,因而非常灵活。利用xe命令看到如下信息,部分显示内容被省略[root@xs-10 ~]# xe sr-list[root@xs-10 ~]# xe sr-list name-label=xenserver
uuid ( RO) : 0554628e-448d-fbdf-4544-04cc4f390529
name-label ( RW): xenserver
name-description ( RW): iSCSI SR [172.20.10.107 (iqn.2007-10.uit.com:techtest.xenserver)]
host ( RO): xs-10.8
type ( RO): lvmoiscsi
content-type ( RO):uuid ( RO) : c2b41896-467e-b936-6836-754eb22d36de name-label ( RW): vmware vsphere name-description ( RW): CIFS ISO Library [\\172.20.1.249\software\ISO\vmware vsphere] host ( RO): xs-10.8 type ( RO): iso content-type ( RO): isouuid ( RO) : 4188b1ee-76bc-10ed-dc15-6c7a236ce9aa name-label ( RW): Ubuntu name-description ( RW): CIFS ISO Library [\\172.20.1.249\software\ISO\linux\Ubuntu] host ( RO): xs-10.8 type ( RO): iso content-type ( RO): iso
结合图形,不难理解,所谓的SR就是一个存储仓库,里面存储了很多的ISO文件,你可以利用这些ISO文件来存储东西,如vmware vsphere、ubuntu这两个SR。又或者当做存储虚拟机文件的仓库,例如xenserver这个SR。下面接着看SR下一层的对象,叫做VDI.
相关文章推荐
- 图解xenserver的SR,VDI,VBD之间的关系
- XenServer 存储(sr-pdb-vdb-vdi)之间的关系图
- xenserver下的SR,VDI,VBD
- Android中的Thread,MessageQueue,Looper,Message,Handler之间的关系图解
- 图解cgroup架构中cgroup与css之间的多对多的关系
- list接口和set接口下常用的几种list~set集合的之间关系和它们各自特征的图解
- [图解法结合源码]理解、记忆Handler、Looper、MessageQueue之间的关系
- 类于对象之间的关系图解
- 图解JavaWeb与tomact及Servlet之间的配置及调用关系(;JavaWeb入门)
- java-ssh:逻辑层 控制层 数据层 之间类的关系图解
- java类型,hibernate映射类型以及SQL类型之间的对应关系
- Activity, Service,Task, Process and Thread之间的关系
- spring framework体系结构及内部各模块jar之间的maven依赖关系
- 关于mongodb ,redis,memcache之间见不乱理还乱的关系和作用
- ASCII,Unicode,UTF-8,GB2312编码之间的关系
- Eclipse的设置Preferences,与项目Project的设置Properties,以及它们之间的关系
- Oracle - 数据库的实例、表空间、用户、表之间关系
- valuestack,stackContext,ActionContext.之间的关系以及action的数据在页面中取得的方法
- PMI九大知识领域和五个项目管理过程之间的关系
- html与php之间的关系