Jump to content
Welcome to our new Citrix community!
  • How to Set up Citrix WEM (HA) with a SQL DAG Tied into a NetScaler


    cugcblogs

    raydavis22rnd.jpg by Ray Davis, CTA

    Summary

    This blog will go over the steps needed for setting up a Citrix WEM load balancing setup. It will consist of NetScaler ADC, SQL DAG, 2 WEM servers.

    In my opinion, WEM is a straightforward UEM tool to set up. There are some excellent blogs out there that will show you how to do this. In this blog, I wanted to list all the details around the NetScaler, Setting up a Windows Cluster for the SQL DAG/BAG. I am not a SQL guy, and I am following some links online to get me past the SQL part. My SQL setup, again, is based on what I read and understood. The concept here shows you how to do the WEM in an AG tied into a NetScaler for Load Balancing. I know that I may have some non-enterprise steps on the SQL part. Again, the point is to help show you how WEM can be deployed in an AG with a NetScaler.

    Not to get off on a tangent on slow logins!!

    image-35.png.199f769ca32acdd978aa76998c49f793.png

    But in every environment I work in, there is one thing I commonly see: tons of GPP with login scripts, drive mappings, item-level targeting, and WMI filters. The same question arises, "why are my logins slow?"

    I tell them all the same thing, which is… the first problem is that you are using a legacy approach in a CVAD GPP space. To be honest, some don’t understand, and some do. But because they have years of GPP settings, it may present a risk of moving them, and some just close the door on the idea altogether, thinking there must be other ways. Some throw top-of-the-tier hardware into the environment, thinking it will solve the login problems, which does to a point, but not as they thought. Some will think moving to a Container Profile solution will solve the issues (and it helps…some). Some businesses see it as adding a more complex setup or another troubleshooting aspect, then just don’t want to deal with it. Yea, ok, I can understand that.

    In 80% of the environments I have been in, most of the time, they have no UEM tools in place, or they have them and don’t know how to use them properly, or they have business cases around not using them in a complex environment as it never worked. I have been in many debates over this concept. Hours of conversations on why I would use WEM or AppSense (another example).

    Now I know some will be reading this thinking…"Ray, you don’t need WEM or any UEM tool." Yea, you are correct. You don’t need anything like this. But GPP, in my humble opinion, even with asynchronous logins, is a Virtual/Virtual Desktop login killer. Ok, enough said, you get the concept.

    WEM Blogs on settings

    Here are some great WEM blogs on the product to read. Both gentlemen are humble and will go out of their way to help you and provide valuable help.

    Deyda

    WEM Administration Console - Part 1 (Actions, Filters & Assignments) – Deyda.net

    WEM Administration Console - Part 2 (System Optimization, Policies & Profiles and Security) – Deyda.net

    James Kindon

    The Evolution of Citrix Workspace Environment Management Service (jkindon.com)

    WEM Advanced Guidance – Part 1 | BLOGS (mycugc.org)

    WEM Advanced Guidance–Part 2: User Interaction | BLOGS (mycugc.org)

    WEM Advanced Guidance Part 3-The Leftovers: Good, Bad, Ugly | BLOGS (mycugc.org)

    SQL AG links

    At the time of writing up this blog, to understand the AG setup, I used this as a reference for a SQL Always on Availability group. You will need to install Failover cluster manager on the SQL Nodes, SQL itself. This will require an IP address as well for each part.

    SQL Server AlwaysOn Step by Step Setup - Introduction to SQL (peruzal.com)

    I used parts of this as well:

    Carl Webster | The Accidental Citrix Admin

    I also used this to help me get the Basic AG setup for WEM:

    Citrix Workspace Environment Management (WEM) 1906 and SQL BAG - (arnaudpain.com)

    Steps for Installing SQL Server AlwaysOn Availability Groups - SQLRx

    Architecture

    The goal here is to have WEM setup in a SQL AG with NetScaler.

    image-36-1024x605.png

    Inventory

    My lab consists of the following servers.

    1. Nutanix AHV CE running on a Dell PowerEdge R630 with 28 Cores and 256GB of Ram. I have 6TB or SSD (Jbod) allow the Nutanix Distributed storage Fabric works its magic.
      1. SQL is running on this
      1. NetScaler VPX is running on this.
    2. VMware vCenter7 with ESXi 7 running on a SuperMicro E300-8D with 8 cores and 128GB or Ram. It has a two SSD drives total of 500GB of Storage.
      1. WEM servers is running on this
    3. Windows Server 2022 with SQL 2019 Developer mode
      • LABSQL02 - 10.1001.17
      • LABSQL03 - 10.100.1.18
    4. Cluster Manager Name
      • WEMLB for the MSCS name (The name can be anything you would like to help indefinitely your Microsoft Cluster name)
      • WEMLB – 10.100.1.15
    image-37-1024x359.png
    1. SQL Listener Name for the WEM connection DB String
      • SQLAG for the AG listener
      • SQLAG – 10.100.1.16
    2. Citrix WEM Servers Running on Server 2022
      • WEM01 – 10.100.1.13
      • WEM02 – 10.100.1.14
    3. NetScaler running on 13.0.85.19
      • NetScaler ADC VIP
      • Web Server name for DNS and ports
      • WEMVIP – 10.100.1.20

    You will need a SPN.  A SPN is needed to do the load balancing that will take effect soon. When the Broker server boots, the Citrix WEM service will start and provide a computer Kerberos ticket, asking AD to validate this ticket. That’s why Citrix WEM SPN must be appropriately configured with a known AD account.

    setspn -U -S Norskale/BrokerService "sawem"

    Remember this is used for “Use Windows authentication for infrastructure service database connection” in an LB state.

    The SA account will need to maintain DB connectivity in the screenshot above. SPN is needed to be set up for the SA account you used to maintain SQL connections.

    image-38-1024x272.png

    To set up the Citrix WEM empty database, I followed this. Now, there may be better ways to achieve this. I am not a SQL guy by any means. So, I followed these to get it going:

    Citrix Workspace Environment Management (WEM) 1906 and SQL BAG - (arnaudpain.com)

    Citrix Workspace Environment Manager (WEM) and SQL Availability Groups – Database Master Key Issue | BLOGS (mycugc.org)

    On my primary WEM01 Server, I needed the SQLAG to respond to I could input the information in SQLAG (listener name) when connecting/creating the DB that tI will make in SQL, then when I run through the WEM wizard (to create DB wizard in WEM) it will use the SQL AG Listener. After looking at the two links above. I decided to do the following:

    • On my WEM01, create a host file pointing to what will be the SQL Ag name.
    • The SQL AG name will be the SQLLAB02 server IP address
    • Go into WEM, setup the DB, and make the connection
    • Verify in SQL.
    • Setup the AG in SQL
    • Remove the Host FileUpdate DNS (that was the previous HOST File). That way, WEM would just see a DNS name and resume the connection from the DNS alias.

    Now, install the WEM infrastructure setup, then open the “WEM database Management Utility.”

    I opened the Host file and put a record on the WEM01 server to talk directly to the SQLDB02 server.

    image-39.png.927156810675a2192f1dbe38045b4340.pngimage-40.png.1ebee66dc0117ffac52b41f47593e325.pngimage-41.png.ce12db47e6bcf8595b6de08b0e16f492.pngimage-42.png.dc241f9a2646384c6b9f9212a6acd141.png

    Note, for my lab. I left the defaults for the data and Log file. I would not do this in a live setup. Typically, you have SQL logs on a Drive and SQL Data on another drive. Depending on the SQL Administrator or the client/company polices.

    C:\Program Files\Microsoft SQL Server\MSSQL15.MSSQLSERVER\MSSQL\DATA\CitrixWEMLab

    C:\Program Files\Microsoft SQL Server\MSSQL15.MSSQLSERVER\MSSQL\DATA\CitrixWEMLAB_log

    image-43.png.73ebd3520a14d3374fdbf4b1a92a92fe.png

    In this case, the Integration connection does not have access to SQL. I am simulating a setup that I am about to go through in an environment. The DBA will input a set of creds in instead.

    I used the SA account, this is not required but is what I used during the time.

    image-44.png.9f32fbc417ba1525f8c1bc8d89e3b770.png
    1. Add the Citrix WEM Admin group.
    2. Add the SPN account we created either that will be used to serve the connection to the DB.
    3. Then set the vuemUser SQL account password. This is needed for a SQL AG setup
      1. You must set the vuemUser SQL user account password if you intend to deploy the Workspace Environment Management database in an SQL Server Always On availability group.
      1. If you set the password here, remember to specify the same password when you configure the infrastructure service.

    Note: The service account must be in the local Administrators group on the Broker server(s). When the database security option is selected, the database expects the infrastructure service to connect to it using a Windows account. The Windows account you choose must not already have a login on the SQL instance. In other words, you cannot use the same Windows account to run the infrastructure service as you used to create the database.

    image-45.png.4884eea72a415fa0b107b2d1ccfc8bb8.png

    Create DB:

    image-46.png.ad5e74b35da3c90dc285a3b6158f53f9.png

    Created.

    image-47.png.fe653a99ad1a992656ae50e3dc83124c.png

    Verified information on SQL Server.

    image-48.png.73de776859d9a2d26c14af89f4339427.png

    Now we will need to create the Availability group and sync the DB to the second Server. This is where we will add the AG listener IP and then can do away with the host file created earlier as well.

    You will need to perform A full backup first of the DB first to create the AG with the database.

    image-49-1024x504.png

    I left the defaults, and you would want to put it on a SAN/NAS like a Exagrid or data domain. Depending on your SQL backup requirements.

    Click ok to start the backup.

    image-50-1024x750.pngimage-51-1024x742.png

    Now right click on Always On High availability option, and select “new Availability Group Wizard.”

    image-52.png.309b3ea04dc915c2539552a6d1fd14ae.png

    Create a new AG.

    image-53.png.d9bdea9af4ac73a2bc589bd1ed50a4b1.png

    Give it a name.

    image-54.png.62353c88d1b1c0686e0704b15c7494e6.png

    Select the “WEMLAB” name.  Click the password box and input the vuemuse password:

    Database Master Keys and Availability Groups - Jonathan Kehayias (sqlskills.com)

    image-55-1024x936.png

    Add the Replica.

    image-56-1024x922.png

    Add the Listener.

    (Note: I will add this to DNS now.)

    image-57-1024x935.png

    For this, I was not 100% sure. So, I put it on a File Share. I would recommend you work with a DBA to determine what is the best option is on this. Or if you are the guy, research it and understand it a bit more.

    I used a \\IP address, as it is my lab. I don’t do this in a prod setup. I had to add the SQL Servers for the NTFS share as well. Again, no SQL guy but this was something I did in my lab only.

    image-58.png.399edf42e9fda61f02e3c3a2fe525968.pngimage-59.png.5256e188e4bf91a3291746aa5afb6405.pngimage-60.png.6ef4d16f1b9da2f04bdcc986149cf6db.png

    Now as you can see the AG is setup for this test.

    image-61.png.926651873206e99b5584fcbe6a83bfc4.png

    Event log on both servers.

    1. Always On Availability Groups connection with primary database established for secondary database 'WEMDB' on the availability replica 'LABSQL02' with Replica ID: {cc5a375a-60d3-4ed2-9bf1-a53eedc6b43b}. This is an informational message only. No user action is required.
    2. Always On Availability Groups connection with secondary database established for primary database 'WEMDB' on the availability replica 'LABSQL03' with Replica ID: {4e84754b-ea72-424c-85d3-a3424eb65f35}. This is an informational message only. No user action is required.

    Now at this part I ran this to syn the permissions between the two servers. But first you will need to import the DBA Tools. I am sure there are other ways to do this. As in the links above I included from other folks.

    1. Open PowerShell Install-Module dbatools
      • After getting them installed run these commands
      • Copy-DbaLogin -source SQLServer -Destination SQLServer
    image-62-1024x340.png

    Now let’s go back to the WEM01 Server and remove the Host file, along with Adding the SQLAG DNS name in DNS in order for the WEM01 server to pick backup on the connection.

    Added in DNS:

    image-63-1024x354.png

    Host file removed.

    image-64.png.570bb8627ae64b621d0aacca0ecba142.pngimage-65-1024x850.png

    Bring up the WEM Infrastructure Service Config to check things.

    image-66.png.96b850e9e8b9873d912875d49c4075d5.pngimage-67.png.9b78e2ab0663b5c63a385af828e65427.pngimage-68-1024x786.pngimage-69-1024x786.pngimage-70.png.bc939f1368ad06450ef6eace4e752b6e.png

    Save Configuration and it will restart the Infrastructure Service.

    image-71.png.a1070bd49f269195f8cbe4806d4f96e6.png

    Open the WEM Console and connect to make sure it will still connect to the Database.

    image-72-1024x645.png

    Loading and connecting:

    image-73.png.e4b7efb712609c487eaecb68d32fa9af.png

    It's connected.

    image-74-1024x769.png

    The next test will be to make some configuration changes. Then Fail it over to LABSQL03 to make sure the AG is working like it should. Once we confirm that, we will move on to the NetScaler part.

    I just set the basic things, such as Enable CPU spike protection, Fast log off, and Multi session optimization in the GUI.

    Now let's jump back on the Primary LABSQL02 server and fail it over.

    image-75-455x1024.pngimage-76-1024x932.pngimage-77-1024x670.pngimage-78-1024x665.pngimage-79-1024x605.pngimage-80-1024x407.png

    Looks good so far.

    image-81-728x1024.png

    Check WEM console and make sure the changes is there still. I closed the Console and will reconnect to show you.

    image-82-1024x803.pngimage-83-1024x550.pngimage-84-1024x566.pngimage-85-1024x670.png

    Ok, all good. Now I will go to the Second WEM02 (Server) and add the connection details.

    Bring up the WEM Infrastructure Service Config to check things:

    image-86.png.3262dab10ffd388d1da8f32c58555fe2.pngimage-87.png.794729e0a1a93c22a399af5528391fd1.pngimage-88-1024x786.pngimage-89-1024x786.pngimage-90.png.d5a22fd6e32bb73bad49945c49c9a6c5.png

    Save Configuration and it will restart the Infrastructure Service.

    image-91.png.97021115df70405bbf19a11dbcd644ab.png

    That concludes the SQL AG part. Not too bad, huh? Now the NetScaler LB part.

    I get lots of questions about NetScaler setup, around how well I know it, what can I do with it. I have worked with NetScaler for about seven years now. I have done some nice things with it. But let’s face it, I don’t know it all and I learn based on other Citrix/Network guys on blogs, Googling, or videos.

    Most of my NetScaler work has been setting them up from scratch (on which I have notes-as I can’t remember all the details at times), locking them down, SSL profiles, cert configurations, networking aspect of it for the most part, Citrix Gateway side, responders, rewrites, load balancing types, AAA (nFactor with FAS) and upgrades with and without ADM. I feel like I have a lot more to learn in this space. But as times goes on, we develop more skills.

    I am no master by any means, but I do ok in this space. Yes, I use Google as well. Nothing wrong with saying that. Better to be humble in my opinion and know what you can and can’t do. Google is no different than 20 years or more ago, by picking up books and looking for the answer. This is our book now, it’s just digital 😊

    I will take the approach and do it via CLI instead of the GUI. I find it faster and easier at times. If you want to see the GUI parts I will leave some links on other blogs that will help you.

    How to configure Citrix Workspace Environment Management 4.x for Virtual Apps and Desktops – XenApp or XenDesktop, including NetScaler Broker Load Balancing | christiaanbrinkhoff.com - Sharing Cloud and Virtualization Knowledge

    Load balancing with Citrix ADC | Workspace Environment Management 2206

    Load Balance Citrix Workspace Environment Manager (WEM) with Citrix ADC 11.x/12.x - David Wilkinson

    Note: the WEM01 and WEM02 is a filler and the actual servers’ names need to be added for this.

    • Enable ns feature LB:
    • ## WEM Broker Servers###

     

    Add server WEM01 10.100.1.13

    Add server WEM02 10.100.1.14

    image-92.png.32aca6d499c25b9275f0ee5e6f42ad11.pngimage-93.png.6b36901855b50a5fcd891b324afa8ee4.png

    ## WEM Service Groups

    • Add serviceGroup "Name" TCP -maxClient 0 -maxReq 0 -cip DISABLED -usip NO -useproxyport YES -cltTimeout 9000 -svrTimeout 9000 -CKA NO -TCPB NO -CMP NO
    • Add serviceGroup CTX-WEM-BrokerAdmin_WEM01_WEM02 TCP -maxClient 0 -maxReq 0 -cip DISABLED -usip NO -useproxyport YES -cltTimeout 9000 -svrTimeout 9000 -CKA NO -TCPB NO -CMP NO
    • Add serviceGroup CTX_WEM_Agent_Cache_Sync_WEM01_WEM02 TCP -maxClient 0 -maxReq 0 -cip DISABLED -usip NO -useproxyport YES -cltTimeout 9000 -svrTimeout 9000 -CKA NO -TCPB NO -CMP NO
    • Add serviceGroup CTX_WEM_Agent_Service_WEM01_WEM02 TCP -maxClient 0 -maxReq 0 -cip DISABLED -usip NO -useproxyport YES -cltTimeout 9000 -svrTimeout 9000 -CKA NO -TCPB NO -CMP NO
    • Add serviceGroup CTX_WEM_Agent_CacheData_Synchronization_WEM01_WEM02 TCP -maxClient 0 -maxReq 0 -cip DISABLED -usip NO -useproxyport YES -cltTimeout 9000 -svrTimeout 9000 -CKA NO -TCPB NO -CMP NO
    • Add serviceGroup CTX_WEM_Monitoring_Port_WEM01_WEM02 TCP -maxClient 0 -maxReq 0 -cip DISABLED -usip NO -useproxyport YES -cltTimeout 9000 -svrTimeout 9000 -CKA NO -TCPB NO -CMP NO

    ## Bind Service Group Members to Service Groups

    • bind servicegroup "name" "server" "port
    • bind servicegroup CTX-WEM-BrokerAdmin_WEM01_WEM02 WEM01 8284
    • bind servicegroup CTX-WEM-BrokerAdmin_WEM01_WEM02 WEM02 8284
    • bind servicegroup CTX_WEM_Agent_Cache_Sync_WEM01_WEM02 WEM01 8285
    • bind servicegroup CTX_WEM_Agent_Cache_Sync_WEM01_WEM02 WEM02 8285
    • bind servicegroup CTX_WEM_Agent_CacheData_Synchronization_WEM01_WEM02 WEM01 8288
    • bind servicegroup CTX_WEM_Agent_CacheData_Synchronization_WEM01_WEM02 WEM02 8288
    • bind servicegroup CTX_WEM_Agent_Service_WEM01_WEM02 WEM01 8286
    • bind servicegroup CTX_WEM_Agent_Service_WEM01_WEM02 WEM02 8286
    • bind servicegroup CTX_WEM_Monitoring_Port_WEM01_WEM02 WEM01 8287
    • bind servicegroup CTX_WEM_Monitoring_Port_WEM01_WEM02 WEM02 8287

    ## Create WEM VIP

    • add lb vserver "name" "protcol" "IP" -persistenceType NONE -cltTimeout 9000
    • add lb vserver CTX-WEM-BrokerAdmin_WEM01_WEM02 TCP 10.100.1.20 8284 -persistenceType NONE -cltTimeout 9000
    • add lb vserver CTX_WEM_Agent_Cache_Sync_WEM01_WEM02 TCP 10.100.1.20 8285 -persistenceType NONE -cltTimeout 9000
    • add lb vserver CTX_WEM_Agent_CacheData_Synchronization_WEM01_WEM02 TCP 10.100.1.20 8288 -persistenceType NONE -cltTimeout 9000
    • add lb vserver CTX_WEM_Agent_Service_WEM01_WEM02 TCP 10.100.1.20 8286 -persistenceType NONE -cltTimeout 9000
    • add lb vserver CTX_WEM_Monitoring_Port_WEM01_WEM02 TCP 10.100.1.20 8287 -persistenceType NONE -cltTimeout 9000

    ## Bind Service Groups to VIP

    • bind lb vserver "LBVIP Name" "svcgrp name"
    • bind lb vserver CTX-WEM-BrokerAdmin_WEM01_WEM02 CTX-WEM-BrokerAdmin_WEM01_WEM02
    • bind lb vserver CTX_WEM_Agent_Cache_Sync_WEM01_WEM02 CTX_WEM_Agent_Cache_Sync_WEM01_WEM02
    • bind lb vserver CTX_WEM_Agent_Service_WEM01_WEM02 CTX_WEM_Agent_Service_WEM01_WEM02
    • bind lb vserver CTX_WEM_Agent_CacheData_Synchronization_WEM01_WEM02 CTX_WEM_Agent_CacheData_Synchronization_WEM01_WEM02
    • bind lb vserver CTX_WEM_Monitoring_Port_WEM01_WEM02 CTX_WEM_Monitoring_Port_WEM01_WEM02

    Now we can login and check the GUI to see.

    image-94-1024x273.pngimage-95-1024x314.pngimage-96-1024x394.png

    As I was checking things, I noticed 8285 was red. I had the older port added in and totally forgot Citrix did away with it now. Going back and looking at the port in the WEM DB connection details shows the port isn’t  needed.

    8284“Administration port”. Port on which the administration console connects to the infrastructure service.
    8286“Agent service port”. Port on which the agent connects to the infrastructure server.
    8285 (NOT NEEDED)“Cache synchronization port”. Applicable to Workspace Environment Management 1909 and earlier; replaced by Cached data synchronization port in Workspace Environment Management 1912 and later. Port on which the agent cache synchronization process connects to the infrastructure service to synchronize the agent cache with the infrastructure server
    8288“Cached data synchronization port”. Applicable to Workspace Environment Management 1912 and later; replaces Cache synchronization port of Workspace Environment Management 1909 and earlier. Port on which the agent cache synchronization process connects to the infrastructure service to synchronize the agent cache with the infrastructure server.
    8287“WEM monitoring port”. Listening port on the infrastructure server used by the monitoring service.
    image-97.png.a2719d9aea3ccaeab297f70b4e40dd03.png

    I will remove that unused port being this setup is new and it’s on 2203 at this time of making the blog.

    Next, I will add a DNS Load balancing name for the Agents to hit the VIP.

    image-98.png.4bf781065c3be37ab6735d424fd1b7b4.png

    Now I will connect to the WEM02 Server and just make sure it connects to the DB.

    image-99-1024x699.pngimage-100.png.884fd903132e471b0dd2d89484123867.png

    Loaded and basic settings I set before are there.

    image-101-1024x687.png

    Now I will check the WEMVIP and see if it can connect.

    image-102-1024x740.png

    Connected.

    image-103-1024x764.png

    At the time of writing this, I was using 2112 and I needed to upgrade to 2206. So, upgrading WEM isn’t hard, and I will take you through the quick steps here that has the AG and NetScaler part involved. More of a summary.

    Infrastructure services

    image-104-1024x600.pngimage-105.png.ca68bbe721dd7182f6d85c848c09ba81.pngimage-106.png.caac2fe47b0960d9b010258fc9173d61.pngimage-107.png.b6e5e2c88e5cd6d8f4d42eafb79074d4.pngimage-108.png.6a1301f361662aa74804abff13dbd905.pngimage-109.png.d3472a6a9babd3d69a74756db92fc8a4.pngimage-110.png.f1f1e09ff670ba7d2a5ffdec1f8a7252.png

    Database

    The database upgrade process is not reversible. Ensure that you have a valid database backup before launching the upgrade process.

    image-111.png.57f331c7ef25589b0523c9d6a1d698e6.pngimage-112.png.f1f66f4eaa16a7e4de070d9a11d75c7d.pngimage-113.png.99e77d828cbf36e72b1271c98a122b3c.pngimage-114.png.505d5e1b45fbca3efe8a490e3e1627f5.pngimage-115.png.ff229e6a168af715f8bf9bf3a7e10145.png

    Reconfiguring the infrastructure services

    image-116.png.e4f4d9424a8281e9505c74cfd1419ca5.pngimage-117.png.10917ab1e381f3778a8ac108b50914d8.pngimage-118-1024x647.pngimage-119-1024x941.pngimage-120.png.17d2d840e59d979c92ea290e5e963aa5.pngimage-121-1024x733.pngimage-122-1024x728.png

    Administration console

    image-123-1024x366.pngimage-124.png.c3191038c975c1c0fec0899bf4ccaa35.pngimage-125.png.99e43c94e88d1a0df3a8d57ba2a1888c.pngimage-126.png.8fc570c796ee687ea0dd3c4255125519.pngimage-127.png.a0dc452b799e58c6a10717de9e379656.pngimage-128.png.ebdafe3ff4d6383cdfaa7a41eaa63538.pngimage-129.png.8fc2912eb990b17681e651558d5a8749.pngimage-130.png.78193aa600d79b1b287496d3f355ccfa.pngimage-131-1024x763.png

    Now I go and do the same steps on the Second WEM server.

    The only difference is the Database is upgrading already. If you try to run the “upgrade Database” again. You will get an upgrade error. Because it is already upgraded.

    image-132.png.aed5883f54de3dd5d2db4a70c75e7d13.png

    As a quick test I added another system Optimization to make sure the DB is in sync. On my wem02 server I added this:

    image-133-1024x563.png

    Logged into the WEM01 server and connected to the WEMVIP DNS name.

    image-134-1024x559.png

    Agent

    image-135.png.ac8368f2fedd4b9297cdac47e7848b1f.pngimage-136.png.0959c1fd2e93d12ca7dfe6e76a2df29b.pngimage-137.png.f753bdf8b2df938b32e83ee677e69b11.pngimage-138.png.80a6cded3cf9b9890dd7f4f71819f09e.pngimage-139.png.0589987f0479f68528ccb86fd12fb86c.png

    Or GPO.

    image-140-1024x645.png

    Leave on the C Drive.

    image-141.png.30d6de69b11f92c89e3e24fcc385bd10.pngimage-142.png.846917452c07e0301805090ce63bc910.pngimage-143.png.49b5bfd5984a5f13de22b671b3ad9078.pngimage-144.png.6d74fd70f189bd68558fbcbcbba2f0a3.png

    Log back into the console. As you can see here, my PVS master image is reporting as it should.

    image-145-1024x193.png

    To show the Load balance working we can view the LB virtual server statics in the NetScaler page. As you can see here the traffic is hitting the 8286 vServer and 10.100.1.14 is sending the request to the Agent. This is just a quick peek into 8286 port and to show a basic overview of the traffic pattern.

    image-146-1024x116.png

    I will disable the Server, and then perform a WEM cache refresh to show the traffic go to the other server.

    image-147-1024x507.pngimage-148.png.389e684ad733250988adb93a51535964.png

    The WEM02 server is disabled.

    image-149-1024x110.png

    After refreshing the WEM cache on the Agent, you can see there that the traffic hit the other node behind the vServer.

    image-150-1024x169.png

    For now, that concludes the article and I hope it helps someone out. As always thank you.

    See more WEM articles on the CUGC Blogs.

    See more articles by Ray Davis, CTA.

    image-36.png.baf853cce57381a80a78d613d2f993ed.png

    image-37.png.92c4ff697cf345b0df53960404139b44.png

    image-38.png.338be0c081da361c6fbf9e2d0a251408.png

    image-49.png.3ac8a3c311e2dc8d0607e18de9e0f8ac.png

    image-50.png.3f16969159e07a3d1c6c8aa61d578f7b.png

    image-51.png.451d6114bb6f3d3851103523a71f8374.png

    image-55.png.09d52e8d4e3031dafcc79777d5b4c400.png

    image-56.png.42b6deafe8148860a9d29ce426f86621.png

    image-57.png.b03b04b073fc366d5924f9f8bae2a1c2.png

    image-62.png.1c27922117f65e15b933898b11925934.png

    image-63.png.c3f7cb1da17c02b49b6aa55432709538.png

    image-65.png.ca28516057e31ed89482119cee372f00.png

    image-68.png.04508cc34731caa6980345f32ff7f230.png

    image-69.png.4753707ddc57e3190b7776cec4174973.png

    image-72.png.c6019fa3203827d753b07dfe33937301.png

    image-74.png.9b42a1083d7c6bf22ac1f5a90ae44142.png

    image-75.png.f568b3d1072b512a49e4b6e6e9c03237.png

    image-76.png.1e3d305ef963d329009ba738ad6830f9.png

    image-77.png.0ed18ed04d8e51512eb90c9ccfcaf775.png

    image-78.png.07a59c9151a966052abc2321ac50da76.png

    image-79.png.acc334c646eda1288bad2ffdf58b9526.png

    image-80.png.3a595f57a6c0ef8ffb271f7035abda36.png

    image-81.png.da0f853c00838e46d92e24ee65d83289.png

    image-82.png.b7b4d9f6ab92146b2e155fc77cccd758.png

    image-83.png.3a6067a7124b7a13a0b43db46d006d74.png

    image-84.png.dd16ccde0870fb5814a84939451e748f.png

    image-85.png.30bab7d262a764bef5c1013372b86990.png

    image-88.png.b0a4f754c0abf5becf12eea1ebdff188.png

    image-89.png.2ab0300aafbbcdf424f0abfc14115855.png

    image-94.png.c596f6d4800df49bf6617df4751ceadc.png

    image-95.png.d7c2a9dff95a4423ee1d74759f156a6e.png

    image-96.png.64f382ad9d504e1df1dc3a2c6f9a2869.png

    image-99.png.f95984263a37ba10cc7d8067c0205cc1.png

    image-101.png.33d9035116073cccab2cd9fa111fb8fc.png

    image-102.png.9b8407f142718023e6093f52afbd853a.png

    image-103.png.256d1e098494ebde1aecc4d0a9a07e87.png

    image-104.png.23c3d497d07f4c85ddbe7696ac3d4c0a.png

    image-118.png.01c443531442e81fc84c4a935a518275.png

    image-119.png.5ff9fc327ed5694050f1f064b9a10eb6.png

    image-121.png.848bd577da8db1a47d87e865ab340407.png

    image-122.png.6fd9e8a40de2af38fcda3f08412c86be.png

    image-123.png.893ff8794e047291b3fde995dc8e0a58.png

    image-131.png.19809145c6a6c0c86f01d425869be124.png

    image-133.png.cabe5d77ea47f601b1bad77422e4219d.png

    image-134.png.81fa006a386b9785709a5a7f68f9e665.png

    image-140.png.e31a83e76d28e3e7256f8a340a8842cf.png

    image-145.png.db0a1d8b38430dd06969dd8853a2824d.png

    image-146.png.73f68f746ae9babfed90ac05f2a4cc10.png

    image-147.png.a19b53be31420ebe46518d47c56b4173.png

    image-149.png.d5e43ec58fde273199b666d167873fad.png

    image-150.png.a5b8a0a09512fd9f8c86534031a41108.png

    davis090622-1.png.0ba3e544072d6d628e3a646192013e5b.png


    User Feedback

    Recommended Comments

    There are no comments to display.



    Create an account or sign in to comment

    You need to be a member in order to leave a comment

    Create an account

    Sign up for a new account in our community. It's easy!

    Register a new account

    Sign in

    Already have an account? Sign in here.

    Sign In Now

×
×
  • Create New...