Skip to content

Commit

Permalink
Added force flag for containers deletion on uninstall steps.
Browse files Browse the repository at this point in the history
Also, minor fixes in run container command for MW Manager.
  • Loading branch information
rubenvp8510 committed Dec 29, 2016
1 parent bc82209 commit e75e4b5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
4 changes: 2 additions & 2 deletions mw_manager_installation_guide/topics/base_installation.adoc
Expand Up @@ -46,13 +46,13 @@ used when you configure PostgreSQL, and set a new combination of username/passwo
docker run --name mwmanager -d \
-e HAWKULAR_BACKEND=remote \
-e CASSANDRA_NODES=mwmanager-cassandra \
-e HAWKULAR_INVENTORY_JDBC_URL=jdbc:postgresql://my_db_host:5432/mwmanager
-e HAWKULAR_INVENTORY_JDBC_URL=jdbc:postgresql://my_db_host:5432/mwmanager \
-e HAWKULAR_INVENTORY_JDBC_USERNAME=my_db_username \
-e HAWKULAR_INVENTORY_JDBC_PASSWORD=my_db_password \
-e HAWKULAR_USERNAME=my_mwmanager_username \
-e HAWKULAR_PASSWORD=my_mwmanager_password \
-p 8080:8080 -p 8443:8443 -p 9990:9990 \
--link=mwmanager-cassandra
--link=mwmanager-cassandra \
brew-pulp-docker01.web.prod.ext.phx2.redhat.com:8888/jboss-mm-7-tech-preview/middleware-manager:latest
----

Expand Down
5 changes: 2 additions & 3 deletions mw_manager_installation_guide/topics/uninstall.adoc
Expand Up @@ -37,13 +37,13 @@ rm -rf /opt/jboss-eap-7.0/modules/system/add-ons/hawkular-agent

Make sure how the middleware provider container is named with `docker ps` command then execute:
----
docker rm mwmanager
docker rm -f mwmanager
----

== Delete the Cassandra containers
Make sure how the cassandra container is named with `docker ps` command then execute:
----
docker rm mwmanager-cassandra
docker rm -f mwmanager-cassandra
----
You will need to execute the command for all the Cassandra nodes that you may have started.

Expand Down Expand Up @@ -73,4 +73,3 @@ Then execute the following commands
postgres=# DROP DATABASE mwmanager
postgres=# DROP USER my_db_username
----

0 comments on commit e75e4b5

Please sign in to comment.