標籤:business request blank 伺服器 skype
申明:文章中部分內容有涉及官方協助或者網上資源整合,如有違權,請速與作者聯絡,謝謝!
[email protected]
培訓:Skype for Business Server 2015-項目實戰-培訓-QQ群:65235615。(學員群,非所有人員都加。)
參照:
Using IIS Application Request Routing (ARR) as a TMG Replacement
http://masteringlync.com/2013/02/12/using-iis-application-request-routing-arr-as-a-tmg-replacement/
1. 建立-伺服器陣列
SFBFEPool01.i-x-Cloud.com
SFBFEPool01.i-x-Cloud.com
8080
4443
650) this.width=650;" title="clip_image002" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; border-left: 0px; padding-right: 0px" border="0" alt="clip_image002" src="http://s3.51cto.com/wyfs02/M00/6F/9A/wKiom1WilUriL4wPAAEEVqPyMxk736.jpg" "722" height="361" />
650) this.width=650;" title="clip_image003" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; border-left: 0px; padding-right: 0px" border="0" alt="clip_image003" src="http://s3.51cto.com/wyfs02/M02/6F/9A/wKiom1WilUqQ2dQ9AADUDnYzI-8503.jpg" "681" height="580" />
650) this.width=650;" title="clip_image004" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; border-left: 0px; padding-right: 0px" border="0" alt="clip_image004" src="http://s3.51cto.com/wyfs02/M01/6F/9A/wKiom1WilUuDO047AADiSWYNrpc896.jpg" "681" height="580" />
650) this.width=650;" title="clip_image005" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; border-left: 0px; padding-right: 0px" border="0" alt="clip_image005" src="http://s3.51cto.com/wyfs02/M00/6F/9A/wKiom1WilUvDK-aiAAEON8pBi4g467.jpg" "681" height="580" />
SFBFEPool01.i-x-Cloud.com
650) this.width=650;" title="clip_image006" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; border-left: 0px; padding-right: 0px" border="0" alt="clip_image006" src="http://s3.51cto.com/wyfs02/M00/6F/97/wKioL1WilyHy6G_CAAEZCkBX8WA687.jpg" "681" height="580" /> 650) this.width=650;" title="clip_image007" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; border-left: 0px; padding-right: 0px" border="0" alt="clip_image007" src="http://s3.51cto.com/wyfs02/M00/6F/9A/wKiom1WilUyiOFWeAAF5C-hNUKQ801.jpg" "681" height="580" />
650) this.width=650;" title="clip_image008" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; border-left: 0px; padding-right: 0px" border="0" alt="clip_image008" src="http://s3.51cto.com/wyfs02/M01/6F/9A/wKiom1WilU3y7pfGAAF7cxnzrFk254.jpg" "681" height="580" />
SFBFEPool01.i-x-Cloud.com
8080
4443
650) this.width=650;" title="clip_image009" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; border-left: 0px; padding-right: 0px" border="0" alt="clip_image009" src="http://s3.51cto.com/wyfs02/M02/6F/9A/wKiom1WilU3hYvL1AAC1fUUMffQ729.jpg" "486" height="199" />
650) this.width=650;" title="clip_image011" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; border-left: 0px; padding-right: 0px" border="0" alt="clip_image011" src="http://s3.51cto.com/wyfs02/M01/6F/9A/wKiom1WilU2TL8qgAAE4P9M2KCk455.jpg" "722" height="361" />
2. 修改設定
650) this.width=650;" title="clip_image013" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; border-left: 0px; padding-right: 0px" border="0" alt="clip_image013" src="http://s3.51cto.com/wyfs02/M02/6F/97/wKioL1WilyTwndU7AAE2ocxrwRs573.jpg" "722" height="361" />
650) this.width=650;" title="clip_image015" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; border-left: 0px; padding-right: 0px" border="0" alt="clip_image015" src="http://s3.51cto.com/wyfs02/M01/6F/9A/wKiom1WilU6yUZ-uAAFsshoqBow694.jpg" "722" height="361" />
3. URL重寫
650) this.width=650;" title="clip_image017" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; border-left: 0px; padding-right: 0px" border="0" alt="clip_image017" src="http://s3.51cto.com/wyfs02/M02/6F/9A/wKiom1WilU-g3DjQAAEgiHI4kzk168.jpg" "723" height="222" />
650) this.width=650;" title="clip_image019" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; border-left: 0px; padding-right: 0px" border="0" alt="clip_image019" src="http://s3.51cto.com/wyfs02/M00/6F/97/wKioL1WilyWyJyyPAAEKdaygFyo828.jpg" "723" height="234" />
Double click the ARR_Lync_Loadbalance_SSL rule and let’s understand what you see here:
650) this.width=650;" title="clip_image021" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; border-left: 0px; padding-right: 0px" border="0" alt="clip_image021" src="http://s3.51cto.com/wyfs02/M01/6F/97/wKioL1Wilyay_BfOAAEGhmjH-NQ494.jpg" "722" height="505" />
In the Match URL is basically what we are going to make after the / in the URL. So if our URL was www.domain.com/website the pattern would be /website for example. You will see under Using you will have the option to use Regular Expressions.
The Conditions is a set of inputs that are required to match this rule. Here we will we have HTTPS which basically means we must match SSL requests only.
This is a continuation of the above. The Action section tells us what we should do if we match. So here we will route to the Lync Server Farm. This part is pretty straight forward and will be basically the same for all rules. So let’s create our first Lync Rule.
Meeting/Dialin/External Web Services Rule
Here you have some options based on how you do your simple URLs. If you do “Option A” where you URL would look like:
https://meet.domain.com and https://dialin.domain.com then you would need to use the below rule.
Change Using to: Regular Expression
Change Pattern to: (.*)
650) this.width=650;" title="clip_image023" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; border-left: 0px; padding-right: 0px" border="0" alt="clip_image023" src="http://s3.51cto.com/wyfs02/M02/6F/97/wKioL1WilybyThPzAAEGsv7jmr8011.jpg" "722" height="507" />
650) this.width=650;" title="clip_image024" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; border-left: 0px; padding-right: 0px" border="0" alt="clip_image024" src="http://s3.51cto.com/wyfs02/M00/6F/9A/wKiom1WilVGy1B3kAADMiAssdgM610.jpg" "485" height="357" />
{HTTP_HOST}
(SFBFEPool01.i-x-Cloud.com|dialin.i-x-Cloud.com|meet.i-x-Cloud.com)
Add to Conditions: {HTTP_HOST} on the pattern of (externalwebservices.domain.com|dialin.domain.com|meet.domain.com).
650) this.width=650;" title="clip_image025" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; border-left: 0px; padding-right: 0px" border="0" alt="clip_image025" src="http://s3.51cto.com/wyfs02/M02/6F/9A/wKiom1WilVGTd1kxAADk6MrqUAs500.jpg" "485" height="357" />
650) this.width=650;" title="clip_image026" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; border-left: 0px; padding-right: 0px" border="0" alt="clip_image026" src="http://s3.51cto.com/wyfs02/M00/6F/9A/wKiom1WilVGw6VeeAADkbrX_7eA711.jpg" "485" height="357" />
650) this.width=650;" title="clip_image027" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; border-left: 0px; padding-right: 0px" border="0" alt="clip_image027" src="http://s3.51cto.com/wyfs02/M01/6F/9A/wKiom1WilVKBAnmXAAH2tHKtUSU981.jpg" "758" height="610" />
If you use Option B where your simple URLs might look like this:
https://meet.domain.com/ID/ and https://meet.domain.com/dialin/ your rule would look like this.
((?:^dialin|^id|^Abs|^autodiscover|^CertProv|^CollabContent|^Fonts|^GroupExpansion|^HybridConfig|^lwa|^mcx|^PassiveAuth|^PersistentChat|^Reach|^RequestHandlerExt|^RgsClients|^Scheduler|^Storage|^ucwa|^WebTicket).*)
NOTE: You will need to change dialin and id to whatever you use if using Option B for simple URL’s
NOTE: This is the list of all potential directories as of RTM of Lync 2013. CU1 will most likely add some items so this may need to be edited.
Add to Conditions: {HTTP_HOST} on the pattern of (externalwebservices.domain.com|dialin.domain.com|meet.domain.com).
NOTE: You should NOT add LyncDiscover.domain.com to this rule. The reason we don’t want to add this is because our regular expression doesn’t include the root of the website and lyncdiscover.domain.com/?sipuri= won’t match any of these rules. If you wanted to, you could change your pattern to (.*) and add lyncdiscover.domain.com to the list. I don’t have a good reason to do it either way. Whatever makes the most sense to you but I like to separate them out.
Lync Discover Rule
Now we create a rule for Lync Discover services. Here is what I have created. This rule is created as brand new and not one of the existing rules.
Lyncdiscover.i-x-Cloud.com
650) this.width=650;" title="clip_image028" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; border-left: 0px; padding-right: 0px" border="0" alt="clip_image028" src="http://s3.51cto.com/wyfs02/M02/6F/97/wKioL1WilyjDxmkCAADiGl29YNA021.jpg" "681" height="580" />
650) this.width=650;" title="clip_image029" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; border-left: 0px; padding-right: 0px" border="0" alt="clip_image029" src="http://s3.51cto.com/wyfs02/M02/6F/97/wKioL1WilymjEuuqAAF7cUjru88082.jpg" "681" height="580" />
650) this.width=650;" title="clip_image031" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; border-left: 0px; padding-right: 0px" border="0" alt="clip_image031" src="http://s3.51cto.com/wyfs02/M00/6F/9A/wKiom1WilVTyRfNbAAFUeiTNi3U923.jpg" "723" height="291" />
650) this.width=650;" title="clip_image033" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; border-left: 0px; padding-right: 0px" border="0" alt="clip_image033" src="http://s3.51cto.com/wyfs02/M01/6F/9A/wKiom1WilVTTR-mwAAEU_JA7LU4240.jpg" "722" height="552" />
650) this.width=650;" title="clip_image035" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; border-left: 0px; padding-right: 0px" border="0" alt="clip_image035" src="http://s3.51cto.com/wyfs02/M00/6F/97/wKioL1WilyvAFh0YAAE3KAj3ao0892.jpg" "722" height="552" />
{HTTP_HOST}
Lyncdiscover.i-x-Cloud.com
650) this.width=650;" title="clip_image036" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; border-left: 0px; padding-right: 0px" border="0" alt="clip_image036" src="http://s3.51cto.com/wyfs02/M01/6F/97/wKioL1Wilyuhm4q9AADSBlUAdLQ157.jpg" "485" height="357" />
650) this.width=650;" title="clip_image037" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; border-left: 0px; padding-right: 0px" border="0" alt="clip_image037" src="http://s3.51cto.com/wyfs02/M01/6F/9A/wKiom1WilVWTAqyYAAHTOhyEYRg814.jpg" "756" height="606" />
Here I am defining my pattern match as any request (.*) anything from lyncdiscover.thegaragelab.info URL. Here I am not requiring HTTPS on this rule Lync Discover will use either HTTP or HTTPS.
650) this.width=650;" title="clip_image039" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; border-left: 0px; padding-right: 0px" border="0" alt="clip_image039" src="http://s3.51cto.com/wyfs02/M02/6F/97/wKioL1WilyyAanxuAAGKoghUlfQ400.jpg" "722" height="389" />
650) this.width=650;" title="clip_image041" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; border-left: 0px; padding-right: 0px" border="0" alt="clip_image041" src="http://s3.51cto.com/wyfs02/M00/6F/97/wKioL1WilyzRszgIAAE2GmMbloU649.jpg" "722" height="224" />
查詢-公網IP:
650) this.width=650;" title="clip_image043" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; border-left: 0px; padding-right: 0px" border="0" alt="clip_image043" src="http://s3.51cto.com/wyfs02/M00/6F/9A/wKiom1WilVfzx3ULAAHQIC3UP6A581.jpg" "722" height="324" />
修改-公網DNS的A記錄:
650) this.width=650;" title="clip_image045" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; border-left: 0px; padding-right: 0px" border="0" alt="clip_image045" src="http://s3.51cto.com/wyfs02/M01/6F/97/wKioL1Wily7BU5j1AAHHdrmM2FY427.jpg" "723" height="464" />
HOSTS中未配置:
650) this.width=650;" title="clip_image047" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; border-left: 0px; padding-right: 0px" border="0" alt="clip_image047" src="http://s3.51cto.com/wyfs02/M01/6F/9A/wKiom1WilVjhMxM1AAHAlZhbSMA031.jpg" "722" height="463" />
測試:
https://meet.i-x-cloud.com/sfb01/BP9J6NQ4
650) this.width=650;" title="clip_image049" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; border-left: 0px; padding-right: 0px" border="0" alt="clip_image049" src="http://s3.51cto.com/wyfs02/M02/6F/97/wKioL1Wily_wwi6cAAFbDChkxxg284.jpg" "722" height="402" />
https://dialin.i-x-cloud.com
650) this.width=650;" title="clip_image051" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; border-left: 0px; padding-right: 0px" border="0" alt="clip_image051" src="http://s3.51cto.com/wyfs02/M02/6F/9A/wKiom1WilVnR-LnnAAGFN62L60Q465.jpg" "722" height="532" />
https://sfbfepool01.i-x-cloud.com/PersistentChat/RM?clientlang=zh-CN
650) this.width=650;" title="clip_image053" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; border-left: 0px; padding-right: 0px" border="0" alt="clip_image053" src="http://s3.51cto.com/wyfs02/M00/6F/9A/wKiom1WilVqTHQlQAAEqjPyMK3o514.jpg" "722" height="344" />
https://LyncDiscover.i-x-Cloud.com
650) this.width=650;" title="clip_image055" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; border-left: 0px; padding-right: 0px" border="0" alt="clip_image055" src="http://s3.51cto.com/wyfs02/M01/6F/9A/wKiom1WilV2hBcpJAAD5VPg0wLg549.jpg" "722" height="403" />
650) this.width=650;" title="clip_image056" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; border-left: 0px; padding-right: 0px" border="0" alt="clip_image056" src="http://s3.51cto.com/wyfs02/M02/6F/9A/wKiom1WilV6RL0cmAALBOaHtvUM666.jpg" "687" height="662" />
https://mail.i-x-cloud.com/owa
650) this.width=650;" title="clip_image058" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; border-left: 0px; padding-right: 0px" border="0" alt="clip_image058" src="http://s3.51cto.com/wyfs02/M00/6F/97/wKioL1WilzTC82q4AAE5bX8zJes909.jpg" "723" height="438" />
https://mail.i-x-cloud.com/ecp/
650) this.width=650;" title="clip_image060" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; padding-right: 0px" border="0" alt="clip_image060" src="http://s3.51cto.com/wyfs02/M01/6F/97/wKioL1WilzWCAUNRAAGMaaqu3Ho368.jpg" "723" height="438" />
Skype for Business Server 2015-13-IISARR-2-發布-2-前端伺服器