


Moves mirror segment instances to new locations.


gpmovemirrors -i move_config_file [-d master_data_directory] 
          [-l logfile_directory] 
          [-B parallel_processes] [-v]

gpmovemirrors -? 

gpmovemirrors --version







-B parallel_processes
-d master_data_directory
-i move_config_file
You must have one mirror segment listed for each primary segment in the system. Each line inside the configuration file has the following format (as per attributes in the gp_segment_configuration, pg_filespace, and pg_filespace_entry catalog tables):
old_address:port:fselocation \ 
Note that you only need to specify a name for filespaceOrder if your system has multiple filespaces configured. If your system does not have additional filespaces configured besides the default pg_system filespace, this file will only have one location (for the default data directory filespace, pg_system). pg_system does not need to be listed in the filespaceOrder line. It will always be the first fselocation listed after replication_port.
-l logfile_directory
-v (verbose)
Sets logging output to verbose.
--version (show utility version)
Displays the version of this utility.
-? (help)
Displays the online help.



$ gpmovemirrors -i move_config_file

Where the move_config_file looks something like this (if you do not have additional filespaces configured besides the default pg_system filespace):