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