MirrorSync for Hosting Providers

From 360Works Product Documentation Wiki
Jump to: navigation, search

Installation

To install multiple instances of MirrorSync on a single server, follow the instructions below.

  • You may install the first instance of MirrorSync normally. For subsequent instances, follow these instructions:
  • First, download the MirrorSync Installer from 360works.com. In that download, locate the MirrorSync.war file in the Installer Data.
  • Rename the .war file to something descriptive of the second installation. For example, rename the .war file to MirrorSync2.
  • Copy the .war file to the FileMaker Tomcat web applications directory, located in
For FileMaker 11:
FileMaker Server/Web Publishing/publishing-engine/cwpe-tomcat/bin/
For FileMaker 12:
Filemaker Server/Web Publishing/publishing-engine/jwpc-tomcat/
  • The .war file will extract itself, creating a new folder. This means the application is deployed.
  • Modify the XML for MirrorSync to set a username and password to administer MirrorSync. Set a value for adminUsername and adminPassword. You can use an MD5 encoded password using adminPasswordHash. Find the XML file here:
For FileMaker 11:
FileMaker Server/Web Publishing/publishing-engine/cwpe-tomcat/conf/Catalina/localhost/
For FileMaker 12:
FileMaker Server/Web Publishing/publishing-engine/jwpc-tomcat/conf/Catalina/localhost/
  • Back out to FileMaker Server/Admin/admin-helper/WEB-INF/conf/ and open the configuration file. This file may be called:
    • FileMaker 11 on OS X: mod_jk.conf
    • FileMaker 12 on OS X: mod_jk_paths.conf
    • Windows: uriworkermap.properties
  • If you've already installed one instance, you should see:
For FileMaker 11 on OS X:
JkFmMount /MirrorSync cwpe
JkFmMount /MirrorSync/* cwpe
For FileMaker 12 on OS X:
ProxyPass /MirrorSync ajp://127.0.0.1:16021/MirrorSync
ProxyPassReverse /MirrorSync ajp://127.0.0.1:16021/MirrorSync
For FileMaker 11 and Windows:
/MirrorSync=cwpc
/MirrorSync/*=cwpc
For FileMaker 12 and Windows:
/MirrorSync=jwpc
/MirrorSync/*=jwpc
Add another two lines to the end, using the same format. Replace MirrorSync with the custom name you used on the .war file. For example, if the .war file was renamed to MirrorSync2, on a FileMaker 11/OS X installation, the lines would read:
JkFmMount /MirrorSync cwpe
JkFmMount /MirrorSync/* cwpe
JkFmMount /MirrorSync2 cwpe
JkFmMount /MirrorSync2/* cwpe
  • Restart the Web Server / Apache / IIS
  • Open the new instance of MirrorSync by navigating to your server in a browser, and adding the custom name after a slash. Using the example name, it would be located at yourserver.com/MirrorSync2

Upgrading

If upgrading to the latest version of MirrorSync, make sure to stop the Web Publishing Engine. Then, use the .war file included in the upgrade download files and install it to the locations above. Make sure to keep your naming consistant.

Troubleshooting

If users cannot log in, try restarting the Web Publishing Engine. Also make sure the XML files have the correct user names and passwords in each instance.

Personal tools
Namespaces

Variants
Actions
Plug-in Products
Other Products
Navigation
Toolbox