Uploaded image for project: 'MariaDB MaxScale'
  1. MariaDB MaxScale
  2. MXS-1664

Add --runtimedir config parameter for specifying relative location of all directories/files

    Details

    • Type: Task
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.3.0
    • Component/s: Core
    • Labels:
      None
    • 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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                marko.rajala Marko Rajala
                Reporter:
                johan.wikman Johan Wikman
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: