Blog, Citrix, Exchange, Load Balancing, NetScaler
0

How to configure NetScaler with Exchange 2013 Load Balancing via command line

Here is an example how to configure Microsoft Exchange 2013 Load Balancing on Citrix NetScaler appliance.

This guide assumes that you are already imported certificate on the NetScaler from the Windows Exchange CAS Servers (or any other)

As done in here:

http://janikohonen.com/2014/11/21/how-to-create-export-and-install-ssl-certificate-from-the-windows-server-to-the-netscaler/
Take a full backup of your current NetScaler configuration:

create system backup -level full

Add Exchange Client Access (CAS/SMTP) Servers:

add server EX2013-01 192.168.202.250
add server EX2013-02 192.168.202.251

Create Service Group for SSL:
(Do Not copy-paste “\”None”” commas!)

add serviceGroup service-EXCHANGE-SSL SSL -maxClient 0 -maxReq 0 -cip DISABLED -usip NO -useproxyport YES -cltTimeout 180 -svrTimeout 360 -CKA NO -TCPB NO -CMP YES -appf DISABLED
bind serviceGroup service-EXCHANGE-SSL EX2013-01 443 -CustomServerID “\”None\””
bind serviceGroup service-EXCHANGE-SSL EX2013-02 443 -CustomServerID “\”None\””

Bind default HTTP monitor to Service Group:

bind serviceGroup service-EXCHANGE-SSL -monitorName https

Create and Configure Virtual Server for SSL:

add lb vserver vserver-EXCHANGE-SSL SSL 192.168.202.252 443 -persistenceType SOURCEIP -cltTimeout 180
set ssl vserver vserver-EXCHANGE-SSL -tls11 DISABLED -tls12 DISABLED
bind lb vserver vserver-EXCHANGE-SSL service-EXCHANGE-SSL

Bind certificate to SSL Service Group and Virtual Server:

bind ssl serviceGroup service-EXCHANGE-SSL -certkeyName janikohonen.com
bind ssl vserver vserver-EXCHANGE-SSL -certkeyName janikohonen.com

Save your configuration:

save ns config

++++

Create and modify SMTP monitor:

add lb mon smtp SMTP
set mon smtp SMTP -interval 30 seconds -resptimeout 5 seconds -downtime 120 seconds

Create Service Group for SMTP:
(Do Not copy-paste “\”None”” commas!)

add serviceGroup service-EXCHANGE-SMTP TCP -maxClient 0 -maxReq 0 -cip DISABLED -usip NO -useproxyport YES -cltTimeout 180 -svrTimeout 360 -CKA NO -TCPB NO -CMP YES -appf DISABLED
bind serviceGroup service-EXCHANGE-SMTP EX2013-01 25 -CustomServerID “\”None\””
bind serviceGroup service-EXCHANGE-SMTP EX2013-02 25 -CustomServerID “\”None\””

Bind SMTP monitor to Service Group:

bind serviceGroup service-EXCHANGE-SMTP -monitorName smtp

Create and Configure Virtual Server for SMTP:

add lb vserver vserver-EXCHANGE-SMTP TCP 192.168.202.253 25 -persistenceType SOURCEIP -cltTimeout 180
bind lb vserver vserver-EXCHANGE-SMTP service-EXCHANGE-SMTP

Save your configuration:

save ns config

 

[facebook_like_button]

 

Views: 9160

Jani Kohonen Visit Website

Jani Kohonen is an author of janikohonen.com and working as a Citrix Consultant and Architect with 17 years of experience in the IT industry. Jani’s been working in the IT industry since 1997 and with Citrix technologies since 2001. He holds several years experience with Microsoft, Citrix, Apple, HP and VMware vendors as well as Server, Application and Desktop virtualization and Mobile technologies. He has done dozens of virtualization design and implementation projects from Small Business to the large global enterprise customers and complex environments. Jani is a Citrix, Microsoft, Apple and ITIL certified specialist. Certifications: MCP, MCSA, MCSE, MCTS, MCITP, HP ASP, HP ASC, HP CSA, HP AIS, HP ASE, VCSP, CCSP, CCA, CCAA, CCEA, CCEE, CCIA, CCP-M, CCE-V, APP, ACA, ACSP, ACTC, ITIL.

Related Posts
How to increase Virtual Machine disk space on a XenServer via XenCenter?
VMware Fusion 10 – Cannot import .ova virtual appliance templates anymore?
Citrix releases XenMobile 8.7 with support for iOS 7.1

Leave Your Comment

Your Comment*

Your Name*
Your Webpage