Creating an EDM user on the secondary Avaya Control Manager SQL Server

Last Updated : Aug 14, 2023 |

About this task

Use this procedure to create an optional non-system administrator user on the secondary Avaya Control Manager SQL Server with the same name and SID that you use for the user created on the primary Avaya Control Manager SQL Server.

Procedure

  1. Log in to the secondary Avaya Control Manager SQL Server.
  2. Click Start > Microsoft SQL Server > Open SQL Server Management Studio.
  3. In the Object Explorer pane, click Connect > Database Engine.

    SQL Server Management Studio displays the Connect to Server dialog box.

  4. In the Server name field, select the local instance of SQL Server.
  5. In the Authentication field, select SQL Server Authentication.
  6. In the Login and Password fields, enter the system administrator credentials.

    The system administrator is usually the default sa user created during SQL Server installation.

  7. Click Connect.
  8. In the Object Explorer pane, right-click the SQL Server instance and click New Query.
  9. In the content pane, run the following command to create a new login:
    USE [master]
    GO
    CREATE LOGIN <<same login name as created on the primary EDM>> WITH PASSWORD = '<<password>>', sid = <<same SID as the primary EDM login name>>,
    CHECK_POLICY=OFF

    For example:

    USE [master]
    GO
    CREATE LOGIN csEDMLogin WITH PASSWORD = 'myPassword1', sid = 0x0589627E7A96D447865135449C41E53B, CHECK_POLICY=OFF
  10. Do the following to manually failover the secondary SQL Server:
    1. Click Always On High Availability > Availability Groups.
    2. Right-click the EDM Availability Group and click Failover.
  11. In the Object Explorer pane, click Security > Logins.
  12. Right-click the newly created login name and click Properties.

    SQL Server Management Studio displays the Login Properties dialog box.

  13. In the navigation pane, click General.
  14. In the Default database field, select the EDM database name.
  15. In the navigation pane, click User Mapping.
  16. Select the Map check box for the EDM database.
  17. Click OK.
  18. In the Object Explorer pane, click Databases > <EDM Database> > Security > Users.
  19. Verify that the newly created login name is available in the list of users.