iAPP SharePoint 2013 deployment with multiple backend ports

Looking for assistance with a sharepoint deployment but its a bit locked down…

Im using the iAPP template (the new one for 2013) but the app/dev people are asking for different backend ports for each fqdn/service.

For example:

public-sharepoint.companyname.com

management-sharepoint.companyname.com

hr-sharepoint.companyname.com

They want to use a single IP address of 100.100.100.100:443

But they want the backend ports for each sharepoint to be different:

public-sharepoint real IPs:

192.168.100.100:30000

192.168.100.101:30000

management-sharepoint real IPs:

192.168.100.100:30001

192.168.100.101:30001

Is there a way to do this and using the template or am I going to do everything from scratch?

Hi dirtiPACKET,

Assuming that you have your alternate access mappings set up correctly in SharePoint, you should start by configuring the iApp. You will need to create additional LTM pools for each port to which traffic will be forwarded on the SharePoint servers (for example, one pool for the port 30000 traffic and another for port 30001). Then, create an iRule that forwards to those pool based on the request host header value. Here’s an example:

when HTTP_REQUEST {
    switch -glob [string tolower [HTTP::host]] {
        management-sharepoint.companyname.com* { pool mgmt_pool }
        public-sharepoint.companyname.com* { pool public_pool }
        hr-sharepoint.companyname.com* { pool hr_pool }
    }
}

Use the advanced options of the iApp to attache that iRule to the SharePoint virtual server, and you should be good to go.

thanks

Mike

Right on! Ill try this out and see what happens. I was reading on the MS Sharepoint deployment that this can be done via the Sharepoint management versus doing it on the F5? Im not familiar with the Sharepoint side of it but your solution looks like it should work! Thanks again!