Changes between Version 2 and Version 3 of drmsUpdateJMD
- Timestamp:
- 06/18/14 12:46:39 (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
drmsUpdateJMD
v2 v3 2 2 3 3 1. wget the jar file from the path given by the NSO. 4 2. Go to your vso path for JMDs. E.g. /opt/vso/JMD_v1.6.4.0.nohmi/jar 4 2. Go to your vso path for JMDs. E.g. 5 {{{ 6 cd /opt/vso/JMD_v1.6.4.0.nohmi/jar 7 }}} 5 8 3. Copy the new jar file into the path for jar files. There is no need to remove the old one; the JMD will know what to do and will pick up the correct file. 6 4. Stop the current jmd process, either as the correct user or through sudo: {{{sudo /opt/JMD/bin/JMD.sh stop}}} 7 5. Make sure there is no other JMD process running. {{{ps ax |grep java |grep JMD}}} 8 5. Delete the current jetty database and its directory. You will not lose NetDRMS data doing this action. The JMD will install a new one one on restart. It is important to delete the entire directory, not just its contents. 9 4. Stop the current jmd process, either as the correct user or through sudo: 10 {{{ 11 sudo /opt/JMD/bin/JMD.sh stop 12 }}} 13 5. Make sure there is no other JMD process running. 14 {{{ 15 ps ax |grep java |grep JMD 16 }}} 17 5. Delete the current jetty database and its directory. You will not lose data, as the JMD will rebuild the database on restart. It is important to delete the entire directory, not just its contents. (if you're really paranoid, tarball it before deleting it) 9 18 {{{ 10 19 ls /opt/vso/derby/derbyDB/ 11 20 sudo rm -rf derbyDB 12 21 }}} 13 6. Restart the JMD and check the logs: {{{sudo /opt/JMD/bin/JMD.sh start}}} 22 6. Restart the JMD and check the logs: 23 {{{ 24 sudo /opt/JMD/bin/JMD.sh start 25 tail (filename mentioned in start mesage) 26 }}} 14 27 7. Logs should say something like: 15 28 {{{