Pre-upgrade procedures