[MXS-1445] Add script variables Created: 2017-09-18 Updated: 2019-12-10 Resolved: 2017-09-22 |
|
| Status: | Closed |
| Project: | MariaDB MaxScale |
| Component/s: | Core |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Task | Priority: | Major |
| Reporter: | Johan Wikman | Assignee: | Johan Wikman |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||||||
| Epic Link: | MaxScale MRM | ||||||||||||
| Sprint: | 2017-42 | ||||||||||||
| Description |
|
The failover and switchover scripts need to be provided with credentials using which the scripts can access and make modifications to the affected servers. The scripts will use the same credentials as the MaxScale monitor does. In the MaxScale configuration file it is possible to provide credentials for the monitor, to be used with all servers, and also servers specific monitor credentials. A new script variable, e.g. CREDENTIALS could be introduced that would contain the credentials for all nodes.
When executed, the command line would look like:
|