vCenter Server Configuration
We will do identity source and permission settings on vCenter Server.
- Login vSphere Web Client by Administrator@vSphere.local.
- Go to Administration – Single Sign-On – Configuration – Identity Source tab in left navigator. CONTOSO.COM already existing, select it and click button to set it to default identity source.
- Go to Administration – Single Sign-On – Users and Groups – Groups tab in left navigator. Add Domain Admins of CONTOSO.COM to Administrators group.
- Go to vCenter – vCenter Servers – Choose VC01.CONTOSO.COM – Manage tab – Permissions tab. Add Domain Admins of CONTOSO.COM to Administrator role.
- Login vCenter Server by Domain Admins member of CONTOSO.COM, create datacenter and cluster. My datacenter name is Austin, cluster name is Farm01.
-
Modify MSDTC. RDP to vCenter Server.
- Click Start – Administrative Tools – Component Services – Expand Component Services – Computers – My Computer – Distributed Transaction Coordinator.
- Right click Local DTC – Properties – Security tab – Select Network DTC Access, Allow Inbound and Allow Outbound.
- vCenter Server is ready.
ESXi Configuration
We’ll setup network, join to cluster and add NFS storage.
- Open ESXi virtual machine console, login system customize GUI by press F2.
- Open Configure Management Network – IP Configuration – Choose Set static IP address and network configuration – Set IP address and other settings.
- Continue set DNS Configuration and Custom DNS Suffixes.
- Quit and join the hosts to Farm01.
- Login vCenter Server by vSphere Web Client. Click Storage in middle panel – Select Austin datacenter in left navigator
– Go to Related Objects tab in middle panel – Select Datastores tab – Click button to create new datastore. - I’ll not give detail procedure to add NFS datastore. Just notice when you fill up NFS Share Details page, Server is FreeNAS IP address and Folder is the share path you created in FreeNAS.
- In vSphere Web Client. Select ESXi host – Manage tab – Settings tab – Advanced System Settings – Search NFS.MaxQueueDepth – Change the value to 64 – Reboot ESXi host. It prevents ESXi host hung when heavy IO.
- ESXi host is ready and joined vCenter Server.
Serials of How to build/configure vCAC 6.2 LAB on VMware Workstation 11 (系列文章):
How to Build vCAC 6.2 LAB on VMware Workstation 11 – Part 1
How to Build vCAC 6.2 LAB on VMware Workstation 11 – Part 2
How to Build vCAC 6.2 LAB on VMware Workstation 11 – Part 3
How to configure vCAC 6.2 LAB on VMware Workstation 11 – Part 1
How to configure vCAC 6.2 LAB on VMware Workstation 11 – Part 2
How to configure vCAC 6.2 LAB on VMware Workstation 11 – Part 3
*** Chinese Version ***
vCenter Server配置
vCenter Server的配置主要是域设定和权限设定。
- 用Administrator@vSphere.local登录vSphere Web Client。
- 主界面左侧导航栏点击Administration -> Single Sign-On -> Configuration -> Identity Source标签。CONTOSO.COM已经存在,选中它点击菜单栏的按钮把CONTOSO.COM设定为默认域。
- 主界面左侧导航栏点击Administration -> Single Sign-On -> Users and Groups -> Groups标签。将CONTOSO.COM域的Domain Admins组加入到Administrators组。
- 主界面左侧导航栏点击vCenter -> vCenter Servers -> 选择VC01.CONTOSO.COM -> Manage标签 -> Permissions 标签。将CONTOSO.COM域的Domain Admins组加入Administrator角色。
- 重新用CONTOSO.COM域的Domain Admins组成员登录vCenter Server,创建数据中心和集群。我的数据中心名字叫Austin,集群名叫Farm01。
-
修改MSDTC。登录vCenter Server桌面。
- 点击Start -> Administrative Tools -> Component Services -> 展开Component Services ->Computers -> My Computer -> Distributed Transaction Coordinator。
- 右键点击Local DTC -> Properties -> Security标签 -> 勾选 Network DTC Access、Allow Inbound、Allow Outbound。
- 至此vCenter Server准备就绪。
ESXi配置
ESXi我们主要配置网络、创建集群并且添加NFS存储 。
- 打开ESXi虚拟机的控制台,按F2登录自定义系统设定界面。
- 打开Configure Management Network -> IP Configuration -> 选择Set static IP address and network configuration -> 设定IP地址等。
- 继续设定DNS Configuration和Custom DNS Suffixes。
- 完毕后退出自定义系统设定界面 ,将ESXi主机加入刚创建的Farm01集群。
- 用vSphere Web Client登录vCenter Server,在主界面点击Storage -> 左侧导航栏选择数据中心Austin -> 中部界面选择Related Objects标签 -> Datastores标签 -> 点击按钮新建Datastore。
- 添加NFS存储的方法不再介绍,只是注意在填写NFS Share Details时,Server填写FreeNAS虚拟机的IP,Folder填写FreeNAS中创建的共享目录。
- 在vSphere Web Client选择ESXi主机 -> Manage标签 -> Settings标签 -> Advanced System Settings -> 搜索NFS.MaxQueueDepth,更改值为64,重启ESXi主机。此步骤为了防止磁盘高IO时ESXi主机死机。
- 至此ESXi配置完毕并且加入了vCenter Server。