Update script for akka-artery 02/96402/6
authorKostiantyn Nosach <kostiantyn.nosach@pantheon.tech>
Tue, 1 Jun 2021 14:50:37 +0000 (17:50 +0300)
committerRobert Varga <robert.varga@pantheon.tech>
Wed, 7 Jul 2021 08:37:20 +0000 (10:37 +0200)
Update distribution scripts due to migration away
from legacy akka remoting to artery

JIRA: CONTROLLER-1968
Change-Id: I62b88bc6f4d6c406a9d2ecdb6e160178112b316f
Signed-off-by: Kostiantyn Nosach <kostiantyn.nosach@pantheon.tech>
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
karaf-scripts/src/main/assembly/bin/configure_cluster.sh

index c3f1a430e0cd7b58d978a31452296e4f4e85d2e5..d93ac44d2a4af25578acac98b4e0386e8f968fd4 100755 (executable)
@@ -76,8 +76,8 @@ function create_strings
     # Then merge the array using the join utility defined above.
     count=1
     for ip in ${CONTROLLERIPS[@]} ; do
-        ds[$count]=\\\"akka.tcp:\\/\\/opendaylight-cluster-data@${ip}:2550\\\"
-        rpc[$count]=\\\"akka.tcp:\\/\\/odl-cluster-rpc@${ip}:2551\\\"
+        ds[$count]=\\\"akka:\\/\\/opendaylight-cluster-data@${ip}:2550\\\"
+        rpc[$count]=\\\"akka:\\/\\/odl-cluster-rpc@${ip}:2551\\\"
         members[$count]=\\\"member-${count}\\\"
         count=$[count + 1]
     done