Windows OS upgrade from 2012 R2 to 2019(OneIdentity Defender 6.2)


We are on Windows 2019 Hyper-V host.  The guest OS on the security server is Windows 2012 R2.  We need to migrate the security server from guest Windows 2012 R2 to Windows 2019.  We must keep the same IP address and configuration.  I can find any guideline or document on how to do this.

Could someone kindly share methods/processes in doing so please?  We are on OneIdentity  Defender 6.2.  Thank you very much.