Review the following documentation on how to prepare for and conduct both online and airgapped upgrades.
Database maintenance
Availability during upgrades