Preparing for upgrade
This section describes the precautions you must take and the tasks you must perform when preparing to upgrade your system.
Before you begin
Before you upgrade, make sure that:
- If you are upgrading from version 10.1.x, recreate the filters in the CMDB Sync filter tab after upgrade and before CMDB synchronization can be used. The upgrade includes significant changes to CMDB synchronization. Many existing filters will not longer be compatible with the new filtering system. For more information see, CMDB synchronization filters.
- If you have made changes to OS configuration files on the appliance, you must verify and reapply the changes as required post-upgrade. The changes that you made might have been overwritten by the upgrade process.
- You backup your database because the BMC Discovery upgrade process performs an upgrade of the database. You can restore a pre-11.3 backup to an 11.3 appliance.
- The location used by the upgrade for temporary files must be readable by the
tidewayuser. The default location (which is created if it does not exist) is
/usr/tideway/tmp, and can be changed using the command line option
- To upload the upgrade archive using the UI, you must have sufficient space in
/tmp, approximately 1.6 GB.
- You are a user with admin security privileges, such as the system user.
Upgrade archive naming conventions
To help you locate the necessary files, the upgrade archives for BMC Discovery use the following file naming conventions. BMC Discovery use a .tgz file extension. The compressed OS upgrade archive retains the .sh.gz file extension.
- For product upgrades:
Vnis the BMC Discovery version number to which you are upgrading to and
nnnnnnis the build number, and
- For OS upgrades:
Where v is the CentOS version number, and
yy.mm.ddis the date of the last package update from CentOS and
nnnnnnis the build number.
When you run the upgrade, the timezone you specified is overwritten and reset to Europe/London unless you have updated the timezone. For information about how to configure the timezone, see Localizing the appliance.
- You can re-run the upgrade if it is terminated or fails. Destructive actions are recorded and are skipped on subsequent upgrade runs. Consequently when an upgrade is re-run, it is usually significantly quicker. You are unlikely to need to run the upgrade more than once, as it would only be required if an upgrade fails. See also the
tw_run_upgradecommand to re-run an upgrade.
- The synchronization mechanism has changed in 10.2 and later, to reduce the amount of querying performed on the CMDB. As a result, if you are upgrading from 10.1.x it is necessary to resynchronize a connection that existed prior to the upgrade. See Resyncing a CMDB Connection for more information.
- Where an upgrade makes changes to syncmapping files (see Default CDM Mapping and Syncmapping block), the initial CMDB syncs after upgrade might result in longer reconciliation times. Examples of such changes are key changes or attribute changes on a CMDB CI.
- Where SQL and JDBC credentials are in use, their existing properties files continue to be used and updated properties files are installed but not used. Where such credentials are unused, the old properties files are replaced with the latest.
In BMC Discovery 11.0, where an external CI with no kind is promoted to shared or contained is synchronized, its key is updated incorrectly. This was fixed in version 11.1 and later releases. When upgrading from BMC Discovery version 11.0, you will see some churn in the CMDB as CIs with incorrect keys are deleted and replaced by CIs with correctly generated keys. This is most frequently seen for BMC_SoftwareServer CIs that are shared between other BMC_SoftwareServer CIs.
Approach to upgrading consolidating systems
If you are upgrading a scanning appliance you may have to also upgrade the consolidation appliance. Version 10.x, 11.0, 11.1, 11.2 and 11.3 scanning appliances can consolidate to version 11.3 consolidating appliances. However, version 11.3 scanners cannot consolidate to earlier consolidating appliances. Once you have upgraded your consolidating appliances, you can then upgrade scanning appliances as required. You must upgrade all your appliances eventually.
When a system uses consolidation, BMC recommends the following approach in upgrading BMC Discovery:
- Stop discovery on scanning appliances.
- Ensure that all consolidation operations are complete.
- Stop discovery on consolidating appliances.
- Upgrade consolidating appliances.
- Restart discovery on the consolidating appliances.
- Restart discovery on the scanning appliances.
- Upgrade scanning appliances as required.
Where to go from here
- Known and corrected issues
- Limitations and restrictions of this version
- Upgrading and configuring Windows proxies
- System requirements