Changes between Version 2 and Version 3 of drmsUpdateJMD


Ignore:
Timestamp:
06/18/14 12:46:39 (10 years ago)
Author:
joe
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • drmsUpdateJMD

    v2 v3  
    22 
    331.  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 
     42.  Go to your vso path for JMDs. E.g.  
     5{{{  
     6cd /opt/vso/JMD_v1.6.4.0.nohmi/jar  
     7}}} 
    583.  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.   
     94.  Stop the current jmd process, either as the correct user or through sudo:   
     10{{{ 
     11sudo /opt/JMD/bin/JMD.sh stop 
     12}}} 
     135.  Make sure there is no other JMD process running.   
     14{{{ 
     15ps ax |grep java |grep JMD 
     16}}} 
     175.  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) 
    918{{{  
    1019ls /opt/vso/derby/derbyDB/   
    1120sudo rm -rf derbyDB 
    1221}}} 
    13 6.  Restart the JMD and check the logs:  {{{sudo /opt/JMD/bin/JMD.sh start}}} 
     226.  Restart the JMD and check the logs:   
     23{{{ 
     24sudo /opt/JMD/bin/JMD.sh start 
     25tail (filename mentioned in start mesage) 
     26}}} 
    14277.  Logs should say something like: 
    1528{{{