加载中…
个人资料
  • 博客等级:
  • 博客积分:
  • 博客访问:
  • 关注人气:
  • 获赠金笔:0支
  • 赠出金笔:0支
  • 荣誉徽章:
正文 字体大小:

惠普刀片机7代及虚拟VSpare5(二)

(2012-03-28 00:34:57)
标签:

it

分类: 工作
    上次说过了要给机器及时的打上补丁。这次先说惠普又给出了新的安装镜像。(https://h20392.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=HPVM09)这个镜像里面包含了惠普的驱动程序。用这个的好处是不需要再为VMware的镜像加驱动。

    其次,在我们的环境里,由于安全上的考虑,网络分成的许许多多的小VLAN。光是VMotion就有八个VLAN。因此,在安装新的机器时,一定要考虑到加静态路由这个因素。同时,我们的管理控制台的网跟VMotion不通。因此就得在Managment Console的加上另一个VMtion的IP。
惠普刀片机7代及虚拟VSpare5(二)

    用来检查、添加静态路由的命令是:
esxcfg-route
esxcfg-route provides an interface to manipulate VMkernel IP stack's default route entry. 

OPTIONS
gateway
    The IP address or the host name of the machine that should be set as the gateway for the VMkernel IP stack.
-a -add    Add route to the VMkernel IP stack. Requires network and gaeway IP address.
-d -del:   Delete route from VMkernel IP stack. Requires network.
-f -family V4/V6:   IP address family to work on. Defaults to V4.
-l -list:     List configured routes for VMkernel.
-r -restore    Restore route settings from persistent storage. This should be used only on system startup and should not be used by users.
-h -help    Print a help message for this command.
例如:esxcfg-route -a 192.168.11.0/22 192.168.11.1

另外一个有用的命令是 vmkping。
用法:vmkping [options] [host|IP address]

Option                Description
-6                    Use IPv6 - ICMPv6 Echo request.
-4                    Use IPv4 (default).
-I                    Outgoing interface - for IPv6 scope.
-D                    VMkernel TCP stack debug mode.
-c <count>           Sets packet count.
-i <interval>          Sets interval.
-s <size>            Sets send size.

《待续。。。》

0

阅读 收藏 喜欢 打印举报/Report
  

新浪BLOG意见反馈留言板 欢迎批评指正

新浪简介 | About Sina | 广告服务 | 联系我们 | 招聘信息 | 网站律师 | SINA English | 产品答疑

新浪公司 版权所有