create server

Overview

Creates a new server module.

See also: MaxCtrl Commands for MariaDB MaxScale 22.08, in 6, in 2.5, and in 2.4

USAGE

The following local options are accepted:

Option

Description

--authenticator

Authenticator module name (deprecated) [string]

--authenticator-options

Option string for the authenticator (deprecated) [string]

--monitors

Link the created server to these monitors [array]

--protocol

Protocol module name (deprecated) [string] [default: "mariadbbackend"]

--services

Link the created server to these services [array]

--tls

Enable TLS (deprecated) [boolean]

--tls-ca-cert

Path to TLS CA certificate (deprecated) [string]

--tls-cert

Path to TLS certificate (deprecated) [string]

--tls-cert-verify-depth

TLS certificate verification depth (deprecated) [number]

--tls-key

Path to TLS key (deprecated) [string]

--tls-verify-peer-certificate

Enable TLS peer certificate verification (deprecated) [boolean]

--tls-verify-peer-host

Enable TLS peer host verification (deprecated) [boolean]

--tls-version

TLS version to use (deprecated) [string]

The following global options are also accepted:

Option

Description

--config (-c)

MaxCtrl configuration file [string] [default: "~/.maxctrl.cnf"]

--help

Show help [boolean]

--hosts (-h)

List of MaxScale hosts. The hosts must be in HOST:PORT format and each value must be separated by a comma. [string] [default: "127.0.0.1:8989"]

--password (-p)

Password for the user. To input the password manually, use -p '' or --password='' [string] [default: "mariadb"]

--quiet (-q)

Silence all output. Ignored while in interactive mode. [boolean] [default: false]

--secure (-s)

Enable HTTPS requests [boolean] [default: false]

--skip-sync

Disable configuration synchronization for this command [boolean] [default: false]

--timeout (-t)

Request timeout in plain milliseconds, e.g., '-t 1000', or as duration with suffix [h|m|s|ms], e.g., '-t 10s' [string] [default: "10000"]

--tls-ca-cert

Path to TLS CA certificate [string]

--tls-cert

Path to TLS public certificate [string]

--tls-key

Path to TLS private key [string]

--tls-passphrase

Password for the TLS private key [string]

--tls-verify-server-cert (-n)

Whether to verify server TLS certificates [boolean] [default: true]

--tsv

Print tab separated output [boolean] [default: false]

--user (-u)

Username to use [string] [default: "admin"]

--version

Show version number [boolean]

CHANGE HISTORY

Release Series

History

22.08

  • Present starting in MariaDB MaxScale 22.08.1.

6

  • Present starting in MariaDB MaxScale 6.0.0.

2.5

  • Present starting in MariaDB MaxScale 2.5.0.

2.4

  • Present starting in MariaDB MaxScale 2.4.0.

EXTERNAL REFERENCES