Smarts events SP (smarts-notifs-events) installation is similar to any other SP installation and can be done through DCF module manager and also through controller.

Related package are available in DCF module repository by default.

For example: <DCF-Install>/Tools/Module-Repository/smarts-notifs-events-1.0.pkg

Installation command :

<DCF-Install>/bin/manage-modules.sh install smarts-notifs-events

Sample Installation output :

Required dependencies, in processing order:
   [1]   java '8.0.202' v8.0.202
   [2]   module-manager '1.13u1' v1.13u1
   [3] I event-processing-manager ‘smarts-notifs-events' (none) => v1.8u2
   [4] I event-processing-utils ‘smarts-notifs-events' (none) => v1.4u1
   [5] I smarts-listener ‘smarts-notifs-events' (none) => v1.7u2
   [6] I kafka-event-adapter ‘smarts-notifs-events' (none) => v1.0u1
   [7] I smarts-notifs-events ‘smarts-notifs-events' (none) => v1.0
> 2 not modified, 5 to install
> 15.1 MB space required / 26.4 GB available
 ? Enter the step to modify, 'yes' to accept them, or 'no' to cancel the operation [yes] > yes

Starting installation of Event-Processing-Manager v1.8u2 from event-processing-manager-1.8u2-linux-x64...
 * Gathering information...
 * 'Event-Processing-Manager v1.8u2' will be registered with instance name ‘smarts-notifs-events'.
 * It will be installed in '/opt/DCF/Event-Processing/Event-Processing-Manager/smarts-notifs-events'.
 * Unpacking files...
 * Installing files... 100%
 * 23 files have been installed.
 * Finalizing installation...
 * Installing service 'event-processing-manager smarts-notifs-...  [ installed ]
Installation complete.

Starting installation of Event-Processing-Utils v1.4u1 from event-processing-utils-1.4u1-linux-x64...
 * Gathering information...
 * 'Event-Processing-Utils v1.4u1' will be registered with instance name ‘smarts-notifs-events'.
 * It will be installed in '/opt/DCF/Event-Processing/Event-Processing-Utils/smarts-notifs-events'.
 * Unpacking files...
 * Installing files... 100%
 * 15 files have been installed.
 * Finalizing installation...
Installation complete.

Starting installation of Smarts-Listener v1.7u2 from smarts-listener-1.7u2-linux-x64...
 * Gathering information...
 * 'Smarts-Listener v1.7u2' will be registered with instance name ‘smarts-notifs-events'.
 * It will be installed in '/opt/DCF/Event-Processing/Smarts-Listener/smarts-notifs-events'.
 * Unpacking files...
 * Installing files... 100%
 * 24 files have been installed.
 * Finalizing installation...
Installation complete.

Starting installation of Kafka-Event-Adapter v1.0u1 from kafka-event-adapter-1.0u1-linux-x64...
 * Gathering information...
 * 'Kafka-Event-Adapter v1.0u1' will be registered with instance name ‘smarts-notifs-events'.
 * It will be installed in '/opt/DCF/Event-Processing/Kafka-Event-Adapter/smarts-notifs-events'.
 * Unpacking files...
 * Installing files... 100%
 * 30 files have been installed.
 * Finalizing installation...
Installation complete.

Starting installation of smarts-notifs-events v1.0 from smarts-notifs-events-1.0...
 * Gathering information...
 * 'smarts-notifs-events v1.0' will be registered with instance name ‘smarts-notifs-events'.
 * It will be installed in '/opt/DCF/Block/smarts-notifs-events/smarts-notifs-events'.
 * Unpacking files...
 * Installing files... 100%
 * 4 files have been installed.
 * Finalizing installation...
   [1] Smarts broker
   [2] Direct connection
 ? Collection mode [1] >  1 
 ? Broker hostname or IP address [localhost] > localhost
 ? Broker port [426] > 426
 ? Are you using broker authentication (yes/no) [n] > n
   Smarts domain to subscribe [INCHARGE-SA-PRES] > INCHARGE-SA-PRES-1
 ? SAM domain username [admin] >
 ? SAM domain password [•••••] >
 ? Notification list [ALL_NOTIFICATIONS] >
 ? Configure secondary (failover) (yes/no) [n] >
 ? Configure secondary (failover) (yes/no) [n] > yes
   [1] Smarts broker
   [2] Direct connection
 ? Collection mode [1] > 2
 ? SAM Server hostname or IP address. [localhost] >
 ? SAM Server Port Number. [12345] >
 ? Smarts domain to subscribe [INCHARGE-SA-PRES] > INCHARGE-SAM2
 ? SAM domain username [admin] >
 ? SAM domain password [•••••] >
 ? Notification list [ALL_NOTIFICATIONS] >
 ? Kafka Node Hostname or IP address [localhost] > 10.31.119.1
 ? Kafka Node Port Number [9092] >
 ? More entries? (yes/no) [n] > yes
 ? Kafka Node Hostname or IP address [localhost] > 10.31.119.2
 ? Kafka Node Port Number [9092] > 
 ? More entries? (yes/no) [n] > yes
 ? Kafka Node Hostname or IP address [localhost] > 10.31.119.3
 ? Kafka Node Port Number [9092] > 
 ? More entries? (yes/no) [n] >
 ? Kafka Topic name to publish Collected Data. [default-topic] > eventsTopic
   [1] Kafka server authentication disabled.
   [2] SASL_PLAINTEXT.
   [3] SASL_SSL.
   [4] SSL.

If we select default option 2:-

 ? Kafka server authentication type. [2] > SASL_PLAINTEXT
 ? Kafka server username. [admin] >
 ? Kafka server password. [•••••] >
 ? Do you want to start the installed services now? (yes/no) [n] > yes

If we select option 3 [SASL_SSL]

? Kafka server authentication type. [2] > 3
? Kafka server username. [admin] >
? Kafka server password. [•••••] >
Location for Kafka Producer/Consumer TrustStore (Java TrustStore). [../../../Tools/Webservice-Gateway/Default/conf/truststore] > (Accept the default)
? Password for Kafka Producer/Consumer TrustStore (Java TrustStore). [â¢â¢â¢â¢â¢] > changeit
? Do you want to start the installed services now? (yes/no) [n] > n

Import all the Kafka certificates into the truststore and start the installed service
<DCF Install Dir>/bin/manage-modules.sh service start event-processing-manager smarts-notifsevents

If we select option 4 [SSL] :- 

? Kafka server authentication type. [2] > 4
 ? Location for Kafka Producer/Consumer TrustStore (Java TrustStore).   [../../../Tools/Webservice-Gateway/Default/conf/truststore] >
 ? Password for Kafka Producer/Consumer TrustStore (Java TrustStore). [•••••] >
 ? Location for Kafka Producer/Consumer KeyStore (Java KeyStore). [../../../Tools/Webservice-Gateway/Default/conf/clientkeystore] >
 ? Password for Kafka Producer/Consumer KeyStore (Java KeyStore). [•••••] >
 ? Password for KeyStore Key. [•••••] >



 ? Do you want to start the installed services now? (yes/no) [n] > yes
Note: Smarts-UI supports only SASL_PLAINTEXT and SASL_SSL