stop agents [[--hosts=host_list]site_name]This command stops one or more MySQL Cluster Manager agents on one or more hosts.
When used without any arguments,stop agents stops the agent to which the client is currently connected.
When used with the name of a management site, the command stops all agents running on hosts making up the site. The following stops all MySQL Cluster Manager agents running on hosts inmysite:
mcm> stop agents mysite; You can also stop a subset of the agents in a given management site by listing the hosts where they are running with the--hosts option (short form:-h), along with the name of the site to which they belong. The result of the following command is to stop MySQL Cluster Manager agents running on hostskolja andtorsk, both of which are members of the management sitemysite:
mcm> stop agents --hosts=kolja,torsk mysite; Multiple host names following the--hosts option should be separated by commas, with no intervening spaces. Invokingstop agents with this option without supplying asite_name causes a syntax error. Using an undefinedsite_name or names of hosts not belonging to the site with this command also results in an error.
When IPv6-enabled Windows systems are used as MySQL NDB Cluster hosts under MySQL Cluster Manager, you must reference these hosts using IPv4 addresses. Otherwise, MySQL Cluster Manager will be unable to connect to the agent processes on those hosts. SeeSection 6.1, “MySQL Cluster Manager Usage and Design Limitations”.