To change the IP address associated with a DRBD resource follow these steps:

  1. Follow the steps laid out for lk_chg_value here.
  2. Ensure your new ip has been added to /etc/hosts file.
  3. Have LifeKeeper started and the DRBD resource ISP.
  4. DRBD will show connection down on replication paths.
  5. Run lkcli drbd changeip --oldip <oldip> --newip <newip> [--tag <tag>] on the primary, ISP node
    1. Not including the tag argument will change the ipv4 address across all DRBD resources associated with the node where the command is run.
    2. This command only needs to be run on one node.
  6. Verify replication has resumed in the GUI or via the cli by running lkcli drbd status -- tag <tag> [-- update].

Feedback

Was this helpful?

Yes No
You indicated this topic was not helpful to you ...
Could you please leave a comment telling us why? Thank you!
Thanks for your feedback.

Post your comment on this topic.

Post Comment