View Categories

SLM Memcached Maintenance Guide

SLM Memcached maintenance helps administrators manage the caching service used by Safety Lifecycle Manager to improve application performance. Memcached provides a high-performance memory-based caching mechanism that can reduce the need to repeatedly retrieve information from the database.

Within the SLM environment, the maintenance procedures differ depending on whether Memcached is operating on Windows or within a Linux container. Windows administration involves installing and controlling a scheduled task, while the Linux container includes Memcached as part of its setup and provides service commands for starting, stopping and restarting it.

This guide covers SLM Memcached maintenance for both environments, including Windows installation and task management, Linux service controls, configuration settings and log-file locations.

How Memcached Supports the SLM Environment

SLM uses Memcached as its caching tool to help speed up the application. Memcached is a distributed memory object caching system designed to improve the performance of dynamic applications by reducing database load.

Instead of requiring the application to retrieve the same information repeatedly from its underlying data source, caching allows appropriate information to be held temporarily in memory for faster access.

Within SLM, Memcached therefore forms part of the supporting application infrastructure rather than acting as a user-facing SLM function.

Memcached is also identified as part of the SLM Web App server environment in the SLM On-Premise Hardware and Software Requirements guide.

SLM Memcached Maintenance on Windows

SLM Memcached maintenance on Windows includes installation and the ability to start, stop and remove the Memcached scheduled task.

The training uses two files supplied as part of the SLM installation pack. Once the supplied folder has been extracted, the installation process is performed through an elevated Windows Command Prompt.

The Command Prompt must be opened with administrator permissions before the supplied installation commands are executed.

The demonstrated process is:

  1. Extract the Memcached files supplied with the installation pack.
  2. Open Command Prompt using Run as administrator.
  3. Execute the first command supplied in the installation documentation.
  4. Confirm that the Memcached scheduled task has been created successfully.
  5. Execute the supplied run command to start Memcached.

The exact Windows commands should be taken from the MSS installation documentation supplied with the installation package rather than recreated manually from this overview.

Starting and Stopping Memcached on Windows

After installation, the Windows Memcached scheduled task can be controlled using the commands provided with the SLM installation documentation.

The training demonstrates three administrative actions:

  • Run – starts the Memcached scheduled task.
  • End – stops the running Memcached scheduled task.
  • Delete – removes the Memcached scheduled task.

When the delete operation is used, Windows requests confirmation before removing the scheduled task. In the demonstrated procedure, the administrator confirms the deletion before the task is removed.

These controls allow administrators to manage the Windows implementation without changing the underlying purpose of Memcached within SLM.

Managing Memcached in a Linux Container

In the Linux container environment demonstrated in the training, Memcached is already installed as part of the setup. SLM Memcached maintenance therefore focuses on controlling the existing service rather than performing the Windows-style installation process.

The service can be started using:

service memcached start

It can be stopped using:

service memcached stop

To restart the service, use:

service memcached restart

These commands allow an administrator to control the Memcached service from within the Linux environment.

Memcached Configuration and Log Files

The Linux container also provides access to the Memcached configuration file and application log.

The configuration file demonstrated in the training is:

/etc/memcached.conf

The example uses Vim to open this configuration file for review or editing.

The Memcached log file is located at:

/var/log/memcache.log

The configuration demonstrated in the SLM training includes:

  • Default memory configuration
  • Default Memcached port
  • Memcache username
  • Local IP address 127.0.0.1
  • A PID file used to run Memcached

These values describe the Linux container configuration shown in the training. Administrators should use the configuration supplied for their SLM deployment rather than assuming that settings from another Memcached installation should be substituted.

Windows and Linux Maintenance Differences

The principal difference between the two SLM Memcached maintenance workflows is how the service is deployed and controlled.

On Windows, the training demonstrates creating and managing Memcached as a scheduled task using commands supplied with the installation package.

Within the Linux container, Memcached is already installed as part of the deployed setup. Administrators therefore use Linux service commands to start, stop or restart it and can access the configuration and log files directly within the container.

The two approaches can be summarized as follows:

  • Windows: supplied installation files, elevated Command Prompt and scheduled-task management.
  • Linux container: preinstalled Memcached, service management and direct configuration/log access.

Understanding which environment is being maintained is therefore important before performing any Memcached administration.

Troubleshooting SLM Memcached

When investigating SLM Memcached maintenance issues, administrators should first establish whether the deployment uses the Windows scheduled-task approach or the Linux container implementation.

For Windows, the administrator can confirm whether the scheduled task was created successfully and whether it is currently running.

For the Linux container, administrators can use the appropriate service controls and review the Memcached configuration and log file where necessary.

Application troubleshooting may also require reviewing information outside the caching service itself. The SLM Application Maintenance guide covers IIS W3C and SLM PHP application logs that can provide additional evidence when investigating application behaviour.

The official Memcached documentation provides additional background on Memcached architecture and administration. SLM-specific installation and configuration should continue to follow the MSS-supplied installation package and documentation.

Maintaining Memcached as Part of SLM

SLM Memcached maintenance should be treated as part of the wider administration of the SLM application environment. The caching service supports application performance, while its implementation and administrative controls depend on the operating environment.

On Windows, administrators can install and manage Memcached through the scheduled-task process supplied with SLM. In the Linux container, Memcached is already installed and can be managed using the available service commands.

The Linux configuration and log files also provide administrators with access to the settings and operational records demonstrated in the training.

By understanding these environment-specific controls, administrators can perform SLM Memcached maintenance without confusing Windows scheduled-task administration with the service-based approach used by the Linux container.

Please complete the form below

Please complete the form below.

You will automatically be forwarded to a demonstration video