vsphere虚拟化常用功能

ESXI主机常见问题:

1、esxi主机安装成功后默认时区为utc时区,修改为cst时区

        1)使用vsphere client登录到目标ESXI主机

        2)配置 --> 安全配置文件 --> 服务 --> 属性 --> SSH --> 选项 --> 启动

        3)使用xshell远程登录esxi主机将centos服务器的/etc/localtime文件拷贝至esxi主机的/etc/localtime

                4)使用date命令验证时区是否更改成功

                5)为防止重启esxi主机时区变回utc做以下修改

                       ①拷贝centos服务器的localtime文件至主机/vmfs/volumes/存储目录/

                       ②修改esxi主机开机自启脚本,每次启动都复制时区文件到/etc目录

                    # vi /etc/rc.local.d/local.sh
                    cp -rf /vmfs/volumes/5d9e07de-d85a72fc-5a52-20040ff9f88e/localtime /etc/localtime
                    chmod 777 /etc/localtime


2、修改默认esxi主机web访问端口

扫描二维码关注公众号,回复: 7449845 查看本文章
# cat /etc/vmware/rhttpproxy/config.xml | grep httpPort
      <httpPort>80</httpPort>         # 将80改为其他端口


3、esxi主机加入vcenter之后无法单独登录webclient问题

F2 --> Configure Lockdown mode 改成 disable


猜你喜欢

转载自blog.51cto.com/13777759/2441469
今日推荐