[BlueOnyx:23083] Re: "Easy Migrate" released \o/

Michael Stauber mstauber at blueonyx.it
Fri Aug 2 13:45:44 -05 2019


Hi Tobias,

> Are you going to start a SSH session from the source system on?

No. The only SSH connections (and there are plenty of them during the
migration) originate on the target server and end at the source server.

> Then it might be worth to mention that both systems are working
> on non standard ssh ports.

In general that should not be a problem, as you can specify the SSH port
on the command line and Easy-Migrate honors that throughout the migration.

Just one more thing: Look at easy-migrate.pl and find this line:

$ssh = Net::OpenSSH->new($host, timeout => 10);

That should be in line 265. Change the timeout value of 10 to 1000 and
see if that makes a difference.

This timeout is not that straightforward, so this doesn't mean 10
seconds of inactivity of the launched process, but deals with keep
alives and other things. It's a long shot, but worth a try.

The other thing is: If SSH is run on a non-standard port and you have a
firewall in between, then you often get a much shoddier SSH connection,
as most firewalls know port 22 and if open prioritize SSH traffic over
anything else. So just for testing purpose it might be worth it to drop
SSH back to port 22 on the source server of the migration and see if
that makes any difference.

> The database export on the source system itself takes some time: one 
> of the databases is of 6.7 gig exported size - that's the reason of
> the more than 2 minutes time the first step of the export takes.

This could be. In that case the --nomysql switch might perhaps be useful
and then migrate the MySQL databases afterwards.

-- 
With best regards

Michael Stauber



More information about the Blueonyx mailing list