diff options
author | Venkata Harish K Kajur <vk250x@att.com> | 2017-09-17 14:27:57 +0000 |
---|---|---|
committer | Venkata Harish K Kajur <vk250x@att.com> | 2017-09-17 14:28:03 +0000 |
commit | c3e6d3471f62d0e521c418f5bd810ecf47405e52 (patch) | |
tree | 2a982c1f57f6e9f7babe75faac8a889db78daedc | |
parent | 8415da7b2cfd499b4791999bc7632ef68be95d40 (diff) |
Remove gremlin container and references
Also remove the logs that are not needed
in vm2 but it is only needed in vm1 which
was accidentally duplicated before
Issue-ID: AAI-267
Change-Id: Ie67c75e87a43c2ac695fa4722315496bce962e49
Signed-off-by: Venkata Harish K Kajur <vk250x@att.com>
-rwxr-xr-x | deploy_vm2.sh | 42 | ||||
-rw-r--r-- | docker-compose-db.yml | 17 |
2 files changed, 0 insertions, 59 deletions
diff --git a/deploy_vm2.sh b/deploy_vm2.sh index 8879af2..1523aa7 100755 --- a/deploy_vm2.sh +++ b/deploy_vm2.sh @@ -7,46 +7,9 @@ else DOCKER_COMPOSE_CMD="docker-compose -f docker-compose-db.yml" fi -export RESOURCES_LOGS="/opt/aai/logroot/AAI-RESOURCES"; -export TRAVERSAL_LOGS="/opt/aai/logroot/AAI-TRAVERSAL"; -export SEARCH_LOGS="/opt/aai/logroot/AAI-SEARCH"; -export DATA_ROUTER_LOGS="/opt/aai/logroot/AAI-DATA-ROUTER"; -export MODEL_LOADER_LOGS="/opt/aai/logroot/AAI-MODEL-LOADER"; - -if [ ! -d "$RESOURCES_LOGS" ]; -then - echo "Warning: Unable to find the volume directory $RESOURCES_LOGS so creating it as regular directory"; - mkdir -p $RESOURCES_LOGS; -fi; - -if [ ! -d "$TRAVERSAL_LOGS" ]; -then - echo "Warning: Unable to find the volume directory $TRAVERSAL_LOGS so creating it as regular directory"; - mkdir -p $TRAVERSAL_LOGS; -fi; - -if [ ! -d "$SEARCH_LOGS" ]; -then - echo "Warning: Unable to find the volume directory $SEARCH_LOGS so creating it as regular directory"; - mkdir -p $SEARCH_LOGS; -fi; - -if [ ! -d "$DATA_ROUTER_LOGS" ]; -then - echo "Warning: Unable to find the volume directory $DATA_ROUTER_LOGS so creating it as regular directory"; - mkdir -p $DATA_ROUTER_LOGS; -fi; - -if [ ! -d "$MODEL_LOADER_LOGS" ]; -then - echo "Warning: Unable to find the volume directory $MODEL_LOADER_LOGS so creating it as regular directory"; - mkdir -p $MODEL_LOADER_LOGS; -fi; - export MTU=$(/sbin/ifconfig | grep MTU | sed 's/.*MTU://' | sed 's/ .*//' | sort -n | head -1); #export HBASE_IMAGE="${HBASE_IMAGE:-aaionap/hbase}"; export HBASE_IMAGE="${HBASE_IMAGE:-harisekhon/hbase}"; -export GREMLIN_SERVER_IMAGE="${GREMLIN_SERVER_IMAGE:-aaionap/gremlin-server}"; function wait_for_container() { @@ -72,7 +35,6 @@ function wait_for_container() { } docker pull ${HBASE_IMAGE}; -docker pull ${GREMLIN_SERVER_IMAGE}; # cleanup $DOCKER_COMPOSE_CMD stop @@ -85,8 +47,4 @@ wait_for_container $HBASE_CONTAINER_NAME ' Started SelectChannelConnector@0.0.0. wait_for_container $HBASE_CONTAINER_NAME ' Started SelectChannelConnector@0.0.0.0:8080'; wait_for_container $HBASE_CONTAINER_NAME ' Started SelectChannelConnector@0.0.0.0:9095'; - -GREMLIN_CONTAINER_NAME=$($DOCKER_COMPOSE_CMD up -d aai.gremlinserver.simpledemo.openecomp.org 2>&1 | grep 'Creating' | awk '{ print $2; }' | head -1); -wait_for_container $GREMLIN_CONTAINER_NAME 'Channel started at port 8182'; - $DOCKER_COMPOSE_CMD up -d aai.elasticsearch.simpledemo.openecomp.org diff --git a/docker-compose-db.yml b/docker-compose-db.yml index 4b6ebe3..872e460 100644 --- a/docker-compose-db.yml +++ b/docker-compose-db.yml @@ -16,23 +16,6 @@ services: options: max-size: "30m" max-file: "5" - aai.gremlinserver.simpledemo.openecomp.org: - image: ${GREMLIN_SERVER_IMAGE} - hostname: aai.gremlinserver.simpledemo.openecomp.org - environment: - - SERVER_HOST=aai.hbase.simpledemo.openecomp.org - - SERVER_TABLE=aaigraph.dev - - GREMLIN_HOST=aai.gremlinserver.simpledemo.openecomp.org - links: - - aai.hbase.simpledemo.openecomp.org - ports: - - 8182:8182 - logging: - driver: "json-file" - options: - max-size: "30m" - max-file: "5" - aai.elasticsearch.simpledemo.openecomp.org: image: elasticsearch:2.4.1 hostname: aai.elasticsearch.simpledemo.openecomp.org |