LoginSignup
2
1

More than 1 year has passed since last update.

ProxmoxでノードのIDを変更する方法

Posted at

Proxmoxでクラスターを設定していて順番を間違って設定してしまった場合、

root@hoge01:~# pvecm nodes

Membership information
----------------------
    Nodeid      Votes Name
         1          1 hoge01 (local)
         2          1 hoge03

Nodeidが以下のようになってしまうことがある。
構築段階であれば、一度ノードを削除して正しい順番でクラスターを設定しなおしてもいいが簡単な設定があったのでメモ。

root@hoge01:~# less /etc/pve/corosync.conf 

~~~~~一部抜粋~~~~~

nodelist {
  node {
    name: hoge01
    nodeid: 1
    quorum_votes: 1
    ring0_addr: ***.***.***.※※※
  }
  node {
    name: hoge03
    nodeid: 2
    quorum_votes: 1
    ring0_addr: ***.***.***.※※※
  }
}

~~~~~

と書いてあるだけなので、クラスターの親ホスト側でこのNodeIDを変更して保存してあげるだけでOK。
変更が終わったらrebootかけておけば安心かなと。


nodelist {
  node {
    name: hoge01
    nodeid: 1
    quorum_votes: 1
    ring0_addr: ***.***.***.※※※
  }
  node {
    name: hoge03
    nodeid: 3
    quorum_votes: 1
    ring0_addr: ***.***.***.※※※
  }
}

結構簡単な作りなんですねえ。と思った次第。

2
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
1