mrc Documentation
michaels, ross & cole, ltd.
http://www.mrc-productivity.com/

Installing BED Remotely

Sometimes it is desirable to install and serve the mrc-Productivity Series BED on a server which is remote from the target database server.  This document describes the procedures of installing BED on a remote iSeries or a remote Windows server. It assumes you have already installed mrc-Productivity Series on a target iSeries.

INSTALL BED ON A REMOTE ISERIES

  1. Copy folder /mrcjava from your target server to the root of the remote server.
  2. Contact mrc and request a license file for the target server. Put the license file (mrclicense.txt) in folder /mrcjava/proddata/conf on the remote server, replacing the existing file if it already exists.
  3. Copy folder /mrcwebgui from your target server to the remote server’s root.
  4. On the remote server, rename file /mrcwebgui/bedcopy.properties to bed.properties. Set the parameters according to the comments in that file.
  5. If Tomcat already runs on the target iSeries, copy folder /mrctomcat from your target server to the remote server’s root.  If not, follow the instructions to download and install Tomcat to the remote iSeries here.
  6. Copy these objects to the remote server: subsystem description MRCTCPSRV and command/program MRCTOMCAT from MRCAPPLLIB. You may put them in library QGPL. Start Tomcat by running MRCTOMCAT FUNC(*START).  When you wish to end Tomcat later, you may use MRCTOMCAT FUNC(*END).
  7. Point your browser to http://x.x.x.x:8011/webapp/mrc/servlet/MRCPS.MRC001 where x.x.x.x is the IP address of the remote iSeries server.

INSTALL BED ON A REMOTE WINDOWS SERVER

  1. Set up Tomcat to run on the Windows server.  Please see Section 2 (Installing Apache Tomcat on Microsoft Windows) of the mrc document titled Installation of Apache Tomcat Application Server.
  2. Copy folder /mrcjava from your target server to the remote server, replacing existing folder C:\m-power\mrcjava.
  3. On the remote server, set the parameters according to the comments in file C:\m-power\mrcjava\proddata\conf\mrctool.properties.
  4. Copy the contents of the folder/mrcjava/proddata/templates to the remote server, placing the files in c:\m-power\mrcjava\proddata\templates.
  5. Copy folder /mrcwebgui from your target server to the remote server, replacing existing folder C:\m-power\mrcwebgui.
  6. On the remote server, rename file C:\m-power\mrcwebgui\bedcopy.properties to bed.properties. Set the parameters according to the comments in that file.
  7. Contact mrc and request a license file for the target server. Put this license file (mrclicense.txt) in folder C:\m-power\mrcjava\proddata\conf on the remote server, replacing the existing file if it already exists.
  8. Start Tomcat by running C:\m-power\start_tomcat.bat.  When you wish to end Tomcat later, you may use C:\m-power\end_tomcat.bat
  9. Point your browser to http://x.x.x.x:8011/webapp/mrc/servlet/MRCPS.MRC001 where x.x.x.x is the IP address of the remote Windows server.  You may use “localhost” instead of the IP address when the client browser and Tomcat are on the same server.

 

APPLY MRCCH TO REMOTE ISERIES

 

  1. Apply MRCCH on the host iSeries.
  2. Save contents of /mrcjava/WEB-INF/classes/ on your remote server.
  3. Save /mrcjava/proddata/conf/mrclicense.txt file on your remote server.
  4. Save /mrcwebgui/bed.properties file on your remote server.
  5. Stop Tomcat server on your remote server.
  6. Copy /mrcjava and /mrcwebgui directories from your host iSeries to your remote server.
  7. Restore contents of /mrcjava/WEB-INF/classes/ to /mrcjava/WEB-INF/classes/.
  8. Replace /mrcjava/proddata/conf/mrclicense.txt file with your saved copy.
  9. Replace /mrcwebgui/bed.properties file with your saved copy.
  10. Start Tomcat server on your remote server.

 

APPLY MRCCH TO WINDOWS SERVER

 

  1. Apply MRCCH on the host iSeries.
  2. Save contents of C:\m-power\mrcjava\WEB-INF\classes\ on your Windows server.
  3. Save C:\m-power\mrcjava\proddata\conf\mrclicense.txt file on your Windows server.
  4. Save C:\m-power\mrcjava\proddata\conf\mrctool.properties file  on your Windows server.
  5. (mrc-PS only) Save C:\m-power\mrcwebgui\bed.properties file on your windows server.
  6. (mrc-PS only) Save C:\m-power\mrcwebgui\WEB-INF\classes\mrc-spring-context.xml file on your windows server
  7. Stop Tomcat server on your Windows server.
  8. Copy /mrcjava and /mrcwebgui directories from your host iSeries to your Windows server.
  9. Restore contents of  C:\m-power\mrcjava\WEB-INF\classes\ to C:\m-power\mrcjava\WEB-INF\classes\.
  10. Replace C:\m-power\mrcjava\proddata\conf\mrclicense.txt file with your saved copy.
  11. Replace C:\m-power\mrcjava\proddata\conf\mrctool.properties file with your saved copy.
  12. (mrc-PS only) Copy the bed.properties file to C:\m-power\mrcwebgui\ from your saved copy.
  13. (mrc-PS only) Copy the mrc-spring-context.xml file to C:\m-power\mrcwebgui\WEB-INF\classes\ from your saved copy.
  14. Start Tomcat server on your Windows server.

 

 If you are running a Production instance of Tomcat, click here to learn how to update this server.