このスレッドは未解決です(解決したらこちらで解決済にしてください)
<<戻る

複数のHA+DRBD+samba環境でnmbdが頻繁に停止 このメッセージに返信する
日時: 2013/03/24(Sun) 11:11
名前: 小湊奈美子
URL:
いつもお世話になっております。

4台のサーバを2台ずつHAにてクラスタ化し、みなし2つのサーバ上にそれぞれsmbによる共有ディレクトリを作成しています。
ところが頻繁にnmbdがエラーを出力して停止、引きずられてHAのフェールオーバーが多発してしまっています。
所属しているドメインが同じなのと、ログを見る限りマスターブラウザの取り合いをしてしまっているようにも見受けられるのですが、解決方法がわかりません。
どうか、お知恵を拝借できませんでしょうか。

【環境】
vnash01 192.168.0.107
vnash02 192.168.0.123
vftph01 192.168.0.108
vftph02 192.168.0.124
cnash01 192.168.0.91
cftph01 192.168.0.92

vnash01/02、およびvftph01/02でクラスタ化しており、それぞれの代表ホスト名、代表アドレスがcnash01,cftph01になっています。

【OS】
CentOS 5.6 i386

【設定】

>>vnash01/vnash02 smb.conf
[global]
unix charset = UTF-8
dos charset = CP932
display charset = UTF-8
workgroup = MAID
server string = Samba Server
netbios name = cnash01
hosts allow = 192.168.0.
security = user
passdb backend = tdbsam
load printers = no
disable spoolss = yes
cups options = raw
smb ports = 139
printing = bsd
log file = /var/log/samba/smblog
domain master = yes
local master = yes
preferred master = yes
wins support = yes
os level = 99
[nas]
comment = Network Access Storage
path = /nas/smb
public = no
guest ok = no
writable = yes
create mask = 0777
directory mask = 0777

vftph01/02 smb.conf
[global]
unix charset = UTF-8
dos charset = CP932
display charset = UTF-8
workgroup = MAID
server string = Samba Server
netbios name = cftph01
hosts allow = 192.168.0.
security = user
passdb backend = tdbsam
load printers = no
disable spoolss = yes
cups options = raw
smb ports = 139
printing = bsd
log file = /var/log/samba/smblog
[ftp]
comment = FTP Storage
path = /ftp/dieweisz
public = no
guest ok = no
writable = yes
create mask = 0777
directory mask = 0777

ログは次のメッセージに記載させていただきました。
よろしくお願いします
記事編集 編集
Re: 複数のHA+DRBD+samba環境でnmbdが頻繁に停止 このメッセージに返信する
日時: 2013/03/24(Sun) 11:14
名前: 小湊奈美子
URL:
文字数制限でログを貼り付けできませんでしたので、以下に追記します。

<27>Mar 24 04:02:17 vnash01 nmbd[25602]: [2013/03/24 04:02:17, 0] nmbd/nmbd.c:terminate(58)
<27>Mar 24 04:02:17 vnash01 nmbd[25602]: Got SIGTERM: going down...
<6>Mar 24 04:02:33 vnash01 kernel: block drbd0: role( Primary -> Secondary )
<6>Mar 24 04:02:33 vnash01 kernel: block drbd0: bitmap WRITE of 0 pages took 1 jiffies
<6>Mar 24 04:03:53 vnash02 kernel: block drbd0: peer( Primary -> Secondary )
<6>Mar 24 04:03:54 vnash02 kernel: block drbd0: peer( Secondary -> Primary )
<6>Mar 24 04:02:34 vnash01 kernel: block drbd0: role( Secondary -> Primary )
<6>Mar 24 04:02:38 vnash01 kernel: kjournald starting. Commit interval 5 seconds
<6>Mar 24 04:02:38 vnash01 kernel: EXT3 FS on drbd0, internal journal
<6>Mar 24 04:02:38 vnash01 kernel: EXT3-fs: mounted filesystem with ordered data mode.
<27>Mar 24 04:02:44 vnash01 nmbd[16734]: [2013/03/24 04:02:44, 0] nmbd/asyncdns.c:start_async_dns(151)
<27>Mar 24 04:02:44 vnash01 nmbd[16734]: started asyncdns process 16735
<27>Mar 24 04:02:44 vnash01 nmbd[16734]: [2013/03/24 04:02:44, 0] nmbd/nmbd_become_dmb.c:become_domain_master_browser_wins(335)
<27>Mar 24 04:02:44 vnash01 nmbd[16734]: become_domain_master_browser_wins:
<27>Mar 24 04:02:44 vnash01 nmbd[16734]: [2013/03/24 04:02:44, 0] nmbd/nmbd_become_dmb.c:become_domain_master_browser_wins(349)
<27>Mar 24 04:02:44 vnash01 nmbd[16734]: become_domain_master_browser_wins: querying WINS server from IP 192.168.0.107 for domain master browser name MAID<1b> on workgroup MAID
<27>Mar 24 04:02:44 vnash01 nmbd[16734]: [2013/03/24 04:02:44, 0] nmbd/nmbd_become_dmb.c:become_domain_master_stage2(113)
<27>Mar 24 04:02:44 vnash01 nmbd[16734]: [2013/03/24 04:02:44, 0] nmbd/nmbd_become_dmb.c:become_domain_master_browser_bcast(290)
<27>Mar 24 04:02:44 vnash01 nmbd[16734]: become_domain_master_browser_bcast:
<27>Mar 24 04:02:44 vnash01 nmbd[16734]: Attempting to become domain master browser on workgroup MAID on subnet 192.168.0.91
<27>Mar 24 04:02:45 vnash01 nmbd[16734]: [2013/03/24 04:02:45, 0] nmbd/nmbd_become_dmb.c:become_domain_master_browser_bcast(303)
<27>Mar 24 04:02:45 vnash01 nmbd[16734]: become_domain_master_browser_bcast: querying subnet 192.168.0.91 for domain master browser on workgroup MAID
<27>Mar 24 04:02:45 vnash01 nmbd[16734]: [2013/03/24 04:02:45, 0] nmbd/nmbd_become_dmb.c:become_domain_master_browser_bcast(290)
<27>Mar 24 04:02:45 vnash01 nmbd[16734]: become_domain_master_browser_bcast:
<27>Mar 24 04:02:45 vnash01 nmbd[16734]: Attempting to become domain master browser on workgroup MAID on subnet 192.168.0.107
<27>Mar 24 04:02:45 vnash01 nmbd[16734]: [2013/03/24 04:02:45, 0] nmbd/nmbd_become_dmb.c:become_domain_master_browser_bcast(303)
<27>Mar 24 04:02:45 vnash01 nmbd[16734]: become_domain_master_browser_bcast: querying subnet 192.168.0.107 for domain master browser on workgroup MAID
<27>Mar 24 04:02:53 vnash01 nmbd[16734]: [2013/03/24 04:02:53, 0] nmbd/nmbd_become_dmb.c:become_domain_master_stage2(113)
<27>Mar 24 04:02:53 vnash01 nmbd[16734]: Samba server CNASH01 is now a domain master browser for workgroup MAID on subnet 192.168.0.91
<27>Mar 24 04:02:53 vnash01 nmbd[16734]: [2013/03/24 04:02:53, 0] nmbd/nmbd_become_dmb.c:become_domain_master_stage2(113)
<27>Mar 24 04:02:53 vnash01 nmbd[16734]: Samba server CNASH01 is now a domain master browser for workgroup MAID on subnet 192.168.0.107
<27>Mar 24 04:02:37 vftph02 nmbd[3538]: [2013/03/24 04:02:37, 0] nmbd/nmbd_become_lmb.c:become_local_master_stage2(396)
<27>Mar 24 04:02:37 vftph02 nmbd[3538]: Samba name server CFTPH01 is now a local master browser for workgroup MAID on subnet 192.168.0.124
<27>Mar 24 04:03:07 vnash01 nmbd[16734]: [2013/03/24 04:03:07, 0] nmbd/nmbd_become_lmb.c:become_local_master_stage2(396)
<27>Mar 24 04:03:07 vnash01 nmbd[16734]: Samba name server CNASH01 is now a local master browser for workgroup MAID on subnet 192.168.0.91
<27>Mar 24 04:03:07 vnash01 nmbd[16734]: [2013/03/24 04:03:07, 0] nmbd/nmbd_become_lmb.c:become_local_master_stage2(396)
<27>Mar 24 04:03:07 vnash01 nmbd[16734]: Samba name server CNASH01 is now a local master browser for workgroup MAID on subnet 192.168.0.107
<27>Mar 24 04:07:15 vnash01 nmbd[16734]: [2013/03/24 04:07:15, 0] nmbd/nmbd_incomingdgrams.c:process_local_master_announce(309)
<27>Mar 24 04:07:15 vnash01 nmbd[16734]: process_local_master_announce: Server CFTPH01 at IP 192.168.0.124 is announcing itself as a local master browser for workgroup MAID and we think we are master. Forcing election.
<27>Mar 24 04:07:15 vnash01 nmbd[16734]: [2013/03/24 04:07:15, 0] nmbd/nmbd_become_lmb.c:unbecome_local_master_success(149)
<27>Mar 24 04:07:15 vnash01 nmbd[16734]: Samba name server CNASH01 has stopped being a local master browser for workgroup MAID on subnet 192.168.0.91
<27>Mar 24 04:07:32 vnash01 nmbd[16734]: [2013/03/24 04:07:32, 0] nmbd/nmbd_become_lmb.c:become_local_master_stage2(396)
<27>Mar 24 04:07:32 vnash01 nmbd[16734]: Samba name server CNASH01 is now a local master browser for workgroup MAID on subnet 192.168.0.91

なにとぞ、よろしくお願いします。
記事編集 編集
件名※必須
名前※必須
URL
任意のパスワード (投稿後のコメント修正・削除時に使用)
画像認証※必須 投稿キー(画像で表示されている数字を入力)
コメント※必須

※質問を投稿後に自己解決された場合は、原因と行った対処を具体的に書き込み下さるよう、よろしくお願いします。

- WEB PATIO -