Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Done
-
2.1.0, 2.1.1
-
None
Description
Following is from 2.1.0 release notes, but MaxAdmin reference guide has not been updated to show these commands
Dynamic configuration
|
|
|
MaxScale 2.1 supports dynamic configuration of servers, monitors and listeners. A set of new commands were added to maxadmin. See output of maxadmin help and maxadmin help { create | destroy | alter | add | remove } for more details.
|
|
|
Dynamic server configuration
|
|
|
MaxScale can now change the servers of a service or a monitor at run-time. New servers can also be created and they will persisted even after a restart.
|
|
|
create server: Creates a new server
|
destroy server: Destroys a created server
|
add server: Adds a server to a service or a monitor
|
remove server: Removes a server from a service or a monitor
|
alter server: Alter server configuration
|
alter monitor: Alter monitor configuration
|
With these new features, you can start MaxScale without the servers and define them later.
|
|
|
Dynamic listener configuration
|
|
|
New listeners for services can be created and destroyed at runtime. This allows the services to adapt to changes in client traffic.
|
|
|
create listener: Create a new listener
|
destroy listener: Destroy a created listener. The listener will stop handling client requests and will be removed after the next restart of MaxScale.
|
In addition to these commands, individual listeners can now be stopped and started.
|
|
|
shutdown listener: Stop a listener
|
restart listener: Restart a listener
|
Dynamic monitor configuration
|
|
|
New monitors can be created, modified and destroyed at runtime. This allows new clusters to be added into MaxScale by defining new monitors for them. The monitor parameters can also be changed at runtime making them more adaptive and allowing runtime tuning of parameters.
|
|
|
create monitor: Create a new monitor
|
destroy monitor: Destroy a created monitor
|
alter monitor: Alter monitor parameters
|