[MXS-1664] Add --runtimedir config parameter for specifying relative location of all directories/files Created: 2018-02-12  Updated: 2018-07-09  Resolved: 2018-07-09

Status: Closed
Project: MariaDB MaxScale
Component/s: Core
Affects Version/s: None
Fix Version/s: 2.3.0

Type: Task Priority: Major
Reporter: Johan Wikman Assignee: Marko Rajala (Inactive)
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Relates
relates to MXS-1661 Excessive logging by MySQLAuth at aut... Closed
Sprint: MXS-SPRINT-61

 Description   

In case you want to run multiple MaxScale instances on one computer, it is necessary to explicitly specify numerous directories and files.

To make it easier to do that, there should be one flag using which (almost all) directorylocations can be specified. E.g.

maxscale --runtimedir=/maxscale/instance1

That the would case MaxScale to look for everything else relative to that directory

/maxscale/instance1/etc/maxscale.cnf
/maxscale/instance1/var/log/maxscale/maxscale.log
/maxscale/instance1/var/cache/maxscale/
...

This flag would be almost the same as -- basedir, the difference being that --basedir also specifies the location of the binary files.

In practice,-- basedir is mostly useful for developers and other who may want to run multiple maxscale versions concurrently or one after the other, while -- runtimedir would be useful for MaxScale end-users who want to run different MaxScale instances (of the same version) concurrently.


Generated at Thu Feb 08 04:08:29 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.