Intel® Edge Software Hub
Get answers from community peers to your questions about building Edge Software Hub solutions for edge compute node.
Announcements
Welcome to the Intel Community! If you like the answer to your question, please mark it as 'Accepted Solution' to help others.

The Edge Software Vision Package for Red Hat Enterprise Linux is now available here.

Learn more about developing on Intel® Hardware and Software here.
403 Discussions

Newly created virtual IP is giving error

Snehal_Yesugade
Beginner
490 Views

While installing castle lake server, in a step, we need to provide virtual address of load balancer, which is unused. We have created virtual IP and tried to follow this step but we are getting below error. 

dev@dev-NUC8i3BEH:~/edge_insights_industrial/Edge_Insights_for_Industrial_2.3.2/orchestrator/orchestrator/server-package$ cd ..
dev@dev-NUC8i3BEH:~/edge_insights_industrial/Edge_Insights_for_Industrial_2.3.2/orchestrator/orchestrator$ sudo swapoff -a
[sudo] password for dev: 
dev@dev-NUC8i3BEH:~/edge_insights_industrial/Edge_Insights_for_Industrial_2.3.2/orchestrator/orchestrator$ sudo sysctl -w net.ipv4.ip_nonlocal_bind=1
net.ipv4.ip_nonlocal_bind = 1
dev@dev-NUC8i3BEH:~/edge_insights_industrial/Edge_Insights_for_Industrial_2.3.2/orchestrator/orchestrator$ cd server-package/
dev@dev-NUC8i3BEH:~/edge_insights_industrial/Edge_Insights_for_Industrial_2.3.2/orchestrator/orchestrator/server-package$ curl -u admin https://192.168.1.9:8443/api/v1/configuration/server-bootstrap >server-bootstrap.sh
Enter host password for user 'admin':
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 58350    0 58350    0     0   159k      0 --:--:-- --:--:-- --:--:--  159k
dev@dev-NUC8i3BEH:~/edge_insights_industrial/Edge_Insights_for_Industrial_2.3.2/orchestrator/orchestrator/server-package$     chmod +x server-bootstrap.sh
dev@dev-NUC8i3BEH:~/edge_insights_industrial/Edge_Insights_for_Industrial_2.3.2/orchestrator/orchestrator/server-package$ /bin/bash server-bootstrap.sh
*** [Start] Bootstrap CSL Server Version 1.5.3483-a0f1d8e9 ***
{INFO}: Running on ubuntu 18.04
Docker daemon configuration is correctly set.
Network interfaces available:
============================================================
| ID   | NAME                 | IP                         |
============================================================
| 1    | wlp0s20f3            | 192.168.1.9                |
| 2    | wlp0s20f3            | 192.168.1.13               |
| 3    | br-07787c332062      | 172.18.0.1                 |
| 4    | docker0              | 172.17.0.1                 |
============================================================
Please enter the network interface ID to be used for CSL: 1
{INFO}: Using Network Interface=wlp0s20f3, IP Address=192.168.1.9
Please enter the virtual IP to be used for load balancer: 192.168.1.13
Checking validity of 192.168.1.13 ...
{ERR}: 192.168.1.13 is already in use!
Please enter the virtual IP to be used for load balancer: 

 We tried multiple times to create virtual IP and give here but same error. 

Request you to provide input on this.

Labels (1)
0 Kudos
1 Reply
Murni_J_Intel
Moderator
473 Views

Hi @Snehal_Yesugade 

The Virtual IP that needs to be key in should be the unused IP within the same subnet, seems like the Virtual IP that you key in have been assigned to another machine. 

May I know how you created your Virtual IP? you will only need to check for the IP availability without assigning it to anywhere yet until you run the script. 

0 Kudos
Reply