Can move VM into another node in a different network?

hinhthoi

New Member
Aug 6, 2016
26
0
1
38
Hi,

I have 2 dedicated server in 2 datacenters. I want to move a LXC container from one node to the other node. I did vzdump and then pct restore. I could restore to the other node, and then manually updated/changed the IPs to the new ones.

Unfortunately, i cannot ssh into the container.

So, what i have done wrongly?

Thank you for any help!
 
please post the config
Code:
pct config <vmid>

also, did you try to examine the container from within?
Code:
pct enter <vmid>
 
Here is the results of the commands


root@dedicated:~# pct config 1000
arch: amd64
cpulimit: 4
cpuunits: 1024
hostname: server1.domain.com
memory: 4096
net0: name=eth0,bridge=vmbr0,gw=149.56.26.254,hwaddr=02:00:00:fa:9b:de,ip=192.99.79.199/32,type=veth
ostype: centos
rootfs: local:1000/vm-1000-disk-1.raw,size=500G
swap: 4096


From inside the container, i can ping to the outside network.

Thank you very much!!!