VMware Cloud Community
phillbl
Enthusiast
Enthusiast
Jump to solution

Create dns record for LB vip

Hi,

i have created a multi tiered stack that has two 3 web servers at the front end that sits behind a Load balance Edge device.  this is done by using the blue print designer.

it works fine, the tiered apps all build along with the LB, what i would like to dns is then have the option to register a name in dns for the VIP.

can this be done or anone done this before?

thanks

Tags (2)
Reply
0 Kudos
1 Solution

Accepted Solutions
sbeaver
Leadership
Leadership
Jump to solution

What I have done for things like this is to make an API call to the DNS and create a host record for the VIP.  This is something you will need to code and could create as a subscription during the provisioning.  You can present the question in the bluebrint form to register the VIP in DNS and use that value as the trigger for the subscription.

Steve Beaver
VMware Communities User Moderator
VMware vExpert 2009 - 2020
VMware NSX vExpert - 2019 - 2020
====
Co-Author of "VMware ESX Essentials in the Virtual Data Center"
(ISBN:1420070274) from Auerbach
Come check out my blog: [www.virtualizationpractice.com/blog|http://www.virtualizationpractice.com/blog/]
Come follow me on twitter http://www.twitter.com/sbeaver

**The Cloud is a journey, not a project.**

View solution in original post

5 Replies
sbeaver
Leadership
Leadership
Jump to solution

What I have done for things like this is to make an API call to the DNS and create a host record for the VIP.  This is something you will need to code and could create as a subscription during the provisioning.  You can present the question in the bluebrint form to register the VIP in DNS and use that value as the trigger for the subscription.

Steve Beaver
VMware Communities User Moderator
VMware vExpert 2009 - 2020
VMware NSX vExpert - 2019 - 2020
====
Co-Author of "VMware ESX Essentials in the Virtual Data Center"
(ISBN:1420070274) from Auerbach
Come check out my blog: [www.virtualizationpractice.com/blog|http://www.virtualizationpractice.com/blog/]
Come follow me on twitter http://www.twitter.com/sbeaver

**The Cloud is a journey, not a project.**
Andre24680
Contributor
Contributor
Jump to solution

how do you get the VIP IPaddress at this stage?

I have a vRO WF that has as input IP & FQDN and creates DNS entries. The missing link for me is how to pass the IP in.

Thanks
Andre

Reply
0 Kudos
sbeaver
Leadership
Leadership
Jump to solution

For me I make a call to the DNS system for the next available address and use the return IP for what is needed

Steve Beaver
VMware Communities User Moderator
VMware vExpert 2009 - 2020
VMware NSX vExpert - 2019 - 2020
====
Co-Author of "VMware ESX Essentials in the Virtual Data Center"
(ISBN:1420070274) from Auerbach
Come check out my blog: [www.virtualizationpractice.com/blog|http://www.virtualizationpractice.com/blog/]
Come follow me on twitter http://www.twitter.com/sbeaver

**The Cloud is a journey, not a project.**
Reply
0 Kudos
Andre24680
Contributor
Contributor
Jump to solution

How do you ‘make’ the call?

i have a vRO workflow that does all of that for me (works fine for deploying a VM).

what I am missing is the “trigger” and the properties when I try doing that with a LB instead of a VM

Reply
0 Kudos
sbeaver
Leadership
Leadership
Jump to solution

I have two different IP /DNS systems that are used based on a specific the environment and the calls are made to these external systems via SOAP / REST and or shell. 

Steve Beaver
VMware Communities User Moderator
VMware vExpert 2009 - 2020
VMware NSX vExpert - 2019 - 2020
====
Co-Author of "VMware ESX Essentials in the Virtual Data Center"
(ISBN:1420070274) from Auerbach
Come check out my blog: [www.virtualizationpractice.com/blog|http://www.virtualizationpractice.com/blog/]
Come follow me on twitter http://www.twitter.com/sbeaver

**The Cloud is a journey, not a project.**
Reply
0 Kudos