PVE datacenter change join ip address

yetefo9718

New Member
Jun 24, 2024
5
0
1
Hi there, I want change join ip address in cluster but i don't have any idea how to do this.
I'm tried to change ip / joiniformation with this steps:
1. was added failover link to cluster with needed ip in /etc/pve/corosync.conf
2. was changed /etc/hosts
3. added bridge with ip /etc/network/interfaces
after that was regenerated certificates with pvecm updatecerts -f on master node and in finally I'm tried to recreate ssh connection certificates.
Error was: root@192.169.1.10 Permision denied (publickey, password).

initial config contain three nodes with configs:
  1. pve001
    • vmbr0: 192.168.1.10/24 gateway: 192.168.1.1
    • vmbr1: 192.170.1.2/24
    • bond0: 192.160.5.11/24
  2. pve002
    • vmbr0: 192.168.1.11/24 gateway: 192.168.1.1
    • vmbr1: 192.170.1.3/24
    • bond0: 192.160.5.12/24
  3. pve003
    • vmbr0: 192.168.1.12/24 gateway: 192.168.1.1
    • vmbr1: 192.170.1.4/24
    • bond0: 192.160.5.13/24
 
but after that HA cant start vm when physic server was shutdown. VM was transfered on another node and get error start failed '
data1:vm-100-state-suspend-2020-07-02' as vmstate
TASK ERROR: start failed: command '/usr/bin/kvm -id 100 -name Oracle12c-DRSV -chardev 'socket,id=qmp,path=/var/run/qemu-server/100.qmp,server,nowait' -mon 'chardev=qmp,mode=control' -chardev 'socket,id=qmp-event,path=/var/run/qmeventd.sock,reconnect=5' -mon 'chardev=qmp-event,mode=control' -pidfile /var/run/qemu-server/100.pid -daemonize -smbios 'type=1,uuid=e5ceddea-847f-4a7b-9d20-07af96b8eb87' -drive 'if=pflash,unit=0,format=raw,readonly,file=/usr/share/pve-edk2-firmware//OVMF_CODE.fd' -drive 'if=pflash,unit=1,format=raw,id=drive-efidisk0,size=131072,file=/dev/zvol/data1/vm-100-disk-1' -smp '2,sockets=1,cores=2,maxcpus=2' -nodefaults -boot 'menu=on,strict=on,reboot-timeout=1000,splash=/usr/share/qemu-server/bootsplash.jpg' -vnc unix:/var/run/qemu-server/100.vnc,password -cpu kvm64,enforce,+kvm_pv_eoi,+kvm_pv_unhalt,+lahf_lm,+sep -m 8192 -device 'pci-bridge,id=pci.1,chassis_nr=1,bus=pci.0,addr=0x1e' -device 'pci-bridge,id=pci.2,chassis_nr=2,bus=pci.0,addr=0x1f' -device 'vmgenid,guid=8d090401-390b-442c-b837-21edebbe4c44' -device 'piix3-usb-uhci,id=uhci,bus=pci.0,addr=0x1.0x2' -device 'usb-tablet,id=tablet,bus=uhci.0,port=1' -device 'VGA,id=vga,bus=pci.0,addr=0x2' -device 'virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x3' -iscsi 'initiator-name=iqn.1993-08.org.debian:01:8f70ffbca41a' -drive 'if=none,id=drive-ide2,media=cdrom,aio=threads' -device 'ide-cd,bus=ide.1,unit=0,drive=drive-ide2,id=ide2,bootindex=200' -device 'ahci,id=ahci0,multifunction=on,bus=pci.0,addr=0x7' -drive 'file=/dev/zvol/data1/vm-100-disk-0,if=none,id=drive-sata0,format=raw,cache=none,aio=native,detect-zeroes=on' -device 'ide-hd,bus=ahci0.0,drive=drive-sata0,id=sata0,bootindex=100' -drive 'file=/dev/zvol/data1/vm-100-disk-2,if=none,id=drive-sata1,format=raw,cache=none,aio=native,detect-zeroes=on' -device 'ide-hd,bus=ahci0.1,drive=drive-sata1,id=sata1' -netdev 'type=tap,id=net0,ifname=tap100i0,script=/var/lib/qemu-server/pve-bridge,downscript=/var/lib/qemu-server/pve-bridgedown,vhost=on' -device 'virtio-net-pci,mac=86:B5:70:7E:DC:57,netdev=net0,bus=pci.0,addr=0x12,id=net0,bootindex=300' -machine 'type=pc+pve0' -loadstate /dev/zvol/data1/vm-100-state-suspend-2020-07-02' failed: got timeou ' But after start node witch was down all work fine. I dont know whow to solve this problemAll vms on ceph storage
 
Hi,
it would be great if you could also share how you solved the issue. That helps future readers with similar problems :)