亚洲av成人无遮挡网站在线观看,少妇性bbb搡bbb爽爽爽,亚洲av日韩精品久久久久久,兔费看少妇性l交大片免费,无码少妇一区二区三区

  免費(fèi)注冊(cè) 查看新帖 |

Chinaunix

  平臺(tái) 論壇 博客 文庫(kù)
最近訪問(wèn)板塊 發(fā)新帖
查看: 3274 | 回復(fù): 2
打印 上一主題 下一主題

MHA自動(dòng)切換卡在通過(guò)ssh漂移VIP階段 [復(fù)制鏈接]

論壇徽章:
3
數(shù)據(jù)庫(kù)技術(shù)版塊每日發(fā)帖之星
日期:2016-05-26 06:20:00數(shù)據(jù)庫(kù)技術(shù)版塊每日發(fā)帖之星
日期:2016-07-07 06:20:00數(shù)據(jù)庫(kù)技術(shù)版塊每日發(fā)帖之星
日期:2016-07-09 06:20:00
跳轉(zhuǎn)到指定樓層
1 [收藏(0)] [報(bào)告]
發(fā)表于 2016-04-26 20:27 |只看該作者 |倒序?yàn)g覽
最近在部署MHA實(shí)現(xiàn)mysql的高可用,其中一個(gè)環(huán)節(jié)就是測(cè)試自動(dòng)切換的VIP漂移。
我如果手動(dòng)執(zhí)行ssh 192.168.208.47  “/sbin/ifconfig eth0:3  192.168.208.239”,可以正常修改192.168.208.47的IP信息
但是通過(guò)MHA自動(dòng)調(diào)用的時(shí)候就一直卡在ssh認(rèn)證階段(之前配置過(guò)SSH免鑒權(quán)),以下為具體ssh過(guò)程信息:

IN SCRIPT TEST====sudo /sbin/ifconfig eth0:3 down==sudo /sbin/ifconfig eth0:3 192.168.208.239===

Disabling the VIP on old master: 192.168.208.47
OpenSSH_5.3p1, OpenSSL 1.0.1e-fips 11 Feb 2013
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Applying options for *
debug1: Connecting to 192.168.208.47 [192.168.208.47] port 22.
debug1: Connection established.
debug1: identity file /home/mysql/.ssh/identity type -1
debug1: identity file /home/mysql/.ssh/identity-cert type -1
debug1: identity file /home/mysql/.ssh/id_rsa type 1
debug1: identity file /home/mysql/.ssh/id_rsa-cert type -1
debug1: identity file /home/mysql/.ssh/id_dsa type -1
debug1: identity file /home/mysql/.ssh/id_dsa-cert type -1
debug1: identity file /home/mysql/.ssh/id_ecdsa type -1
debug1: identity file /home/mysql/.ssh/id_ecdsa-cert type -1
debug1: Remote protocol version 2.0, remote software version OpenSSH_5.3
debug1: match: OpenSSH_5.3 pat OpenSSH*
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_5.3
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: server->client aes128-ctr hmac-md5 none
debug1: kex: client->server aes128-ctr hmac-md5 none
debug1: SSH2_MSG_KEX_DH_GEX_REQUEST(1024<1024<8192) sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP
debug1: SSH2_MSG_KEX_DH_GEX_INIT sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY
debug1: Host '192.168.208.47' is known and matches the RSA host key.
debug1: Found key in /home/mysql/.ssh/known_hosts:1
debug1: ssh_rsa_verify: signature correct
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug1: SSH2_MSG_NEWKEYS received
debug1: SSH2_MSG_SERVICE_REQUEST sent
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug1: Authentications that can continue: publickey,password
debug1: Next authentication method: publickey
debug1: Trying private key: /home/mysql/.ssh/identity
debug1: Offering public key: /home/mysql/.ssh/id_rsa
debug1: Server accepts key: pkalg ssh-rsa blen 277
debug1: read PEM private key done: type RSA
debug1: Authentication succeeded (publickey).
debug1: channel 0: new [client-session]
debug1: Requesting no-more-sessions@openssh.com
debug1: Entering interactive session.

之后就一直卡在這里,網(wǎng)上找的方法試過(guò)很多,但是都沒(méi)有成功,比如修改/etc/hosts里的主機(jī)信息,添加本機(jī)和目標(biāo)機(jī)器的IP和主機(jī)名
又比如修改/etc/ssh/sshd_config參數(shù),啟動(dòng)TCPKeepAlive  yes,添加UseDns  no,GSSAPIAuthentication 改為no,這些方法都試過(guò),但是就是不行。。。。

請(qǐng)問(wèn)各位,該如何解決呢?

求職 : Linux運(yùn)維
論壇徽章:
203
拜羊年徽章
日期:2015-03-03 16:15:432015年辭舊歲徽章
日期:2015-03-03 16:54:152015年迎新春徽章
日期:2015-03-04 09:57:092015小元宵徽章
日期:2015-03-06 15:58:182015年亞洲杯之約旦
日期:2015-04-05 20:08:292015年亞洲杯之澳大利亞
日期:2015-04-09 09:25:552015年亞洲杯之約旦
日期:2015-04-10 17:34:102015年亞洲杯之巴勒斯坦
日期:2015-04-10 17:35:342015年亞洲杯之日本
日期:2015-04-16 16:28:552015年亞洲杯紀(jì)念徽章
日期:2015-04-27 23:29:17操作系統(tǒng)版塊每日發(fā)帖之星
日期:2015-06-06 22:20:00操作系統(tǒng)版塊每日發(fā)帖之星
日期:2015-06-09 22:20:00
2 [報(bào)告]
發(fā)表于 2016-04-28 10:56 |只看該作者
sshd配置文件無(wú)關(guān)系

論壇徽章:
3
數(shù)據(jù)庫(kù)技術(shù)版塊每日發(fā)帖之星
日期:2016-05-26 06:20:00數(shù)據(jù)庫(kù)技術(shù)版塊每日發(fā)帖之星
日期:2016-07-07 06:20:00數(shù)據(jù)庫(kù)技術(shù)版塊每日發(fā)帖之星
日期:2016-07-09 06:20:00
3 [報(bào)告]
發(fā)表于 2016-04-28 11:55 |只看該作者
lyhabc 發(fā)表于 2016-04-28 10:56
sshd配置文件無(wú)關(guān)系


那和什么有關(guān)系呢。。。。
您需要登錄后才可以回帖 登錄 | 注冊(cè)

本版積分規(guī)則 發(fā)表回復(fù)

  

北京盛拓優(yōu)訊信息技術(shù)有限公司. 版權(quán)所有 京ICP備16024965號(hào)-6 北京市公安局海淀分局網(wǎng)監(jiān)中心備案編號(hào):11010802020122 niuxiaotong@pcpop.com 17352615567
未成年舉報(bào)專區(qū)
中國(guó)互聯(lián)網(wǎng)協(xié)會(huì)會(huì)員  聯(lián)系我們:huangweiwei@itpub.net
感謝所有關(guān)心和支持過(guò)ChinaUnix的朋友們 轉(zhuǎn)載本站內(nèi)容請(qǐng)注明原作者名及出處

清除 Cookies - ChinaUnix - Archiver - WAP - TOP