From 587e3d75c651f97b6e11cc61d7159e607c3f0f90 Mon Sep 17 00:00:00 2001 From: "Vikram Potturi(apotturi)" Date: Mon, 9 Apr 2018 16:47:50 -0400 Subject: Adding HEAT map information. Change-Id: I676137f72ab3cf451532c8f8fcfd032f83c31d5b Issue-ID: MUSIC-63 Signed-off-by: Vikram Potturi(apotturi) --- distribution/dockermusic/README.md | 35 +++++++++++++++++++++++++++++++++-- 1 file changed, 33 insertions(+), 2 deletions(-) (limited to 'distribution/dockermusic/README.md') diff --git a/distribution/dockermusic/README.md b/distribution/dockermusic/README.md index 436921b0..14c108f9 100644 --- a/distribution/dockermusic/README.md +++ b/distribution/dockermusic/README.md @@ -1,8 +1,8 @@ ### Docker Setup for Single instance of MUSIC

Please update the properties/music.properties file to fit your env.
-Update the start.sh file.
-The beginning of the start.sh file contains various variables.

+Update the music.sh file.
+The beginning of the music.sh file contains various variables.

CASS_IMG - Cassandra Image
TOMCAT_IMG - Tomcat Image
@@ -15,3 +15,34 @@ CASS_PASSWORD - Password for Cassandra - should match cassandra.password in musi MUSIC Logs will be saved in logs/MUSIC after start of tomcat.
+```bash +# Start containers +./music.sh start +# Stop containers +./music.sh stop +``` + +If you want to check out Cassandra db with cqlsh. +```bash +docker exec –it music-db bash +#at the prompt youcan run cqlsh as: +cqlsh –u -p +``` + +Zookeeper: + +```bash +docker exec –it music-zk bash +#and then run: +zkCli.sh +``` + +For other logs do
+```bash +docker logs music-tomcat (tomcat)
+``` +to have rolling logs use –f as docker logs –f music-tomcat
+```bash +docker logs music-zk (zookeeper)
+docker logs music-db (Cassandra )
+``` \ No newline at end of file -- cgit 1.2.3-korg