This community is for technical, feature, configuration and deployment questions.
For production deployment issues, please contact the TAC! We will not comment or assist with your TAC case in these forums.
Please see How to Ask the Community for Help for other best practices.
Ideally, you can backup the configuration on the 2.2 instance, including exports of the certificates and private keys. Then build the new 2.4 appliance using the same hostname and IP address. Restore the configuration backup on the new appliance. All of your options and instructions for backing up and restoring are located here:
Including the various scenarios of having a different hostname or IP address than the original backup.