Skip to main content

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, vCenter Server on, 3 ESXi hosts on ESX01/02/, vCAC server on, IaaS server of vCAC on and FreeNAS server on

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 System - NTP Servers - View 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 Storage - Volumes - View 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 Sharing - Unix (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 Sharing - Unix (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服务器、vCenter Server服务器、三台ESXi服务器ESX01/02/、vCAC服务器、vCAC的IaaS服务器、以及FreeNAS服务器


  • DNS服务配置(DC01)

  • FreeNAS配置(FreeNAS)

  • vCenter Server配置(VC01)

  • ESXi配置(ESXi1、ESX02、ESX03)

  • VMware vRealize Automation 6.2配置(vCAC)



  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服务设定完毕。



  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存储设置完成。

Popular posts from this blog

Connect-NsxtServer shows "Unable to connect to the remote server"

When you run Connect-NsxtServer in the PowerCLI, it may show "Unable to connect to the remote server".  Because the error message is a little bit confusing with other login issues. It's not easy to troubleshoot. The actual reason is the NSX-T uses a self-signed certificate, and the PowerCLI cannot accept the certificate automatically. The fix is super easy. You need to set the PowerCLI to ignore the invalid certificate with the following command: Set-PowerCLIConfiguration -Scope User -InvalidCertificateAction:Ignore -Confirm:$false

Setup Terraform and Ansible for Windows provisionon CentOS

Provisioning Windows machines with Terraform is easy. Configuring Windows machines with Ansible is also not complex. However, it's a little bit challenging to combine them. The following steps are some ideas about handling a Windows machine from provisioning to post configuration without modifying the winrm configuration on the guest operating system. Install required repos for yum. yum -y install yum -y install yum -y install yum -y install epel-release yum -y install yum-utils yum-config-manager --add-repo Install  Terraform . sudo yum -y install terraform Install  Ansible . sudo yum -y install ansible Install  Kerberos . yum -y install gcc python-devel krb5-devel krb5-libs krb5-workstation

How to List All Users in Terraform Cloud

Terraform has a rich API. However, the API documentation does not mention how to list all users. We can leverage the organization membership API and the PowerShell command  Invoke-RestMethod  to get a user list. 1. Create an organization token in Terraform Cloud. 2. Create the token variable ( $Token ) in PowerShell. $Token = "abcde" 3. Create the API parameters variable in PowerShell. $params = @{ Uri = "" Authentication = "Bearer" Token = $Token ContentType = "application/vnd.api+json" } Note: You need to replace ZHENGWU with your own organization name. And I used 100 at the end of the URI to retrieve the first 100 users. It can be any number.  4. Retrieve the API return and list the user's email address. $Test = Invoke-RestMethod @params $