This guide shows you how to set up and configure load balancing for a SharePoint application using the built-in Edge Gateway in vCloud Air. The architecture diagram below shows a SharePoint farm that is distributed across the hybrid cloud. The SharePoint virtual machine we created in vCloud Air is already joined to a SharePoint farm in the local vSphere environment. Now we just need to configure the virtual machine to make it Internet accessible and ready to be load balanced across multiple virtual machines.
Watch the video
To identify which IP addresses are in use and which are available:
3. Go to the Gateways tab and click Manage in vCloud Director to drop into the vCloud Director UI.
Remember that when this virtual datacenter was initially created, it came with two public IP addresses. You can review these addresses to determine which one is not yet being used.
4. In the vCloud Director UI, go to the Administration screen and click the SharePoint virtual data center.
5. Go to the Edge Gateways tab, click the gateway, and then select External IP Allocations.
6. Review the external IP allocations.
7. To identify the IP address that is still available, click the SharePoint gateway again and select Properties.
8. Go to the Sub-Allocate IP Pools tab and review the IP range.
To implement load balancing, you need to create a server pool as well as a virtual server, which acts as the actual load balancer.
Create the Server Pool
To create the server pool:
4. Still in the wizard, on the Manage Members screen, click the Add button to add the different servers to the pool.
5. In the Add Member window, add the previously created SharePoint virtual machine by completing the following fields and then clicking OK.
6. Back in the wizard, click Next to move to the Ready to Complete screen, and then click Finish.
Create the Load Balancer
To create the load balancer:
3. On the Load Balancer tab, click OK to start configuration.
At this point, it’s a good idea to verify that the external IP address has been allocated correctly to the load balancer. To do this, follow these steps:
4. In the vCloud Director UI, on the Administration screen, go to the Edge Gateways tab, click the SharePoint gateway, and then select External IP Allocations.
5. Review the external IP allocations.
The next task is to create firewall rules to allow traffic to flow through the load balancer to the SharePoint virtual machines.
On the Firewall tab, click OK to turn on the new rule.
The last task is to verify that configuration for external access was successful.
At this point, your SharePoint application is ready to go. You’ve taken the application, expanded it into vCloud Air, and load balanced it there. This means that people who are on the Internet can access the application without compromising firewalls throughout the corporate network.