Skip to content

Data-Storage

Allows for advanced configuration of data storages used by CYBERQUEST. To edit Data-Storage, open /var/opt/cyberquest/datastorage/conf.xml file on CYBERQUEST server.

You can find all configurable variables in the following table:

Parameter Description Default value
dbDriver This is the driver of the mysql DB server com.mysql.jdbc.Driver
dbUserName This is the username of the mysql DB server root
dbPass This is the password of the mysql DB server ****
dbUrl This is the address of the mysql DB server jdbc:mysql://127.0.0.1:3306/config
dbAlternateUrl This is the address of the alternate mysql DB server jdbc:mysql://127.0.0.1:3306/config
serverGuid This is the Globally Unique IDentifier(GUID) of server D39498A9-1C85-0379-1E78-C161E6FFEEEA

To edit Data-Storage, open Settings > Application Settings > Data Storage on web application:

Alt Image

The settings of Data Storage opens:

Alt Image

To make changes to the variables, use the Edit Alt Image button.After edit, press "Save" button to save changes, for discard changes use "Cancel" button.

You can find all configurable variables in the following table:

Parameter Description Default value
maxEventsPerFile Specifies the maximum number of events allowed per stored file 20000
fileWriterTimeout Specifies the timeout interval for the event writer 60
mqUserName Specifies the administrative username for MQ service access cq
mqPassword Specifies user's password for MQ service ****
mqHost Specifies the MQ service server. In distributed architectures, it may differ from the default CYBERQUEST server 127.0.0.1
mqVhost Specifies the MQ service virtual server. In distributed architectures, it may differ from the default CYBERQUEST server
mqPort Specifies the network communication port used by MQ service 5672
mqExchangeName Specifies the exchange name used by MQ service eventsExchange
mqQueueName Specifies the MQ queue name jobCommands
mqReceiveQueueType Specifies the MQ Receive queue type fanout
mqRouting Specifies the routing path for message queues agents
mqReceiveCommandExchangeName Specifies the MQ Receive command exchange name eventsExchange
mqReceiveCommandQueueName Specifies the MQ Receive command queue name jobCommands
mqReceiveCommandQueueType Specifies the MQ Receive command queue type direct
mqReceiveCommandRouting Specifies the MQ Receive command routing path servers
mqSendExchangeName Specifies the MQ Send exchange name
mqSendQueueName Specifies the MQ Send queue name archive
mqSendRouting Specifies the MQ Send routing path agents
mqSendQueueType Specifies the MQ Send queue type direct
encryptionPublicKeyFilePath Specifies the file path for defined public key /var/opt/cyberquest/encryption/datastorage/public_key.txt
encryptionPrivateKeyFilePath Specifies the file path for defined private key /var/opt/cyberquest/encryption/datastorage/private_key.txt
elasticClusterName Specifies the Elasticsearch cluster name ES.
elasticHostName Specifies the Elasticsearch host name 127.0.0.1
encryptionPrivateKeyPassword Specifies the password for defined private key ***
encryptionPrivateKeyPasswordPath Specifies the file path for defined private key password /var/opt/cyberquest/encryption/datastorage/privateKeyPassword.txt
fileImportThreads Specifies how many threads are used for import 5
mqQueueType Specifies the queue type direct
mqReceiveExchangeName Specifies the MQ Receive exchange name DA.publish
mqReceiveQueueName Specifies the MQ Receive queue name DataStorage
mqReceiveRouting Specifies the MQ Receive routing key agents
mqAlternateHost Specifies the alternate host name to use if the current queue is dead 127.0.0.1
mqVHost Specifies the MQ Receive virtual host /

In the list below we have defined some examples of jobs: