Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1919339
  • 博文数量: 346
  • 博客积分: 10221
  • 博客等级: 上将
  • 技术积分: 4079
  • 用 户 组: 普通用户
  • 注册时间: 2009-06-01 19:43
文章分类

全部博文(346)

文章存档

2012年(1)

2011年(102)

2010年(116)

2009年(127)

我的朋友

分类: 系统运维

2010-10-23 18:20:11

Cisco Nexus 1000V包含VEMVSM两部分,其中VEM运行ESXi服务器上取代原有的虚拟交换机,VSM用于管理和配置整个虚拟交换机。


安装环境
ESXi 4.0 x 1
ip address:
192.168.0.10

vCenter Server x 1
ip address:
192.168.0.20

vSphere Client and RCLI x 1
ip address:
192.168.0.30

Cisco Nexus 1000V
management ip
 192.168.0.50


Cisco Nexus 1000V的具体安装步骤如下:
1、
下载Nexus 1000V安装包,将安装包解压得到VSMVEM安装程序。
http://tools.cisco.com/support/downloads/pub/Redirect.x?mdfid=282362725

2、
ESXi服务器上安装并验证VEM
VEM目录中的cisco-vem-v100-4.0.4.1.1.27-0.4.2.zip复制到C:\Program Files\VMware\VMware vSphere CLI\bin\ 目录中,选择开始菜单中的All programs > VMware >VMware vSphere CLI > Command Prompt
C:\Program Files\VMware\VMware vSphere CLI>cd bin
C:\Program Files\VMware\VMware vSphere CLI\bin>vihostupdate.pl -i -b cisco-vem-v100-4.0.4.1.1.27-0.4.2.zip --server 192.168.0.20
C:\Program Files\VMware\VMware vSphere CLI\bin>vihostupdate.pl -q --server 192.168.0.20

3、
vSphere Client选择File > Deploy OVF Template选中VSM目录中的Nexus1000v-4.0.4.SV1.1.ova导入VSM虚拟机
4、
启动虚拟机,选择安装Nexus 1000VHA模式设定为standalone,定义管理地址及网关。
5、
查看虚拟机的host-id,并根据此ID上申请60天试用License
#show license host-id
6、
将下载的License文件放在TFTP服务器,并上传到虚拟机的bootflash中。
#copy t bootflash:


#install license bootflash:cisco.lic



#show license usage


#copy run start

7、
vCenter Server上安装Cisco Nexus 1000V Plug-in
用浏览器打开虚拟机管理地址下载cisco_nexus1000v_extension.xmlvSphere Client中选择Manage Plug-in,右键点击空白处选择新建Plug-in,选择下载的xml文件并选择注册。如何注册失败可以重启ESXi服务器再试。
8、
VSM虚拟机连接vCenter Server,如何连接失败通常是第6步没有成功注册Plug-in

n1000v# config t

n1000v(config)# svs connection VC

n1000v((config-svs-conn)# vmware dvs datacenter-name DC-1

n1000v((config-svs-conn)# protocol vmware-vim

n1000v((config-svs-conn)# remote ip address 192.168.0.20
n1000v(config-svs-conn)# connect
n1000v# show svs connections
9、
定义VSMVEM通讯使用的Port Profile

n1000v(config)# port-profile system-uplink

n1000v(config-port-prof)# switchport mode trunk

n1000v(config-port-prof)# switchport trunk allowed vlan 1

n1000v(config-port-prof)# no shut

n1000v(config-port-prof)# system vlan 1

n1000v(config-port-prof)# vmware port-group

n1000v(config-port-prof)# capability uplink

n1000v(config-port-prof)# state enabled

10、
定义其他虚拟机数据和上联通讯的Port Profile

n1000v$ config t

n1000v(config)# port-profile vm-uplink

n1000v(config-port-prof)# switchport mode access

n1000v(config-port-prof)# capability uplink

n1000v(config-port-prof)# switchport access vlan 262

n1000v(config-port-prof)# vmware port-group

n1000v(config-port-prof)# no shut

n1000v(config-port-prof)# state enabled


n1000v(config)# port-profile data262

n1000v(config-port-prof)# switchport mode access

n1000v(config-port-prof)# switchport access vlan 262

n1000v(config-port-prof)# vmware port-group data262

n1000v(config-port-prof)# no shut

n1000v(config-port-prof)# state enabled

n1000v(config-port-prof)# copy run start

[########################################]

11、
完成上述步骤后就可以在vSphere Client中的Inventory > Networking中看到Nexus 1000VNexus 1000V上点右键选择add hostESXi主机添加到分布式虚拟交换机DVS
12、
验证安装是否成功

n1000v# show module

Mod Ports Module-Type Model Status

--- ----- -------------------------------- ------------------ ------------

1 0 Virtual Supervisor Module Nexus1000V active *

3 248 Virtual Ethernet Module NA ok

参考资料:
http:///en/US/products/ps9902/prod_installation_guides_list.html
阅读(1922) | 评论(1) | 转发(0) |
给主人留下些什么吧!~~

chinaunix网友2010-10-24 12:07:47

很好的, 收藏了 推荐一个博客,提供很多免费软件编程电子书下载: http://free-ebooks.appspot.com