Identity Manager has many different parts. To upgrade Identity Manager, you need to make sure you have considered all aspects of the product for the upgrade to be successful.
Some upgrade scenarios are explained in Section 2.2, Planning for Common Installation Scenarios.