Previous Topic: Upgrade ErrorsNext Topic: Reinstalling RiskMinder


Upgrading to Release 3.1.01

Upgrading from 1.x to 3.1.01 is a two-stage procedure. You first upgrade from 1.x to 2.2.7 and then upgrade from 2.2.7 to 3.1.01. In contrast, if you are upgrading from 2.x or 3.x, you directly upgrade to 3.1.01.

The following flow diagram shows the steps to upgrade to release 3.1.01:

The flow diagram describes how to upgrade to release 3.1.

To upgrade to RiskMinder 3.1.01, perform the following steps:

  1. Performing Pre-Upgrade Tasks
  2. If you are upgrading from 1.x, then perform the following steps. Do not perform these steps if you are upgrading from 2.x or 3.x.
  3. Preparing for the Upgrade to Release 3.1.01
  4. Migrating the Database to Release 3.1.01 for Arcot Common Components
  5. Migrating the Database to Release 3.1.01 for RiskMinder Components
  6. Uninstalling the Existing Release of RiskMinder
  7. Reinstalling RiskMinder
  8. If you encounter any warnings during the Server startup and if your transactions fail, then perform the procedure described in (In Error Scenario Only) Reverting to Your Initial Setup.
  9. Performing Post-Upgrade Tasks
  10. Replacing Deprecated Rules with New Rules
  11. Review Configuration Changes After the Upgrade

Performing Pre-Upgrade Tasks (scenario)

Important! Perform the upgrade procedure on the system where the Administration Console is installed.

Perform the following pre-upgrade tasks before you begin the upgrade procedure:

Rule Name

Rule Mnemonic

Unknown DeviceID

UNKNOWNDEVICEID

Device MFP Not Match

MFPMISMATCH

User Not Associated with DeviceID

USERDEVICENOTASSOCIATED

Unknown User

UNKNOWNUSER

  1. If the mnemonic of an existing rule matches the mnemonic of a new rule, delete the existing rule and then re-create it. While you re-create the rule, give it a different mnemonic. The system allows the rule name to be the same for two different rules but it is recommended that you change the name of the existing rule to avoid confusion.

    Note: For information about deleting and creating rules, see the administration guide for your current RiskMinder release.

Upgrading the Database to Release 2.2.7 for Arcot Common Components

Note: Perform the tasks in this section only if you are upgrading from release 1.x. If you are upgrading from release 2.x or 3.x, you can ignore this topic.

Important! If you installed CA AuthMinder with CA RiskMinder and you have completed the upgrade to CA AuthMinder release 7.1.01, then do not migrate the database for Arcot common components. This step has already been performed during the AuthMinder upgrade process.

Migrate the database to the release 2.2.7 state for Arcot common components.

Follow these steps:

  1. Copy the Upgrade directory to a temporary location on the system where you plan to upgrade.

    This directory contains the following zip files that are applicable for this migration path:

  2. Copy the arcot-common-upgrade-0.x-1.0.zip file to the ARCOT_HOME directory.
  3. Extract the contents of the arcot-common-upgrade-0.x-1.0.zip file in this directory.
  4. Navigate to the following directory:
    %ARCOT_HOME%\dbscripts\<db_type>
    

    Here, db_type can be mssql or oracle.

  5. Run the arcot-db-config-for-common-1.0.sql script.

    Note: In the case of Microsoft SQL Server, if you run the database script from the command line using SQLCMD, then specify the –I option to set the QUOTED_IDENTIFIER connection option to ON and the -x option to disable variable substitution.

  6. Navigate to the following directory:
    %ARCOT_HOME%\dbscripts\<db_type>\upgrade-scripts\
    

    Here, db_type can be mssql or oracle.

  7. Run the arcot-upgrade-for-common-1.0.sql script.

    Note: In the case of Microsoft SQL Server, if you run the database script from the command line using SQLCMD, then specify the –I option to set the QUOTED_IDENTIFIER connection option to ON and the -x option to disable variable substitution.

  8. Copy the JDBC JAR that is compatible with your database to the following directory:
    %ARCOT_HOME%\java\lib
    
  9. Back up the existing ArcotAccessKeyProvider.dll file if it is in <JAVA_HOME used by APP_SERVER>\jre\bin. Then, copy the %ARCOT_HOME%\native\win\<32bit-or-64bit>\ArcotAccessKeyProvider.dll file to <JAVA_HOME used by APP_SERVER>\jre\bin.
  10. Set the PATH variable to include the directory where ArcotAccessKeyProvider.dll is copied.
  11. Copy the file %ARCOT_HOME%\java\lib\arcot-crypto-util.jar to <JAVA_HOME used by APP_SERVER>\jre\lib\ext\.
  12. Navigate to the %ARCOT_HOME%\tools\upgrade directory.
  13. Run the upgrade-common.bat tool.
  14. To ensure that the common database upgrade operation was run successfully, see the %ARCOT_HOME%\logs\upgrade-common.log file.

Migrating the Database to Release 2.2.7 for RiskMinder Components

Important! Perform the steps in this section only if you are upgrading from release 1.x. If you are upgrading from release 2.x or 3.x, you can ignore this procedure.

After you migrate the database for Arcot common components, migrate the database to the release 2.2.7 state for RiskMinder components.

Follow these steps:

  1. Copy the arcot-riskfort-upgrade-1.x-2.2.7.zip file to the ARCOT_HOME directory.
  2. Extract the contents of the arcot-riskfort-upgrade-1.x-2.2.7.zip file in this directory.
  3. Navigate to the following directory:
    %ARCOT_HOME%\dbscripts\<db_type>\upgrade-scripts
    

    Here, db_type can be mssql or oracle.

  4. Run the SQL script corresponding to your current release of RiskMinder, as listed in the following table.

Current RiskMinder Release

SQL Script to Run

1.5.1 or 1.5.1.x

arcot-riskfort-upgrade-1.5.1.8-2.2.7.sql

1.6 or 1.6.0.x

arcot-riskfort-upgrade-1.6.0.3-2.2.7.sql

1.7 or 1.7.0.x

arcot-riskfort-upgrade-1.7.0.3-2.2.7.sql

  1. Navigate to the following directory:
    %ARCOT_HOME%\dbscripts\<db_type>\upgrade-scripts\
    

    Here, db_type can be mssql or oracle.

  2. Run the arcot-post-upgrade-for-common-1.0.sql script.

    This script ensures the following configurations:

Preparing for the Upgrade to Release 3.1.01

This section describes the steps that you must perform to prepare your setup for upgrading to 3.1.01.

Follow these steps:

  1. If application server connection pooling was being used in your existing RiskMinder deployment, navigate to the %ARCOT_HOME%\bin directory, and update the securestore.enc file by running the following command for the primary database:
    DBUtil -pi <DB_username> <DB_password>
    

    Note: To determine whether database connection pooling is being used, open the %ARCOT_HOME%\conf\arcotcommon.ini file. Check the value of the AppServerConnectionPoolName parameter.

  2. If SSL has been configured for the connection with the database, navigate to the %ARCOT_HOME%\bin directory and set the TrustStore password using DBUtil, as follows:
    DBUtil -pi TrustStorePath.1 <truststore-password>
    

    Note: To determine whether SSL has been configured, check the value of the TrustStorePath parameter in the arcotcommon.ini file.

Migrating the Database to Release 3.1.01 for Arcot Common Components

Migrate the database to the release 3.1.01 state for Arcot common components.

Follow these steps:

  1. Copy the Upgrade directory to a temporary location on the system where you plan to upgrade.

    This directory contains the following zip files that are applicable for this migration path:

  2. Copy the arcot-common-upgrade-1.0.x-2.0.zip file to the ARCOT_HOME directory.
  3. Extract the contents of the arcot-common-upgrade-1.0.x-2.0.zip file in this directory.

    Note: Click Yes if you are prompted to overwrite any existing files.

  4. Navigate to the following directory:
    %ARCOT_HOME%\tools\common\upgrade\
    
  5. Extract the contents of the arcot-common-db-upgrade.zip file in this directory.
  6. Copy the database JAR file corresponding to your database to the %ARCOT_HOME%\tools\common\upgrade\lib directory with the exact name, as follows:
  7. Locate the JAVA_HOME used by the existing installation and ensure that you use the same JAVA_HOME to run the upgrade tool.
  8. Set the PATH variable to include the directory where ArcotAccessKeyProvider.dll is copied.

    Important! If you are upgrading from release 3.x to 3.1.01, do not perform the remaining steps of this procedure. Instead, directly proceed to the next section.

  9. At the command prompt, change your working directory to:
    %ARCOT_HOME%\tools\common\upgrade\
    
  10. Run the arcot-common-upgrade-framework.jar file by using the following command:
    java [JVM_Options] -jar arcot-common-upgrade-framework.jar [--log-file <log-file-name>] [--log-level <log-level>][--commit-batch-size <batch_size>] [--product-name common] [--prompt][--mst]
    

    The following table describes the options that are supported by this JAR file.

Option

Description

JVM-Options

The following JVM options are required only if LDAP organizations are configured:

  • -Xmx<heap_memory_size_in_MB>M: Sets the maximum heap size to 1GB. If there are more than 1,00,000 users in the configured LDAP, then it is strongly recommended that you increase the heap size to 2048M (2GB).
  • -Dcom.arcot.ldap.migration.timeout=<duration>: The migration of an LDAP organization involves fetching all the users from the LDAP server and migrating the users to the RiskMinder database. This parameter sets the maximum time (in minutes) taken to fetch all users from the LDAP server, beyond which the migration of the LDAP organization is marked as failed.
    The LDAP migration timeout for 1,00,000 users is approximately 240 minutes or 4 hours. However, the timeout would depend on the type of hardware configuration being used. The default value of this parameter is 240 minutes.

    Note: Ensure that the java command executable belongs to JAVA_HOME identified in Step 7. If JAVA_HOME is not set, modify the PATH environment variable to include %JAVA_HOME%\bin.

log-file

Specifies the path to the log file:

  • If you do not provide any value, the arcot_common_upgrade.log file is created in the %ARCOT_HOME%\logs\ directory.
  • If you provide an absolute path, the log file is created at the given location.
  • If you provide a file name, the log file is created in %ARCOT_HOME%\logs\ with the given file name.

log-level

Specifies the log level. If you do not provide any value, the upgrade log level is set to INFO.

commit-batch-size

Specifies the number of transactions to be issued to the database before a COMMIT statement is issued.

product-name

Specifies the name of the product for which the upgrade is run. If you do not specify the product name, the product name is assumed to be common. Possible values are:

  • common: Indicates the Arcot common components.
  • riskfort: Indicates RiskMinder.

    Note: Upgrade the Arcot common components before you upgrade RiskMinder.

prompt

Prompts whether to proceed further after each phase of the upgrade process is completed successfully. The upgrade process happens in the following phases:

  • Pre-upgrade: Involves performing various DDL and DML operations to migrate the database schema.
  • Upgrade: Involves migrating the data to the new schema.
  • Post-upgrade: Involves cleanup or follow-up actions that are required to be performed after the upgrade.
  • Verification: Involves the verification of whether the upgrade is successful.

This option You can choose to run the upgrade tool later to continue from where it stopped. If this option is not specified, the upgrade tool runs without any prompting until the upgrade process is completed.

mst

Refers to the Monitoring Sleep Time. If you specify this option, the upgrade tool prints diagnostic messages describing the progress made during upgrade after sleeping for the specified duration (in minutes.) The default value is two minutes.

  1. If you are upgrading from release 1.0.x, then check for the following line in the %ARCOT_HOME%\logs\arcot_common_upgrade.log file:

    Upgrade for common from version 1.0.x to version 2.0 run successfully.

    The presence of this line in the log confirms that the database was upgraded successfully.

Migrating the Database to Release 3.1.01 for RiskMinder Components

After you migrate the database for Arcot common components, migrate the database to the release 3.1.01 state for RiskMinder components.

Follow these steps:

  1. Extract the contents of the arcot-riskfort-upgrade-2.x-3.x-3.1.01.zip file in the ARCOT_HOME directory.
  2. Navigate to the following directory:
    %ARCOT_HOME%\tools\common\upgrade\
    
  3. Run the following command:
    java -jar arcot-common-upgrade-framework.jar --product-name riskfort
    

    See the table in Migrating the Database to Release 3.1.01 for Arcot Common Components for a description of the command options.

  4. Depending on the release that you are upgrading from, locate one of the following lines in the arcot_common_upgrade.log file in the %ARCOT_HOME%\logs directory:
    Upgrade for riskfort from version <your-RiskMinder-release> to version 3.1.01 run successfully.
    

    For example, if you upgraded from release 3.0, then locate the following line:

    Upgrade for riskfort from version 3.0 to version 3.1.01 run successfully.
    

    The presence of this line in the log confirms that the database was upgraded successfully.

Uninstalling the RiskMinder Server

Uninstall the existing release of RiskMinder. Also uninstall the RiskMinder components that are installed on the application server.

Note: If the instructions given in this section do not match the uninstallation options available in your existing RiskMinder installation, follow the uninstallation instructions that are given in the installation guide for your existing release of RiskMinder.

Follow these steps:

  1. Uninstall the existing release of RiskMinder as follows:
    1. Ensure that the following components have been shut down gracefully:
      • RiskFort Server
      • Case Management Queuing Server
      • Any application servers where other RiskFort components are deployed.
    2. Ensure that the Administration Console is not open.
    3. Ensure that all INI and other files that are related to the RiskMinder configuration are closed.
    4. On the desktop, click Start, Settings, Control Panel, Add/Remove Programs to open the Add or Remove Programs window.
    5. From the Currently installed programs list, select Arcot RiskFort, and click Change/Remove.

      The Uninstall Arcot RiskFort window appears.

      Note: You can also uninstall RiskMinder by running Uninstall Arcot RiskFort.exe available in the <install_location>\Arcot Systems\Uninstall Arcot RiskFort\ directory.

    6. Select Complete Uninstall.

      Note: You may have to wait for a few minutes for the uninstallation process to complete.

      After the software is uninstalled successfully, the Uninstallation Complete screen appears with a success message.

    7. Click Done to exit the wizard and complete the uninstallation process.
    8. If you have installed CA AuthMinder and CA RiskMinder and you are deleting both products, delete any files that are left over in the ARCOT_HOME directory.
  2. Undeploy the Administration Console, User Data Service, and Sample Application Web applications from the application server. For detailed information, see the application server documentation.