使用的是jboss7.1.1, jndi的配置在$JBOSS_HOME/standalone/configuration/standalone.xml中进行配置.配置jndi时有很多参数,解释下用到的一些参数: jndi-name The JNDI name under which the Datasource should be bound. datasource需要绑定的JNDI名称. use-java-context Boolean value indicating whether…
mha配置参数详解: 参数名字 是否必须 参数作用域 默认值 示例 hostname Yes Local Only - hostname=mysql_server1, hostname=192.168.0.1, etc ip No Local Only gethostbyname($hostname) ip=192.168.1.3 port No Local/App/Global 3306 port=3306 ssh_host No Local Only same as hostname ssh…