AerospikeでMigrateの進捗を確認する方法

f:id:komeiy:20150329230850p:plain

Aerospike Migrateの進捗を確認する方法です。

  • /var/log/aerospike/aerospike.log
DEBUG (migrate): (migrate.c:migrate_rx_reaper_reduce_fn:1820) reaping expired done mig rx 1535 (done recv count 1 ; start ms 1358278692 ; done ms 1358278694) from node bb9cd97b24a280a
  • migrate中
Monitor> info
===NODES===
Sorting by IP, in Ascending order:
ip:port                                                 Build   Cluster      Cluster   Free   Free   Migrates              Node         Principal   Replicated    Sys
                                                            .      Size   Visibility   Disk    Mem          .                ID                ID      Objects   Free
                                                            .         .            .    pct    pct          .                 .                 .            .    Mem
aerospike01:3000    3.5.3         2         true     99     99      (0,1)   BB9E28901985406   BB9E28901985406        5,689     82
aerospike02:3000    3.5.3         2         true     99     99   (3573,0)   BB9CD97B24A280A   BB9E28901985406       64,319     82
Number of nodes displayed: 2
  • migrate完了
ip:port                                                 Build   Cluster      Cluster   Free   Free   Migrates              Node         Principal   Replicated    Sys
                                                            .      Size   Visibility   Disk    Mem          .                ID                ID      Objects   Free
                                                            .         .            .    pct    pct          .                 .                 .            .    Mem
aerospike01:3000    3.5.3         2         true     99     99      (0,0)   BB9E28901985406   BB9E28901985406      153,589     92
aerospike02:3000    3.5.3         2         true     99     99      (0,0)   BB9CD97B24A280A   BB9E28901985406       63,712     82
Number of nodes displayed: 2

シェアして頂けると嬉しいです。
参考になったという方がいれば是非お願いしますm(_ _ )m
モチベーション維持の観点で非常に励みになります。

このエントリーをはてなブックマークに追加

[24時間365日] サーバ/インフラを支える技術 ?スケーラビリティ、ハイパフォーマンス、省力運用 (WEB+DB PRESS plusシリーズ)

[24時間365日] サーバ/インフラを支える技術 ?スケーラビリティ、ハイパフォーマンス、省力運用 (WEB+DB PRESS plusシリーズ)

インフラデザインパターン ~安定稼動に導く127の設計方式 (WEB+DB PRESS plus)

インフラデザインパターン ~安定稼動に導く127の設計方式 (WEB+DB PRESS plus)