vRA-Lab-15-Configure and Assign Network Profiles

By default, vRealize Automation uses Dynamic Host Configuration Protocol (DHCP) to assign IP addresses to provisioned machines.

Fabric administrators can create network profiles to define a range of static IP addresses that can be assigned to machines. Network profiles can be assigned to specific network paths on a reservation. Any cloud machine or virtual machine provisioned by cloning or kickstart/autoYaST that is attached to a network path that has an associated network profile is provisioned using static IP address assignment.

Tenant administrators or business group managers can also assign network profiles to blueprints by using the custom property VirtualMachine.NetworkN.ProfileName. If a network profile is specified in both the blueprint and the reservation, the profile specified in the blueprint takes precedence.

NOTE:

When a machine that has a static IP address is destroyed, its IP address is made available for use by other machines. The process to reclaim static IP addresses runs every 30 minutes, so unused addresses may not be available immediately after the machines using them are destroyed. If there are not available IP addresses in the network profile, machines cannot be provisioned with static IP assignment on the associated network path.

1-Create a Network Profile for Static IP Address Assignment

Fabric administrators can create network profiles to define a range of static IP addresses that can be assigned to machines.

Prerequisites

1-Log in to the vRealize Automation console as a fabric administrator. In my case, I have created one already in my Active Directory with name “vmexpo-fadmin@vmexpo.local” and gave permission to configure fabric group during “create Fabric Group” Configuration. Enter the “credentials” and click “Login”

vRASeries-10-ConfMachinePrefix-01

Procedure

You may choose “My Goal” walkthrough wizard and go to “Infrastructure” tab -> Reservations -> Network Policies -> Click “New Networks Policy-> External”

vRASeries-15-Networkprofiles-01

1-In “Network Profile information” tab, Enter Network Profile name “VMExpo-External (Internet)” and description “optionally”

2-Type a mask address “255.255.255.0” and Gateway optionally.

NOTE: The gateway address is required for a one-to-one NAT network profile.

3- Additionally type DNS Suffix “vmexpo.local” and DSN Search Suffixe “vmexpo.local”

vRASeries-15-Networkprofiles-02

2-Configure IP Ranges

A fabric administrator can define one or more ranges of static IP addresses for use in provisioning a machine.

Procedure

Click the IP Ranges tab ->Click “New Network Range”.

vRASeries-15-Networkprofiles-03

1-In “IP Range” tab, Click “New Network Range”

2-The New Network Range dialog box appears as shown below, enter a name “VMExpo External IPs” and a description “optionally”

3-Enter an IP address Range “192.168.11.50-192.168.11.60” and Click “OK”.

vRASeries-15-Networkprofiles-04

The newly defined IP address range appears in the “Defined Ranges list”. The IP addresses in the range appear in the “Defined IP Addresses list” as shown below. Once done, Click “OK”

vRASeries-15-Networkprofiles-05

Verify your first created network profile as shown below

vRASeries-15-Networkprofiles-06

2-Assign a Network Profile to a Reservation

Fabric administrators can assign a network profile to a reservation to enable static IP assignment to machines provisioned on that reservation.

Network profiles can also be assigned to blueprints by using the custom property VirtualMachine.NetworkN.ProfileName. If a network profile is specified in both the blueprint and the reservation, the profile specified in the blueprint takes precedence.

You may choose “My Goal” walkthrough wizard and go to “Infrastructure” tab -> Reservations -> Reservations -> Click Reservation “RG-Cluster-Res-1” and Choose “Edit”

vRASeries-15-Networkprofiles-07

In Edit Reservation -> Click the “Network” tab. ->Assign a network profile “VMEXpo-External (Internet)” to “PG-VM-External” Network path. Once done. Click “OK”

vRASeries-15-Networkprofiles-08

Repeat the same process to assign other Network Profiles to their respective Network paths

Advertisements

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s