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