This documentation supports the 2.0 version of Remedy with Smart IT.

To view the latest version, select the version from the Product version menu.

Upgrading MongoDB

This topic describes the upgrading process of MongoDB from version 3.4.2 to 4.0.9 or later. Smart IT 2.0.00.002: Patch 2 for version 2.0.00 supports the following versions:

  • MongoDB 3.4.2 or later
  • MongoDB 3.6.12 or later
  • MongoDB 4.0.9 or later 

Important

Do not upgrade MongoDB to the latest version before applying this patch. BMC recommends upgrading to the latest version of Smart IT.

As a part of the Smart IT architecture simplification enhancement, starting with Smart IT 18.05, MongoDB installation is not required to support Smart IT social features. 

Related topics

Deploying MongoDB as a replica set for fresh installation


Upgrading MongoDB to 4.0.9

  1. (Windows) Install the MSI installer 3.6.x version from MongoDB Download Center
    (Linux) Download the mongodb-linux-x86_64-4.0.x.tgz file from  MongoDB Download Center

  2. (Windows only) MongoDB 4.0 requires staging upgrade from 3.6:
    1. Run 3.6.x MSI installer download in Step 1 and select the Custom option and then change the Mongo installer directory to old directory.
    2. Connect to the Mongo server as an admin user and run the following command to update the feature compatibility:

      db.adminCommand( { setFeatureCompatibilityVersion: "3.6" } )
    3. Connect to the Mongo server as an admin user and run the following command to verify that the upgrade is completed:

      db.adminCommand( { getParameter: 1, featureCompatibilityVersion: 1 } )
  3. (Windows) Upgrade MongoDB to 4.0.x.
    Download the 4.0.x zip file from MongoDB Download Center  and replace the old binary with 4.0.x.zip binary. Verify that the service is working properly.
    (Linux) Replace the existing binaries in the <Mongo installer directory>\bin folder with the latest binaries.
  4. Remove indexes from the activities and sub-activities:
    1. use social
    2. db.activities.dropIndexes()
    3. db.subactivities.dropIndexes()
    4. db.users.dropIndexes()
  5. Apply the Social changes. 
    1. Stop the SmartIT/MyIT service.
    2. Stop MyITSocialService.
    3. Update the Social folders:
      1. Go to <MyIT_HOME>\SmartITOnboardingTool and extract Social_18.02_Mongo4.0.zip.
      2. Take a backup of the old social folder and replace the social folder in this location: ..\Smart_IT_MyIT\Smart_IT_MyIT folder\.
      3. Make the required configuration changes in the Social files.

        Note

        This patch introduces a new config.js within the ..\Smart_IT_MyIT\Smart_IT_MyIT folder\social folder. Note that the file must be populated with your implementation specific configuration values. To populate the respective values, refer to the config.js file that you have backed up prior to implementing the 2.0.00.002: Patch 2 for version 2.0.00 patch.

    4. Restart MyITSocialService.

    5. Restart the SmartIT/MyIT service.

Upgrading MongoDB to 3.6.12

  1. Upgrade MongoDB to 3.6.12
    1. (Windows) Download the 3.6.x MSI installer from MongoDB Download Center  and run the 3.6.x MSI installer, select the Custom option and then change the Mongo installer directory to old directory.  
      (Linux) Download the mongodb-linux-x86_64-3.6.x.tgz file from  MongoDB Download Center .  Replace the existing binaries in the <Mongo installer directory>\bin folder with the latest binaries.
  2. Remove indexes from activities and sub-activities:
    1. Use social
    2. db.activities.dropIndexes()
    3. db.subactivities.dropIndexes()
    4. db.users.dropIndexes()
  3. Apply the Social changes.
    1. Stop the SmartIT/MyIT service.

    2. Stop MyITSocialService.

    3.  Update the Social folder.

      1. Go to <MyIT_HOME>\SmartITOnboardingTool and extract Social_18.02_Mongo4.0.zip.
      2. Take a backup of the old social folder and replace the social folder in this location: ..\Smart_IT_MyIT\Smart_IT_MyIT folder\.
      3. Make the required configuration changes in the Social files.

        Note

        This patch introduces a new config.js within the ..\Smart_IT_MyIT\Smart_IT_MyIT folder\social folder. Note that the file must be populated with your implementation specific configuration values. To populate the respective values, refer to the config.js file that you have backed up prior to implementing the 2.0.00.002: Patch 2 for version 2.0.00 patch.

    4. Restart MyITSocialService.

    5. Restart the SmartIT/MyIT service.

Was this page helpful? Yes No Submitting... Thank you

Comments