This is the command masterha_conf_hostp that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator
PROGRAM:
NAME
masterha_conf_host - Adding new host entry to, or removing existing host entry from a
config file
SYNOPSIS
masterha_conf_host --command=add --conf=/etc/conf/masterha/app1.cnf --hostname=db101
The following lines will be added to the conf file.
[server_db101]
hostname=db101
masterha_conf_host --command=add --conf=/etc/conf/masterha/app1.cnf --hostname=db101
--block=100 --params="no_master=1;ignore_fail=1"
The following lines will be added to the conf file.
[server_100]
hostname=db101
no_master=1
ignore_fail=1
masterha_conf_host --command=delete --conf=/etc/conf/masterha/app1.cnf --block=server100
Then entire block [server100] will be removed.
See online reference (http://code.google.com/p/mysql-master-ha/wiki/masterha_conf_host)
for details.
DESCRIPTION
See online reference (http://code.google.com/p/mysql-master-ha/wiki/masterha_conf_host)
for details.
Use masterha_conf_hostp online using onworks.net services