物理マシンを起動できません:192.168.10.1(Mesos、飼育係、マラソン)
仮想マシン:192.168.122.10(Mesos、飼育係)
仮想マシン:192.168.122.46(Mesos、飼育係)Mesos /マラソンクラスタ
3台すべてのOSがFedora 23サーバー
2台のネットワークは、仮想マシンがすべて物理マシン上に存在するため、既定で相互配線されています。
ファイアウォールの設定はありません。
Mesos選挙LOG:
Master bound to loopback interface! Cannot communicate with remote schedulers or slaves. You might want to set '--ip' flag to a routable IP address.
私はこれを手動で設定することができ、しかし、私はこれを動的に設定することはできません... --ip_discovery_command
フラグが認識されません。
私がしたいことは、以下のスクリプトをそのフラグにリンクすることでした。
if [[ $(ip addr) == *enp8s0* ]];
then
ip addr show enp8s0 | awk -F'/| ' '/inet/ { print $6 }'
else
ip addr show eth0 | awk -F'/| ' '/inet/ { print $6 }'
fi
私はこれを手動で設定しない場合は(私がやりたいことではないものを)...
IP:5050
でMesosページがアップします...が、その後mesos-マスターはのために1分後に障害が発生しましたこの...
F0427 17:03:27.975260 6914 master.cpp:1253] Recovery failed: Failed to recover registrar: Failed to perform fetch within 1mins
*** Check failure stack trace: ***
@ 0x7f8360fa9edd (unknown)
@ 0x7f8360fabc50 (unknown)
@ 0x7f8360fa9ad3 (unknown)
@ 0x7f8360fac61e (unknown)
@ 0x7f83619a85dd (unknown)
@ 0x7f83619e7c30 (unknown)
@ 0x55a885ee3b2e (unknown)
@ 0x7f8361a11c0e (unknown)
@ 0x7f8361a5d75e (unknown)
@ 0x7f8361a7077a (unknown)
@ 0x7f83618f4aae (unknown)
@ 0x7f8361a70768 (unknown)
@ 0x7f8361a548d0 (unknown)
@ 0x7f8361fc832c (unknown)
@ 0x7f8361fd42a5 (unknown)
@ 0x7f8361fd472f (unknown)
@ 0x7f8360a5e60a start_thread
@ 0x7f835fefda4d __clone Aborted (core dumped)
飼育係は、このような設定である:
# The number of milliseconds of each tick
tickTime=2000
# The number of ticks that the initial
# synchronization phase can take
initLimit=10
# The number of ticks that can pass between
# sending a request and getting an acknowledgement
syncLimit=5
# the directory where the snapshot is stored.
# do not use /tmp for storage, /tmp here is just
# example sakes.
dataDir=/var/lib/zookeeper/data
dataLogDir=/var/lib/zookeeper/log
# the port at which the clients will connect
clientPort=2181
# the maximum number of client connections.
# increase this if you need to handle more clients
#maxClientCnxns=60
#
# Be sure to read the maintenance section of the
# administrator guide before turning on autopurge.
#
# http://zookeeper.apache.org/doc/current/zookeeperAdmin.html#sc_maintenance
#
# The number of snapshots to retain in dataDir
#autopurge.snapRetainCount=3
# Purge task interval in hours
# Set to "0" to disable auto purge feature
#autopurge.purgeInterval=1
server.1:192.168.10.1:2888:3888
server.2:192.168.122.46:2888:3888
server.3:192.168.122.10:2888:3888
とどのようにVERIには考えていますそれは正常に動作していることをfy ...
私は正直に私のロープの最後にあります..これは貧しいドキュメンテーションと適切なアーキテクチャの説明(主にマラソン)の欠如のためにこれで過去1週間私の髪を引っ張ってひどくシステムログは、適切にbashを解析して出力を変数として使用することができず、すべての命令が不足しています。
何か間違っていますか?私が得ることができる援助を感謝します。私がまだ提供していないものが必要な場合は教えてください。すぐに投稿します。
EDIT:
私は、彼らが定足数を形成することができるようにVMのに二つの追加マラソンサーバを追加することで、マラソンの問題を修正しました。
EDIT2:
私は今Mesosサーバーがリーダーを再選出急速に保つ問題を抱えて...しかし、私はこの後になります結果に応じています...
ほんの少しのヘッドアップ@tobi:open.mesosphere.comが廃止され、すぐに離れて行くだろう、ではないかもしれませんrefとして使用したいと思っています;) –
@MichaelHausenblasヘッドアップに感謝します。これがページのどこかに記述されているといいでしょう。私は提供された利用可能なリンクを使って異なるOSのクラスタを構成することができたので、彼らはまだ正しいと思われる(最新のMesosバージョン)。 – Tobi
私のインストールには/ etc/mesosと/ etc/mesos-masterや/ etc/zookeeper/conf /ディレクトリがありません。私の飼い主はうまく走っています。病気を作り、それがどうなるか見てみましょう。 – Procyclinsur