can't you just install 8.1.7 in a different home, run the migration script on each database and change the init parameters appropriately?