set SessionModule to FS

Moderator: crythias

Locked
Giulio Soleni
Znuny wizard
Posts: 392
Joined: 30 Dec 2010, 14:35
Znuny Version: 6.0.x and 5.0.x
Real Name: Giulio Soleni
Company: IKS srl

set SessionModule to FS

Post by Giulio Soleni »

Hi, I would like to increase the performances of OTRS and try to get rid of some annoying warnings in the log related to sessions.
For this reason I would change the SessionModule from DB to FS.
From the manual I can read
With "DB" the frontend server can be splitted from the db server.
... what does that actually mean?

And do you think is it safe to switch the SessionModule from DB to FS without harming the system ?

Thank you
OTRS 6.0.x on CentOS 7.x with MariaDB 10.2.x database connected to an Active Directory for Agents and Customers.
ITSM and FAQ modules installed.
eandrex
Znuny expert
Posts: 213
Joined: 04 Nov 2012, 23:58
Znuny Version: OTRS 4.x
Real Name: Esteban
Company: NORTON DE COLOMBIA

Re: set SessionModule to FS

Post by eandrex »

it is safe to switch, just make sure that your webserver can write and read in your OTRS "SessionDir". it deafuls to <OTRS_HOME>/var/sessions.. if you switch, the current logged users will have to log in again.
Giulio Soleni
Znuny wizard
Posts: 392
Joined: 30 Dec 2010, 14:35
Znuny Version: 6.0.x and 5.0.x
Real Name: Giulio Soleni
Company: IKS srl

Re: set SessionModule to FS

Post by Giulio Soleni »

Thank you eandrex, I will switch to FS at the earliest opportunity.
However still I do not know how should I interpret that "frontend server can be splitted from the db server" in the manual, and if this "split" may imply some side effects for example when I'll decide to update the system.
OTRS 6.0.x on CentOS 7.x with MariaDB 10.2.x database connected to an Active Directory for Agents and Customers.
ITSM and FAQ modules installed.
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: set SessionModule to FS

Post by crythias »

It means that if you're using DB for session management, the database server can exist on any accessible-to-the-OTRS-box server, therefore "split" from the web/front end interface. (Good for load balancing, perhaps). However, if you use filesystem/FS, your session management can (effectively) only be "local" to the OTRS server (mount-points aside).
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
Giulio Soleni
Znuny wizard
Posts: 392
Joined: 30 Dec 2010, 14:35
Znuny Version: 6.0.x and 5.0.x
Real Name: Giulio Soleni
Company: IKS srl

Re: set SessionModule to FS

Post by Giulio Soleni »

Thank you crythias.
Since my OTRS system is one single box where everything is hosted on the same VM I think that I will definitely select FS session management.
OTRS 6.0.x on CentOS 7.x with MariaDB 10.2.x database connected to an Active Directory for Agents and Customers.
ITSM and FAQ modules installed.
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: set SessionModule to FS

Post by jojo »

you can also use a ramdisk like explained in the manual

http://otrs.github.io/doc/manual/admin/ ... otrs-cache
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
Locked