How to configure vCAC 6.2 LAB on VMware Workstation 11 – Part 1

In previous articles I shared how to build vCAC 6.2 LAB, we created domain controller and DNS services on DC01.contoso.com, vCenter Server on VC01.contoso.com, 3 ESXi hosts on ESX01/02/03.contoso.com, vCAC server on vCAC.contoso.com, IaaS server of vCAC on IaaS.contoso.com and FreeNAS server on FreeNAS.contoso.com.

I’ll share configuration steps below. To make it easy, I’ll use similar structure like build articles. I recommend you read my build articles first to make sure you could eventually successfully implement the lab.

  • DNS configuration (DC01)
  • FreeNAS configuration (FreeNAS)
  • vCenter Server configuration (VC01)
  • ESXi configuration (ESXi1, ESXi2 and ESXi3)
  • VMware vRealize Automation 6.2 configuration (vCAC)

DNS Configuration

We’ll setup reverse DNS, and forward DNS records of virtual machines. Reverse DNS maybe used by vCAC in some function, and forward DNS record is base of communication.

  1. Login DC01 – Open DNS Manager – Expend Forward Lookup Zones – Choose CONTOSO.COM. You should see DNS records of 3 Windows virtual machines existing.
  2. Right click Reverse Lookup Zones – Choose New Zone. Keep default settings, only enter subnet as Network ID, then create reverse DNS zone.
  3. Go back to CONTOSO.COM in Forward Lookup Zones – Double click VC01 and IaaS DNS records – Select Update associated pointer (PTR) record to create reverse DNS records.
  4. Right click CONTOSO.COM in Forward Lookup Zones – Select New Host(A or AAAA) – Create DNS records of ESXi, vCAC and FreeNAS servers. Please make sure check Create associated pointer (PTR) record.
  5. DNS configuration is completed.

FreeNAS Configuration

I’m going to share basic system settings and fast implementation of NFS storage.

  1. Open virtual machine console – Choose Configure Network Interface in FreeNAS menu.
  2. Choose network adapter and configure static IPv4 address by follow the guide.
  3. It go back to first menu after step 2 completed. Choose Configure DNS – Set DNS Domain to CONTOSO.COM – Set DNS nameserver 1 to IP of DC01. Keep other settings default.
  4. Login FreeNAS web GUI by enter the IP in browser. It requests you enter new password in first login.
  5. Go to SystemNTP ServersView NTP Servers in left navigator. Delete default NTP severs and add IP of DC01. It suppress warning message on FreeNAS console.
  6. Add 3 disks on FreeNAS virtual machine. I gave 500GB x 3.
  7. Go to StorageVolumesView Disks in left navigator, you will see 3 disks.
  8. Click ZFS Volume Manager – Enter Volume Name – Move slider to first block then click Add Volume. Repeat this step to create all 3 volumes.
  9. Go to SharingUnix (NFS) Shares Add Unix (NFS) Share, create 3 NFS shares. Choose root for Mapall User, and select the volume path in Path, keep other settings default. Repeat this step to create all 3 NFS shares.
  10. FreeNAS asks to start NFS service when you created new share. I chose Yes after created 3rd share.
  11. You should see 3 new NFS shares if you go back SharingUnix (NFS) Shares. E.g. /mnt/vol01.
  12. NFS configuration is completed.

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 ***

在上一篇文章中我分享了如何安装整个实验环境,创建了域控制器与DNS服务器DC01.contoso.com、vCenter Server服务器VC01.contoso.com、三台ESXi服务器ESX01/02/03.contoso.com、vCAC服务器vCAC.contoso.com、vCAC的IaaS服务器IaaS.contoso.com、以及FreeNAS服务器FreeNAS.contoso.com

我会在本文分享安装后的配置步骤,为了便于大家理解,我会采用和上一篇文章类似的架构介绍配置过程。我建议大家先阅读我上一篇关于实验环境搭建的文章,以保证配置步骤准确无误。

  • DNS服务配置(DC01)
  • FreeNAS配置(FreeNAS)
  • vCenter Server配置(VC01)
  • ESXi配置(ESXi1、ESX02、ESX03)
  • VMware vRealize Automation 6.2配置(vCAC)

DNS服务配置

本节我们将设置DNS反向解析以及各虚拟机的DNS记录。反向解析可能会在vCAC未来的应用中用到,DNS记录则是各组件之间通讯的基础。

  1. 登录DC01,打开DNS Manager,展开Forward Lookup Zones,选择CONTOSO.COM域。你应该看到3台Windows服务器的DNS名已经自动创建了。
  2. 右键点击Reverse Lookup Zones,选择New Zone。一路默认选项,输入实验环境的网段做为Network ID,然后继续一路默认选项直到创建反向解析域。
  3. 返回Forward Lookup ZonesCONTOSO.COM域,分别双击VC01IaaS的DNS记录,勾选Update associated pointer (PTR) record并点OK
  4. Forward Lookup ZonesCONTOSO.COM域上点右键,选择New Host(A or AAAA)选项,创建ESXi主机、vCAC、FreeNAS的DNS 记录。创建时要勾选Create associated pointer (PTR) record选项。
  5. 到此DNS服务设定完毕。

FreeNAS配置

本节我将分享如何进行基本的系统设定和快速搭建简易NFS存储。

  1. 打开虚拟机控制台,在FreeNAS控制台菜单选择Configure Network Interface
  2. 选择你要配置的网卡,根据向导设定静态IPv4地址等。
  3. 配置完毕后会自动返回初始控制台菜单。选择 Configure DNS,设定DNS DomainCONTOSO.COMDNS nameserver 1 为DC01的IP地址,其他保持默认。
  4. 在浏览器输入FreeNAS静态IPv4地址打开图形界面,第一次登录会要求输入新的root密码。
  5. 在图形界面左侧导航栏的System –> NTP Servers –> View NTP Servers,删除所有的默认NTP服务器,添加DC01的IP地址为新的NTP服务器。这样可以停止FreeNAS控制台的错误信息。
  6. 给FreeNAS虚拟机添加3块用作NFS存储的磁盘。这里我给了500GB X 3。
  7. 在图形界面左侧导航栏点击Storage -> Volumes -> View Disks,会看到3块磁盘。
  8. 点击ZFS Volume Manager创建新卷,输入Volume Name,拖动滑竿选择一块磁盘然后点击Add Volume按钮。重复此步骤总共创建3个卷。
  9. 点击Sharing -> Unix (NFS) Shares -> Add Unix (NFS) Share,创建3个NFS共享。Mapall User选择rootPath选择刚创建的一个卷路径,其他默认。重复此步骤总共创建3个共享。
  10. 每次添加NFS共享后,FreeNAS会提示是否启动NFS服务。我们在添加完最后一个NFS共享后再选择Yes
  11. 此时返回Sharing -> Unix (NFS) Shares,你会看到3个新建的共享路径,例如/mnt/vol01
  12. 至此NFS存储设置完成。