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 to test-msr.geant.net and cd to "/var/lib/tomcat6/webapps/msr/media/", then copy the topology directory from the /var/lib/tomcat6/webapps/msr/media/ 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 directory to your laptop.

       ** Please note the year and month format of the file name e.g. BACKBONE_201707.png

      NOTE: If either of the topology diagrams (BACKBONE_YYYYMM.png, GLOBAL_YYYYMM.jpg) are not present, copy the previous period's and rename to the current period.

       

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

       ** Please note the year and month format of the file name e.g. NREN_201707.png

...

Step Two: Import to prod-msr from local machine


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

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

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

...