[BlueOnyx:24118] Re: Migration Question

Michael Stauber mstauber at blueonyx.it
Wed Jul 22 14:27:50 -05 2020


Hi Harm,

> Is there an easy way to change the ip addresses currently set on vhosts
> ? I need to migrate a BO box from one IP to the other and would like to
> swap ip addresses in the most easiest way :-)

Please see https://www.blueonyx.it/easy-migrate

If you use Easy-Migrate, then you can specify what IP addresses Vsites
should be imported onto.

Example:

/usr/sausalito/sbin/easy-migrate.pl --source <IP-of-Source-Server> -p 22
--ip <new-ip-of-vsite> --vsites all

That would migrate all Vsites from <IP-of-Source-Server> and upon
migration the Vsites receive the IP address specified under
<new-ip-of-vsite>.

Other than that: You can also use this script to change IP addresses of
Vsites:

-------------------------------------------------------------------
]# /usr/sausalito/sbin/MassIPChange.pl

MassIPChange.pl V2.0
=====================

This script can change all VSitess with a certain old IP to a specified
new IP.

To use it, run it with the followinng parameters:

/usr/sausalito/sbin/MassIPChange.pl -o old-ip -n new-ip
-------------------------------------------------------------------

> Also is there an easy wat to trigger all the Lets encrypt certificates
> to be re-requested ?
Easy-Migrate also handles this. If a Vsite uses an LE certificate, then
the existing LE certificate will be imported and the expiry date will be
honored. So when that certificate reaches its due date, it'll be
automatically renewed as intended.

-- 
With best regards

Michael Stauber



More information about the Blueonyx mailing list