Deploy a Virtual Machine from an OVA File. Allocate resources according to the VM as per the hardware prerequisite.
Configuration.
Once the installation is complete, login to the workstation
with the user name and password which will be provided by the CyBot support
team.
In-order to SSH into the VM via any SSH Client, assign an IP address to the VM.
To Configure IP address, you can navigate to "Configure IP in Virtual Machines". This document will guide you to configure IP address in the Virtual Machine.
Once the IP
address is assigned for the VM, configure the preferred host name for the Cybot Analytical Engine .
The ideal design for setting up a Cybot Analytical Engine will include 2 hard disk, one dedicated for the OS and the other for the data which is stored in Cybot Analytical Engine.
Check disk
partition
>>> lsblk
To create a mounting path for the hard disk, follow the below steps
>>> mkfs.ext4 <hard disk name>
Sample: mkfs.ext4 /dev/sdb
>>>
mkdir /mnt/<provide a folder name>
Sample mkdir /mnt/cyb_datalake
>>>
mount <hard disk name>
Sample: mount /dev/sdb /mnt/cyb_datalake
This is the big data analytical engine for CyBot. To configure any changes to modify the IP address or port you may change in the configuration file as shown below.
>>>> nano
/home/cybot/opensearch-2.8.0/config/opensearch.yml
network.host: localhost (Recommended)
network.port: 9200 (Recommended)
path.data: /mnt/<path to mount point>/cybot/data
path.log: /mnt/<path to mount point>/cybot/log
>>>> su cybot
>>>> cd /home/cybot/opensearch-2.8.0/
>>>> bin/opensearch
>>>> nano /home/cybot/opensearch-2.8.0/config/opensearch.yml
network.host: localhost (Recommended)
network.port: 9200 (Recommended)
path.data: /mnt/<path to mount point>/cybot/data
path.log: /mnt/<path to mount point>/cybot/log
https://<cluster-manager-ip>:<port_number>/_cluster/health
>>>> nano /home/cybot/opensearch-dashboards-2.8.0/config/opensearch-dashboards.yml
To change the IP address or port where the Cybot Analytical engine engine must run, you need to provide the IP address and port for the respective parameters.
server.host: x.x.x.x
server.port: 5601
Each time a configuration is changed in the opensearch-dashboards.yml file, you will have to restart the Cybot Analytical engine service for the changes to be reflected.
Before running as a service if you want to run manually to check if your configurations are working, please use the following commands:
>>>> cd /home/cybot/opensearch-dashboards-2.8.0/
>>>> bin/opensearch-dashboards
For restarting the service, please find the following command:
>>>> systemctl restart datalake-ui.service
Within our Cybot Analytical Engine ecosystem, the "datalake-engine.service" plays a pivotal role in enabling robust data storage, real-time indexing, and search capabilities. This service empowers users to access immediate results as data is ingested, enhancing the efficiency and responsiveness of our data analytics.
Service Health Monitoring:
To ensure the continuous and optimal performance of the "datalake-engine.service," you can monitor its status and health by executing the following command:
“systemctl status datalake-engine.service”
This command will provide you with valuable insights into the service's status, allowing you to promptly identify any issues or anomalies.
Service Restart:
In the event of service failure or if the need arises to restart the "datalake-engine.service" for any reason, you can initiate the restart process using the following command:
systemctl restart datalake-engine.service
This command will gracefully restart the service, and subsequent checks of the service status will confirm its successful restoration to operational status.
Validating via CLI
Cybot Analytical engine :
>>> curl -i -k -u <username>:<password> https://<machine_IP>:9201
The "datalake-ui.service" is a crucial component in our Cybot Analytical Engine infrastructure, responsible for running the User Interface (UI) for the Cybot Analytical Engine. This UI empowers users to create interactive and visually appealing dashboards, facilitating data exploration and insights.
Service Health Monitoring:
To monitor the status and health of the "datalake-ui.service," you can use the following command:
systemctl status datalake-ui.service
This command provides a snapshot of the service's status, enabling you to quickly assess its operational health.
In the event of a service failure or the need for a restart, you can initiate the process with the following command:
>>>> systemctl restart datalake-ui.service
Executing this command will gracefully restart the service. Subsequently, you can verify the service's status to ensure that it has been successfully reinstated.
The Cybot Analytical Engine User Interface Service empowers users to harness the potential of their data through interactive and visually engaging dashboards, fostering data-driven insights and decision-making.
Starting up the Cybot Analytical Engine services (data lake, dashboard, Load balancer)
Use the commands below to start the services.
>>>> systemctl restart datalake.service / systemctl status datalake.service
>>>> systemctl restart datalake-ui.service / systemctl status datalake-ui.service
>>>> systemctl restart nginx / systemctl status nginx
If the services are getting failed continuously, please try restarting the service after using the following command.
>>>> setenforce 0
Now you have restarted all the services required for the Cybot Analytical Engine to be operational, proceed to validate the services using below steps:
Validation via browser
Open any browser of preference.
Go to: https://<machine_IP>:5600