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
- Copy folder /mrcjava from
your target server to the root of the remote server.
- 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.
- Copy folder /mrcwebgui from
your target server to the remote server’s root.
- On the remote server, rename
file /mrcwebgui/bedcopy.properties to bed.properties. Set the parameters according
to the comments in that file.
- 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.
- 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).
- 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
- 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.
- Copy folder /mrcjava from
your target server to the remote server, replacing existing folder
C:\m-power\mrcjava.
- On the remote server, set the
parameters according to the comments in file C:\m-power\mrcjava\proddata\conf\mrctool.properties.
- Copy the contents of the
folder/mrcjava/proddata/templates to the remote server, placing the files
in c:\m-power\mrcjava\proddata\templates.
- Copy folder /mrcwebgui from
your target server to the remote server, replacing existing folder
C:\m-power\mrcwebgui.
- 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.
- 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.
- 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
- 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
- Apply MRCCH on the host
iSeries.
- Save contents of
/mrcjava/WEB-INF/classes/ on your remote server.
- Save
/mrcjava/proddata/conf/mrclicense.txt file on your remote server.
- Save
/mrcwebgui/bed.properties file on your remote server.
- Stop Tomcat server on your
remote server.
- Copy /mrcjava and /mrcwebgui
directories from your host iSeries to your remote server.
- Restore contents of
/mrcjava/WEB-INF/classes/ to /mrcjava/WEB-INF/classes/.
- Replace
/mrcjava/proddata/conf/mrclicense.txt file with your saved copy.
- Replace
/mrcwebgui/bed.properties file with your saved copy.
- Start Tomcat server on your remote
server.
APPLY
MRCCH TO WINDOWS SERVER
- Apply MRCCH on the host
iSeries.
- Save contents of
C:\m-power\mrcjava\WEB-INF\classes\ on your Windows server.
- Save
C:\m-power\mrcjava\proddata\conf\mrclicense.txt file on your Windows
server.
- Save C:\m-power\mrcjava\proddata\conf\mrctool.properties
file on your Windows server.
- (mrc-PS only) Save
C:\m-power\mrcwebgui\bed.properties file on your windows server.
- (mrc-PS only) Save
C:\m-power\mrcwebgui\WEB-INF\classes\mrc-spring-context.xml file on
your windows server
- Stop Tomcat server on your
Windows server.
- Copy /mrcjava and /mrcwebgui
directories from your host iSeries to your Windows server.
- Restore contents of C:\m-power\mrcjava\WEB-INF\classes\ to
C:\m-power\mrcjava\WEB-INF\classes\.
- Replace
C:\m-power\mrcjava\proddata\conf\mrclicense.txt file with your saved copy.
- Replace
C:\m-power\mrcjava\proddata\conf\mrctool.properties file with your saved
copy.
- (mrc-PS only) Copy the
bed.properties file to C:\m-power\mrcwebgui\ from your saved copy.
- (mrc-PS only) Copy the
mrc-spring-context.xml file to C:\m-power\mrcwebgui\WEB-INF\classes\
from your saved copy.
- 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.