====== Auvegos VM ====== ===== Deployment Guide ===== Deployment on auvegos VM on trunk: svn update; mvn clean install -P auvegos cp file to VM, ssh auvegos@auvegos.aot.tu-berlin.de auvegos pwd: 9LZ4dGPo3o0T (see this file for password: acs.releases/auvegos.modules.feature/rootFiles/configuration/agents/monitoring/RackTables.agent.xml) tmux ls resutl 0:.... the running session tmux attach-session -t 0 # now you see it running ctrl-c and start new some tmux tricks * ctrl b + c (new console) * change console: ctrl b + # * scroll up console: ctrl b + [ * ctrl b + d detach. ===== Screen ===== * https://www.rackaid.com/blog/linux-screen-tutorial-and-how-to/ * ==== SCP backend product ==== scp -rp acs.releases/auvegos.product.backend/target/products/auvegos.backend.product auvegos@auvegos.aot.tu-berlin.de:~/auvegos.backend.product-WEBGUI-0.2 The webpage is here!: ./auvegos.backend.product/linux/gtk/x86_64/plugins/auvegos.web.agent_2.5.0.201605251448/src/main/webapp **Before starting backend prod** cd /home/auvegos/auvegos.backend.product/linux/gtk/x86_64 vim logback.xml # change debuglevel INFO to DEBUG vim auvegos.backend.product/linux/gtk/x86_64/configuration/agents/AuVeGoS.node.xml 55 »···»··· <-------- this is it Also change node.xml for frontend agent!! -Xmx2000m in backend-product.ini ==== Note: ==== * copy network file to src/main/resources **Start** ===== ERROR the VM does not have enough RAM! ===== try this http://gtarc-wg-net.aot.tu-berlin.de/ * 130.149.154.192 * gtarc-wg-net.aot.tu-berlin.de * user: dang pwd: 1*2* / ssh login * Useful last answer: http://stackoverflow.com/questions/37335/how-to-deal-with-java-lang-outofmemoryerror-java-heap-space-error-64mb-heap **Solution** Set -Xmx2000m in auvegos-backend.ini before starting. ====== Mongodb ====== * installation: https://docs.mongodb.com/manual/tutorial/install-mongodb-on-ubuntu/ Import database mongorestore -d DefaultDatabase file.bson