Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Step One: Export to local machine from test-msr

  1. SSH to test-msr and cd to "/var/lib/tomcat6/webapps/msr/media/", then copy the topology diagrams directory from the /var/lib/tomcat6/webapps/msr/media/topology directory  directory on test-msr.geant.net to your home directory on test-msr:  sudo cp -r topology/ /home/local/GEANT/omar.qouqas. Then use WinSCP to copy that to your laptop.

...

      2. SSH to test-msr and copy the graphs generated directory from the /var/lib/tomcat6/webapps/msr/media/graphs directory on test-msr.geant.net to your home directory on test-msr:  sudo cp -r graphs/ /home/local/GEANT/omar.qouqas.  Then use WinSCP to copy that to your laptop.

...

Step Two: Import to prod-msr from local machine


Copy Use WinSCP to copy the topology diagrams directory from your laptop to the your home directory on prod-msr then SSH to prod-msr and copy that directory to  /var/lib/tomcat6/webapps/msr/media/topology directory on  on prod-msr.geant.net (First copy the directory to your home directory(using WinScp) then copy them to /var/lib/tomcat6/webapps/msr/media/). (sudo cp -r topology/ /var/lib/tomcat6/webapps/msr/media/)
Copy the graphs

Use WinSCP to copy the graphs directory from your laptop to the /var/lib/tomcat6/webapps/msr/media/graphs directory on prod-msr.geant.net (First copy the directory to your home directory(using WinScp) then copy them to your home directory on prod-msr then SSH to prod-msr and copy that directory to  /var/lib/tomcat6/webapps/msr/media/)i.e. sudo  on prod-msr.geant.net. (sudo cp -r graphs/ /var/lib/tomcat6/webapps/msr/media/)

Using MySQL Workbench import the reports database tables from your laptop onto prod-msr.geant.net

...