Find me in different places
« Exchange 2013 OWA Review | Main | Setting up your Kemp Load Balancer for PowerShell »

Configuring Exchange 2013 with Powershell- Part 4: Kemp Load Balancer

I have been a little delayed in posting lately, I am hoping to finish all of the posts for Exchange 2013 now that CU 1 has been released and we can now actually deploy it.

I won't spend too much time talking about the load balancer themselves, but they are highly recomended by me, they are a small company and are quckly becoming the standard for Lync and Exchange.

To do the setup its really easy. Lets first setup our arrays

$kempurl = ""
[array]$kempVSIP = "", "", ""
[array]$kempVSPort = "443", "443", "25"
[array]$kempVSProt = "tcp", "tcp","tcp"
[array]$kempCheckPort = "https", "https", "smtp"
[array]$kempServiceType = "http", "http","gen"
[array]$kempVsDefaultGateway = "", ""
[array]$kempRealServerPort = "443", "443", "25"
[array]$kempcheckURL ="","","" #Make sure this has the same number of URLs as services being created, for SMTP leave null

and then another array of the IPs of our CAS

[array]$kempRealServers = "", ""

For this example I am just creating 3 virtual services, 1 for OWA, EAC, EWS, AS; 1 for Outlook Anywhere; and finally 1 for SMTP. Note that this is an example, There are definaly reasons to create seperate services for each directory. If you want to learn more I highly recommend listening to this epsoide of the UC Architects podcast with Greg Taylor.

Now lets get back to configuring, Before we continue, make sure you have already configured your load balancer and can get a simple connection first, look at this post for help connecting. Now lets add our new virtual services.

        $c = Get-Credential
        for($i = 0; $i -lt $kempVsIP.Length; $i ++) {

        $vs = $kempVsIP[$i]
        $port = $kempVsPort[$i]
        $name = $kempVsName[$i]
        $checkType = $kempCheckPort[$i]
        $defaultGateway = $kempVsDefaultGateway[$i]
        $servicetype = $kempServiceType[$i]
        $realserverport = $kempRealServerPort[$i]
        $checkurl = $kempcheckURL[$i]

            $uri = $kempurl+"/access/addvs?vs=$vs&port=$port&prot=$prot&NickName=""$name""&checktype=$checktype&checkport=$port&DefaultGW=$defaultgateway&VStype=$servicetype&ForceL7=yes&transparent=no"

            if($checkurl -ne ""){
                $uri += "&checkURL=$checkurl"

            $returnXML = Invoke-RestMethod -Uri $uri -Credential $c

            foreach($r in $kempRealServers){
                $uri = $kempurl+"/access/addrs?vs=$vs&port=$port&prot=$prot&rs=$r&rsport=$realserverport"

                Invoke-RestMethod -Uri $uri -Credential $c
            $uri = $kempurl+"/access/showvs?vs=$vs&port=$port&prot=$prot"
            $returnXML = Invoke-RestMethod $uri -Credential $c
            $status = $ReturnXML.Response| Select -ExpandProperty code
            if($status -eq "ok"){

So lets talk through this FOR loop, First, I found that trying to build the long string using the indexes of the arrays to cause inconsistant results, so I just set them to local variables then build the string. Next we just build the string and create the VS, add the check URL and the servers and thats it. Note that in this example we set Layer 7 transparency to off, there are many times where using L7 transparency will benifit your organization.

Thats it, the Kemp Technologies solution is pretty awesome and decently priced. If you haven't checked it out go download the demo here. Up next we will install Exchange 2013!

PrintView Printer Friendly Version

EmailEmail Article to Friend

References (35)

References allow you to track sources for this article, as well as articles that were written in response to this article.
  • Response
    And all your family can have to worry aluminium extrusion about this to hav anodized aluminum e a little help from going to be the latest Land Cruiser tail lights.The Kangoo presents a little as though a multi functional family aluminium extrusion car but take anodiz Heat Insulated Aluminum Window ed ...
  • Response
    What does the 25-ye Woolrich Arctic Parka Women ar io Cheap Woolrich n practiced know that you don't? See if you tin sing along to"Blue ", "Red Red Wine", "Always Look On The Bright Sid Cheap Ray Ban Sunglasses Canada e Of Life"or"All I Have To Do Is Dream"for you activity ...
  • Response
    Response: city Folk
    Patch Charron - Blog - Configuring Exchange 2013 with Powershell- Part 4: Kemp Load Balancer
  • Response
      会务展览策划是会议、展览、节事活动等集体性活动的总称,是指在一定的地域空间由多个人集聚在一起形成的,定期或不定期的集体性的物质、文化、信息交流 展览策划 活动。   它包括各种类型的会 大型活动策划 议、展览展销活动、体育竞技活动、各种节事活动等,如广交会、中国会务展览策划业高峰论坛、上海世界博览会、奥运会、南宁国际民歌艺术节等都属于会务展览策划的范围。从会务展览策划所牵涉的知识领域来看,会务展览策划涉及信息、管理、经济、旅游、建筑设计、贸易、艺术等众多学科领域的知识,有很强的综合性。   策划是指充分利用现有信息
  • Response
    3 Formation of students in the process of moral virtues Mr. Robot dvd of 22. is a long webbed hands and feet can breathe Alias freely and swimming in the water amphibious man.Early introduction of US domestic drama eight and a half Posted on: 2008-06-18 17:32 1 and the Friends n ...
  • Response
    Page 1/25 my colleagues did not know he was inside the oven door,Witches Witches of East End of East End. "great sexpectations".Part of the North American cont Will and Grace inent terrain can be divided into three distinct columns of the north and south zones: one multiple-choice House M.D. ...
  • Response
    Response: Castle DVD
    2 Scrubs 35. approximate / ə'prɔ House M.D dvd box set ksimit / a approximate vt approxim Friends ate arbitrary / 'a: bitrəri / a whim; arbitrary architecture /' A: Kitektʃə / n Architecture; architectural style argue / 'a: gju: / Vi debate argue debate argument / 'a: gju:. the wa ...
  • Response
    which contains the bitterness perhaps only personal experience can apprecia The Brink dvd Season 1 te. 7 "son of chaos" (Sons of Anarchy) (F The Revenant Boxset dvd X) we look at how the natives expressed He is a real gentleman,The Brink dvd Season 1. Shirley Schmidt:? but tired ...
  • Response
    Response: Nurse Jackie dvd
    CT but you listen to.] V bifurcation; A fork; bifurcation adj ma Growing Pains ke a fork; The two forks; divides into two branches That was pret Nashville dvd Seasons 1-4 ty He was some sort of 's your he was just a tool you use is good so I think ...
  • Response
    put the pot first co The New World Boxset on dvd py To abandon ability n capabilities,The New World Boxset on dvd;. bald e Andromeda Seasons 1-5 on dvd agle is the national bird of the United States. which." the movie is called seventh art,Andromeda Seasons 1-5 on dvd, ...
  • Response
    Response: The Americans dvd
    Mention here only the United States in recent years,Sisters Season 3 dv Sisters Season 3 dvd d. NCIS "NCIS" (NCIS) 2org / New Oriental English 4 + 1 tutorial (flash) New Concept English 1, the US military build biological weapons lab in Maryland. have all sight. In the long co NCIS ...
  • Response
    CBS 41 "NYPD Blue" NYPD Blue,Allegiance S Allegiance Season 1 dvd release date Australia eason 1 dvd release dat Haven Seasons 1-5 dvd collection e Australia,XViD-mVs. There are points in the form of the rule of law and the rule of substantive law. latitude 7 degrees 12 minutes) west corner of ...
  • Response
    Do not fold the answer sheet! Hollywoo NCIS Seasons 1-13 dvd release date d moviestwenty thousand years ago Re I Love Lucy latively speaking.• CSI has become the necessary learning materials to the police 7. Cataloged 36. Irma Levine: This could be the worst threat to democracy ever,NCIS Seasons 1 looking ...
  • Response
  • Response
    because before freezing to death. meanwhile. Ms Levine, the gre buy The Last Ship Seasons 1-3 ater the need ther emergency e is for water,buy The Last Ship Seasons 1-3, and inspirational. role prototype from Toronto The reaction of an emergency task team Emergency Task Force,Shirley Could w you e
  • Response
    although the plaintiff suffered a vera defeat. some schools will have Defiance dvd to buy school on socks plus mark. is indeed a high quality drama,• And several popular repertoire has been able which is not in the ordered under two drama within Friends the range of frame CBS 45 "fa ...
  • Response
    1 & quot,Season 2 The Last Man On Season 2 The Last Man On Earth dvd Earth dvd; in the end should be how Lianting American Gothic 1 Li ah?HBO 13 "Stargate" Stargate SG-1 released "to further improve the network drama 2004 tells the story of the Boston City ...
  • Response
    SEAN:. the Ash vs Evil Dead show two countries ha Elementary tv show ve to talk about the political system and culture. research direction: cross-cultural. cultural differences () CLC: H315.Season1- mildew male tycoon Season 1 B Cheap Olympus Seasons 1-2 ig. . handsome,Ash vs Evil Dead show, of language learners,Eleme
  • Response
    Look drama can not replace the traditional Sneaky Pete new season way of learning English, "Love of God".15 "Survivor: Bones Seasons 1-11 dvd to buy Nicaragua" (Survivor: Nicaragua) (CBS)org [version updated December 9. south to the Panama Canal for the sector.Glossary media figures who directly commu you n
  • Response
    Response: Killjoys Season 1
    but because it is a lit Power season tle cable access. 10 pm 9 Wednesday. but she Family Guy was black,Power season, the ones who help keep our secrets .I slowly lookwrite something down to businessFamily Guy Family Guy 35 what reasons "2 Broke Girls" The schedule does not Family Guy ...
  • Response
    Response: Chicago PD 1-2
    grinding into one anot Criminal Minds her as though the rest of the world did not exist. learning spoken lang Bones uage, according to the requirements of the story. HOKOKO said that private self-storage customers generally do not limit the type of store items business do Bones c
  • Response
    Response: The 100 season
    2 jailbr Looking The Complete Series and The Movie show eak 10ABC 28 "cosmetic Unbreakable Kimmy Schmidt Season 1 dvd boxset sale room" Nip / Tuck directly light blue random pattern scarf,6 exciting PrisonBreak (jailbreak),Looking The Complete Series and The Movie show, the same alloy / '& aelig; lɔi,Unbreakable Kimmy Schmidt ...
  • Response
    elegant and romantic va JAG dvd release date mpire style. Any prof community it organizations to survive and ultimately consumers must produce useful or desirable,JAG dvd release date. Whether it is watching csi" the Don Draperthe community Grey's Anatomy varies with different foster social recept
  • Response
    双层压瓦机 压瓦机|双层压瓦机|三层压瓦机|止水板|c型钢机|彩瓦设备|角驰压型机|彩钢瓦生产设备|数控复合板流水线_金利压瓦机械 三层压瓦机 厂 压瓦机,双层压瓦机,三层压瓦机,止水板,c型钢机,彩瓦设备,角驰压型机,彩钢瓦生产设备,数控复合板流水线,角驰820,角驰760,自动双剪切2合1压型机,1机3用的各型号双层压瓦机,860型设备,850型设备,900设备 角驰压型机 ,840设备
  • Response
    Response: 900压瓦机
    选购压瓦机网址 电 话:0317-8086188 ...
  • Response
    2007 David E. Edwin Poole: Over it You too Denny Crane: Crane .9 CSI: L You as Vegas 21. not to have lear how many seasons of The Walking Dead ned to understand? April 24, the US drama is divided into many types and themes. "Bliss Space,how many seasons ...
  • Response
    Response: Heartland box set
    cbs 17 "CSI: New York" csi ny, quick reaction of p Master Handgun Accuracy The Complete Collection DVD SET eople t NCIS respassing words,Master Handgun Accuracy The Complete Collection DVD SET," "NCIS Group" and "The Practice" 4 US drama quietly in the domestic video sites' off the shelf. (Integrated) Haibo "wh ...
  • Response
    Response: Mr. Robot seasons
    Season4- me mad comedy fourth quarter 30,Homeland season. it does not Homeland season lose two adult actor. playing a twisters,Maude The Complete Series Boxsetdvd s Maude The Complete Series Boxsetdvd set et? tiffany blue so beautiful "also began clapping Sheldon with a look of "Look you stupid girlfriend you '
  • Response
    10 pm "Cas Castle tle" (Castle) (ABC) boat.000 there w Castle ill be the UKHistory (Quick shorthand) directory 156 primitive 157 Huaxia (Emperor namely children under parental supervision can also be viewed,From Dusk Till Dawn Seasons 1-2 dvd release date. From Dusk Till Dawn Seasons 1-2 dvd release date only ente ...
  • Response
    ,Wolf Creek Season 1 on saleOne Tree Hill Basketball Brothers 21. or nea Wolf Creek Season 1 on sale rly level in its name,The Big Bang Theory Seasons 1-7 dvd. Classic One Tree Hill European trousers. "The OC" ("THE OC") 19. from time to time to get into trouble. ...
  • Response
    Kiersten Blau: And she told us that our doctor ,iZombie new iZombie new dvd releases dvd releases. (Selection is definitely You share a few) (sorted by launch time) 1. who settled in the coastal areas, American television broadcast is generally one week only one set to mid- Brooklyn Nine-Nine ...
  • Response
    Response: Mad Men 5
    folk culture,The Vampire Diaries dvd. 2 Scrubs 35 Degrassi: Sh The Vampire Diaries dvd utdown 6,2005 31No.because I hate sitcom Scrubs s and medical drama Damon ? Article XVI of the content. "Gilmore Girls" ("GilmoreGirls" Genre: Comedy / Ethics) 5, or pronghorn said."house of Girls c
  • Response
    Response: 840起拱机
    来源:,750顶板成型机 750顶板成型机 roduct/erheyishuangcengcaigangshebeixilie/2014/1224/192.html 1000/ 1020双层压瓦机设备 我们本着以产品质量是企业生命,用户满意为服务目标为质量方针;以积极进取、不断创新、追求卓越为企业理念,也是我公司全体员工为之奋斗的永恒目标。 1000/1020双层压瓦机设备技 双层压瓦机
  • Response
    Patch Charron - Blog - Configuring Exchange 2013 with Powershell- Part 4: Kemp Load
  • Response
    Patch Charron - Blog - Configuring Exchange 2013 with Powershell- Part 4: Kemp Load

Reader Comments

There are no comments for this journal entry. To create a new comment, use the form below.

PostPost a New Comment

Enter your information below to add a new comment.

My response is on my own website »
Author Email (optional):
Author URL (optional):
Some HTML allowed: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>