Deploying CDP DMP SST API

This section provides detailed instructions on how to deploy HCL CDP DMP SST API using the Devtron in the OpenShift.

Prerequisites:

Make sure to create a cdp-dmp-sst-api secret with required data in the HashiCorp Vault before deploying CDP DMP SST API.

To create the cdp-dmp-sst-api secret in the HashiCorp Vault, follow the steps below:

  1. Create a cdp-dmp-sst-api secret sample key and value in the UI secret, and update ConfigMaps data with actual values.
    {
      "AerospikeServerAddress": "",
      "DbUsername": "",
      "DbPassword": "",
      "DbHost": "",
      "SstApiAuthKeys": "",
      "HbaseZookeeperQuorum": "",
      "GraphDBEndpoint": "",
      "VrmDbUrl": "jdbc:mysql://<vrm-host>:3307/vrm?autoReconnect=true",
      "VrmDbUsername": "",
      "VrmDbPassword": "",
      "VrmDbDriver": "com.mysql.cj.jdbc.Driver",
      "AerospikeUsername": "",
      "AerospikePassword": "",
      "KafkaBootstrapServer": "",
      "KafkaUsername": "",
      "KafkaPassword": "",
      "mongoUrl": "mongodb://rtsms:<password>@<mongo-host>:51090/?directConnection=true"
    }

Deploying CDP DMP SST API

To deploy the CDP DMP SST API, follow the steps below:

  1. Navigate to the Devtron Chart Store, and select the cdp-dmp-sst-api chart to deploy.

  2. Now, configure and deploy the CDP DMP SST API charts.

  3. In the YAML section, update the ConfigMap using below details, and deploy the charts.
    AerospikeServerPort: "13000"
    AerospikeTimeOut: "1000"
    AerospikeTTL: "15552000"
    AerospikeNamespace: cdpstore
    AerospikeLocksSet: locks
    AerospikeLocksBin: l
    AerospikeLocksTTL: "20"
    MaxLockRetries: "15"
    LockRetryBackoffMs: "2000"
    
    UserAuthKeysFile: /mnt/sst/sst_api_user_auth_keys
    
    MetricLoggingFrequencyMs: "6000"
    MaxWaitForConnectionReestablish: "5"
    
    TsdbHost: <internal-tsdb-service>
    TsdbPort: "80"
    TSDBHostName: <internal-host>
    
    GmondCollectors: <monitoring-collector-host>
    GmondPort: "10240"
    HostNameOverride: <internal-host>
    
    MetricPrefix: dmp
    
    REFRESH_FREQUENCY: ""
    CAMPAIGN_DEFAULT_TTL: ""
    LAZY_LOAD_ENABLED: ""
    
    DbPort: "3307"
    DbDriver: org.mariadb.jdbc.Driver
    
    HbaseZookeeperClientPort: "2181"
    HBaseDBEnable: "false"
    
    CookieCacheThreshold: "432000"
    EncryptionEnabled: ""
    
    GraphDBEndpoint: <graphdb-cluster-endpoint>
    GraphDBPort: "8182"
    GraphDBEnable: "false"
    
    type: ""
    region: ""
    
    FROM_EMAIL_ID: user@domain.com
    ALERT_TO_EMAIL_ID: user@domain.com
    
    databasePlatform: org.hibernate.dialect.MySQL8Dialect
    physicalStrategy: org.hibernate.boot.model.naming.PhysicalNamingStrategyStandardImpl
    
    LOG_LEVEL_ROOT: info
    
    SECURITY_PROTOCOL: SASL_SSL
    SASL_MECHANISM: SCRAM-SHA-512
    
    campaigns: VIZVRM6543:30
    cron: 0 0 0 * * *
    
    KafkaProducerHostName: <internal-kafka-host>
    KafkaProducerEventType: "100"
    KafkaProfileDeleteTopic: dmp_sst_rt_profile_delete

  4. On successful deployment, validate the deployment as shown below.