Our documentation has been relocated here, the Liferay Developer Network. Please update your bookmarks!

Server Administration lets you manage and monitor your Liferay Portal server. Access the application by clicking Control PanelConfigurationServer Administration.


Figure 1: The Resources tab of Server Administration shows a graph of your server’s memory usage.

Server Administration’s functionality is segmented into these tabs:

Resources: View memory usage and perform management tasks like running the garbage collector, clearing the database cache, and more. For more information, see Resources.

Log Levels: View and set logging levels. You can make dynamic modifications of log levels for any class hierarchy in Liferay Portal. Custom objects not on the list can be added with the Add Category tab. Changes to the log level near the top of the class hierarchy (such as at com.liferay) also change log levels for all the classes under that hierarchy. Modifications unnecessarily high in the hierarchy generate too many messages to be useful.

Properties: View JVM and portal properties. This tab has two sub-tabs: System Properties and Portal Properties. The System Properties tab shows an exhaustive list of system properties for the JVM, as well as many Liferay Portal system properties. You can use this information for debugging purposes or to check the currently running configuration. The Portal Properties tab shows an exhaustive list of the current portal property values. For explanations of these properties, see the portal properties reference documentation.

Data Migration: Migrate documents from one repository to another. For example, you can migrate your documents to a new repository on a different disk or in a new format. Here are the steps:

  1. Create a backup copy of the Document Library repository and Liferay Portal database.
  2. Configure the new file store in System SettingsPlatform: File Storage.
  3. In this tab (Server AdministrationData Migration), select the repository hook for the file store you configured and click Execute.
  4. Make sure the data migrated correctly.
  5. Configure the new repository as the default.
  6. If you used a portal-ext.properties file to configure the repository, restart the server.

Mail: Instead of using a portal-ext.properties file to configure a mail server, you can configure a mail server from this tab. If your message boards receive mail, you can connect a POP mail server. If Liferay Portal sends mail (useful for sending notifications to users), you can connect to an SMTP server. Note that if you configure mail server settings here in System Settings, these settings override any mail server settings in your portal-ext.properties file.

External Services: Configure external services for generating file previews. For more information, see the article on External Services.

Script: A scripting console for executing migration or management code. The Groovy scripting language is supported out of the box. .

Shutdown: Schedule a shutdown that notifies logged-in users of the impending shutdown. You can define the number of minutes until the shutdown and a message to display. Liferay Portal displays the message at the top of users’ pages for the duration of time you specified. When the time expires, all pages display a message saying the portal has been shut down. The server must then be restarted to restore access.

Server Administration: Resources

The Server Administration app’s Resources tab contains several server wide actions that an administrator can execute. These include the following items: Run the garbage collector: Tells the JVM to...

קרא עוד

Server Administration: External Services

Users can upload and share any type of file via the Documents and Media library, a customizable and permissions-enabled online repository for files (see publishing files for more information)....

קרא עוד
0 (0 הצבעות)
Factory Configurations קודם