One Connect V2

One Connect V2


To install One Connect V2 you will take the following 4 steps:
1. Consider the requirements for the creation of the virtual machine
2. Creation of the database
3. Deployment of Kafka
4. One Connect deployment and configuration

1. Consider the requirements for the creation of the virtual machine

Conditions of Use initials: Onibex OneConnect Requirements and Environment
1.System: Linux
2.Architecture: Support for processors of 64 bits(x86_64).
3.Specifications of the Instance: vCPUs: nucle virtual. RAM: 16 GiB. Width of Band of Network: Up12.5Gbps.
4.Specifications of Storage: Capacity Disc: 280 GiB. Performance of Storage: 6000 IOPS (input/output operations per second).
5.Configuration of Network: The next ports must be enabled in the group of security for ensure the correct operation of associated services:
Enabled ports in Kafka
9093:Broker
9102:Broker
8086:Schemaregistry
8083 : Connect
8085:Controlcenter center
8089 : KsqlDB

One Connect enabled ports
5050:Frontend
9000:Apigateway
707070:Metrics
7072:Logs
50501: Producer

Database-enabled ports
3306:MandSQL

2. Creation of the database

2.1 Onibex One Connect Requirements and Environment for the creation of the database

1.Data base creation

Select an instance from the cloud infrastructure provider of your choice.
Make sure of assign storage and resources appropriate for withstand the load of work of the database.

2.Installation of MySQL

Onece launched the instance, make sure MySQL is running inside a Docker container following the specific commands for its Linux distribution (e.g. Amazon Linux or Ubuntu).

3.Configuration of the Security Group

Configure the rules of the security group associated to the instance to allow access to the standard MySQL/Aurora port(3306).

  1. Important note on Database Compatibility. The JPA standard with Hibernate allows the use of databases such as PostgreSQL or SQL Server. However, Onibex OneConnect is not officially certified for these options. Although they should work technically, all functionalities are not guaranteed to behave as expected. Comprehensive testing is recommended if it is decided to use a database other than MariaDB or MySQL to ensure a stable experience.

2.2Execution of SQL queries Configured by Onibex


Download the Scripts

Download the file scripts.zipattached to the end of the document.

Content of the files

  1. .env
  2. run-sql.sh
  3. scripts

Configuring the .env file

Locate the file.env inside the folder. Before you run the script, you need to configure the following variables in the file to establish the connection to the database.
  1. Dp: IP address of the database server.
  2. Spring_datasourceName of the database user.
  3. Spring_datasourcePassword of the database user.
  4. Mysql_container: MySQL container name.

Execution to run-sql.sh file

Assign execution permissions to the file run-sql.sh. Run the following command in the directory where the file is located: chmod +x run-sql.sh.
Once the permissions are granted, the script is ready to run with the following command:./run-sql.sh.
With this, the database will be ready to be used.

The credentials of the administrator account in their initial state are:
Password: mzve$JQ@bg#zWmiDC3G$Jt

The default user account credentials in their initial status are:
Password: mzve$JQ@bg#zWmiDC3G$Jt

3. DeploymentofConfluentPlatform

3.1 Preparation

Download the folder kafka-compose attached at the end of the document, that contains the files necessary for the deployment of Kafka and its components. Inside you will find:
  1. Archive docker-compose.yml
  2. Onescript setup_kafka_dirs.sh
  3. Archive.env
  4. Foldercontrol-center

If you want to know the credentials configured, you can review the file password.properties located in the folder control-center


Configurethefile file .env entering the address of the server where where we deploy Kafka.
Once configured the files, transfer the folder kafka-compose to server in the Location desired.

3.2 Confluent Platform Deployment

Inside of tthe folder kafka-composebestow permits of implementation to script setup_kafka_dirs.sh with the following command: +x setup_kafka_dirs.sh


Run the script to create the folders of volumes and deploy Kafka with Docker Compose with the command: ./setup_kafka


Once executed, Kafka and the next components will be deployed with their respective ports:


9093, 9102: kafka broker
8086:Schema Registry
8083:Kafka Connect
8085:Proxy
9022:Control Center

3.3AccesstoControlCenter

Access to Control Center from your browser of preference introducing the ip of the server where we made the deployment of Kafka next to the port 9022, in the following format:

<Ipfrom the server with Kafka deployed>:9022



2Enter the credentials configured in password.properties.



3
Once authenticated, you will be able to view all components Kafka deployed.


4. Configuration and Deployment by One Connect Platform

Requirements:

  1. Deployed Platform
  2. Configured database

4.1.Deployment configuration

1Download the file one-connect-compose.zip attached to the end of the document which will include three internal folders:
  1. Frontend
  2. Platform
  3. Workspace
And the following files:
  1. .env
  2. run_compose.sh
Before uploading the folder in the server, is necessary perform the configuration of the file .env that will contain the variables of environment required for the operation of the system. It is recommended to use a code editor to carry out this task.

In the file .env we will see the information detailed below and in it will change the value of these variables to the following:

  1. Kafka_machine_ipIp of the machine with Kafka.
  2. Kafka_brokerSchema_registry_portPort sassigned for broker, schema registry and Kafka Connect.
  3. Host_machineIp of the machine where One Connect will be displayed.
  4. Db_ip,Spring_datasource_usernameIP of the data baseuser and password respectively.
  5. Docker_passwordpassword/access token provided by Onibex.

Configuration of email services:
Enable_log_email_notification
Enable the option to send alerts via email.


To enable the email services, it is necessary to set up the following variables with the details of your own SMTP server:
  1. Email_password
  2. AuthEmail_smtp
  3. Email_smtphost
  4. Email_smtpport
  5. Email_smtpsslprotocols
  6. Email_smtpstarttls
  7. Email_sourceaddress email_user


4.2.Deployment of One Connect Platform

  1. Subathefolderone-connect-composewiththefilesconfiguredtoserverofdestiny.
  2. OneoncethatthefolderThatintheserver,navigateayourinterior.
  3. Runthenext nextcommandforgrantpermitsofimplementationtoscript:chmod +x run_compose.sh.
  4. Startdeployment of containers by running:./run_compose.
  5. Oneoncecompletedthedeployment,verifythestateofthecontainerswiththecommand:Dockerps ps psand you see something similar to the following image:

4.3 Access the Interface

Wait about minute for the startup to complete all the containers. Then, in a browser open the IP address of the server where OneConnect was deployed and point it to to port 5050 using the following format:

ip address:5050
.


The credentials of the administrator account in their initial state are:
Password: mzve$JQ@bg#zWmiDC3G$Jt

The default user account credentials in their initial status are:
Password: mzve$JQ@bg#zWmiDC3G$Jt

Note:
If you present problems running the script using the command./run_compose.sh, the file may have changed its original format due to modifications made to a Windows-based device.
To correct this inconvenience, run the following commands to install and apply theconversion tool:
  1. sudo yum install - and dos2unix
  2. dos2unix run_compose.sh
This will convert the file to the format compatible with Linux systems, allowing it tocorrect implementation.
    • Related Articles

    • 3. One Connect - Connection

      3. CONNECTION The One Connect system provides the capability to extract information from SAP and its transfer it to Kafka. This facilitates the creation of a requisite database for analysis, which serves as the foundation for generating financial ...
    • 2. One Connect - Setup

      2. SETUP In addition to setting up entries and core modules, One Connect requires the configuration of specific customer tables. These tables play a crucial role in facilitating the application’s data retrieval process from SAP and its subsequent ...
    • 1. One Connect - Installation

      Step by Step SAP Integration Manual. The following information provide a condensed overview of the comprehensive SAP Integration Manual. In this manual, you'll find detailed step-by-step instructions for seamless SAP integration. Here's a glimpse of ...
    • 03 - Deployment of One Connect Platform

      Prerequisite Note Before you start deploying the One Connect platform, make sure you meet the following requirements: Compatible Operating Systems: Kubernetes cluster nodes must use Linux operating systems. Affinity for Other Operating Systems: If ...
    • How to request RISE to communicate with One Connect

      English Step 1 Go to the SAP homepage for Me and go to the Services & Support section. Step 2 Open the Service requests tab and click New request for service. Step 3 Select ECS and click +New. Step 4 Select the template" Allow access to the squid ...