diff options
author | Marco Platania <platania@research.att.com> | 2018-03-21 17:44:27 -0400 |
---|---|---|
committer | Marco Platania <platania@research.att.com> | 2018-03-21 17:44:27 -0400 |
commit | 13fdadba0a69e43fcfbd55cf4f473cc0db612640 (patch) | |
tree | 98d97a31cb6fe5517a2186a0fbc299643eeb6ff8 /vnfs/vLBMS/scripts/v_dns_install.sh | |
parent | c18a8faa269799bfe5eaddbb431aff86de689104 (diff) |
Fix health check issues with vLBMS
- Allow vLB to run health check only against active vDNS instances
- Change the path to status file
- Make run_health scripts executable
Change-Id: I6909d8507cafee5f9e93fcceb868db5d4f224045
Issue-ID: INT-433
Signed-off-by: Marco Platania <platania@research.att.com>
Diffstat (limited to 'vnfs/vLBMS/scripts/v_dns_install.sh')
-rw-r--r-- | vnfs/vLBMS/scripts/v_dns_install.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/vnfs/vLBMS/scripts/v_dns_install.sh b/vnfs/vLBMS/scripts/v_dns_install.sh index 38860e8e..7a30c0fd 100644 --- a/vnfs/vLBMS/scripts/v_dns_install.sh +++ b/vnfs/vLBMS/scripts/v_dns_install.sh @@ -64,13 +64,14 @@ sed -i 's/vnfc=.*/vnfc=vDNS/g' /opt/config/properties.conf mvn org.apache.maven.plugins:maven-dependency-plugin:2.10:get -DremoteRepositories=https://nexus.onap.org/content/repositories/snapshots -Dartifact=org.onap.demo.vnf.vlb:vlb-vnf-onap-distribution:$DEMO_ARTIFACTS_VERSION-SNAPSHOT:tar.gz:hc -Dtransitive=false -Ddest=. tar -zmxvf vlb-vnf-onap-distribution-$DEMO_ARTIFACTS_VERSION-SNAPSHOT-hc.tar.gz -rm vlb-vnf-onap-distribution-$DEMO_ARTIFACTS_VERSION-SNAPSHOT.tar.gz +rm vlb-vnf-onap-distribution-$DEMO_ARTIFACTS_VERSION-SNAPSHOT-hc.tar.gz sed -i 's/"restconf-binding-address": "127.0.0.1",/"restconf-binding-address": "0.0.0.0",/g' vlb-vnf-onap-distribution-$DEMO_ARTIFACTS_VERSION-SNAPSHOT/config/honeycomb.json sed -i 's/"netconf-tcp-binding-address": "127.0.0.1",/"netconf-tcp-binding-address": "0.0.0.0",/g' vlb-vnf-onap-distribution-$DEMO_ARTIFACTS_VERSION-SNAPSHOT/config/honeycomb.json chmod +x v_dns_init.sh chmod +x vdns.sh chmod +x set_gre_tunnel.sh +chmod +x run_health.sh # Download Bind config files cd /opt/config |