Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents

Date & Time Synchronization

An important consideration is time synchronization between related components. Communication between EF Connector, client applications and Cisco Finesse carry timestamps. If the system dates and time are not synchronized the system can produce unpredictable results. Therefore, please make every effort to adhere to the following time synchronization guidelines:

EF Connector, client applications and Cisco Finesse should have their Time Zone and time configured properly according to the geographic region and synchronized. To configure the time zone, please see the instructions from the hardware or software manufacturer of NTP server. Client applications and EF Connector should be synchronized to the second. This synchronization should be maintained continuously and validated on a regular basis. For security reasons, Network Time Protocol (NTP) V 4.1+ is recommended.

Variable names and password requirements

All the variables include team name, agent id’s, passwords and call variables shouldn't contain the following special characters.

  1. ,
  2. #
  3. |

Supervisor agent requirement

Each of the Supervisor agents must be assigned at least one team.

Prerequisites for EF Connector

EF Connector consists of 2 independent components, (i) ActiveMQ Broker and (ii) Generic Connector. This section covers necessary prerequisites.

Hardware Requirements

For a simplex (single server) deployment, minimum and recommended hardware requirements are as following:



Minimum

Recommended

vCPU

2 Cores

4 Cores

vRAM

4 GB

8 GB

vDISK

20 GB

160 GB


For a redundant deployment, two servers of the same specifications (as mentioned above) are needed.

Software Prerequisites

Microsoft Windows Server 2012 standard Edition x64 R2

A windows Server 2012 R2 64-bit or above is recommended

Locale Settings

English (recommended)

Java Runtime (64 bit)

Java Runtime (JRE) 8 is required

Antivirus

Any of the antivirus as mentioned in Software License Requirements

WinRAR

A package extractor to modify embedded configuration properties

.Net Framework

.Net Framework 4.5.2 for Service Manager

Network Prerequisites

EF Connector requires communication with the following:

...

Following ports should remain open on the Firewall. The local security policy and any antivirus should also allow open communication on the following ports.


Type

Source Host

Source Port

Destination Host

Destination Port

TCP

<Client Server>

any

EF Connector

61616

TCP

EF Connector (B)

any

EF Connector

61616

HTTP

For status monitoring from any machine

EF Connector

8161

XMPP

EF Connector

any

Cisco Finesse

5222, 5223, 7071, 7443

HTTP/S

EF Connector

any

Cisco Finesse

80, 8080, 443, 8443

NTP

EF Connector

any

NTP Server

123

DNS

EF Connector

any

DNS Server

53


  • <Client Server> is a machine running client application of EF Connector. For server-based applications like Siebel, it’s Siebel Communication Server. For desktop-based applications, it’s the machine address of the agent desktop running the desktop application.
  • In a redundant deployment, both EF Connector instances communicate with each other on the same TCP OpenWIre port 61616. In the table above, it’s mentioned as EF Connector (B) ⇒ EF Connector.
  • These are defaults set in EF Connector, but you can always change the default configuration.

If you need to file sharing and remote installation/configuration using RDP, you might need to open the following additional ports.

Type

Source Host

Source Port

Destination Host

Destination Port

RDP

For remote desktop connection

EF Connector

3389

TCP

For file-sharing

EF Connector

139,445

UDP

For file-sharing

EF Connector

137,138

Access & Privileges Requirements

  • Administrative access (LocalSystem account or domain administrator) on the Connector Server is required to do the installation and configuration.

Install Software

  1. Download EF Connector Installer from Google Drive
  2. Run the setup wizard GenericConnector3.4.15.02.exe to start the installation process
  3. Image RemovedImage Added
  4. Now, select a location to install the software. The default path is C:\Program Files\Generic Connector. The specified path is mentioned as <EF Connector Home> in the rest of the document.
    Image RemovedImage Added

  5. Select the folder for a shortcut in Start Menu
    Image RemovedImage Added

  6.  Review your selection and if all is okay, proceed with the installation.
    Image RemovedImage Added
  7. The installation wizard will copy all the files to the selected folder.
    Image Removed
    Image Added
  8. Press Finish to close this setup wizard.

Image RemovedImage Added Upon successful completion, EF Service Manager App is installed with a shortcut created on the Desktop.

Upgrade Software

Upgrade GenericConnector3.4.1.02 GenericConnector to GCPatch 3.45.1.03-latest05

If you have successfully installed Generic Connector now or If you have already installed a previous version of Generic Connector and just want to upgrade, you need to obtain patch GCPatch 3.45.1.03-latest05  from Google Drive and follow the following steps.

  1. Download and extract GCPatch 3.45.1.03-latest05.rar
  2. Double click on GCPatchService.exe. It opens a dialog to proceed.
  3. Image RemovedImage Added
  4. Click Next. It will open a dialog for folder selection. Select Generic Connector installation path <EF Connector Home>.
  5. Image RemovedImage Added
  6. Click OK. It will upgrade the existing GC with old configurations. It will ask you to review the configuration file. You need to ensure that all the newly introduced parameters are available in GC Config. Click Yes to open the installation folder. See Generic Connector Configuration.
  7. Image RemovedImage Added
  8. You have up-to-date GC. Old GC will be available as a backup in the same folder. You can now start GC from EF Service Manager.
Info
titleNote

After the patch upgrade, please make sure to add the property  MAKE_AGENT_READY =False / True, in the GC config file 


EF Service Manager

EF Service Manager is a mini management console to:

...

Proceed with installing the application as a service and do any necessary configuration using EF Service Manager.

Install Windows Services

Run EF Service Manager from the Desktop shortcut. The Service Manager shows the status of all of the Connector services. Click on “Install Service” to install both ActiveMQ and Generic Connector services. Once the services are installed, you will be able to configure and use these services.

Image RemovedImage Added

After clicking on Install Service, if the services are installed correctly, it will prompt a success message or display an error message in case of any issue.

Image RemovedImage Added

The panel will look like the following after successful service creation.

Image RemovedImage Added

Manage Services

  1. Run Service Manager from the desktop (if it is not running). You can locate Service Manager from the system tray
  2. Image RemovedImage Added
  3. Run both Services, one after the other.
  4. Image RemovedImage Added
  5. To validate if ActiveMQ is running, login to the web-console via http://broker-[x]-ip:[web-console-port] with the default credentials [admin/admin] or as per your configured credentials. Reference ActiveMQ Web Console Configuration
  6. In the Queue section, you should find a Queue name Connector1 created.
  7. You can also verify ActiveMQ and GenericConnector from their log files by clicking on Logs button in both Sections.
  8. Image RemovedImage Added

Anchor
Configuration
Configuration
Generic Connector Configuration

The generic Connector “Config” button in EF Service Manager will open the folder where Generic Connector is installed.

  1. Open generic-connector.jar file using WinRAR or similar to modify the embedded configuration properties file Config/config.properties.'
  2. Image RemovedImage Added
  3. Open Config\config.properties with a text editor
  4. Make the desired changes and update the file in the same jar file

Connector Configuration Parameters

Parameter

Default Value

Description

ActiveMq_URL_1

Activemq-Broker-X-IP:[openwire-port]

Primary ActiveMQ URL with configured Openwire port

ActiveMq_URL_2

Activemq-Broker-X-IP:[openwire-port]

Secondary ActiveMQ URL with configured Openwire port

Finesse_1

http://Finesse-X-IP/finesse/api/

Primary Finesse URL for Site A

Finesse_2

http(s)://Finesse-X-DN/finesse/api/

Primary Finesse URL for Site B


SERVER_ADDRESS_1

Finesse-X-IP

Primary finesse URL for heartbeat   for Site A

SERVER_ADDRESS_2

Finess-X-IP

Secondary finesse URL for heartbeat   for Site A

ActiveMq_Timeout

10000

ActiveMQ connection timeout in milliseconds

AGENT_STATES_PUBLISHER_DURATION

5000

Time (ms) after which, states of all agents would be published on ‘AgentStates’ topic

FINESSE_HEARTBEAT_SLEEP

5

Interval in seconds  to send heartbeat message to finesse

FINESSE_REQUEST_TIMEOUT

300

Finesse Request timeout (milliseconds) used to check Finesse Heartbeat

CLIENT_HEARTBEAT_SLEEP

30

in seconds

LOGLEVEL

TRACE

Log Level

GC_HEARTBEAT_TIMEOUT

10000

GC heartbeat timeout


AGENT_INACTIVITY_DURATION

30

In Seconds

AGENT_INACTIVITY_TIME_SWITCH

false

 Agent inactivity switch

GC_HEARTBEAT_SLEEP

10000

GC heartbeat thread sleep time

DEFAULT_NOT_READY_REASON

1

default reason code for not ready

DEFAULT_LOGOUT_REASON

2

Default reason code for force logout

USE_ENCRYPTED_PASSWORDS

true

Use password encryption (3Des). (Must be same as in client.)

CHANGE_STATE_ON_WRAPUP

true

Caller’s state change automatically on wrap-up

MAKE_AGENT_READY

True

Add true if you want to make agent ready right after login

Setup Default Reason Code(s)

Create at least one reason-code for not-ready and one reason code for logout in Cisco Finesse and specify the default reason code in Generic Connector configuration file.

For default not-ready reason,

DEFAULT_NOT_READY_REASON

1

Default reason code to be passed by Generic Connector to Cisco Finesse

DEFAULT_LOGOUT_REASON

2

Default reason code to be passed by Generic Connector to Cisco Finesse

Deployment Modes

Simplex Mode

In simplex deployment, the application is installed on a single server with no failover support of EF Connector. However, the same EF Connector can still communicate with primary and secondary Finesse servers.

Simplex mode is useful for lab tests and commercial deployments at a smaller scale. Figure 1.0 explains the simplex mode of Generic Connector.

Image RemovedImage Added

Figure 1.0

Duplex Mode

In Duplex mode, there are two types of supported configurations.

Active-Passive

A primary/secondary configuration setup where one Connector works as a primary server while the other (secondary) is available as a stand-by server (from a Disaster Recovery site)

Active-Active

In this mode, both Connector instances are active and serving clients and one instance serves as the backup / secondary for the other.

Active-Passive (Primary / Secondary) Setup

To configure the Connector in Active-Passive mode, set the value of attribute “GRC_CONSUMER_PRIORITY” in Connector configuration. For the Primary Connector, set the value of this attribute to “127” without quotes. For the Secondary Connector, set the value of this attribute to “100” without quotes.

Image RemovedImage Added

Figure 1.1

The active-Passive mode has the following configurations.

Configurations for Site-1

Primary-AMQ: broker-1, Secondary-AMQ: broker-2

Generic Connector Configuration should look like, For a detailed description of the GC please consult properties

Property

Value

ActiveMq_Timeout

10000

GRC_CONSUMER_PRIORITY

127

RANDOMIZE

false

PRIORITY_BACKUP

true

ActiveMq_URL_1

primary-url-of-amq:port

ActiveMq_URL_2

secondary-url-of-amq:port

Configurations for Site-2

Primary-AMQ: broker-1, Secondary-AMQ: broker-2, For a detailed description of the GC please consult properties.

Property

Value

ActiveMq_Timeout

10000

GRC_CONSUMER_PRIORITY

100

RANDOMIZE

false

PRIORITY_BACKUP


true

ActiveMq_URL_1

primary-url-of-amq:port

ActiveMq_URL_2

secondary-url-of-amq:port


 Active-Active Setup

For an Active-Active deployment, the Failover URL is set to use the local AMQ as primary and remote AMQ as secondary.

Image RemovedImage Added


Figure 1.2

For GC-1, the configuration would look like this, For a detailed description of the GC please consult properties

Property

Value

ActiveMq_URL_1

[AMQ-1]:61616

ActiveMq_URL_2

[AMQ-2]:61616

GRC_CONSUMER_PRIORITY

127

PRIORITY_BACKUP

true

Finesse_1

http://Finesse-1/finesse/api/

SERVER_ADDRESS_1

Finesse-1

Finesse_2

http://Finesse-2/finesse/api/

SERVER_ADDRESS_2

Finesse-2

For GC-2, the configuration would look like, For detailed description of the GC please consult properties

Property

Value

ActiveMq_URL_1

[AMQ-2]:61616

ActiveMq_URL_2

[AMQ-1]:61616

GRC_CONSUMER_PRIORITY

100

PRIORITY_BACKUP

true

Finesse_1

http://Finesse-2/finesse/api/

SERVER_ADDRESS_1

Finesse-2

Finesse_2

http://Finesse-1/finesse/api/

SERVER_ADDRESS_2

Finesse-1


Where [AMQ-1] should be replaced with the IP / machine-name of ActiveMQ-1 and [AMQ-2] should be replaced with the IP / machine-name of ActiveMQ-2. Finesse-1 is the IP/name of Finesse-1 server and Finesse-2 is IP/name of the Finesse-2 server.

...

Priority Backup, and building a Connector Sync mechanism in Generic Connector.

ActiveMQ Configuration

ActiveMQ “Config” button opens the ActiveMQ configuration file %ACTIVEMQ%/conf/activemq.xml in your default text editor (e.g. notepad).

Configuring Network of Brokers (Redundant Deployment Only)

Settings for a network of brokers are mandatory for redundant deployment only. These configurations should however be done on one side only.

...

This commented tag looks like following in the activemq.xml file:

Image RemovedImage Added


The URI on site-A should point to site-B URI “static:(tcp://SITE-B:PORT)” to configure it in network bridge mode.

...

Anchor
WebConsole
WebConsole

ActiveMQ Web Console Setup


ActiveMQ web console runs on HTTPS port 8162 and is enabled by default. You can modify web console configurations in <EF Connector Home>\conf\jetty.xml.




Image RemovedImage Added

See this article for more information about web console configurations. As shown here we can create our own Keystore and certificates for the SSL configuration of the ActiveMQ console.

Web Console Passwords Configuration

To ensure security, default passwords for the ActiveMQ web console are encrypted. For user “admin” the default password is changed to “@ctiveMQSecured1!”.

...

See this article for more information about generating secure passwords for the web consoles.

Setting up ActiveMQ with Jetty and Active Directory

ActiveMQ administration console can be integrated with Windows Active Directory. The sample Active Directory configurations are outlined in the ldap.config file which is placed here <EF Connector Home>\conf\>

Create Object of Type GroupOfUniqueNames

In Active Directory,

  1. Create a new Object in Active Directory with class of type ‘GroupOfUniqueNames’  in any group and give it any name. This name should match with the roles attribute of SecurityConstraint in the <EF Connector Home>\conf\jetty.xml, which is explained here. For illustration purposes, we have created an empty group with type ‘Container’ called AdminTestGroup. In this container we have created an object of type ‘GroupOfUniqueNames’ called AdminRoles.
  2. Image RemovedImage AddedImage Removed
  3. Image Added
  4.  In the next step, add the user you want to give access to as a unique member of AdminRoles. Here we have added the distinguished name of the user called djtest.
  5. Image RemovedImage Added


You can find a user’s distinguished name from User’s Properties > Attribute Editor >   distinguishedName.

Image RemovedImage Added

  1. After adding the members to the group you should be able to see them in the group
  2. Image RemovedImage Added


Jetty/ActiveMQ Configuration

In <EF Connector Home>\conf\jetty.xml,

...

Modify the security constraint bean in the jetty.xml file and change the value of the roles to the name that you provided to the group you created above with the type ‘GroupOfUniqueNames’ in our case this is AdminRoles.

Image RemovedImage Added

Modify the security handler bean in jetty.xml and change the ref of property name ‘login service to ‘ldapLoginService’ as shown below

 Image RemovedImage Added

Also, uncomment the following property ‘identityService’ in securityHandler bean


Image RemovedImage Added

9) You will find the ldap.config file on this path  <EF Connector Home>\conf\ldap.config.

...

Note: Please do not change this string “amqLdapLoginModule“

Image RemovedImage Added

Description of configuration attributes for  Active Directory


Hostname :  The IP address of the Active Directory server. In the illustration above, we used 192.168.1.132

...

roleNameAttribute : Specifies the attribute type of the role entry that contains the name of the role


Setting up  SSL to access ActiveMQ console

Caution : Run all of the commands in administrator mode on the command line.

...

4)  You should get two certificates which look like this

Image RemovedImage Added

5) Now import these certificates using these commands

...

6) Place the certificate files and the keystore in the  <EF Connector Home>\conf\


Image RemovedImage Added



7) Open  <EF Connector Home>\conf\jetty.xml . In the property, name keystorePath change the value to be the name of your Keystore file. Also, change the property name Keystore passwords value to be the password of the Keystore. As shown here we can encrypt the password.

Note: Only the OBF algorithm passwords will work here. So the value of Keystore password property will look like this OBF:1v2j1uum1xtv1zej1zer1xtn1uvk1v1v

Image RemovedImage Added