Deploying a vIDM clustered environment using NSX-T Loadbalancer


Deploying a vIDM clustered environment using NSX-T Loadbalancer

Updated: Jun 30, 2023

Rated NaN out of 5 stars.

Documenting steps taken to install a vIDM ( Workspace One ) in my lab so that it would benefit others too

Step-1 : Certificate Creation in Locker

Create a certificate inside vRSLCM Locker. This would be your vIDM certificate

Enter all information which is needed to create a certificate in the locker

You must enter the load balancer name of in the CN field

Under IP and Hostname section , enter all hostnames which belongs to vIDM cluster including Load Balancer

Once certificate is created , click on the three dots next to the certificate and then download it

A .pem file will be downloaded

Edit the .pem file with the notepad

The first section would be server certificate followed by root certificate. In my case root certificate is from vRSLCM’s locker.

The last section would be the private key.

Copy the root certificate and create a separate cert called root.cer and then create a seperate file with server certificate and the key and call itas server certificate with key.

Step:2 Importing certificates into NSX-T

Login into NSX-T and then click on system to import the certificate files saved before

  • root certificate
  • server certificate with key

root certificate should be imported as CA cert and then server certificate as certificate

Step:3 Create Service Monitors

You set up health check monitoring.Servers that fail to respond to the health checks within a specified time period are excluded from future connection handling.

In a Web browser, log in to NSX-T Manager for the Management domain by using the user interface.

On the main navigation bar, click Networking.

In the navigation pane, click Load balancing and click the Monitors tab.

From the Select monitor type drop-down menu, select Active.

From the Add active monitor drop-down menu, select HTTPS and configure the settings.

​SettingValue
Namedidmmonitor
ProtocolHTTPS
Monitoring Port443
Monitoring Interval3
Timeout Period10
DescriptionMonitor for Distributed vIDM or WS1
Falls Count3
Rise Count3

In the HTTP request section, click Configure

The HTTP request and response configuration dialog box opens.

On the HTTP request configuration tab, configure the settings

SettingValue
HTTP MethodGet
HTTP request URL/SAAS/API/1.0/REST/system/health/heartbeat
HTTP request version1.1

On the HTTP response configuration tab, configure the settings, and click Apply

SettingValue
HTTP response code200
HTTP response bodyok

In the SSL configuration section, click Configure.

SettingValue
Server SSLEnabled
Client certificateSelect the server certificate with key
Server SSL Profiledefault-balanced-server-ssl-profile

On the Monitors page, click Save

Step:4 Creating Server Pool

The server pool determines the load balancing algorithm and combines resources from the pool members.

You add the three Workspace ONE Access cluster nodes as members of the server pool.

NameIP Address
didmone.example.com10.xx.xx.1
didmtwo.example.com10.xx.xx.2
didmthree.example.com10.xx.xx.3

In a Web browser, log in to NSX-T Manager for the Management domain by using the user interface

On the main navigation bar, click Networking.

In the navigation pane, click Load balancing, click the Server pools tab, and click Add server pool.The Add new server pool wizard opens.

On the General properties page, configure the settings

SettingValue
Namedidmserverpool
DescriptionServer Pool for vIDM or WS1
AlgorithmLeast Connection
Translation ModeAutomap

Click Select Members

On the Configure server pool members page, click Add member, configure the settings, click Save, and click Apply

SettingValue for didmoneValue for didmtwoValue for didmthree
Namedidmonedidmtwodidmthree
IP192.xx.xx.1192.xx.xx.2192.xx.xx.3
Port443443443
Weight111
StateEnabledEnabledEnabled
Backup MemberDisabledDisabledDisabled
Maximum concurrent connections---

Click Set Monitors, on the Select health monitors page, select didmmonitor, and click Apply..

On Server Pool page, click Apply

Step:5 Create Application Profiles

You create an application profile and associate it with a virtual server to define the behavior of a particular type of network traffic. The virtual server then processes traffic according to the values specified in the profile.

In a Web browser, log in to NSX-T Manager for the Management domain by using the user interface.

Create the application profiles for Workspace ONE Access or vIDM cluster

On the main navigation bar, click Networking.

In the navigation pane, click Load balancing and click the Profiles tab.

From the Select profile type drop-down menu, select Application.

From the Add application profile drop-down menu, select HTTP Profile, configure the settings, and click Save.

SettingValue for Application ProfileValue for Application Profile Redirect
Namedidmhttpappprofiledidmhttpappprofileredirect
TypeHTTPHTTP
Idle Timeout36003600
DescriotionvIDM & WS1 App ProfilevIDM & WS1 App Profile Redirect
X-Forwarded-ForInsertnone
Request Header Size10241024
Response Header Size40964096
RedirectionNoneHTTP to HTTPS Redirect
Response Timeout6060
NTLM AuthenticationDisabledDisabled

Create a persistence profile for the cross-region Workspace ONE Access cluster.

On the Load balancing page, click the Profiles tab.

From the Select profile type drop-down menu, select Persistence.

From the Add persistence profile drop-down menu, select Cookie, configure the settings,

and click Save.

SettingValue
Namedidmcookiepersistenceprofile
DescriptionCookie Persistence Profile
Share PersistenceDisabled
Cookie ModeRewrite
Cookie NameJSESSIONID
Cookie GarblingEnabled
Cookie FallbackEnabled

Step:6 Creating Virtual Servers

You create two L7 HTTP virtual servers for the cross-region Workspace ONE Access cluster. These virtual servers are associated with the configured application profile and server pool and distribute client connections among the server pool members.

In a Web browser, log in to NSX-T Manager for the Management domain by using the user interface.

On the main navigation bar, click Networking.

In the navigation pane, click Load balancing and click the Virtual servers tab.

From the Add virtual server drop-down menu, select L7 HTTP and configure the settings

SettingValue
Namedidmvirtualserver
IP AddressIP of the VIP
Ports443
Load Balancerselect appropriate lb in your environment
Server Poolselect the server pool created in previous step
DescriptionVirtual Server Pool for vIDM or WS1
Application ProfileSelect Application Profile created previously
PersistenceCookie
CookieSelect the persistence profile created previously

In the SSL Configuration section, click Configure

The Edit SSL configuration dialog box opens.

Click the Client SSL tab and configure the settings

SettingValue
Client SSLEnabled
Default Certificateselect the server certificate for vIDM
Client SSL Profiledefault-balanced-client-ssl-profile

Click the Server SSL tab, configure the settings, and click Save

SettingValue
Server SSLEnabled
Client Certificateselect the server certificate for vIDM
Server SSL Profiledefault-balanced-server-ssl-profile

Remember to select root certificate for LCM or any custom CA if your using your own certificate under Advanced Properties on both Client and Server SSL

Expand the Load balancer rules section.

Next to the Request rewrite phrase section click Set.The Set load balancer rules wizard opens.

Click the Request rewrite tab, click Add rule, configure the settings, and click Save

SettingValue
Match ConditionsDelete Any Match Conditions
Match StrategyAll
ActionHTTP Request Header Rewrite
Header NameRemote Port
Header Value$_remote_port

On Set load balancer rules page, click Apply.

On the Virtual servers page, click Save.

From the Add virtual server drop-down menu, select L7 HTTP, configure the settings, and click Save.

SettingsValue
Namedidmvirtualserverredirect
IP AddressIP of the VIP
Ports80
Load BalancerSelect Load Balancer based on your environment
Sevrer Pool-
DescriptionVirtual Server for HTTP to HTTPS Redirect
Application ProfileSelect the redirect application profile created before
PersistenceDisabled

This concludes NSX-T Load Balancer configuration for vIDM or Workspace One

Step:7 Installing vIDM through vRSLCM

  • Click on “Create Environment”
  • Enable the trigger which says “Enable to Install/Import Identity Manager”
  • Select the password , this is the default password
  • Datacenter where it’s to be provisioned
  • Click on next to select “New Install” for vIDM. Choose Version and then the deployment type to be a cluster
  • Accept EULA
  • Select the certificate we created from Locker
  • Select the vCenter Server , Cluster , Network , Datastore and Disk Mode as per your requirements
  • Enter Default Gateway , Netmask , DNS and Search Path information along with DNS Server selection
  • In the next pane you have map / enter all product properties like
Selection of Certificate , select the certificate created before in locker
Node Size , would be selecting Medium 
FIPS Compliance Mode , I'd leave it OFF
Admin Password , I'd leave it to the default installer password
Default Configuration Admin email would be configadmin@vsphere.local    
Default Configuration Admin username would be configadmin
Default COnfiguration Admin password would be same as before , installer password
I'd leave Sync Group Members ticked / selected 

In the Cluster Virtual IP Section , enter the FQDN and Delete IP for Database

Under Components Section , enter  VM Name , FQDN and IP Address of all the three nodes
  • Perform Manual Validations

  • Go ahead and check the box when manual validations are complete and ensure precheck is all good and green to move forward

  • Submit the Request for deployment

Step:8 vIDM Distributed Installation Completion