一:首先ESXi中要装磁盘阵列卡的专用驱动Provider,比如戴尔的驱动Provider可以在http://www.piis.cn/news/new935.asp下载,安装方法也可以借鉴它,这里就不详细说安装方法了
二:ESXI中要设置
按F2后输入root和密码到配置界面-- 选择"Configure Management Network"· 中的
1 、“DNS Configuration”中将“Hostname”(计算机名称)的值"localhost"修改一个自己的名称,比如esxi6xh002
2、“Custom DNS suffixes”(自定义DNS后缀,ESXI叫搜索域)中的默认值修改为vsphere6.gzxnzj.cn,具体是修改为什么请自行设置你想要的
3、在本地安装MSM (MegaRAID Storage Manager)管理软件
4、在本地电脑中虚拟域名解析,用记事本打开C:/Windows/System32/drivers/etc/hosts,
最后加上二行
192.168.16.221 esxi6xh002
192.168.16.221 esxi6xh002.vsphere6.gzxnzj.cn
保存,其中192.168.16.221是你ESXI的服务器IP地址,esxi6xh002.vsphere6.gzxnzj.cn是esxi计算机名称(就是上面1中设置的esxi6xh002)和自定义DNS后缀(叫搜索域,上面2中设置的vsphere6.gzxnzj.cn)合总在一起的域名。上面的2个解释是将ESXI的主机名和域解析到IP上,不解析MSM就100%搜索不到ESXI主机
5、打开本地的MegaRAID Storage Manager,在“IP Address ”中输入服务器的IP,比如192.168.16.221,然后点击“Configure Host…”,选中Display all the ESXi-CIMOM systems in the network of local server,保存后搜索就可以搜索到ESXI的主机并管理raid阵列了
ESXi升级RAID驱动和安装CIM Provider和MegaRAID Storage Management
LSI相关驱动下载地址:http://www.lsi.com/support/Pages/download-search.aspx (搜索型号)
下载好软件上传到ESXi母鸡上:
~ # cd /tmp/
/tmp # ls
scsi-megaraid-sas-6.506.51.00.1vmw-1vmw.500.0.0.472560.x86_64.vib
vmware-esx-provider-lsiprovider.vib
~ # cd /tmp/
chmod 777 scsi-megaraid-sas-6.506.51.00.1vmw-1vmw.500.0.0.472560.x86_64.vib
chmod 777 vmware-esx-provider-lsiprovider.vib
按照网络上教程安装提示如下错误:
1、开始安装ESXI最新控制器驱动 VMware ESXi 5.0 Driver for LSI MegaRAID SAS Controller
/tmp # esxcli software vib install -v scsi-megaraid-sas-6.506.51.00.1vmw-1vmw.500.0.0.472560.x86_64.vib -f --maintenance-mode
[VibDownloadError]
('scsi-megaraid-sas-6.506.51.00.1vmw-1vmw.500.0.0.472560.x86_64.vib', '', "[Errno 4] IOError: ")
url = scsi-megaraid-sas-6.506.51.00.1vmw-1vmw.500.0.0.472560.x86_64.vib
Please refer to the log file for more details.
按提示把两个文件复制到 /var/log/vmware/
/tmp # cp scsi-megaraid-sas-6.506.51.00.1vmw-1vmw.500.0.0.472560.x86_64.vib vmware-esx-provider-lsiprovider.vib /var/log/vmware
然后进入 /var/log/vmware/ 目录
/var/log/vmware # ls
scsi-megaraid-sas-6.506.51.00.1vmw-1vmw.500.0.0.472560.x86_64.vib
vmware-esx-provider-lsiprovider.vib
最后执行升级,成功了,很神奇!!!!难道文件一定要放在/var/log/vmware/目录下才可以?但是网络上所有教程都没提到这点。。~~
/var/log/vmware # esxcli software vib install -v scsi-megaraid-sas-6.506.51.00.1vmw-1vmw.500.0.0.472560.x86_64.vib -f --maintenance-mode
Installation Result
Message: The update completed successfully, but the system needs to be rebooted for the changes to be effective.
Reboot Required: true 提示需要重启
VIBs Installed: VMware_bootbank_scsi-megaraid-sas_6.506.51.00.1vmw-1vmw.500.0.0.472560 提示安装版本6.506
VIBs Removed: VMware_bootbank_scsi-megaraid-sas_5.34-4vmw.510.0.0.799733 提示删除旧版本5.34
VIBs Skipped:
再次执行确认已经安装成功
/var/log/vmware # esxcli software vib install -v scsi-megaraid-sas-6.506.51.00.1vmw-1vmw.500.0.0.472560.x86_64.vib -f --maintenance-mode
Installation Result
Message: Host is not changed. 说明版本一致不需要升级
Reboot Required: false
VIBs Installed:
VIBs Removed:
VIBs Skipped: VMware_bootbank_scsi-megaraid-sas_6.506.51.00.1vmw-1vmw.500.0.0.472560
/var/log/vmware #
如上提示说明已经安装成功。
2、安装CIM(MegaRAID SAS VMWare SMIS)
/var/log/vmware # esxcli software vib install -v vmware-esx-provider-lsiprovider.vib -f --maintenance-mode
Installation Result
Message: The update completed successfully, but the system needs to be rebooted for the changes to be effective.
Reboot Required: true
VIBs Installed: LSI_bootbank_lsiprovider_500.04.V0.34-0012
VIBs Removed:
VIBs Skipped:
/var/log/vmware #
最后在windows上面安装 MegaRAID Storage Management 管理软件,接下去的用法不用多说了跟windows一样:)
雖然 MegaRAID Storage Manager (MSM) 管理工具,屆時將會採用「IP Address」進行搜尋 ESXi Host 的動作 (採用 SLP with Multicast 方式),但是根據實測結果在搜尋及溝通時會用到「DNS 解析」,所以請確認下列事項:
MSM 管理工具主機:
1. Firewall 必須要允許 MSM 管理工具通行 (OpenJDK Platform binary)。
2. MSM 管理工具執行時,必須要確認有帶起「UDP Port 3071 / 5571 (javaw.exe 帶起)」,否則 MSM 工具無法正常