Moving Your Liferay Environment to a New Tomcat Server

This article provides a checklist that documents how to move your Liferay environment to a new Tomcat server.

Resolution

  1. For database, please backup the database in old environment and import it to the new environment.
  2. For documents, they are stored under [LIFERAY_HOME]/data/document_library by default.

    Please copy all of the files to the same directory in the new environment.

    If you have configured new directory in System Settings, depending on the defined store dl.store.impl= in your portal-ext.properties, please make sure the documents can be accessed in the new environment.

  3. For your customized configurations, please copy them to the new environment. The common configuration files are listed, but not limited to the following:
    1. portal-ext.properties 

      The database connection related statements and the dl store related statements might need to be changed to use the correct one in your new environment.

    2. osgi related configurations

      If there is any customized configurations in the osgi/configs folder, please copy them to your new environment.

  4. For all of your customizations, please deploy them on to the new server.
  5. After moving these contents, please perform a full re-index in Control Panel > Server Administration in your new environment.

Additional Information

If your environment was registered with LCS, please refer to Migrating Servers Between LCS Projects or Environments for migrating to the new environment. 

Este artigo foi útil?
Utilizadores que acharam útil: 1 de 1