From a1b77452f1a8281ec5ee5f5b83ea03a30df52fc6 Mon Sep 17 00:00:00 2001 From: yufei_zhou Date: Wed, 27 Sep 2017 14:33:28 +0800 Subject: Add deployment part Modify pom file because verify failed Change-Id: I4a1123bf8811853d0db1a70c61af7fdf1c476119 Issue-ID: VFC-53 Signed-off-by: yufei_zhou --- .../deployment/src/main/release/README.txt | 58 ++++++++++++++++++++++ 1 file changed, 58 insertions(+) create mode 100644 nokia/vnfmdriver/vfcadaptorservice/deployment/src/main/release/README.txt (limited to 'nokia/vnfmdriver/vfcadaptorservice/deployment/src/main/release/README.txt') diff --git a/nokia/vnfmdriver/vfcadaptorservice/deployment/src/main/release/README.txt b/nokia/vnfmdriver/vfcadaptorservice/deployment/src/main/release/README.txt new file mode 100644 index 00000000..fa97d7e6 --- /dev/null +++ b/nokia/vnfmdriver/vfcadaptorservice/deployment/src/main/release/README.txt @@ -0,0 +1,58 @@ +Introduction: +============= + This document provides the required steps for installation + and configuration this service. + +Installation steps: +==================== + Install following software: + - Java 1.8 or lattest + - MySql Server 5.7 or lattest. + - Apache Tomcat Server 8.0 or lattest + + Set the following environment variables: + - JAVA_HOME: Set to JAVA JDK installed location + - CATALINIA_HOME: Set to Tomcat installed location + - CATALINIA_BASE: Set to the location, where this + service installer is unzipped, its optional + - PATH: Update it with the location of command 'mysql' + + - In command console, cd to 'bin' directory under the location, + where this service installer is unzipped and + run ./init_db.sh + CAUTION: Existing vnfm_db will be cleaned before + initializing the schema, so please take a back-up of it + before executing it next time. + +Configuration steps: +==================== + - Update the db credetials in 'application.properties' under webapps directory. + - Update the MSB address in 'application.properties' under webapps directory. + - Update the VNFM address in 'application.properties' under webapps directory. + - Update the Catalog address in 'application.properties' under webapps directory. + - Update the NSLCM address in 'application.properties' under webapps directory. + + +How to run? +=========== + - In command console, cd to 'bin' directory under the location, + where this service installer is unzipped and + run ./startup.sh + NOTE: It starts the tomcat at predefined http port. To change + default port, update the port in tomcat configuration file + 'conf/server.xml' + - Verify that 'Tomcat started.' is reported on the console. + - Once service is started, please verify below details: + - from MSB service, verify that "nokiavnfm" is reported from GET request on "/openoapi/microservices/v1/services" + - from this service, run one of the supported REST API mentioned in open-o NFVO wiki and verify that the + expected response is returned. +How to stop? +============= + - In command console, cd to 'bin' directory under the location, + where this service installer is unzipped and + run ./shutdown.sh + +Update: +========= +The latest information are available through the OPEN-O release notes at +https://wiki.open-o.org/view/OPEN-O_Sun_Release_Notes -- cgit 1.2.3-korg