23.0 Prerequisite for Versions Prior to Sentinel 7.1.1

Sentinel 7.1.1 and later includes MongoDB version 2.4.1. MongoDB 2.4 requires removal of duplicate user names in the database. If you are upgrading Sentinel versions prior to 7.1.1, verify whether there are any duplicate users and then remove the duplicate users.

Perform the following steps to identify duplicate users:

  1. Log in to the Sentinel server as the novell user.

  2. Change to the following directory:

    cd /opt/novell/sentinel/3rdparty/mongodb/bin
    
  3. Run the following commands to verify duplicate users:

    ./mongo --port 27017 --host "localhost"
    
    use analytics
    
    db.system.users.find().count()
    

    If the count is more than 1, it indicates there are duplicate users.

Perform the following steps to remove duplicate users:

  1. Run the following command to list the users:

    db.system.users.find().pretty()
    

    The command lists users along with duplicate entries. The first user in the list is the original user. You should keep the first user and delete the others in the list.

  2. Run the following command to remove duplicate users:

    db.system.users.remove({ _id : ObjectId("object_ID") })
    
  3. Run the following command to verify whether the duplicate users have been removed:

    db.system.users.find().pretty()
    
  4. Switch to database admin user:

    use admin
    
  5. Repeat Step 1 through Step 3 to verify and remove duplicate dbausers in the admin database.