2016-10-10 4 views
1

私の要件はAzureのサービスファブリック、ドメイン名を経由してアクセスアプリケーション

eg: i had 3 services 

1)CustomerApps 
2)CompanyApps 
3)SignInApps 

All the above apps deployed on azure service fabric Cluster 

テナントドメインに基づいてアクセスファブリックアプリケーションにある私はすでにAzureのActive Directory内のカスタムドメインを作成していることを確認し登録したドメイン(例:godady)

So, now i want to display each fabric Application based on Tenant/Domain name like, assumed i had custom domain dev-tennat.xyz.com 

so,application url will be 
dev-tennat.xyz.com/SignInApps 
dev-tennat.xyz.com/CompanyApps 
dev-tennat.xyz.com/CustomerApps 

答えて

1

1) "your-domain.xyz.com"などのドメインは、Aタイプで、ロードバランサの公開IPを指している必要があります。ロードバランサの概要でIPを見つけることができます。

lbip

2)あなたは、あなたの負荷を分散するためのカスタムプローブを設定する必要があります。

go to “Probes” under “Settings” category. 
Select HTTP protocol 
i’ve set port to 80 as i wanted something to be visible by default 
In “Path” field you specify endpoint you want to expose it can be “/” or “/api/customapi” 
Interval – set value in seconds. Every ‘n’ seconds your “Path” will be triggered to check if app is alive 

3)あなたは、「設定」カテゴリの「負荷分散ルール」にカスタムルール

Go]を設定し、新しいルールを作成する必要があります。新しいルールを作成するとき:

“Port” is your publicly exposed port (80 in my case), 
“Backend port” is internal port of your app (you can find it in service manifest in <EndPoint /> element. In my case it’s 8164) 

"Probe"フィールドに、以前に作成したプローブを選択します。

必要に応じていくつかのスクリーンショットがあります。 https://eduardlos.wordpress.com/2016/10/10/how-to-access-your-app-when-deployed-to-azure-service-fabric-cluster/

関連する問題