XenMobile – WorxChat

Citrix XenMobile introduces WorxChat a new application into the suite of Worx Applications, with which you can enable the end users with enterprise Instant messaging on a mobile device in a secure container and with a easy end user experience and under complete admin control. This will be a tech preview edition of release, where you will have a XenMobile WorxChat server and WorxChat Client apps.

We have two components here:

  1. WorxChat Server.
  2. WorxChat Mobile applications.

WorxChat Server:

WorxChat Server is a broker server between the WorxChat mobile clients and the Lync server, WorxChat server will leverage Unified Communications Managed API (UCMA) 4.0 RunTime to talk to the Lync server. To start with the installation on WorxChat server we will need to have the below pre-requisites in place.

Prerequisites:

  1. You need to have Lync 2013 server installed and working in your enterprise domain.
  2. You need to have a domain joined windows server to install UMCA and WorxChat server.
  3. You can find the download link and pre-requisites to install UCMA 4.0 Runtime @ https://www.microsoft.com/en-us/download/details.aspx?id=34992
    1. Recommendation is to have Windows 2012 server.

UCMA_4_Runtime_pre-req

  1. You need to have a MSSQL server running (recommendation is to have MSSQL 2012) on a domain joined computer (it should be part of same domain to which Lync server belongs).
  2. You need to pre-decide the FQDN’s of the Windows server where you install UCMA and WorxChat server, application pool FQDN that WorxChat server will create on Lync. You need to issue a SAN certificate with those two FQDN’s from the enterprise CA server and export the pfx from the CA and install it in the WorxChat server as a computer account.

Steps to Install WorxChat Server:

  1. Once the prerequisites for the UCMA 4.0 Runtime are in place, Install the downloaded UCMA 4.0 RunTime on the WorxChat Server.
  2. Make sure you Run the UCMA.exe file as an administrator.

UCMA_1  UCAM_2  UCAM_4

  1. Once the UCMA 4.0 is installed, you will need to install PFX SAN certificate on this windows computer. You can find the steps to create a SAN Certificate here.

Steps to Install/import SAN Certificate on WorxChat Bootstrap server:

  1. Import the SAN (pfx) certificate on to the WorxChat server.
  2. Open MMC. From the MMC console, Click File > Add/Remove Snap-in…

mmc  add-snapin

  1. From the Add or Remove Snap-ins pop up, select Certificates from Available snap-ins and Click Add and then Click OK.

mmc2

  1. From the Certificates snap-in, click the radio button Computer account and click Next.

mmc3

  1. From the Select Computer pop up select the Local computer radio button and click Finish.

mmc4

  1. From the Console Root pane, Under Certificates (Local Computer), expand Personal and click on Certificates. In the right hand side pane right click and click on All Tasks > Import.

mmc5

  1. Browse the pfx certificate that you have created and saved on your local hard drive.

mmc6

  1. Provide the password, make sure you check the check box to Mark this key as exportable and Include all extended properties and Click Next.

mmc7

  1. Place the certificate in the personal folder and Click Next.

mmc8

  1. Click Finish to complete the installation of certificate.

mmc9

  1. You can confirm the same in Personal > Certificates folder

mmc10

Steps to Install WorxChat Server

  1. Download the WorxChat server from the Citrix Downloads portal.
  2. Execute the installation file as an administrator. If you agree with the terms and conditions, check the check box and click Install.

WCInstall1

  1. You can see the installation progressing. In this process it will install the required services.

WCInstall2   WCInstall3   WCInstall4

  1. Once the services are installed, the wizard will install the WorxChat server. Click Next to continue the installation.

WCInstall5

  1. In the process of installation, WorxChat will install its data base. You need to provide the FQDN of the Database server.

Notes:

  1. In our lab, we have installed windows SQL server on the same computer where we are installing the WorxChat server.
  2. As part of pre-req, make sure your SQL server is part of same domain where you are installation the WorxChat server and where your Lync server resides.
  3. If you are planning to use a remote SQL server (on a domain joined member server), you need to make sure provide privileges so that Worx Chat computer has read and right privileges. You can find more here.
  4. Recommendation is to go with Integrated Windows Authentication.

WCInstall6

  1. Provide the WorxChat Server pool name and click Next.

Note: The same app pool will be created in the Lync server.

WCInstall7

  1. Select the SAN certificate that you have installed on this computer as a computer account and click Next.

Note: if you do not see the certificate in the drop down, then you might have installed the SAN certificate as a current user account instead of computer account.

WCInstall8

  1. Provide an un-used port number and provide the app pool FQDN that you have decided and used in SAN certificate creation and click Next.

WCInstall9

Note: The same app pool will be created in the Lync server.

  1. Click Install the start the installation of WorxChat server.

WCInstall11

  1. You can notice the server configuring the DB, you will see the installation/Setup complete prompt.

WCInstall12  WCInstall13  WCInstall14

Publishing the WorxChat app in XenMobile

Wrapping the WorxChat Application.

Once the installation is completed, download the WorxChat app from citrix downloads and wrap the application using the mdx toolkit. You can find the steps to wrap an application here.

Enabling Push Notification for WorxChat.

Once you wrap the WorxChat apps, you will need to enable push notification for WorxChat apps.

  1. In case of tech-preview, login to the XenMobile Tools portal with your MyCitrix credentials.

WC_push_1

2. Post login, Click on Manage Push notification.

WC_push_2

3. Select the the region you are from and click Next.

WC_push_3

4. Confirm your region by clicking on Yes, I’m sure.

WC_push_4

5. If you are enabling it for iOS platform, select iOS and click Next.

WC_push_ios_1

5.1. Provide the App Name, App ID(Which you have used while wrapping the iOS WorxChat app), browser the APNs certificate that you have created for WorxChat and Certificate Password (you can refer to section “2.2. Generate WorxMail APNs Certificate” here) and click upload.

WC_push_ios_2

5.2. Once the Certificate is successfully submitted, a unique Customer ID is generated. Make a note of this customer ID as we will have to enter this in the MDX Policies.

WC_push_ios_3

Managing MDX applications in XenMobile server.

You need to manage the wrapped WorxChat apps in XenMobile server, you can find the steps to upload an mdx app to XenMobile server here.

If you have the Network settings to tunnel to internal network then make sure you have the below mdx policies set while managing the WorxChat mdx application XenMobile.

On iOS WorxChat :

  • Lync Chat Server Mappings                       :-   <Citrix WorxChat Server FQDN>:<Lync pool FQDN>
  • User domain                                                 :-   <Lync Domain>
  • Background network services                   :-   <lyncdiscoverinternal.domain.com>:443,<lyncdiscover.domain.com>:443,<Citrix WorxChat Server FQDN>:443,<Lync server FQDN>:443,<Citrix WorxChat server FQDN>:8080,us-east-1.pushreg.xs.citrix.com:443

Example from my config:

lyncdiscoverinternal.methyds.net:443,lyncdiscover.methyds.net:443,met-wc-svr.methyds.net:443,lync.methyds.net:443,met-wc-svr.methyds.net:8080,us-east-1.pushreg.xs.citrix.com:443

  1. lyncdiscoverinternal.methyds.net and lyncdiscover.methyds.net are Lync discover FQDN’s resolving to Lync server
  2. met-wc-svr.methyds.net is FQDN of Citrix WorxChat Server
  3. lync.methyds.net is FQDN of Lync server.
  • Background network service gateway   :- <NetScaler FQDN>:443
  • Push notifications customer ID : Customer ID that you have created in previous step(5.2.) for iOS

WC_MDX1

Important Note: Make sure NetScaler can resolve and reach the FQDN’s <lyncdiscoverinternal.domain.com>, <lyncdiscover.domain.com>, <Lync server FQDN>, <Citrix WorxChat server FQDN>, us-east-1.pushreg.xs.citrix.com(this can change as per your region).

End user Experience:

End user will enroll to the XenMobile environment and will install the WorxChat app from Worx Store and will need to configure it.

  1. Once the end user launches the installed WorxChat app he will asked to enter the email address, username, password and domain information. User should provide his details and click Log on.

WC_enduser1

2. End user will be shown an first time login page, Once he clicks on Get Started end user can start chatting.

IMG_0088  IMG_0089  IMG_0090  IMG_0093  IMG_0094  IMG_0092

Citrix_Mobilize Windows_Banner 2_728x90_Static_Compete_F_072715