在VMWare7绿色版本上安装Nexus 1000V
看了大家都在关心Nexus,也想试着凑个热闹,但机器内存太小(只有2G),所以不能“一步到位”,也就是说不能一步把ESX(或EXSi)、Nexus及虚拟的其它操作系统和软件全装,只好一样一样慢慢试。在VMWare上虚拟出一个ESXi(或ESX)以前已经玩过了,在这里就不说了,感兴趣的可以到参考 [url=http://wenxuecn.blog.163.com/blog/static/2208345200973022446913/]http://wenxuecn.blog.163.com/blog/static/2208345200973022446913/[/url]
今天说说在VMWare上直接安装Nexus1000v,按理说,Nexus应该安装在ESXi上虚拟出来的机器上,但刚才也说了,本机的内存太小,又想看看Nexus是什么模样,只好出次下策了:)。其实,在ESXi上虚拟出的机器上安装是虚拟机,直接用VMWare7上虚拟出来的机器也是虚拟机,一样的安装。
安装Nexus有两种方法,一种是用ovf文件(Open Virtual Machine Format ),一种是用光盘镜像(ISO文件),由于我用的是VMware7的绿色版本,导出功能不好用,只好用ISO文件安装。
创建一台虚拟机,官方要求说要:
If you are not using the OVA file, but are creating a new VM, make sure that it meets the following minimum basic requirements:
– A 64-bit VM is required and “Other 64bit Linux” is a recommended VM type.
– The VM must be equipped as follows:
1 Processor
2-GB RAM
3 NICs
Minimum 3-GB SCSI hard disk with LSI Logic Parallel adapter (default)
CPU speed of 1.5 GHz
小注:操作系统选择Other 64bit Linux(2.6内核),1个CPU,2G内存,3个网卡(如果是Other 64bit Linux的话,默认就是e1000网卡),8GSCSI硬盘。这在里,我首先创建了一个5G的硬盘,后来安装好后启动不了,再次创建了一个8G的启动成功,不知道为什么,大家也可以试试。
从官方下载的Nexus1000v.4.0.4.SV1.1.zip文件中解压出nexus-1000v.4.0.4.SV1.1.iso,放在虚拟机的光驱中,启动既可安装。
安装好后会提示你一个向导,配置一些信息,重启后,我用SecureCRT登录,界面输出如下:
Nexus1000 login: admin
Password:
Cisco Nexus Operating System (NX-OS) Software
TAC support: [url=http://www.cisco.com/tac]http://www.cisco.com/tac[/url]
Copyright (c) 2002-2009, Cisco Systems, Inc. All rights reserved.
The copyrights to certain works contained in this software are
owned by other third parties and used and distributed under
license. Certain components of this software are licensed under
the GNU General Public License (GPL) version 2.0 or the GNU
Lesser General Public License (LGPL) Version 2.1. A copy of each
such license is available at
[url=http://www.opensource.org/licenses/gpl-2.0.php]http://www.opensource.org/licenses/gpl-2.0.php[/url] and
[url=http://www.opensource.org/licenses/lgpl-2.1.php]http://www.opensource.org/licenses/lgpl-2.1.php[/url]
Nexus1000# conf t
Nexus1000(config)# show license host-id
License hostid: VDH=1045370671274743163
Nexus1000(config)#
Nexus1000(config)# copy tftp: bootflash:
Enter source filename: nexus1000.lic
Enter vrf (If no input, current vrf 'default' is considered):
Enter hostname for the tftp server: 192.168.1.100
Trying to connect to tftp server......
Connection to Server Established.
|
TFTP get operation was successful
Nexus1000(config)# install license bootflash://module-1/n
bootflash://module-1/nexus-1000v-kickstart-mz.4.0.4.SV1.1.bin
bootflash://module-1/nexus-1000v-mz.4.0.4.SV1.1.bin
bootflash://module-1/nexus1000.lic
Nexus1000(config)# install license bootflash://module-1/nexus1000.lic
Installing license .....done
Nexus1000(config)# sh license
nexus1000.lic:
SERVER this_host ANY
VENDOR cisco
INCREMENT NEXUS1000V_LAN_SERVICES_PKG cisco 1.0 23-jul-2010 16 \
HOSTID=VDH=1045370671274743163 \
NOTICE="<LicFileID>20100524084413537</LicFileID><LicLineID>1</LicLineID>
\
<PAK></PAK>" SIGN=FC59C9C2A62C
Nexus1000(config)#
其中nexus1000.lic是我申请的60天的试用license文件,192.168.1.100是我的宿主机XP的IP地址。
申请license的地址是:[url=https://tools.cisco.com/SWIFT/Licensing/PrivateRegistrationServlet]https://tools.cisco.com/SWIFT/Licensing/PrivateRegistrationServlet[/url] 注意要CCO帐户哦。
其它的配置我还不会,正在学习中,接下来想试试能不能通过VMNet的网卡来弄向台虚拟OS加入试试,不知道会不会成功,有兴趣的一起来玩。
附件上我的vmx文件:
.encoding = "GBK"
config.version = "8"
virtualHW.version = "7"
vcpu.hotadd = "TRUE"
maxvcpus = "4"
scsi0.present = "TRUE"
scsi0.virtualDev = "lsilogic"
memsize = "2048"
scsi0:0.present = "TRUE"
scsi0:0.fileName = "Nexus.vmdk"
ide1:0.present = "TRUE"
ide1:0.autodetect = "TRUE"
ide1:0.deviceType = "cdrom-raw"
ethernet0.present = "TRUE"
ethernet0.virtualDev = "e1000"
ethernet0.wake
ethernet0.addressType = "generated"
ehci.present = "TRUE"
pciBridge0.present = "TRUE"
pciBridge4.present = "TRUE"
pciBridge4.virtualDev = "pcieRootPort"
pciBridge4.functions = "8"
pciBridge5.present = "TRUE"
pciBridge5.virtualDev = "pcieRootPort"
pciBridge5.functions = "8"
pciBridge6.present = "TRUE"
pciBridge6.virtualDev = "pcieRootPort"
pciBridge6.functions = "8"
pciBridge7.present = "TRUE"
pciBridge7.virtualDev = "pcieRootPort"
pciBridge7.functions = "8"
vmci0.present = "TRUE"
roamingVM.exitBehavior = "go"
displayName = "Nexus"
guestOS = "other26xlinux-64"
nvram = "Nexus.nvram"
virtualHW.productCompatibility = "hosted"
extendedC
ethernet0.linkStatePropagation.enable = "TRUE"
ethernet1.present = "TRUE"
ethernet1.virtualDev = "e1000"
ethernet1.wake
ethernet1.addressType = "generated"
ethernet1.linkStatePropagation.enable = "TRUE"
ethernet2.present = "TRUE"
ethernet2.virtualDev = "e1000"
ethernet2.wake
ethernet2.addressType = "generated"
ethernet2.linkStatePropagation.enable = "TRUE"
ide1:0.fileName = "auto detect"
ethernet0.generatedAddress = "00:0c:29:16:39:be"
ethernet1.generatedAddress = "00:0c:29:16:39:c8"
ethernet2.generatedAddress = "00:0c:29:16:39:d2"
uuid.location = "56 4d 9c 99 bb 94 2a f7-76 48 ee df 59 16 39 be"
uuid.bios = "56 4d 9c 99 bb 94 2a f7-76 48 ee df 59 16 39 be"
cleanShutdown = "TRUE"
replay.supported = "TRUE"
replay.filename = ""
scsi0:0.redo = ""
pciBridge0.pciSlotNumber = "17"
pciBridge4.pciSlotNumber = "21"
pciBridge5.pciSlotNumber = "22"
pciBridge6.pciSlotNumber = "23"
pciBridge7.pciSlotNumber = "24"
scsi0.pciSlotNumber = "16"
ethernet0.pciSlotNumber = "32"
ethernet1.pciSlotNumber = "33"
ethernet2.pciSlotNumber = "34"
ehci.pciSlotNumber = "35"
vmci0.pciSlotNumber = "36"
vmotion.checkpointFBSize = "16777216"
ethernet0.generatedAddressOffset = "0"
ethernet1.generatedAddressOffset = "10"
ethernet2.generatedAddressOffset = "20"
vmci0.id = "1494628798"
usb.present = "FALSE"
sound.present = "FALSE"
floppy0.present = "FALSE"
[[i] 本帖最后由 ronsun 于 2010-5-25 13:50 编辑 [/i]] 兄弟出手了,好! 老大弱弱的问一下你在安装ESXi 时,“在接下来的界面中输入“unsupported”,然后输入你登录系统的密码即可进入linux的配置界面。如果喜欢SSH或是 Telnet来配置的话,可以启运ESXi的这两种服务,用vi /etc/inetd.conf 找到#SSH 或是#telnet这一行,把#号去掉,保存”,你是使用什么命令保存的? [quote]原帖由 [i]ccsr[/i] 于 2010-5-25 15:24 发表 [url=http://www.netemu.cn/bbs/redirect.php?goto=findpost&pid=129739&ptid=13477][img]http://www.netemu.cn/bbs/images/common/back.gif[/img][/url]
老大弱弱的问一下你在安装ESXi 时,“在接下来的界面中输入“unsupported”,然后输入你登录系统的密码即可进入linux的配置界面。如果喜欢SSH或是 Telnet来配置的话,可以启运ESXi的这两种服务,用vi /etc/inetd.con ... [/quote]
用VI编辑,编辑好后用VI的命令啊,按下ESC键,然后输入wq,或者直接按下shif+z+z(也就是两个大写字母Z)。 好的,谢谢兄弟!
不明白Nexus 1000V 做什用?
Nexus 1000V什么用途? 谢谢楼主分享! 这个更省资源来玩nexus 1000v,呵呵! 谢谢分享!! 绿色版也省不了多少,心理安慰罢了。不如从源头来,直接装ESX,在另外拿台笔记本来控制 y014 佩服楼主,空了试试。现在可以模拟的有7200,IPS5,MARS6,CCM7,ASA,NAC4,现在又多了个雷克萨斯,牛叉!!!
x29 为啥我的没出现向导啊 进了switch(boot)# 重启后一直进入
loading loarder stage 1.5......... 更新下 也出现向导了 为啥保存重启还是一样的错误? 问下 你的网卡是NAT BRIDGED 还是 HOST? 楼主能说说VEM是怎么安装的吗?谢谢!!
页:
[1]