To start or stop Fabric nodes, use the
mysqlfabric command (see
Section 8.4, “The
mysqlfabric Utility”). This requires that Fabric and
Connector/Python be installed.
Use the following command to start a Fabric node. This should be
one of the servers listed in the
[protocol.xmlrpc] section in the configuration
mysqlfabric manage start
This command starts a Fabric node on the machine where it is
executed and prints the log to standard output. Thus, this is the
machine where you installed the Fabric and Connector/Python
software and is also the machine listed in the configuration file
[protocol.xmlrpc] section. To follow the
examples in the quick-start section, you must use
localhost for the host name.
To put the Fabric node in the background, add the
--daemonize option. However, this will divert the
log to the syslog file. While experimenting with Fabric, you may
find it more convenient not to use
that the log is written to your terminal.
Use this command to stop a Fabric node:
mysqlfabric manage stop
This command contacts the Fabric running at the address mentioned
[protocol.xmlrpc] section and requests
it to stop.