Caution: Articles written for technical not grammatical accuracy, If poor grammar offends you proceed with caution ;-)
vCAC has a feature that can be enabled to provide support for Static IP address assignments of provisioned workloads. This Static IP Address feature allows you to create “Network Profiles” that you assign to your networks from which it assigns IP addresses to machines that are provisioned on to the network. vCAC handles IP address allocation in the following way:
- When a machine request is submitted it get placed on the appropriate reservation that is assigned to the group that can support the request.
- Once placed on the reservation it get’s assigned to a network. If the network has a “Network Profile” assigned to it the machine will receive the next available IP Address form the “Network Profile. If not no address will be assigned.
- As pat of the machine provisioning process you can execute “VMware Customization Specs” that perform the sysprep operation on the provisioned machine. When an IP address is assigned from a “Network Profile” vCAC instructs vCenter to override the customization spec with the IP information assigned to the machine. (When using VMware cloning either customization specifications” or the “vCAC Guest Agent” is required for static IP address assignments.)
Be sure that you have completed the steps in the below posts before configuring Static IP Services:
- vCloud Automation Center- vCAC 5.1 – What to know before you install!
- vCloud Automation Center- vCAC 5.1 – vCAC Manager Installation
- vCloud Automation Cetner – vCAC 5.1 – DEM Installation
- vCloud Automation Center – vCAC 5.1 – Laying the foundation
- vCloud Automation Center – vCAC 5.1 – Connecting to vCenter
Enabling Static IP Address Support
1. Go to the “vCAC Administrator” menu and select “Customization“. Once on the “Customization” page check the box next to “Enable static IP service” and click “Ok“. This will enable a menu option under “Enterprise Administrator” called “Network Profiles”
Create a Network Profile”
Assign an IP Address Range
Add Network Profile to Reservation
11. In the “Network Section” you will see drop down boxes to the “Networks“. Click the drop down next to the network you want to assign your profile to, and select the “Network Profile” you created. and then click “Ok“.
Your Network Profile is now ready for use. Go head and request a machine that is will be provisioned against the reservation and network that your profile is attached to. Once you make your request navigate to Enterprise Administrator select Network Profiles, and then select the profile you created. You will see your newly requested machine assigned to an IP Address.
Cool Use Case
There is some cool use cases that can be achieved through the use of Network Profiles. One that I want to call out in this article is being able to define network ranges per provisioning group. If you want to have different IP ranges assigned to different groups it’s really easy. Because reservations are assigned to only one group, you can create a Network Profile for each group and assign each one a different range of IP addresses. Then assigned the relevant Network Profile to the respective groups reservations and you have IP pools being assigned to specific groups.