vCloud Air - Configure SharePoint Networking

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


 

1. Identify IP Addresses

To identify which IP addresses are in use and which are available:

  1. If you’re not already logged in, go to https://vchs.vmware.com/login and log in to vCloud Air.
  2. From the Dashboard, click the desired virtual data center
  • In this example, we use the SHAREPOINT virtual data center.



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.

  • You can see that 69.194.137.230 is being used.



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.

  • You can see that 69.194.137.230 and 69.194.137.231 are the two public IP addresses attached to this virtual data center. Because .230 is already being used, .231 is an IP address that is still available.


2. Configure Load Balancing


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:

  1. On the Edge Gateways tab, click the gateway, and then select Edge Gateway Services.



  2. Go to the Load Balancer tab, select Pool Servers and then click the Add button.



  3. Complete the Add Load Balancer Member Pool wizard by entering information as follows and then clicking Next to advance through the screens.



  • Name & Description: Name the pool. (This example uses sharepoint-1.)
  • Configure Service: Select a load balancing method. (This example uses HTTP with Round Robin on port 80..)
  • Configure Health Check: If desired, configure a health check. (This example does not use a health check, so all fields are left unchanged.

 

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.

  • IP Address: Enter the IP address of the virtual machine. (For this example, the address is 192.168.109.5.)
  • Services & Monitoring: Enable the selected services, ports, and monitor ports. (This example uses HTTP on port 80.)
  • Note: If you had other servers, you would continue to add them here.




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:

  1. On the Load Balancer tab, click Virtual Servers, and then click Add.



  2. In the Add Virtual Server window, add the virtual server by completing the following fields and then clicking OK.
  • Name: Name the virtual server. (For this example, the name is Sharepoint-LB.)
  • Applied on: Choose the network where the virtual server will be applied. (Here, the virtual server is applied on the external network to load balance traffic from the Internet.)
  • IP address: Enter the virtual server’s IP address. (In this example, the IP address isthe remaining available public address—69.194.137.231.)
  • Pool: Select the associated pool of servers. (Here, the newly created sharepoint-1 pool is used.)
  • Services: Enable the desired services and ports. (This example uses HTTP on port 80.)
  • Persistence Method: Choose the desired persistence method from the pull-down menu. (This example uses no persistence method.)




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.

  • You can see that .230 is still in use, and .231 is now assigned to the load balancer.




3. Create Firewall Rules


The next task is to create firewall rules to allow traffic to flow through the load balancer to the SharePoint virtual machines.

  1. Still on the Administration screen and Edge Gateways tab, click the SharePoint gateway and select Edge Gateway Services.



  2. Go to the Firewall tab and click the Add button.



  3. In the Add Firewall Rule window, create a new rule by completing the following fields and then clicking OK.
  • Name: Name the rule. (For this example, the rule name is Sharepoint.)
  • Source: Indicate the source of traffic. (Here, the source is any so that you can ping from the inside as well as the outside.)
  • Source port: Indicate the source port. (Here, the source port is kept as any)
  • Destination: Enter the destination IP address. (For this example, the address is 69.194.137.231.)
  • Destination port: Indicate the destination port. (Here, just like the source port, the destination port is kept as any
  • Protocol: Set the desired protocol from the pull-down menu. (Here, the protocol is any)
  • Note: This firewall rule is a very basic example. In reality, more stringent rules are recommended for security purposes.




On the Firewall tab, click OK to turn on the new rule.

4. Verify External Access


The last task is to verify that configuration for external access was successful.

  1. Open a browser.
  2. Ping the external IP address at http://69.194.137.231.




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.