⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 mmm_control.1

📁 mysql+ha. 实现高可用性 http://code.google.com/p/mysql-master-master/
💻 1
字号:
." Text automatically generated by txt2man.TH mmm_control  "06 May 2007" "MySQL Master-Master Manager" "".SH NAME\fBmmm_control \fP- MMM-cluster Management Tool\fB.SH SYNOPSIS.nf.fam C\fBmmm_control\fP\fBmmm_control\fP \fIping\fP\fBmmm_control\fP \fIshow\fP\fBmmm_control\fP @cluster_name \fIshow\fP\fBmmm_control\fP \fIset_online\fP \fIhost_name\fP\fBmmm_control\fP \fIset_offline\fP \fIhost_name\fP\fBmmm_control\fP \fImove_role\fP \fIrole_name\fP \fIhost_name\fP.fam T.fi.fam T.fi.SH DESCRIPTIONMMM (MySQL Master-Master Replication Manager) is set of flexible scriptsto perform monitoring and management of MySQL Masrter-Master replication cluster configurations..PP\fBmmm_control\fP is an interface script to mmmd_mon internals. It could perform following operaitons:.RS.IP \(bu 3Check monitoring daemon status (\fIping\fP)..IP \(bu 3Show current cluster state (with IPs/Roles/Hosts/States)..IP \(bu 3Change hosts states (online/admin_offline)..IP \(bu 3Move exclusive roles between hosts..RE.PP\fBmmm_control\fP itself does not have dedicated config file. It reads \fBmmmd_mon\fP(1) config files to get monitoring daemon control port..SH OPTIONS AND COMMANDS.TP.B@cluster_nameThis option should be always specified first. If it is used, then \fBmmm_control\fP would try to read \fBmmmd_mon\fP(1) configuration from $BASE_DIR/etc/mmm_mon_cluster_name.conf file..TP.B\fIping\fPConnects to local monitoring daemon and checks its status..TP.B\fIshow\fPDisplays detailed information about current mmm-cluster state including hosts states, roles and IPs assignments and monitoring daemon status..TP.B\fIset_online\fP hostnameChanges host status for specified host from admin_offline or awaiting_recovery to online and performs roles rebalancing..TP.B\fIset_offline\fP hostnameChanges host status for specified host from any non-offline state to to admin_offline and performs roles rebalancing..TP.B\fImove_role\fP rolename hostnameCould be used for 'exclusive' roles only. Moves 'exclusive' role from one ONLINE host to another and performs rolesrebalancing..SH CONFIGURATIONThis script uses $BASEDIR/etc/mmm_mon.conf file for its configuration. If cluster name option provided, then $BASE_DIR/etc/mmm_mon_cluster_name.conf file used..SH SEE ALSOMore information could be found in \fBmmm_mon.conf\fP(5), \fBmmmd_mon\fP(1)..SH AUTHORDeveloped by Alexey Kovyrin <http://blog.kovyrin.net>. Consulting and ideasprovided by Peter Zaitsev from Percona Ltd company <http://mysqlperformanceblog.com>.

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -