Converting AS400 install of mrc-Productivity Series Install to m-Power on a PC Server
Here is the Scenario:
- You are a current mrc-Productivity Series customer who is running BED from your AS400. Your application server (usually Tomcat), is running on the AS400.
- You want to upgrade to m-Power.
- You wish to install m-Power on an Intel Server, mainly because of speed considerations (Graphs & PDFs create much faster) but also because you’d rather have most of the network activity on the Intel Server rather than the AS400.
Here is what you need to do:
- Contact mrc at 630.916.0662 (in the UK call 0208-322-7720) to convert your account to m-Power. We will also send you a new license file via e-mail. Please save this as it will be necessary later on in these instructions.
- Download m-Power from here. (Note: If you are using your workstation to download the file, please copy the file to your Intel Server.)
- Extract the m-power.zip file to the c:\ location. When completed, you should have a m-power directory located at the c:\ drive.
- Next, you will need to install Sun’s Java Developer Kit. You can find this file in c:\m-power\jdk. Run the executable and follow the on-screen instructions.
- Copy the license file you received in Step 1 to the c:\m-power\proddata\conf folder.
- Start Tomcat by clicking on the start_tomcat.bat file located in c:\m-power\
- Point your browser to https://INTEL_SERVER_IP_ADDRESS:8011/webapp/mrc/servlet/MRCPS.MRC001 (where INTEL_SERVER_IP_ADDRESS is the Server’s IP address).
- Congratulations – you have successfully converted your mrc-Productivity Series environment to m-Power.
Note: In the future, when taking m-Power updates, simply log into the customer portal, click the m-Power Update link and extract the zip file to the C:\ drive. No customized applications will be overwritten, as our updates only affect logic that we ship.
m-Power is up and running on my Windows server, but I created lots of Web 2.0 applications on the AS400. How can I make those applications run on my new m-Power setup?
- Copy all folders from the AS400 that exist in the \mrcjava\WEB-INF\classes. Place them on your Intel Server located in c:\m-power\mrcjava\WEB-INF\classes.
- Currently each folder within c:\m-power\mrcjava\WEB-INF\classes represents a Data Dictionary. Each Data Dictionary has a file called mrc_servlet_config.xml.
- Edit this file to replace anywhere you find as400_local1 and replace it with as400_remote1.
- Utilize your favorite text editor to make the “Find and Replace” for you.
- This step is needed as your applications need to now point to a Remote Database Connection.
- Copy the mrc_spring_context.xml file from \mrcjava\WEB-INF\classes. Place this file on your Intel Server located in c:\m-power\mrcjava\WEB-INF\classes.
- Edit the mrc_spring_context.xml file with your favorite text editor.
- The second section should reference AS400 DB2 remote. You will need to make three changes:
- Specify the AS400 IP address. This is needed for the Database Connection to know where to find your data.
- Specify the Username. This is needed as the AS400 needs a valid user profile. Note: This user profile only needs *USER access.
- Specify the User Password. This needs to be a valid password for the User listed. Note: It is recommended to set this password to not expire.
- If you have utilized any specific images in your applications, be sure to copy them from the AS400 to your Intel Server.