The according toolset consists of four additional command line tools:

1. disableschema
- disables all contexts for a given schema within the configdb
- invalidates context-caches cluster-wide
- terminates according sessions cluster-wide

Usage: disableschema
-h,--help Prints a help text
--environment Show info about commandline environment
--nonl Remove all newlines (\n) from output
-A,--adminuser <adminuser> ? master Admin user name
-P,--adminpass <adminpass> ? master Admin password
-m,--schema <schema_name> * The name of the schema to disable
-r,--rmi-hosts <rmi_hosts> A list of RMI hosts e.g. 192.168.1.25:1099,192.168.1.26. If no port is given the default RMI port 1099 is taken.. Default: rmi://localhost:1099/

2. dumpschema
- wraps mysqldump and writes the dump into a file

Usage: dumpschema
-h,--help Prints a help text
--environment Show info about commandline environment
--nonl Remove all newlines (
) from output
-A,--adminuser <adminuser> ? master Admin user name
-P,--adminpass <adminpass> ? master Admin password
-m,--schema <schema_name> * The name of the schema to dump.
-o,--out <dump_file> * The name of the dump file.
-r,--rmi-host <rmi_host> A RMI host address e.g. 192.168.1.25:1099. If no port is given the default RMI port 1099 is taken.. Default: rmi://localhost:1099/

3. replayschema
- wraps the mysql client call to replay the schema
- updates the configdb, so that all contexts of the original schema now reference the new location

Usage: replayschema [-h] [-m <source_schema> -t <target_cluster_id> -i <dump_file> -A <admin_user> -P <admin_pass> [-l <jmxLogin> -s <jmxPassword> [-p <jmxPort]] -r <rmi-host>]
-A,--adminuser <admin_user> Admin username
-h Prints a help text
-i,--in <dump_file> The dump file previously created with dumpschema
-l,--login <jmxLogin> The optional JMX login (if JMX authentication is enabled)
-m,--source-schema <source_schema> Source schema name
-P,--adminpass <admin_pass> Admin password
-p,--port <jmxPort> The optional JMX port (default:9999)
-r,--rmi-host <rmi_host> A RMI host address e.g. 192.168.1.25:1099. If no port is given the default RMI port 1099 is taken. Default: rmi://localhost:1099/
-s,--password <jmxPassword> The optional JMX password (if JMX authentication is enabled)
-t,--target-cluster-id <target_cluster_id> The target cluster identifier


4. enableschema
- enables all contexts for a given schema within the configdb
- invalidates context-caches cluster-wide

Usage: enableschema
-h,--help Prints a help text
--environment Show info about commandline environment
--nonl Remove all newlines (\n) from output
-A,--adminuser <adminuser> ? master Admin user name
-P,--adminpass <adminpass> ? master Admin password
-m,--target-schema <schema_name> * The name of the schema to enable.
-r,--rmi-hosts <rmi_hosts> A list of RMI hosts e.g. 192.168.1.25:1099,192.168.1.26. If no port is given the default RMI port 1099 is taken.. Default: rmi://localhost:1099/

To move a whole schema the tools are meant to be used in the described order. Every tool is capable to be executed remotely on a given OX backend host via RMI. Every tool that performs cluser-wide operations accepts a list of remote hosts. This option can be used to trigger those operations accross different hazelcast-domains which operate on top of the same database infrastructure. In that case one host of every hazelcast cluster has to be specified.