Server Administration lets you manage and monitor your Liferay Portal server. Access the application by clicking Control Panel → Configuration → Server Administration.
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:
- Create a backup copy of the Document Library repository and Liferay Portal database.
- Configure the new file store in System Settings → Platform: File Storage.
- In this tab (Server Administration → Data Migration), select the repository hook for the file store you configured and click Execute.
- Make sure the data migrated correctly.
- Configure the new repository as the default.
- If you used a
portal-ext.propertiesfile 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
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.