Jump to: navigation, search

Using CMS with Cassandra

Important
To ensure strong consistency of the data (no matter the configuration of the underlying storage) it was decided to deprecate Cassandra 2.2.x support in 8.5.3 release of the product. Going forward, support of Cassandra will be discontinued in 9.0 release of the product.
Important
This step is required in case Cassandra 2.2.x is planned to be used as the storage. If you need guidance deploying Cassandra cluster, please refer to Deploying Cassandra Cluster. Detailed Cassandra documentation can be found on the Cassandra website.
If you are using another data source as the CMS Repository, go directly to Install the CMS.

Importing the Cassandra Resource Access Point Template

Start

  1. Open Genesys Administrator and navigate to Provisioning > Environment > Application Templates.
  2. In the Tasks panel, click Upload Template.
    GWE-GenAdminTaskUploadTemplate.png
  3. Click Add and choose application template (APD) file to import window, click Add.
  4. Browse to the Cassandra_Resource_Access_Point_853.apd file. Click Open.
    The New Application Template panel opens:
    1 RAP TPL.png
  5. Click Save & Close.

End

Creating the Cassandra Resource Access Point Application

Prerequisites

Start

  1. Open Genesys Administrator and navigate to Provisioning > Environment > Applications.
  2. In the Tasks panel, click Create New Application.
    GWE-GenAdminTaskCreateNewApplication.png
  3. In the Select Application Template panel, click Browse for Template and select the Cassandra_Resource_Access_Point_853 template that you imported in Importing the Cassandra Resource Access Point Template. Click OK.
    2 RAP Create.png
  4. The template is added to the Select Application Template panel. Click Next.
  5. In the Select Metadata file panel,
    1. click Browse
    2. click Add
    3. select the Cassandra_Resource_Access_Point_853.xml file
    4. Click Open
  6. The metadata file is added to the Select Metadata file panel. Click Next.
  7. In Specify Application parameters:
    1. Enter a name for your application. For instance, "Genesys Knowledge CMS Cassandra RAP"
    2. Make sure that State is enabled
    3. Select the Host on which the Access Point will reside
    4. Click Create
      3 RAP params.png
  8. The Results panel opens.
  9. Enable Opens the Application details form after clicking 'Finish' and click Finish. The Cassandra Resource Access Point application form opens and you can start configuring its properties.
    3 RAP App.png

End

Configuring the Cassandra Resource Access Point Application

Prerequisites

Start

  1. If your Cassandra Resource Access Point application form is not open in Genesys Administrator, navigate to Provisioning > Environment > Applications. Select the application defined for the Cassandra Resource Access Point and click Edit.
  2. Expand the Server Info pane.
  3. In the Tenant section, click Add and select your tenant. For instance, Environment. Click OK. (Tenant should be same as for previously created Genesys Application cluster <link to chapter about installing Cluster> )
  4. If your Host is not defined, click the lookup icon to browse to the hostname of your application, which should point to the host where you plan to locate your Cassandra node.
    4 RAP server info.png
  5. In the Listening Ports section, create the default port by clicking Add. The Port Info dialog opens.
    1. Enter the Port. For instance, 9160 (use value of rpc_port of your Cassandra).
    2. Click OK. The default port appears in the list of Listening ports.
  6. Click Add again. The Port Info dialog opens.
    1. In the ID field, enter native.
    2. Enter the Port. For instance, 9042 (use value of native_transport_port of your Cassandra).
    3. Click OK. The native port appears in the list of Listening ports.
      Gwe-cassandra-rap-ports.png
  7. Ensure the Working Directory and Command Line fields contain "." (period).
    GWE-GenAdminBackendConfigCommands.png
  8. Click Save.
  9. The Confirmation dialog for changing the application's port opens. Click Yes.
  10. Select the Options tab.
    • In the [resource] section, make sure type is set to cassandra.
      Gwe-cassandra type resource.png
  11. Click Save & Close. If the Confirmation dialog opens, click Yes.

End

Configuring the Knowledge Center Cluster for Use with Cassandra

Prerequisites

Start

  1. Navigate to Provisioning > Environment > Applications. Select the application defined for the Knowledge Center Cluster and click Edit.
  2. In the Connections section of the Configuration tab, click Add. The Browse for applications panel opens. Select a Genesys application defined as a Cassandra Resource Access Point, then click OK.
  3. Select added connection to application, click Edit and ensure that the default connection port selected as ID
  4. (Optional) Open Options tab. In section cassandra-keyspace set valid values to use your Cassandra node.
  5. Click Save & Close. If the Confirmation dialog opens, click Yes
    5 RAP Cluster Connection.png

End

This page was last edited on June 21, 2017, at 19:11.
Comments or questions about this documentation? Contact us for support!