Posts tagged ‘esxi’

VMware vSphere 6.7.0 U3b发布

VMware vSphere 6.7.0 U3b已发布,试用版下载

VMware官方文档PDF版下载

VMware ESXi6.7.0U3 ESXI定制版ISO下载

VMware ESXi6.7.0U3  https://pan.baidu.com/s/1xnxyumcBDnPdTf7ykXeVjw  (提取码:359j)
1、ESXi-6.7.3-14320388-NEC-6.7-04.iso(NEC)
2、VMware_ESXi_6.7.0.update03_14320388_LNV_20190920.zip(联想)
3、VMware_ESXi_6.7.0_14320388_Custom_Cisco_6.7.3.1.iso(思科)
4、VMware-ESXi-6.7.0-14320388-Fujitsu-v480-1.iso(富士通)
5、VMware-ESXi-6.7.0-Update3-14320388-HPE-Gen9plus-670.U3.10.4.5.19-Aug2019-depot.zip(HPE)
6、VMware-VMvisor-Installer-6.7.0.update03-14320388.x86_64-DellEMC_Customized-A02.zip(DELL EMC)

其实ESXI定制版下载。

VMware ESXi6.7.0U2定制版ISO下载

VMware ESXi6.7.0U2  https://pan.baidu.com/s/17VaiI0u53pcIz2ExChUwDg  (提取码:p2rx)
1、ESXi-6.7.2-13644319-NEC-6.7-03.iso(NEC)
2、VMware_ESXi_6.7.0.update02_13981272_LNV_20190630.iso(联想)
3、VMware_ESXi_6.7.0_13006603_Custom_Cisco_6.7.2.1.iso(思科)
4、VMware_ESXi_6.7.0_Update2_13006603_hitachi_1300_HA8KVGen10_RV3K.iso(日立)
5、VMware-ESXi-6.7.0-13473784-Fujitsu-v470-1.iso(富士通)
6、VMware-ESXi-6.7.0-Update2-13006603-HPE-Gen9plus-670.U2.10.4.1.8-Apr2019.iso(HPE)
7、VMware-VMvisor-Installer-6.7.0.update02-13981272.x86_64-DellEMC_Customized-A03.zip(DELL EMC)

其它ESXI定制版下载。

VMware ESXi6.7.0U1定制版ISO镜像下载

VMware ESXi6.7.0U1  https://pan.baidu.com/s/13hbuusVpP8NbV8oqPJFa1Q  (提取码:48jt)
1、ESXi-6.7.1-10302608-NEC-6.7-02.iso(NEC)
2、VMware_ESXi_6.7.0.update01_11675023_LNV_20190205.zip(联想)
3、VMware_ESXi_6.7.0_10302608_Custom_Cisco_6.7.1.2_Bundle.zip(思科)
4、VMware_ESXi_6.7.0_Update1_11675023_hitachi_1201_HA8000VGen10.iso(日立)
5、VMware-ESXi-6.7.0-10302608-Fujitsu-v460-1.iso(富士通)
6、VMware-ESXi-6.7.0-Update1-11675023-HPE-Gen9plus-670.U1.10.4.0.19-Apr2019.iso(HPE)
7、VMware-VMvisor-Installer-6.7.0.update01-11675023.x86_64-DellEMC_Customized-A05.zip(DELL EMC)

其它ESXI定制版下载。

ESXi6.5.0U2定制版ISO下载

一、ESXi6.5.0U2  https://pan.baidu.com/s/150DxTmsTL-7whd-n1Ngy0Q  (提取码:vnh3)
1、ESXi-6.5.2-8294253-NEC-6.5.2-01.iso(NEC)
2、VMware_ESXi_6.5.0.update02_13635690_LNV_20190630.iso(联想)
3、VMware_ESXi_6.5.0_10719125_Custom_Cisco_6.5.2.3.iso(思科)
4、VMware_ESXi_6.5.0_Update2_10719125_hitachi_1302_HA8000VGen10.iso(日立)
5、VMware-ESXi-6.5.0.update02-10175896-Fujitsu-v421-1.iso(富士通)
6、VMware-ESXi-6.5.0-Update2-10719125-HPE-Gen9plus-650.U2.10.4.0.29-Apr2019.iso(HPE)
7、VMware-VMvisor-Installer-6.5.0.update02-13635690.x86_64-DellEMC_Customized-A12.iso(DELL EMC)

其它ESXI定制版下载。

在vSphere中手工降低虚拟机的版本(兼容性)

在高版本ESXi上运行的虚拟机vMotion至低版本的ESXi上时会出错,提示不兼容,需要降版本。

目前Esxi6.7的版本为14,Esxi6.5的虚拟机版本为13,如下图,需要手工将虚拟机版本号更改为13。

vmware14_01

打开存储的“数据存储浏览”,如下图

vmware14_03

找到需要降版本的虚拟机文件夹,这里为win2012R,如下图,选中win2012R2.vmx文件,点击下载至本地

vmware14_02

用记事本打开下载的文件,将virtualHW.version = “14”修改为virtualHW.version = “13”,如下图

vmware14_04

完成修改后再上载至原目录,覆盖原文件

vmware14_05

再次启动虚拟机,查看兼容性信息,版本已经修改为13

vmware14_06

现次vMotion,已经没有提示不兼容信息,成功迁移虚拟机。

Win2008R2下安装vCenter6.7出现VMware Virtualcenter failed firstboot. Failed to generate VirtualCenter symmetric encryption key错误的解决

在Win2008R2下安装vCenter6.7时,在快要安装结束时,出现了VMware Virtualcenter failed firstboot. Failed to generate VirtualCenter symmetric encryption key.MS17-010\MS17-012补丁的错误,如下图

vcentererror08

无法继续完成安装,只能回滚退出安装,如下图

vcentererror09

然后搜索发现是需要安装MS17-010和MS17-012补丁,我先试着安装MS17-010,进入微软主页,进入Windows Server 2008 R2,点击“Windows Server 2008 R2(用于基于x64的系统)Service Pack 1(4012215)月度汇总”按扭,如下图

vcentererror04

点击下图中红框按扭,开始下载MS17-010。

vcentererror06

下载后上传至vCenter6.7服务器上,开始安装MS17-010

vcentererror10

vcentererror12

安装完成后再次运行vCenter安装程序,这次没有出现错误,直接安装完成。若安装MS17-010还有问题,再安装MS17-012试下。

vcentererror07

VMware ESXi 6.5.0升级至6.7.0并恢复root密码

一台VMware ESXi 6.5.0主机,忘记了root密码,并且想升级至6.7.0版本,故准备直接用安装光盘来升级并保留数据,这样既能完成升级,又能重置root密码。

重启ESXi6.5.0的主机,选择F11(DELL R720)准备进入启动选择项,如下图

esxiupdateroot02

在启动选项中,选择“BIOS Boot Menu”,如下图

esxiupdateroot03

选择从USB(U盘)启动,如下图所示

esxiupdateroot04

进入引导界面

esxiupdateroot05

开始安装6.7.0

esxiupdateroot06

选择3.27T的卷,确定安装位置

esxiupdateroot08

选择下图红框的选项,全新安装但保留硬盘中原数据,若root密码没有忘记,可以选择第一个升级选项

esxiupdateroot09

设置root密码

esxiupdateroot01

开始安装6.7.0

esxiupdateroot10

完成后,重启服务器,完成引导,如下图

esxiupdateroot11

完成后,在浏览器中输入https://192.168.10.79,打开 esxi管理控制台,如下图所示

esxiupdateroot13

esxiupdateroot14

如上图,由于是全新安装,故虚拟机列表也消失了,需要手工注册虚拟机,如下图,打开存储选项,在右窗口中选择“数据存储浏览器”

esxiupdateroot15

选择需要注册的虚拟机,这里以NGINX-Server为例,在NGINX-Server.vmx文件上右键,选择“注册虚拟机”,如下图所示

esxiupdateroot16

添加后,在虚拟机列表中就能看到NGINX-Server的虚拟机,如下图,启动虚拟机即可开始使用。

esxiupdateroot17

其它虚拟机也按照此方式添加注册即可。

在VMware vSphere环境中部署EMC UnityVSA(4TB免费版)(二):使用CLI控制台修改UnityVSA管理地址、启用SSH管理等

UnityVSA是SUSE Linux Enterprise Server(SLES,如下) 12 SP1操作系统:

15:38:15 service@VIRT1803SKN5YT-spa spa:/> uname -a
Linux spa 3.12.69-60.64.35.1.NEOKERNEL_SLES12SP1 #2 SMP Thu Oct 5 14:41:40 EDT 2017 x86_64 x86_64 x86_64 GNU/Linux
15:38:46 service@VIRT1803SKN5YT-spa spa:/> df      
Filesystem     1K-blocks    Used Available Use% Mounted on
/dev/sda5       10192372 4936072   4715632  52% /
udev             1083360       8   1083352   1% /dev
tmpfs            2249168   84384   2164784   4% /dev/shm
tmpfs            2249168   45372   2203796   3% /run
tmpfs            2249168       0   2249168   0% /sys/fs/cgroup
/dev/ram0          59493    3415     56078   6% /tmp
/dev/sda1         118997    5744    107109   6% /mnt/c4lx-cfg_msata
/dev/sda6        8254392 1047708   6770872  14% /cores
/dev/sdc5       14523992   53188  13744380   1% /EMC/backend/service
/dev/sdb9        1032088  193148    786512  20% /EMC/backend/CEM
/dev/sdb8         253871   51357    189407  22% /nbsnas
/dev/sdb11        665200   17084    614324   3% /EMC/backend/perf_stats
/dev/sdb10       3449100   99412   3174484   4% /EMC/backend/log_shared
/dev/sdb12       3096336  204928   2734124   7% /EMC/backend/metricsluna1
/dev/sdb13        253871   10296    230468   5% /EMC/fastvp

可以通过命令行来实现相关配置,如下图

unityvsacli_05

UnityVSA控制台默认用户名和密码都为service,使用service/service登陆控制台,

spa login:service
Password:
14:08:40 service@VIRT1803SKN5YT-spa spa:~>

unityvsacli_06

1、SSH服务开启设置

完成登陆后开始进行相关配置,首先为了能够使用SSH等相关工具来管理控制台,先开启SSH服务,使用help | more命令查看帮助:

14:11:30 service@VIRT1803SKN5YT-spa spa:~> help | more
The following UnityVSA serviceability commands are available to the service user:
svc_acldb_dump
svc_arrayconfig
svc_banner
svc_boot-control
svc_cache
svc_cava

最后查看到命令为svc_ssh,命令使用方法:

Usage: svc_ssh [options]
Options:
-e, –enable  Enable sshd on the system
-d,—disable Disables sshd on the system
-s,—status  Prints status of sshd
14:15:22 service@VIRT1803SKN5YT-spa spa:~>

使用svc_ssh –s查看目前的SSH状态,状态为disabled,关闭状态

14:16:54 service@VIRT1803SKN5YT-spa spa:~> svc_ssh –s

unityvsacli_04

使用svc_ssh -e命令打开SSH功能:

14:18:33 service@VIRT1803SKN5YT-spa spa:~> svc_ssh –e

unityvsacli_07

完成开启后,开始使用SecureCRT来管理控制台,如下图。

unityvsacli_10

2、管理地址更改设置

首先使用svc_networkcheck –m命令查看当前的管理地址,如下

14:31:58 service@VIRT1803CVH590-spa spa:~> svc_networkcheck -m
=== SP status: Normal Mode, Master SP ===
======================= [spa][Mon Jan 22 14:32:05 UTC 2018] Beginning Run  =======================

Management IPv4 Information
        IP Address:                     192.168.10.59
        Mask/Prefix:                    255.255.255.0
        Gateway:                        192.168.10.253
DNS/NTP Information
        DNS server(s):                  None
        NTP server(s):                  None
Management IPv6 Information
DNS/NTP Information
        DNS server(s):                  None
        NTP server(s):                  None

======================= [spa][Mon Jan 22 14:32:19 UTC 2018] End of Run  =======================

接着,使用svc_initial_config命令修改管理IP地址,如下

14:32:21 service@VIRT1803CVH590-spa spa:~> svc_initial_config

Usage : svc_initial_config [OPTIONS]

Sets up initial system configuration. Configures a management IP address when the
Connection Utility (CU) is not available on the network. Can also be used to change
the management IPv4 and IPv6 configuration mode if an address is set.
                   
Attempts to configure the system with the given friendly name and/or network parameters.
Network parameters are for IPv4 and/or IPv6.

Ex: svc_initial_config [-f <hostname>] -4 "<IPv4 address> <IPv4 netmask> <IPv4 default gateway>"
     svc_initial_config [-f <hostname>] -6 "<IPv6 address> <prefix length> <IPv6 default gateway>"

Options:
  -h or –help       Prints this usage information.
  -4, –network      IPv4 address, netmask and default gateway for management interface.
                     MUST BE ENCLOSED BY "QUOTES" and given in that exact order:
                     "ip net_mask def_gw".
                     Use "auto" instead of "ip net_mask def_gw" for DHCP.
                     Use "disable" to disable IPv4 configuration.

  -6, –networkv6    IPv6 address, prefix length and default gateway for management interface.
                     MUST BE ENCLOSED BY "QUOTES" and given in that exact order:
                     "ip prefix_len def_gw".
                     Use "auto" instead of "ip prefix_len def_gw" to
                     enable IPv6 autoconfiguration.
                     Use "disable" to disable IPv6 configuration.
                      
  -f, –friendly_name  New friendly_name for the system. Name must contain only letters,
                       numbers, dot(.) or the hyphen(-) character.  Name must not start
                       nor end with a hyphen and be limited to a total length of
                       255 characters.
 
14:34:24 service@VIRT1803CVH590-spa spa:~> svc_initial_config -f unityvsanew -4 "192.168.10.57 255.255.255.0 192.168.10.253"
Attempting to set friendly name to <unityvsanew>
Successfully set friendly name to <unityvsanew>
Validating address 192.168.10.57 format … Pass
Validating address 255.255.255.0 format … Pass
Validating address 192.168.10.253 format … Pass
Validating IP and Gateway subnet with Mask … Pass
Successfully configured network with parameters <static 192.168.10.57 255.255.255.0 192.168.10.253>

完成修改后,会出现Successfully提示,如上,成功后,就能使用新的地址来进行管理。

3、其它命令

所有可用命令可以使用help | more来显示:

14:29:38 service@VIRT1803CVH590-spa spa:~> help | more

The following UnityVSA serviceability commands are available to the service user:
        svc_acldb_dump
        svc_arrayconfig
        svc_banner
        svc_boot_control
        svc_cache
        svc_cava
        svc_cbr
        svc_change_hw_config
        svc_check_hw_config
        svc_cifssupport
        svc_connectemc
        svc_custom_cert
        svc_dac
        svc_dataprotection
        svc_dc
        svc_diag
        svc_elms
        svc_esrs_ve
        svc_event_publishing
        svc_firewall
        svc_help
        svc_initial_config
        svc_inject
        svc_ipmi
        svc_kmip
        svc_lockd
        svc_mount
        svc_nas
        svc_network
        svc_networkcheck
        svc_ntp
        svc_oscheck
        svc_param
        svc_pax
        svc_perfcheck
        svc_purge_logs
        svc_reimage
        svc_reinit
        svc_rescue_state
        svc_restart_service
        svc_scsi_id
        svc_service_password
        svc_service_shell
        svc_shutdown
        svc_ssh
        svc_stig
        svc_storage_integritycheck
        svc_storagecheck
        svc_tcpdump
        svc_udoctor
        svc_vhdx
        svc_vp_hostcheck
For detailed information on the available service commands, refer to the
"UnityVSA Service Commands Technical Notes" document on the EMC Online Support
Site (https://support.emc.com/).

PING命令:

15:31:08 service@VIRT1803SKN5YT-spa spa:~> svc_networkcheck -p 192.168.10.253
=== SP status: Normal Mode, Master SP ===

======================= [spa][Mon Jan 22 15:31:16 UTC 2018] Beginning Run  =======================

PING 192.168.10.253 (192.168.10.253) from 192.168.10.59 : 56(84) bytes of data.
64 bytes from 192.168.10.253: icmp_seq=1 ttl=254 time=7.42 ms
64 bytes from 192.168.10.253: icmp_seq=2 ttl=254 time=2.05 ms
64 bytes from 192.168.10.253: icmp_seq=3 ttl=254 time=2.45 ms
64 bytes from 192.168.10.253: icmp_seq=4 ttl=254 time=1.97 ms

— 192.168.10.253 ping statistics —
4 packets transmitted, 4 received, 0% packet loss, time 3004ms
rtt min/avg/max/mdev = 1.977/3.480/7.429/2.287 ms

======================= [spa][Mon Jan 22 15:31:19 UTC 2018] End of Run  =======================

查看管理地址:

15:31:21 service@VIRT1803SKN5YT-spa spa:~> svc_networkcheck -m              
=== SP status: Normal Mode, Master SP ===

====================== [spa][Mon Jan 22 15:31:26 UTC 2018] Beginning Run  =======================
Management IPv4 Information

        IP Address:                     192.168.10.59
        Mask/Prefix:                    255.255.255.0
        Gateway:                        192.168.10.253

DNS/NTP Information
        DNS server(s):                  None
        NTP server(s):                  None

Management IPv6 Information

DNS/NTP Information
        DNS server(s):                  None
        NTP server(s):                  None

======================= [spa][Mon Jan 22 15:31:40 UTC 2018] End of Run  =======================