5.5.3 IDIH Manual Deployment on OpenStack
Perform the following procedure to perform IDIH Manual Deployment on OpenStack using IDIH VMDK image:
- Log in to OpenStack with valid credentials.
- From the left side menu of the OpenStack main page, click Compute, Instances, and from the Instances page, click Launch Instance in the upper menu bar.
- In the Launch Instance page dialog box, provide the following details:
- Project name is automatically populated.
- Provide an instance name for the MySQL VM (for example
mysql-openstack). and click Next.Figure 5-3 Details

- Select an image from Select Boot Source dropdown
menu (ensure the IDIH VMDK image is already present in the cloud) and verify if
Create New Volume is set to No to
skip creating the new volume.
Figure 5-4 Source

- Ensure that appropriate flavors are available before launching
instances. Select the appropriate flavor for the MySQL VM based on the flavor table
configuration:
Table 5-11 VM Flavors
VNFC Type Image Name Flavor Name Minimum vCPUs Minimum RAM (GB) Minimum Disk (GB) EIDIH-KAFKA kafka-9.x.0.0.0.vmdk kafka-eidih 6 16 170 EIDIH-SERVICE service-9.x.0.0.0.vmdk service-eidih 6 16 120 EIDIH-DB mysql-9.x.0.0.0.vmdk mysql-eidih 6 16 220 - Add XMI, IMI, and XSI networks for the VM.
Note:
XSI network is applicable only for the Kafka VM.Figure 5-5 Networks

- Click Launch Instance, which will create the MySQL VM with the details provided above.
- After the VM is created, click VM and go to the Console tab. Log in with valid credentials to configure the network interface.
- To retrieve the Name of the XMI interface, run the following
command:
nmcli con showFigure 5-6 Retrieving Name of the XMI Interface

- Retrieve the XMI interface name from the command above, then set the
metric to 1 to access the XMI IP through the CLI (Command Line Interface). To access
the GUI, use the service MP XMI
IP.
nmcli con mod '<name of XMI interface>' ipv4.route-metric 1 nmcli con up '<name of XMI interface>' - After the XMI interface is configured, user can SSH into the MySQL VM using the XMI IP.
- Repeat steps 2 through 12 for the Kafka and Service VMs.
- After all the three VMs are created, ensure that you can ping between all three VMs using their IMI IPs.
- MySQL Setup
- Log in and navigate to the MySQL directory.
- Navigate to the
/optfolder, place manual_mysql_setup.sh, and provide the required permission to run the script. - Perform the following command to run the script and provide the
required IP
address:
./manual_mysql_setup.sh - Configuration During Execution: Enter the IMI IP of the MySQL VM
when prompted for the MySQL bind address.
Completion: After the script is complete, MySQL will be successfully set up on the VM.
- Kafka Setup
- Log in and navigate to the Kafka directory.
- Navigate to the
/optfolder where the Kafka installation script need to run and provide required permission to run the script. - Perform the following command to run the
script:
./manual_kafka_setup.sh - Configuration During Execution
- When prompted, enter the Kafka IMI IP and Kafka XSI IP.
- Kafka and Kraft services will be initiated on the specified IPs.
- Optional step, only if you need to use Kafka XMI IP instead of
the default Kafka IMI IP for communication with DSR.
- Uncomment:
advertised.listeners=INTERNAL_PLAINTEXT://192.168.1.237:9092,INTERNAL_SSL://192.168.1.237:9093,EXTERNAL://[kafka_xmi]:9094 line in broker.properties file(path: /opt/kafka/config) and replace[kafka_xmi] with Kafka XMI IP - Comment:
advertised.listeners=INTERNAL_PLAINTEXT://192.168.1.237:9092,INTERNAL_SSL://192.168.1.237:9093, EXTERNAL://10.196.84.46:9094 line. - Run the below command to restart Kraft and Kafka
services:
systemctl restart kafka
After successful execution of the health check, Kafka is successfully set up on VM.
- Uncomment:
- Service Setup
- Log in and navigate to the
/optdirectory. - Edit the
cnidih_VM.yamlfile. - Replace <REPLACE WITH SOAM VIP> with a valid active SOAM IP.
- Navigate to the Protrace section and
enable the following property:
NFCONFIG_CLIENT_ENABLEDto True. - Save and exit.
- Run the following command for the Service Setup
Script:
./manual_service_setup.sh - The script will prompt for several inputs during execution:
- Enter Service IMI IP, Service XMI IP, Kafka IMI IP, and
MySQL IMI IP.
Note:
For IPv6 setups, the above IPs must be entered in square brackets ( [] ).After these inputs are provided, the script will start the required services and proceed with the health check.
- Run the following command to verify if all services are
running:
podman ps -aAccess the UI at:
https://<SERVICE XMI IP>/#/
This completes the setup for MySQL, Kafka, and Services. The deployment is now ready for use.
- Enter Service IMI IP, Service XMI IP, Kafka IMI IP, and
MySQL IMI IP.
- Log in and navigate to the