设为首页 收藏本站
查看: 1197|回复: 0

[经验分享] Ways to introduce secure multi-tenancy to VMware/vCenter clusters via open sourc

[复制链接]
发表于 2015-11-5 14:36:06 | 显示全部楼层 |阅读模式
  http://www.opencontrail.org/integrating-opencontrail-with-vcenteresxi-virtualization-platform/
  

Note: This blog is co-authored by Sachchidanand Vaidya and AniketDaptari from Juniper Networks.
Introduction
This document describes the different options to integrate OpenContrail with vCenter/ESXi virtualization platform. Further, it also describes the OpenContrail + vCenter integration in detail.
The following section describes four alternatives to integrate OpenContrail with vCenter/ESXi.
Option 1
This option provides ESXi as a supported hypervisor under OpenStack. For those users who have certified ESXi workloads, don’t want to pay for vCenter licenses and want to work with open systems, Option 1 provides a migration path to OpenStack with OpenContrailproviding the full-featured cloud solution. OpenContrail will support the ESXi nova driver for this option.
DSC0000.png
Figure 1 ESXi as Compute with OpenContrail
Jakub Pavlik from tcpCloud performed some tests using this option and has blogged his experience here.
Option 2
OpenContrail provides an open network virtualization solution in avCenter only environment. More details about this option are described in later sectionsof the document. This Option also allows customers to federate the vCenter Cluster with an OpenStack cloud to facilitate “Cap and Grow”.
DSC0001.png
Figure 2 OpenContrail and vCenter only Integration
Option 3
Under this option, the vCenter cluster is represented as a compute node under OpenStack. This way, OpenStack can be used to orchestrate workloads for both KVM and ESXi hypervisors. The workloads on ESXi hosts will be scheduled by vCenter.
DSC0002.png
Figure 3 vCenter as a compute with OpenContrail
Option 4
Under this option, customers can continue to use their existing VMware deployments using VDS VLANs and connect them to the growing OpenStack clouds. OpenContrail will contrail OVSDB enabled ToR switches which will perform translation of VLANs in VMware clustersto VXLAN tunnels in OpenStack clouds and vice versa.
DSC0003.png
Figure 4 vCenter and OpenStack with OpenContrail
OpenContrail and vCenter Integration (Option 2)
OpenContrail system consists of two main components:OpenContrail Controller andOpenContrail vRouter.The OpenContrail Controller is a logically centralized but physically distributed controller responsible for providing the configuration, control, and analytics functions of the virtualized network. The OpenContrail vRouter implements the distributed forwardingplane.
Three main components involved in an OpenContrail + vCenter solution are:

  • OpenContrail Controller
  • OpenContrail vRouter VM
  • vCenter Server
DSC0004.png
Figure 5 Detailed View (OpenContrail + vCenter Integration)
OpenContrailController (OpenContrail vCenter Plugin)
The OpenContrail vCenter Plugin performs two main functions:

  • When a Port Group is created using vCenter and it is associated with an IP-pool, the vCenter plugin creates corresponding virtual-network on OpenContrail Controller. When a Virtual Machine is spawned using vCenter with the VM’s network adapter in a PortGroup,the plugin creates corresponding Virtual Machine object and VM interface object on OpenContrail. This is analogous to the OpenContrail Neutron plugin in OpenStack clouds.
  • The plugin also informs the vRouter agent about the VM interface AddPort event. The vRouter agent pulls the relevant routing table information from the OpenContrail Control node in response to the AddPort event. This is analogous to the nova vif driver in OpenStackclouds. Finally, the agent can respond to the DHCP requests from the tenant VMs and the vRouter can perform L3/L2 functions.
Thus, the plugin communicates with three entities – vCenter Server, OpenContrail API Server, and the vRouter agent.
OpenContrail vRouter VM
OpenContrail vRouter VM has the vRouter kernel module, which implements the distributed forwarding plane. As shown in the Figure 5, the OpenContrail vRouter VM has two interfaces. One interface is part of the Fabric PortGroup (PG) and serves as the interfacetowards the IP Fabric. The other interface is part of the Trunk PG (on the vDS). The Trunk PG sees tenant traffic from all PGs.
In the VMware vCenter environment, the OpenContrail vRouter VM will be present on every ESXi host.
Features:
The following table lists the mapping between vCenter and OpenContrail entities.
vCenterOpenContrailPort Group (PG)Virtual NetworkIP Pool & RangeSubnet & Allocation PoolIntegrating OpenContrail with a VMware cluster brings an open source implementation of fully distributed network policy, DHCP and DNS, floating IP, security groups and service chaining to the VMware cluster.
Thus, a VMware cluster gets transformed into an open, full featured, secure, multi-tenant cloud solution.
This YouTubevideo contains a demonstration of the integrated solution.
References

  • https://techwiki.juniper.net/Documentation/Contrail/Contrail_Controller_Getting_Started_Guide/202Installation/Configuring_Contrail_on_VMware_ESXi
  • http://www.vmware.com/files/pdf/virtual_networking_concepts.pdf
  • http://www.vmware.com/files/pdf/techpaper/vsphere-distributed-switch-best-practices.pdf
  • https://pubs.vmware.com/vsphere-50/topic/com.vmware.ICbase/PDF/vsphere-esxi-vcenter-server-50-basics-guide.pdf
  • http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1010691
  • http://pubs.vmware.com/vsphere-51/topic/com.vmware.vsphere.networking.doc/GUID-A9287D46-FDE0-4D64-9348-3905FEAC7FAE.html

运维网声明 1、欢迎大家加入本站运维交流群:群②:261659950 群⑤:202807635 群⑦870801961 群⑧679858003
2、本站所有主题由该帖子作者发表,该帖子作者与运维网享有帖子相关版权
3、所有作品的著作权均归原作者享有,请您和我们一样尊重他人的著作权等合法权益。如果您对作品感到满意,请购买正版
4、禁止制作、复制、发布和传播具有反动、淫秽、色情、暴力、凶杀等内容的信息,一经发现立即删除。若您因此触犯法律,一切后果自负,我们对此不承担任何责任
5、所有资源均系网友上传或者通过网络收集,我们仅提供一个展示、介绍、观摩学习的平台,我们不对其内容的准确性、可靠性、正当性、安全性、合法性等负责,亦不承担任何法律责任
6、所有作品仅供您个人学习、研究或欣赏,不得用于商业或者其他用途,否则,一切后果均由您自己承担,我们对此不承担任何法律责任
7、如涉及侵犯版权等问题,请您及时通知我们,我们将立即采取措施予以解决
8、联系人Email:admin@iyunv.com 网址:www.yunweiku.com

所有资源均系网友上传或者通过网络收集,我们仅提供一个展示、介绍、观摩学习的平台,我们不对其承担任何法律责任,如涉及侵犯版权等问题,请您及时通知我们,我们将立即处理,联系人Email:kefu@iyunv.com,QQ:1061981298 本贴地址:https://www.yunweiku.com/thread-135512-1-1.html 上篇帖子: Juniper Network Connect 挂起在 “Establishing Secure Session” 下篇帖子: junos白皮书第二章operating juniper networks routers in enterprise
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

扫码加入运维网微信交流群X

扫码加入运维网微信交流群

扫描二维码加入运维网微信交流群,最新一手资源尽在官方微信交流群!快快加入我们吧...

扫描微信二维码查看详情

客服E-mail:kefu@iyunv.com 客服QQ:1061981298


QQ群⑦:运维网交流群⑦ QQ群⑧:运维网交流群⑧ k8s群:运维网kubernetes交流群


提醒:禁止发布任何违反国家法律、法规的言论与图片等内容;本站内容均来自个人观点与网络等信息,非本站认同之观点.


本站大部分资源是网友从网上搜集分享而来,其版权均归原作者及其网站所有,我们尊重他人的合法权益,如有内容侵犯您的合法权益,请及时与我们联系进行核实删除!



合作伙伴: 青云cloud

快速回复 返回顶部 返回列表