Scaling out your VNF with TCA: Difference between revisions

From Iwan
Jump to: navigation, search
No edit summary
(Fix)
 
(2 intermediate revisions by the same user not shown)
Line 15: Line 15:
<div style="clear:both"></div>
<div style="clear:both"></div>


=STEP 1: Scale a VNF with a new app VM=
=STEP 1{{fqm}} Scale a VNF with a new app VM=


Click on the VNF you want to scale.
Click on the VNF you want to scale.
Line 62: Line 62:
<div style="clear:both"></div>
<div style="clear:both"></div>


=STEP 2: Run workflow to add new app VM to the Load Balancer Pool=
=STEP 2{{fqm}} Run workflow to add new app VM to the Load Balancer Pool=


The Load Balancer does not know at this point that there is a new Application Server (App-2) added and you need to tell it that it is there so it can put it in the pool.
The Load Balancer does not know at this point that there is a new Application Server (App-2) added and you need to tell it that it is there so it can put it in the pool.
Line 108: Line 108:
* [[Deploy a NFV Lab with VMware TCA and VCD|Deploy an NFV Lab with VMware TCA and VCD]]
* [[Deploy a NFV Lab with VMware TCA and VCD|Deploy an NFV Lab with VMware TCA and VCD]]
* [[Deploying your first VNF with TCA]]
* [[Deploying your first VNF with TCA]]
* [[Scaling out your VNF with TCA]]
[[Category:NSX-T NFV]]


[[Category:NSX]]
[[Category:NSX]]
[[Category:Networking]]
[[Category:Networking]]
[[Category:VMware]]
[[Category:VMware]]

Latest revision as of 06:54, 16 March 2024

I have shown you how to set up the complete infra with TCA and VCD here.

I have also shown you how to create your first VNF here.

In this article, I will show you how to scale out this VNF using TCA and how to add the scaled out "app VM" to the load balancer using a workflow.

Configuration Steps

  • STEP 1: Scale a VNF with a new app VM
  • STEP 2: Run workflow to add new app VM to the Load Balancer Pool

Initially, when you browse to the Load Balancer IP Address you will end up on app-1 and this will always be the case because app-1 is the only application server available.

NFV2-STEP-01-1.png

STEP 1» Scale a VNF with a new app VM

Click on the VNF you want to scale.

NFV3-STEP-01-2.png

Click on "Actions" and select "Scale".

NFV3-STEP-01-3.png

Select the "App" to scale and change the "Number of Steps" to "1".

NFV3-STEP-01-4.png

Make sure you change the IP address of the App and DB Network and the hostname of the new "app" server (app-2) so it will not be the same as the first app Server.

NFV3-STEP-01-5.png

Review the scale settings, and complete the scale.

NFV3-STEP-01-6.png

This is a screenshot of the existing VM's in the vCenter Server.

NFV3-STEP-01-7.png

After initiating the "scale" the state will change to "Processing".

NFV3-STEP-01-8.png

And eventually, the state will change to "Completed" with the "Scale" Operation.

NFV3-STEP-01-9.png

This is a screenshot of the existing VM's in vCenter Server with the added (scaled) application VM.

NFV3-STEP-01-10.png

STEP 2» Run workflow to add new app VM to the Load Balancer Pool

The Load Balancer does not know at this point that there is a new Application Server (App-2) added and you need to tell it that it is there so it can put it in the pool.

You do this by clicking on the VNF again and on the "actions" menu and this time you select "Run a Workflow".

NFV3-STEP-02-1.png

Select the "add-app-to-lb" Workflow.

NFV3-STEP-02-2.png

Specify the (existing) LB IP Address and the (new) APP IP Address.

NFV3-STEP-02-3.png

After initiating the "run workflow" the state will change to "Processing".

NFV3-STEP-02-4.png

And eventually, the state will change to "Completed" with the "Workflow" Operation.

NFV3-STEP-02-5.png

Test the application reachability

Now that app-2 has been added to the Load Balancer you can test if the Load Balancer takes the new app-2 into consideration.

The initial output when you browse to the Load Balancer IP addres slooks like this:

NFV3-STEP-02-6.png

After refreshing the webpage a few times the app-2 is now receiving the traffic.

NFV3-STEP-02-7.png

Related Articles