博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
在DELL服务器上升级ESXI 5.5
阅读量:6875 次
发布时间:2019-06-26

本文共 6189 字,大约阅读时间需要 20 分钟。

最近公司升级ESXI到5.5 版本,这个过程大家遇见了各种问题,最后同事写了个在DELL服务器上的升级(重装)流程,豆子觉得很不错,拿出来分享一下。

基本流程:

  1. 重新调整网卡顺序,因为网卡的位置顺序在旧版的R710,R720和新版的R720s服务器上是不同的。如果直接升级5.1到5.5,还是使用旧的排序方式,如果重新安装ESXI 5.5,则会使用新的编排顺序。

  2. 安装服务器,连接网线

  3. 配置iDRAC

  4. 配置IDRAC的DNS和主机的DNS

  5. 初始化IDRAC,设置时间,域名,DNS等等

  6. 升级固件,根据DELL的建议是,重启服务器,从life controller启动之后,使用SUU光盘升级除了网卡之外的所有固件,然后从Dell的CentOS 光盘启动,手动安装网卡的驱动程序(BIN格式),这样可以最大的避免各种意外

  7. 安装或者升级 ESXI5.5,最好先去掉FC的连线,避免误安装到SAN上。从ISO启动之后,指定安装路径(本地磁盘或者SD卡上),一路安装下去即可。

  8. 初始配置。安装完毕之后,按F2登录,配置Managment 网络的网卡,VLAN,IP地址,网关, 打    ESXI Shell和SSH

  9.  ALT-F1切换到Shell, 配置

esxcli network vswitch standard policy failover set -a vmnic0,vmnic1,vmnic4,vmnic5 -l iphash -v vSwitch0
esxcli network vswitch standard portgroup policy failover set -p 
"Management Network" 
-u

然后测试 vmkping 10.0.0.1  (网关地址)

 10. 接下来,进行防火墙,PortGroup相关配置 

# Configure ESX Management Network# Assing PortGroup to VLANesxcli network vswitch standard portgroup set -p="Management Network" -v=3064esxcli network vswitch standard uplink remove -u=vmnic5 -v=vSwitch0esxcli network vswitch standard uplink add -u=vmnic5 -v=vSwitch0esxcli network vswitch standard uplink remove -u=vmnic4 -v=vSwitch0esxcli network vswitch standard uplink add -u=vmnic4 -v=vSwitch0esxcli network vswitch standard uplink remove -u=vmnic1 -v=vSwitch0esxcli network vswitch standard uplink add -u=vmnic1 -v=vSwitch0esxcli network ip interface ipv4 set -i=vmk0 -I=10.71.64.107 -N=255.255.255.0 -t=staticesxcli network vswitch standard policy failover set -a=vmnic0,vmnic1,vmnic4,vmnic5 -l=iphash -v=vSwitch0# If needed inherit policy from vSwitch to Portgroupesxcli network vswitch standard portgroup policy failover set -p="Management Network" -u # Change Default gatewayesxcfg-route 10.71.64.1# Remove Portgroup on Management switchesxcli network vswitch standard portgroup remove -p="VM Network" -v=vSwitch0esxcli network vswitch standard uplink remove -u=vmnic0 -v=vSwitch0esxcli network vswitch standard uplink add -u=vmnic0 -v=vSwitch0===========================================================================================# Configure ESX Data Networkesxcli network vswitch standard add -v=vSwitch1esxcli network vswitch standard uplink add -u=vmnic7 -v=vSwitch1esxcli network vswitch standard uplink add -u=vmnic6 -v=vSwitch1esxcli network vswitch standard uplink add -u=vmnic3 -v=vSwitch1esxcli network vswitch standard uplink add -u=vmnic2 -v=vSwitch1esxcli network vswitch standard portgroup add -p="C1_VLAN10" -v=vSwitch1esxcli network vswitch standard portgroup set -p="C1_VLAN10" -v=10esxcli network vswitch standard portgroup add -p="DMZ" -v=vSwitch1esxcli network vswitch standard portgroup set -p="DMZ" -v=3127esxcli network vswitch standard policy failover set -a=vmnic2,vmnic3,vmnic6,vmnic7 -l=iphash -v=vSwitch1=============================================================================================# Set DNS and hostnameesxcli system hostname set --host aunswesx07esxcli network ip dns search add --domain=test.com.auesxcli network ip dns server add --server=10.70.0.19esxcli network ip dns server add --server=10.70.0.12# Suppress warnings about SSH and SSLesxcli system settings advanced set -o="/UserVars/SuppressShellWarning" -i=1================================================================================================# Syslogs================================================================================================esxcli system syslog config set --loghost 'udp://auttnm01.test.com.au:514'esxcli network firewall ruleset set --ruleset-id syslog --enabled trueesxcli network firewall refresh ================================================================================================# SNMP to OME Server================================================================================================esxcli system snmp set --communities=EsxSNMP --enable=yes --targets=10.71.32.203/EsxSNMP================================================================================================# NTP================================================================================================esxcli network firewall ruleset set --ruleset-id ntpClient --enabled trueecho restrict 127.0.0.1 > /etc/ntp.confecho restrict default kod nomodify notrap noquerynopeer >> /etc/ntp.confecho server 10.71.64.125 >> /etc/ntp.confecho server 10.71.3.125 >> /etc/ntp.confecho driftfile /etc/ntp.drift >> /etc/ntp.conf/sbin/chkconfig ntpd on=================================================================================================esxcli network vswitch standard add -v vSwitchISCSIesxcli network vswitch standard set -m 9000 -v vSwitchISCSIesxcli network vswitch standard uplink add -u vmnic11 -v vSwitchISCSIesxcli network vswitch standard uplink add -u vmnic9 -v vSwitchISCSI# Adding iSCSI interfaceesxcli network vswitch standard portgroup add -p iSCSI0 -v vSwitchISCSIesxcli network vswitch standard portgroup set -p iSCSI0 -v 10esxcli network ip interface add -p iSCSI0 -i vmk1esxcli network ip interface set -m 9000 -i vmk1esxcli network ip interface ipv4 set -i=vmk1 -I=192.168.0.22 -N=255.255.255.0 -t=staticesxcli network vswitch standard portgroup add -p iSCSI1 -v vSwitchISCSIesxcli network vswitch standard portgroup set -p iSCSI1 -v 10esxcli network ip interface add -p iSCSI1 -i vmk2esxcli network ip interface set -m 9000 -i vmk2esxcli network ip interface ipv4 set -i=vmk2 -I=192.168.0.23 -N=255.255.255.0 -t=static# Adding iSCSI VM Port Groupesxcli network vswitch standard portgroup add -p="iSCSI_Passthrough" -v=vSwitchISCSIesxcli network vswitch standard portgroup set -p="iSCSI_Passthrough" -v=4095# Adding vMotion interfaceesxcli network vswitch standard portgroup add -p vMotion -v vSwitchISCSIesxcli network vswitch standard portgroup set -p vMotion -v 4050esxcli network ip interface add -p vMotion -i vmk3esxcli network ip interface set -m 9000 -i vmk3esxcli network ip interface ipv4 set -i=vmk3 -I=172.0.0.105 -N=255.255.255.0 -t=staticesxcli network vswitch standard policy failover set -a=vmnic9,vmnic11 -v=vSwitchISCSI# enable vMotion on an interfacevim-cmd hostsvc/vmotion/vnic_set vmk3

11. 配置SAN

  • 配置Brocades

  • 配置Compellent 

  • 重启或者rescan ESXI

12.通过vCenter连入ESXI,通过update Manager PlugIn 连接Baselines,然后升级

13. 重复以上操作,对所有的主机完成安装升级之后,打开HA和DRS等功能

转载地址:http://jzrfl.baihongyu.com/

你可能感兴趣的文章
SpringMVC 实现文件下载
查看>>
七、rdd究竟是什么
查看>>
Ubuntu系统利用docker容器发布简单的应用
查看>>
学习网站
查看>>
HTML 5 <input> placeholder 属性
查看>>
应用场景是什么?怎样判断、描述一个产品的应用场景?
查看>>
Winform基础知识
查看>>
【ClickOnce】自定义前提条件 Creating Bootstrapper Packages
查看>>
Arch Linux 天坑
查看>>
css格式与布局
查看>>
MYSQL之路之表
查看>>
VMware下CentOS7设置网络以及修改系统语言
查看>>
CSS3的新特性
查看>>
学习JDK1.8集合源码之--ArrayDeque
查看>>
但那不是爱
查看>>
C++、Java、JavaScript中的正则表达式
查看>>
Codeforces 935 C Fifa and Fafa
查看>>
浏览器根对象document之方法概述
查看>>
纯小白入手 vue3.0 CLI - 3.1 - 路由 ( router )
查看>>
用正交多项式作最小二乘拟合的java实现(转)
查看>>