Configuring the SnapCenter Plug-in Loader service for Linux

The SnapCenter Plug-in Loader service loads the plug-in package for Linux to interact with the SnapCenter Server. The SnapCenter Plug-in Loader service is installed when you install the SnapCenter Plug-ins Package for Linux.

About this task

After installing the SnapCenter Plug-ins Package for Linux, the SnapCenter Plug-in Loader service is started automatically. You can also manually start and stop the service, and find the status of the service. When you restart the Linux host, the SnapCenter Plug-in Loader service is started automatically.

The spl.properties file, which is located at /custom_location/NetApp/snapcenter/spl/etc/, contains the following parameters. Default values are assigned to these parameters.

Parameter name Description
LOG_LEVEL Displays the log levels that are supported.

The possible values are INFO, DEBUG, TRACE, ERROR, FATAL, and WARN.

SPL_PROTOCOL Displays the protocol that is supported by SnapCenter Plug-in Loader.

Only the HTTPS protocol is supported. You can add the value if the default value is missing.

SNAPCENTER_SERVER_PROTOCOL Displays the protocol that is supported by SnapCenter Server.

Only the HTTPS protocol is supported. You can add the value if the default value is missing.

SPL_KEYSTORE_PASS Displays the password of the keystore file.

You can change this value only if you change the password or create a new keystore file.

SPL_PORT Displays the port number on which the SnapCenter Plug-in Loader service is running.
You can add the value if the default value is missing.
Note: You should not change the value after installing the plug-ins for Linux.
SNAPCENTER_SERVER_HOST Displays the IP address or host name of the SnapCenter Server.
SPL_KEYSTORE_PATH Displays the absolute path of the keystore file.
SNAPCENTER_SERVER_PORT Displays the port number on which the SnapCenter Server is running.
SPL_LOGS_MAX_COUNT Displays the number of SnapCenter Plug-in Loader log files that are retained in the /custom_location/snapcenter/spl/logs folder.

The default value is set to 5000. If the count is more than the specified value, then the last modified 5000 files are retained. The check for the number of files is done automatically every 24 hours from when SnapCenter Plug-in Loader service is started.

Note: If you manually delete the spl.properties file, then the number of files to be retained is set to 9999.

If any of these parameters are not assigned the default value, and if you want to assign the value or change the value, you can modify the spl.properties file. You can also verify the spl.properties file and edit the file to troubleshoot any issues related to the values that are assigned to the parameters. After you modify the spl.properties file, you must restart the SnapCenter Plug-in Loader service.

Step

  1. Start or stop the SnapCenter Plug-in Loader service, or find the status of the SnapCenter Plug-in Loader service, as required:
    • Start the SnapCenter Plug-in Loader service: /custom_location/NetApp/snapcenter/spl/bin/spl start

      You must start the service as a root user.

    • Stop the SnapCenter Plug-in Loader service: /custom_location/NetApp/snapcenter/spl/bin/spl stop
      Note: You can use the -force option with the stop command to terminate the SnapCenter Plug-in Loader service. Stopping the SnapCenter Plug-in Loader service forcefully should be used with caution because forcefully stopping the SnapCenter Plug-in Loader service also terminates the existing operations.
    • Find the status of the SnapCenter Plug-in Loader service: /custom_location/NetApp/snapcenter/spl/bin/spl status