How to use 10Gb back-end network to transfer container and image when use with front-end network?

I just added a news 10 GB network to my server !

Hi is there a way to do all the lxd copy using a 10Gb back end network instead of the front end network.

Client network   -------------1Gb ------------- FRONT END
             lxdbr0 -->  |               |  <--- lxdbr0
                    +-------+        +------+
                    |  srv1 |         | srv2 |
                    +-------+        +------+
                        |                |
Backup Network ---------- 10Gb--------------- BACK END

I have finally found a solution:

Just added a second remote host with diff ip and name to both server that point to the 10Gb nic !

on srv-2 ( ip 192.168.2.2 )
lxc remote add srv1-BACKEND https://192.168.2.1:8443

on srv-1 ( ip 192.168.2.1 )
lxc remote add srv2-BACKEND https://192.168.2.2:8443

Et Voila !!! :slight_smile:

Now
snapshot and copy your container
lxc snapshot c1
lxc copy c1/snap0 srv2-BACKEND:c1

1 Like