IP address allocated in random order when deployment in Aria automation
search cancel

IP address allocated in random order when deployment in Aria automation

book

Article ID: 434026

calendar_today

Updated On:

Products

VCF Operations/Automation (formerly VMware Aria Suite)

Issue/Introduction

IP address not allocated in sequence during VM provisioning, the second allocated IP address may be far away from the first allocated IP address.

The unallocated IP address may be wasted while the IP allocation could not be forecasted

Environment

VMware Aria Automation 8.18.x

Cause

If a specific IP is not requested, the vRA algorithm does not ensure allocating IPs in sequence. This was never supported.
Initially or a new range the IPs are allocated in sequence. However, as some of the previously allocated IPs are releases and become available again they are allocated first and they are picked at random.
So when the range has been use over time it will seem random. However, no IPs are wasted.

Resolution

If you want specific IPs to be allocated use the address field on the VM network, for example, add statics address in template as input:

    
resources:
 wpnet:
   type: Cloud.Network
   properties:
     name: wpnet
     networkType: public
     constraints:
       - tag: sqa
 DBTier:
   type: Cloud.vSphere.Machine
   properties:
     flavor: small
     image: linux-template
     networks:
       - name: '${wpnet.name}'
         assignment: static
         network: '${resource.wpnet.id}'

More detail please refer to doc