«

»

Converting mrc-PS AS400 to m-Power on a PC Server

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:

  1. 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.
  2. Download m-Power from here. (Note: If you are using your workstation to download the file, please copy the file to your Intel Server.)
  3. Extract the m-power.zip file to the c:\ location. When completed, you should have a m-power directory located at the c:\ drive.
  4. 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.
  5. Copy the license file you received in Step 1 to the c:\m-power\proddata\conf folder.
  6. Start Tomcat by clicking on the start_tomcat.bat file located in c:\m-power\
  7. Point your browser to http://INTEL_SERVER_IP_ADDRESS:8011/webapp/mrc/servlet/MRCPS.MRC001 (where INTEL_SERVER_IP_ADDRESS is the Server’s IP address).
  8. 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?

  1. 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.
  2. 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.
    1. Edit this file to replace anywhere you find as400_local1 and replace it with as400_remote1.
    2. Utilize your favorite text editor to make the “Find and Replace” for you.
    3. This step is needed as your applications need to now point to a Remote Database Connection.
  3. 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.
      1. Edit the mrc_spring_context.xml file with your favorite text editor.

    1. The second section should reference AS400 DB2 remote. You will need to make three changes:
      1. Specify the AS400 IP address. This is needed for the Database Connection to know where to find your data.
      2. Specify the Username. This is needed as the AS400 needs a valid user profile. Note: This user profile only needs *USER access.
      3. 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.
  4. If you have utilized any specific images in your applications, be sure to copy them from the AS400 to your Intel Server.

Related Posts:

  • No Related Posts

Leave a Reply

Your email address will not be published.

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>