So you have your VMware Cloud Foundation environment humming along and you need to add some additional capacity, how do you add that? By following the VCF Administrators Guide and the VIA Guide it looks like you need to set this up on a laptop and plug into port 48 on the management switch, however I believe I have an easier option, that doesn’t require you to sit in the datacenter for hours on end. Let’s look at how to setup In-Rack Imaging.
- This applies to VCF 2.2.x and 2.3.x
- Download the VCF Bundle ISO as well as the MD5SUM.txt from your entitled MyVMware account
- Download the VIA OVA from your entitled MyVMware account
- You have completed the Jump VM setup detailed here (coming soon)
Now let’s get started:
- Ensure the servers to be imaged have been cabled to the wiremap (document available under downloads for Cloud Foundation)
- If Imaging with VCF 2.2: Ensure the servers to be imaged have iDRAC/BMC static IP information set to
IP Range: 192.168.0.51-192.168.0.99
Subnet Mask: 255.255.252.0
**Failure to set these IP addresses will result in a failure during the Add Host wizard later in this process.
- Ensure appropriate BIOS settings have been set and PXE boot is enabled on 10g NIC’s
- Deploy the VIA OVA in your Management Workload Domain
- Ensure vsanDatastore is selected for storage location
- Select the vRack-DPortGroup-NonRoutable portgroup
- Select defaults on all other screens and click finish
- Before booting the VIA Appliance we will need to edit settings of the VM
- Map the CD-ROM drive to Datastore ISO
- If the system was imaged at the same version it is now, you can point to bundle-iso folder and select the latest version. If it was imaged at an older version and you want to bring the hosts in at a newer version, upload the ISO and select.
- Click OK and then Power On VIA
- If you are on version 2.2 or 2.2.1 and have All Flash R730 or R730xd follow this post before proceeding
- Now connect to your jump host that has access to the 192.168.0.0/22 and 192.168.100.0/22 subnets in your environment (post coming soon)
- Load the VIA interface http://192.168.100.2:8080/via
- You should see CD Mounted Successfully, if not click Refresh if VIA was booted before mounting CD-ROM/ISO
- Click Browse under ‘Bundle Hash’ Locate your MD5SUM.txt for the respective Imaging version and then click Upload Bundle
- Now that the bundle has been uploaded click Activate Bundle
- Select the Imaging Tab at the top
- Fill in an Appropriate Name in our case EUC Workload Domain
- Description is optional
- Change Deployment type to ‘Cloud Foundation Individual Deployment’
- Ensure Device Type is set to ESXI_SERVER
- Under Server ensure the ‘All Flash’ is Selected and the appropriate number of servers to image based upon the quantity you are adding
- Ensure the Vendor and Model are correct
- The default IP’s should be acceptable as this is considered a temporary range, however if you have two sets of servers you are imaging, make sure they don’t overlap before completing the ‘Add Host’ wizard towards the end of this post.
- Confirm all settings are correct before clicking Start Imaging
- Click Start Imaging
- One thing to note here is that if the servers had ESXi on them before, you will need to manually reboot them to get them to PXE boot. Otherwise if they are new servers they should be looping through PXE boot
- As servers PXE boot, they will show up with a progress bar
- Looking at the console of a servers denoted to be in progress we can see that it is Loading ESXi
- Clicking on one of the servers denoted to be in progress will show the task list of what has been completed and what is remaining:
- Imaging process for all servers will take about 1 hour total
- As servers finish Imaging, their progress bar will turn into a green check
- Once Imaging has completed it will proceed onto Verify
- After which it will go to the Finish task, please wait until this screen shows completed
- Now Click the Inventory Tab, and then click download at the end of the Run ID that corresponds to the name given at step 19. Save this file to location from which has access to the SDDC Manager Interface. If this is the Jump VM saving on any local drive should be acceptable.
- If this is your only imaging operation it would be best practice to Shutdown the VIA appliance as it runs a PXE boot server while in the Imaging process. Also to note, don’t reboot any other server in the rack during imaging to ensure it isn’t picked up by VIA.
The process of Imaging is now complete, however SDDC Manager does not know about the new inventory. We will now need to login to your SDDC Manager UI to complete the task
- After logging into SDDC Manager click Settings on the left, then Add Host in the ribbon bar.
- Select Rack-1 if you are in a single rack configuration, or if you have multi-rack select the appropriate physical location
- Click Browse and point to the vcf-imaging-details manifest file that we downloaded above in step 36
- Confirm the details and click Add Host
- After a few minutes you should see something similar
- If the Continue button doesn’t light up blue after a 3 minutes, click Refresh on the browser and something like this should be displayed allowing you to click Continue
- Now we see the final steps in Add Host, this will take about 30 minutes to complete depending upon the number of hosts
- Once Host bring up completes the following should be displayed, you can click OK at this poing
- Clicking on dashboard shows that our environment now has 14 Hosts, when we started with 10 Hosts