Smarts metrics collector Solution Pack (smarts-metrics-collect) installation is similar to any other Solution Pack installation and can be done through DCF module manager and also through controller.

Related package is available in DCF module repository by default. For example: <DCF-Install>/Tools/Module-Repository/smarts-metrics-collect-1.0.pkg

Installation command: <DCF-Install>/bin/manage-modules.sh install smarts-metrics-collect -1.0 smarts-metrics-collect.

Sample Installation questions and output:

Required dependencies, in processing order:
   [1]   java '8.0.202' v8.0.202
   [2]   module-manager '1.13u1' v1.13u1
   [3] I collector-manager 'smarts-metrics-collect' (none) => v5.10u1
   [4] I kafka-connector 'smarts-metrics-collect' (none) => v1.0u2
   [5]   jdbc-drivers 'Default' v2.8
   [6] I sm-collector 'smarts-metrics-collect' (none) => v5.9u2
   [7] I smarts-metrics-collect 'smarts-metrics-collect' (none) => v1.0
> 3 not modified, 4 to install
> 26.6 MB space required / 97.7 GB available
 ? Enter the step to modify, 'yes' to accept them, or 'no' to cancel the operation [yes] > yes

Starting installation of Collector-Manager v5.10u1 from collector-manager-5.10u1-linux-x64...
 * Gathering information...
 * 'Collector-Manager v5.10u1' will be registered with instance name 'smarts-metrics-collect'.
 * It will be installed in '/opt/DCF/Collecting/Collector-Manager/smarts-metrics-collect'.
 * Unpacking files...
 * Installing files... 100%
 * 60 files have been installed.
 * Finalizing installation...
 * Installing service 'collector-manager smarts-metrics-collec...  [ installed ]
Installation complete.

Starting installation of Kafka-Connector v1.0u2 from kafka-connector-1.0u2-linux-x64...
 * Gathering information...
 * 'Kafka-Connector v1.0u2' will be registered with instance name 'smarts-metrics-collect'.
 * It will be installed in '/opt/DCF/Collecting/Kafka-Connector/smarts-metrics-collect'.
 * Unpacking files...
 * Installing files... 100%
 * 17 files have been installed.
 * Finalizing installation...
Installation complete.

Starting installation of Smarts-Collector v5.9u2 from sm-collector-5.9u2-linux-x64...
 * Gathering information...
 * 'Smarts-Collector v5.9u2' will be registered with instance name 'smarts-metrics-collect'.
 * It will be installed in '/opt/DCF/Collecting/Smarts-Collector/smarts-metrics-collect'.
 * Unpacking files...
 * Installing files... 100%
 * 67 files have been installed.
 * Finalizing installation...
Installation complete.

Starting installation of smarts-metrics-collect v1.0 from smarts-metrics-collect-1.0...
 * Gathering information...
 * 'smarts-metrics-collect v1.0' will be registered with instance name 'smarts-metrics-collect'.
 * It will be installed in '/opt/DCF/Block/smarts-metrics-collect/smarts-metrics-collect'.
 * Unpacking files...
 * Installing files... 100%
 * 8 files have been installed.
 * Finalizing installation...
 ? Smarts Domain Manager hostname or IP address. [localhost] > localhost
 ? Smarts Domain Manager Direct Port Number. [12345] >
 ? Smarts Domain Manager to subscribe. [INCHARGE-AM-PM] >
 ? Username [admin] >
 ? Password [•••••] >
   [1] AM/PM Topology & Metrics
   [2] AM/PM Metrics
   [3] AM/PM Topology
 ? Type [1] >
 ? Polling interval for Topology Data in seconds. [3600] >
 ? Polling interval for Metrics Data in seconds. [240] >
 ? Backend data group [group] >
 ? Thread PoolSize. [3] >
 ? Connection PoolSize. [3] >
 ? More entries? (yes/no) [n] >
 ? Kafka Node Hostname or IP address [localhost] >
 ? Kafka Node Port Number [9092] >
 ? More entries? (yes/no) [n] >
 ? Kafka Topic name to publish Collected Data. [default-topic] >
   [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] > n

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