Upgrading the ScanCentral SAST Controller
The following procedure describes how to upgrade the Controller.
Caution! Before you upgrade the Controller, you must first download and configure a Java Runtime Environment (JRE). For information about supported JRE versions, see the Micro Focus Fortify Software System Requirements guide. For information about how to download and configure JRE, see the Oracle documentation for the supported JRE version.
-
Go to the Micro Focus Software Licenses and Downloads (SLD) portal (
https://sld.microfocus.com) and download theFortify_ScanCentral_Controller_<version>_x64.zipfile.Note: For detailed instructions on how to download Micro Focus Software, see https://www.brainshark.com/mfLD/vu?pi=zFszsRA7ezW1H3z0&nodesktopflash=1.
-
(Recommended) Allow all jobs to finish.
Note: If you do not allow all jobs to finish before you shut down the Controller, some jobs fail after the upgrade, and the failure may not be evident for some time. (See the
worker_inactive_delayconfiguration parameter in the<new_controller_dir>/tomcat/webapps/scancentral-ctrl/WEB-INF/classes/config.propertiesfile.) -
Shut down the Controller.
- Install the new Controller. (For information, see Installing the Controller.)
-
If your existing
config.propertiesfile has been modified, you must merge it with the newconfig.propertiesfile. (You cannot simply copy the existingconfig.propertiesfile.) -
If (and only if) you are upgrading Controller from a 22.1.x or earlier version to version 22.2.0, run the migration script as follows:
-
Extract the contents of the
Fortify_ScanCentral_Controller_<version>_x64.zipfile. -
Open a command prompt, and go to the
db-migratedirectory. -
Identify the
cloudCtrlDband Controller directories for the older (existing) Fortify ScanCentral SAST version.Example:
C:/scancentral<version>/tomcat/cloudCtrlDbC:/scancentral<version>/tomcat/webapps/scancentral-ctrl
-
-
If you are upgrading a 22.1.x or earlier version Controller to version 22.2.x, run the following command. (This command includes the example directories shown in the preceding step.)
migrate C:/scancentral22.1/tomcat/cloudCtrlDb C:/scancentral22.1/tomcat/webapps/scancentral-ctrlThe
cloudCtrlDbdirectory is generated in the current working directory. -
Navigate to the
jobFilesandcloudCtrlDbdirectories of the existing Controller, and then copy these to the new Controller. (If you used the preceding step to migrate the database, make sure that you use that migrated database rather than the unmigrated database.)Note: To change these directories, edit the
config.propertiesfile. - Start the new Controller. (The database is automatically migrated.)
See Also
About Upgrading ScanCentral SAST Components