YMatrix
Quick Start
Cluster Deployment
Data Model
Data Writing
Data Query
SQL Reference
Maintenance and Monitoring
Tool Guide
Troubleshooting
FAQ
The gpactivatestandby tool can activate the Standby instance and use it as a new Master instance of the MatrixDB cluster. The user must run the tool on the Standby host to activate.
After Standby is activated to become the new master, there is no new Standby in the MatrixDB cluster. Users need to regenerate using the gpinitstandby tool.
Parameter name | Description |
---|---|
-a | Do not prompt the user to confirm. |
-d standby_master_datadir | Absolute path to the activated Standby data directory. If this option is not specified, the $MASTER_DATA_DIRECTORY environment variable setting will be used. |
-f | Use this option to force activate Standby. This option can only be used if it is determined that Standby and Master are consistent. |
-l logfile_directory | Directory to write to the log file. The default is ~/gpAdminLogs. |
-q | Operate in silent mode. The command output will not be displayed on the screen, but will still be written to the log file. |
-v | Shows the version, status, date of last update, and checksum of this tool. |
-? or -h or --help | Show help information. |
Activate Standby in the /gpdata
directory:
gpactivatestandby -d /gpdata