Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Current »

Table of Contents

Introduction

Squirro consists of several services that are started and stopped individually. The Overview section talks a bit about those components. A detailed list of the services is available below.

When a Squirro server is started, all the services are started automatically using the Linux initd subsystem.

Interacting with services

Services are controlled with the service command on the Linux console. The service command must be run as root. This can be achieved by either becoming root first (using sudo -i) or by prefixing every service command with the sudo command.

The first argument for the command is the service name to interact with, then the operation to execute.

Check service status

The service status is returned with the status sub-command. For example:

[root@localhost ~]# service sqtopicd status
sqtopicd (pid  3164) is running...

Start service

If a service is not running, the start sub-command can be used to launch it.

[root@localhost ~]# service sqtopicd start
Starting sqtopicd:                                          [ OK ]

Stop service

[root@localhost ~]# service sqtopicd stop
Stopping sqtopicd:                                          [ OK ]

If you now execute the status sub-command, it will report the service as being stopped.

[root@localhost ~]# service sqtopicd status
sqtopicd is stopped

Restart service

The restart sub-command attempts to stop a service first and will then start it again.

[root@localhost ~]# service sqtopicd restart
Stopping sqtopicd:                                          [ OK ]
Starting sqtopicd:                                          [ OK ]

Services

The following services form part of Squirro or are built-in services that Squirro uses. They can all be controlled with the service command as shown in the previous section.

NameDescription
crondTask runner that executed scheduled tasks regularly.
elasticsearchMain data storage for indexed data.
mariadbRelational database used for storage of metadata about Squirro projects.
nginxWeb server through which all the requests for the frontend and the Squirro services are served.
redis-server-cacheNoSQL database used for cache
redis-serverNoSQL database
sqclusterdControls multi-cluster setup of Squirro.
sqconfigurationdManages application configuration.
sqcontentdExtracts relevant content from web pages. See Noise Removal in the Data Loading and Processing manual.
sqdatasourced

Manages data loading process. See Data Loading and Processing manual.

sqdigestmailerd
sqemailsenderdSends out emails on behalf of Squirro.
sqfilteringdHandles search tagging rules. See Search Tagging and Alerting in the Data Loading and Processing manual.
sqfingerprintdManages the fingerprints (Smart Filters).
sqfrontenddFrontend service, implementing the main web interface of Squirro.
sqingesterdRefers to the Pipeline service. Manages the process of enriching and indexing data. See Pipeline Steps in the Data Loading and Processing manual.
sqmachinelearningd
sqplumberdExecutes pipelets as part of the pipeline. See Pipelets in the Data Loading and Processing manual.
sqproviderdEndpoint for the providers to import data into the system. See Data Connectors in the Data Loading and Processing manual.
sqrelatedstorydDetects near-duplicates as part of the pipeline. See Near-Duplicate Detection in the Data Loading and Processing manual.
sqschedulerdExecutes scheduled jobs that the Squirro application needs to run.
sqthumblerdCalculates thumbnails for item images that are displayed in Squirro.
sqtopicdEndpoint for the Squirro API. See Working with Squirro APIs in the API Reference.
sqtopicproxydInternal web service access to some project metadata.
sqtrendsdEndpoint for user management and authentication. See Authentication in the Reference manual.
squserd
squserproxydInternal web service access to some user data.
sqwebshotdAnalyzes web stories and identifies the most relevant image to use for visualization.
  • No labels