官术网_书友最值得收藏!

Integrating the Cisco 1000v into vCD

The Cisco 1000v Distributed Switch is an alternative to the VMware Distributed Switch; however, getting it working with vCloud is a challenge. In the following sections, we will see how to overcome it.

Getting ready

First and foremost, we need the Cisco 1000v installed (refer to the How it works section in this recipe). The next important thing is to hook the Cisco 1000v up to vCenter (refer to the See also section links in this recipe). After all this is done, you can use the Cisco 1000v in vSphere and we can now start linking it up to vCloud.

How to do it...

  1. Log on to the Cisco 1000v Virtual Supervisor Module (VSM).
  2. Run the following commands to activate the REST interface of the VSM:
    1kv# conf t
    1kv (Config)# feature network-segmentation-manager
    1kv (Config)# feature segmentation
    1kv (Config)# exit
    1kv # copy running-config startup-config
    [########################################] 100%
    1kv# exit
    
  3. Log out of the Cisco 1000v.
  4. Log in to the vCNS (vShield) as an administrator.
  5. Click on Settings & Reports.
  6. Click on Networking and then on Add Switch Provider as shown in the following screenshot:
  7. Now enter the Cisco VSM IP or hostname and the service API URL https://[VSM IP] /n1k/services/NSM.
  8. Enter the admin credentials for the VSM and click on OK.

And that's it. Now you can use the Making VXLANs work recipe to create VXLANs using the Cisco 1000v.

How it works...

The Cisco 1000v replaced the VMware Distributed Switch. The benefit of this is that you can use the Cisco tools and Cisco language to configure it. For all intents and purposes, it acts and behaves like a Cisco physical switch. One of the drawbacks is that there can be maximal 63 hosts (63 hosts and one Cisco v1000) connected to one Cisco 1000v and the integration between Cisco and VMware isn't as smooth as it may appear to be.

Cisco 1000v consists of two different items. The VSM is the management console and is basically a VM where the Cisco OS runs. The Virtual Ethernet module (VEM) is a plugin into the ESXi server that replaces the functionality of the VMware Distributed Switch.

There are basically two different designs for the Cisco 1000v installation. The first and easiest is to install the Cisco 1000v VSMs (Manager) as a VM on vSphere. This has considerable drawbacks as the Cisco 1000v VSMs can't be used with the Cisco 1000v itself, meaning you need to install it using normal vSwitches, which in return calls for a separate management cluster. The other better but more costly alternative is to use Cisco 1010. The Cisco 1010 is nothing else but a physical server that can contain up to six VSMs.

Flow for a Cisco 1000v installation is shown in the following diagram:

vCloud Director talks to vCenter for management (create VMs and so on), and talks to vCNS to create and manage complex networks (for example, Edge). The vCNS communicates with vCenter to create port groups and push out configurations to Distributed Switches. vCenter communicates with ESXi servers to facilitate management and to push network configurations out to the ESXi servers.

When the Cisco 1000v enters the picture, things change. Instead of vCNS talking to vCenter (the dotted line in the preceding figure), it now talks to the Cisco 1000v VSM. The VSM will then talk to vCenter and the VEM installed in the ESXi server to facilitate networking.

See also

The following are some useful links for the Cisco 1000v:

主站蜘蛛池模板: 邵阳县| 宁阳县| 金塔县| 黔东| 翁源县| 嘉定区| 康乐县| 石楼县| 米林县| 图片| 六盘水市| 乌海市| 郁南县| 甘孜县| 沾化县| 德昌县| 青龙| 忻城县| 且末县| 蚌埠市| 怀宁县| 瑞金市| 汽车| 宜丰县| 腾冲县| 噶尔县| 汕头市| 贵定县| 昌吉市| 永川市| 长治县| 云浮市| 临沭县| 来凤县| 洛川县| 温州市| 弋阳县| 沅陵县| 兴城市| 亚东县| 太原市|