<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: I use a new computer locate in the same LAN with master node in Edge Software Catalog</title>
    <link>https://community.intel.com/t5/Edge-Software-Catalog/I-use-a-new-computer-locate-in-the-same-LAN-with-master-node/m-p/1198186#M2436</link>
    <description>&lt;P&gt;Okay, here is a way that requires minimal network access. Be advised that this is &lt;STRONG&gt;for demo purpose only&lt;/STRONG&gt;, to replicate a setup on a device that doesn't always have a stable connection to the primary/master node. For real EIS development/production environments, all EIS nodes should be chained onto an ETCD cluster, so configurations can be synchronized.&lt;/P&gt;
&lt;P&gt;With the disclaimer said, here is what you need to do:&lt;/P&gt;
&lt;P&gt;1. Setup of ETCD:&lt;/P&gt;
&lt;P&gt;Like what I previously said in the other thread, ETCD is a critical configuration data store that feeds important configuration information to various EIS containers, we will need it to be running. Since your environment doesn't always guarantee nodes' connection to the primary node, let's just set it as a primary node to minimize the complexity. This is the only step that absolutely requires network access to download and build the ia_etcd container. Here are the steps:&lt;/P&gt;
&lt;P&gt;On the primary node:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Copy &lt;STRONG&gt;IEdgeInsights/docker_setup/.env&lt;/STRONG&gt;,&amp;nbsp;&lt;STRONG&gt;IEdgeInsights/docker_setup/docker-compose.yml&lt;/STRONG&gt;, and the whole&amp;nbsp;&lt;STRONG&gt;IEdgeInsights/docker_setup/provision/&lt;/STRONG&gt;&amp;nbsp;directory to a &lt;STRONG&gt;bundle&lt;/STRONG&gt; directory on the target node&lt;/P&gt;
&lt;P&gt;On the target node:&lt;/P&gt;
&lt;P&gt;bundle/provision$ &lt;STRONG&gt;sudo -E ./provision_eis.sh ../docker-compose.yml&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Transfer the EIS container images (I use the video example) to the target node, the following uses docker save/load, if you use a private registry server, it's a lot easier:&lt;/P&gt;
&lt;P&gt;On the primary node:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;docker save ia_video_ingestion -o ia_video_ingestion.img&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: inherit;"&gt;&amp;nbsp;docker save ia_video_analytics -o ia_video_analytics.img&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;docker save ia_visualizer -o ia_visualizer.img&lt;/P&gt;
&lt;P&gt;On the target node:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;docker load ia_video_ingestion -i ia_video_ingestion.img&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: inherit;"&gt;&amp;nbsp;docker load ia_video_analytics -i ia_video_analytics.img&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;docker load ia_visualizer -i ia_visualizer.img&lt;/P&gt;
&lt;P&gt;And finally, you need to generate a docker-compose file that works for this setup and use it to start the services.&lt;/P&gt;
&lt;P&gt;On the primary node:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;IEdgeInsights/docker_setup/deploy$ &lt;STRONG&gt;sudo python3.6 generate_eis_bundle.py&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;If your .env file doesn't have DOCKER_REGISTRY set (you use docker save/load), you will get the following prompt. Just set it to "&lt;STRONG&gt;DOCKER_REGISTRY=localhost:5000/&lt;/STRONG&gt;"&lt;/P&gt;
&lt;P&gt;Copy the generated&amp;nbsp;eis_bundle.tar.gz file to the target node.&lt;/P&gt;
&lt;P&gt;On the target node:&lt;/P&gt;
&lt;P&gt;Untar eis_bundle.tar.gz. If you don't use a registry server, change its setting in .env back to&amp;nbsp;"&lt;STRONG&gt;DOCKER_REGISTRY=&lt;/STRONG&gt;"&lt;/P&gt;
&lt;P&gt;Run "&lt;STRONG&gt;docker-compose up -d&lt;/STRONG&gt;" with this newly generated docker-compose.yml file (note it's different from the docker-compose file on the primary node.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I tested this on a node that only has docker and compose set up, so it should work for you too. Please let us know how it goes. Thank you.&lt;/P&gt;</description>
    <pubDate>Fri, 07 Aug 2020 03:39:52 GMT</pubDate>
    <dc:creator>Jia-Shing_W_Intel</dc:creator>
    <dc:date>2020-08-07T03:39:52Z</dc:date>
    <item>
      <title>I use a new computer locate in the same LAN with master node</title>
      <link>https://community.intel.com/t5/Edge-Software-Catalog/I-use-a-new-computer-locate-in-the-same-LAN-with-master-node/m-p/1197966#M2430</link>
      <description>&lt;P&gt;and follow the step in docker_setup/deploy/readme.md .&lt;/P&gt;
&lt;P&gt;finally i get the logs&amp;nbsp; at new node computer&amp;nbsp; it include ia_video_analytics , ia_video_ingestion,ia_visualizer,ia_etcd logs&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;should i&amp;nbsp; copy the EIS file to new computer in order run PCB demo on new computer&lt;/P&gt;</description>
      <pubDate>Tue, 04 May 2021 14:26:47 GMT</pubDate>
      <guid>https://community.intel.com/t5/Edge-Software-Catalog/I-use-a-new-computer-locate-in-the-same-LAN-with-master-node/m-p/1197966#M2430</guid>
      <dc:creator>fa2233</dc:creator>
      <dc:date>2021-05-04T14:26:47Z</dc:date>
    </item>
    <item>
      <title>Re: I use a new computer locate in the same LAN with master node</title>
      <link>https://community.intel.com/t5/Edge-Software-Catalog/I-use-a-new-computer-locate-in-the-same-LAN-with-master-node/m-p/1197968#M2431</link>
      <description>&lt;P&gt;logs&lt;/P&gt;</description>
      <pubDate>Thu, 06 Aug 2020 10:03:21 GMT</pubDate>
      <guid>https://community.intel.com/t5/Edge-Software-Catalog/I-use-a-new-computer-locate-in-the-same-LAN-with-master-node/m-p/1197968#M2431</guid>
      <dc:creator>fa2233</dc:creator>
      <dc:date>2020-08-06T10:03:21Z</dc:date>
    </item>
    <item>
      <title>Re: I use a new computer locate in the same LAN with master node</title>
      <link>https://community.intel.com/t5/Edge-Software-Catalog/I-use-a-new-computer-locate-in-the-same-LAN-with-master-node/m-p/1198001#M2432</link>
      <description>&lt;P&gt;In your ETCD log, I see this "found invalid file/dir data under data dir /EIS/etcd/data/" and wonder if it causes your problem. If you don't have the configuration file for ETCD to read in, then ETCD can't provide the settings for EIS containers when they request so.&lt;/P&gt;
&lt;P&gt;Help me to understand what you are trying to do. If I understand it correctly, you have EIS set up on a master/primary node. Now, you want to enable the video sample to run on a second node, and you don't want to rebuilt it on this second node. Instead, you want to use either a private registry or saved Docker images to deploy the EIS containers on the second node.&amp;nbsp; This second node may or may not be on the same network with the primary node all the time.. Am I correct?&lt;/P&gt;
&lt;P&gt;Let me see if I can find a way for you.&lt;/P&gt;</description>
      <pubDate>Thu, 06 Aug 2020 14:03:12 GMT</pubDate>
      <guid>https://community.intel.com/t5/Edge-Software-Catalog/I-use-a-new-computer-locate-in-the-same-LAN-with-master-node/m-p/1198001#M2432</guid>
      <dc:creator>Jia-Shing_W_Intel</dc:creator>
      <dc:date>2020-08-06T14:03:12Z</dc:date>
    </item>
    <item>
      <title>Re: I use a new computer locate in the same LAN with master node</title>
      <link>https://community.intel.com/t5/Edge-Software-Catalog/I-use-a-new-computer-locate-in-the-same-LAN-with-master-node/m-p/1198142#M2433</link>
      <description>&lt;P&gt;right&lt;LI-EMOJI id="lia_beaming-face-with-smiling-eyes" title=":beaming_face_with_smiling_eyes:"&gt;&lt;/LI-EMOJI&gt; help&lt;/P&gt;</description>
      <pubDate>Thu, 06 Aug 2020 23:48:38 GMT</pubDate>
      <guid>https://community.intel.com/t5/Edge-Software-Catalog/I-use-a-new-computer-locate-in-the-same-LAN-with-master-node/m-p/1198142#M2433</guid>
      <dc:creator>fa2233</dc:creator>
      <dc:date>2020-08-06T23:48:38Z</dc:date>
    </item>
    <item>
      <title>Re: I use a new computer locate in the same LAN with master node</title>
      <link>https://community.intel.com/t5/Edge-Software-Catalog/I-use-a-new-computer-locate-in-the-same-LAN-with-master-node/m-p/1198154#M2434</link>
      <description>&lt;P&gt;but why after install EIS the pcb demo is running&amp;nbsp; &amp;nbsp;but&amp;nbsp; /opt/intel/eis/data/etcd/data&amp;nbsp; also empty&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 07 Aug 2020 01:07:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Edge-Software-Catalog/I-use-a-new-computer-locate-in-the-same-LAN-with-master-node/m-p/1198154#M2434</guid>
      <dc:creator>fa2233</dc:creator>
      <dc:date>2020-08-07T01:07:00Z</dc:date>
    </item>
    <item>
      <title>Re: I use a new computer locate in the same LAN with master node</title>
      <link>https://community.intel.com/t5/Edge-Software-Catalog/I-use-a-new-computer-locate-in-the-same-LAN-with-master-node/m-p/1198164#M2435</link>
      <description>&lt;P&gt;You are right. It was a guess as I didn't have access to the EIS environment last night. Let me try several things and get back to you.&lt;/P&gt;</description>
      <pubDate>Fri, 07 Aug 2020 02:12:23 GMT</pubDate>
      <guid>https://community.intel.com/t5/Edge-Software-Catalog/I-use-a-new-computer-locate-in-the-same-LAN-with-master-node/m-p/1198164#M2435</guid>
      <dc:creator>Jia-Shing_W_Intel</dc:creator>
      <dc:date>2020-08-07T02:12:23Z</dc:date>
    </item>
    <item>
      <title>Re: I use a new computer locate in the same LAN with master node</title>
      <link>https://community.intel.com/t5/Edge-Software-Catalog/I-use-a-new-computer-locate-in-the-same-LAN-with-master-node/m-p/1198186#M2436</link>
      <description>&lt;P&gt;Okay, here is a way that requires minimal network access. Be advised that this is &lt;STRONG&gt;for demo purpose only&lt;/STRONG&gt;, to replicate a setup on a device that doesn't always have a stable connection to the primary/master node. For real EIS development/production environments, all EIS nodes should be chained onto an ETCD cluster, so configurations can be synchronized.&lt;/P&gt;
&lt;P&gt;With the disclaimer said, here is what you need to do:&lt;/P&gt;
&lt;P&gt;1. Setup of ETCD:&lt;/P&gt;
&lt;P&gt;Like what I previously said in the other thread, ETCD is a critical configuration data store that feeds important configuration information to various EIS containers, we will need it to be running. Since your environment doesn't always guarantee nodes' connection to the primary node, let's just set it as a primary node to minimize the complexity. This is the only step that absolutely requires network access to download and build the ia_etcd container. Here are the steps:&lt;/P&gt;
&lt;P&gt;On the primary node:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Copy &lt;STRONG&gt;IEdgeInsights/docker_setup/.env&lt;/STRONG&gt;,&amp;nbsp;&lt;STRONG&gt;IEdgeInsights/docker_setup/docker-compose.yml&lt;/STRONG&gt;, and the whole&amp;nbsp;&lt;STRONG&gt;IEdgeInsights/docker_setup/provision/&lt;/STRONG&gt;&amp;nbsp;directory to a &lt;STRONG&gt;bundle&lt;/STRONG&gt; directory on the target node&lt;/P&gt;
&lt;P&gt;On the target node:&lt;/P&gt;
&lt;P&gt;bundle/provision$ &lt;STRONG&gt;sudo -E ./provision_eis.sh ../docker-compose.yml&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Transfer the EIS container images (I use the video example) to the target node, the following uses docker save/load, if you use a private registry server, it's a lot easier:&lt;/P&gt;
&lt;P&gt;On the primary node:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;docker save ia_video_ingestion -o ia_video_ingestion.img&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: inherit;"&gt;&amp;nbsp;docker save ia_video_analytics -o ia_video_analytics.img&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;docker save ia_visualizer -o ia_visualizer.img&lt;/P&gt;
&lt;P&gt;On the target node:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;docker load ia_video_ingestion -i ia_video_ingestion.img&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: inherit;"&gt;&amp;nbsp;docker load ia_video_analytics -i ia_video_analytics.img&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;docker load ia_visualizer -i ia_visualizer.img&lt;/P&gt;
&lt;P&gt;And finally, you need to generate a docker-compose file that works for this setup and use it to start the services.&lt;/P&gt;
&lt;P&gt;On the primary node:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;IEdgeInsights/docker_setup/deploy$ &lt;STRONG&gt;sudo python3.6 generate_eis_bundle.py&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;If your .env file doesn't have DOCKER_REGISTRY set (you use docker save/load), you will get the following prompt. Just set it to "&lt;STRONG&gt;DOCKER_REGISTRY=localhost:5000/&lt;/STRONG&gt;"&lt;/P&gt;
&lt;P&gt;Copy the generated&amp;nbsp;eis_bundle.tar.gz file to the target node.&lt;/P&gt;
&lt;P&gt;On the target node:&lt;/P&gt;
&lt;P&gt;Untar eis_bundle.tar.gz. If you don't use a registry server, change its setting in .env back to&amp;nbsp;"&lt;STRONG&gt;DOCKER_REGISTRY=&lt;/STRONG&gt;"&lt;/P&gt;
&lt;P&gt;Run "&lt;STRONG&gt;docker-compose up -d&lt;/STRONG&gt;" with this newly generated docker-compose.yml file (note it's different from the docker-compose file on the primary node.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I tested this on a node that only has docker and compose set up, so it should work for you too. Please let us know how it goes. Thank you.&lt;/P&gt;</description>
      <pubDate>Fri, 07 Aug 2020 03:39:52 GMT</pubDate>
      <guid>https://community.intel.com/t5/Edge-Software-Catalog/I-use-a-new-computer-locate-in-the-same-LAN-with-master-node/m-p/1198186#M2436</guid>
      <dc:creator>Jia-Shing_W_Intel</dc:creator>
      <dc:date>2020-08-07T03:39:52Z</dc:date>
    </item>
    <item>
      <title>Re: I use a new computer locate in the same LAN with master node</title>
      <link>https://community.intel.com/t5/Edge-Software-Catalog/I-use-a-new-computer-locate-in-the-same-LAN-with-master-node/m-p/1201161#M2437</link>
      <description>&lt;P&gt;i want't change the pipline to camera&amp;nbsp; &amp;nbsp;in new computer&amp;nbsp; ,the display failed , the pcb demo correct . the camera show&amp;nbsp; couldn't connect to display :0&amp;nbsp; ,the echo $DISPLAY return :0.&lt;/P&gt;</description>
      <pubDate>Tue, 18 Aug 2020 06:19:46 GMT</pubDate>
      <guid>https://community.intel.com/t5/Edge-Software-Catalog/I-use-a-new-computer-locate-in-the-same-LAN-with-master-node/m-p/1201161#M2437</guid>
      <dc:creator>fa2233</dc:creator>
      <dc:date>2020-08-18T06:19:46Z</dc:date>
    </item>
  </channel>
</rss>

