Microsoft SQL Server

Before configuring DR services, check the database environments at the production end where SQL Server databases reside, and the storage environment. If any environment does not meet requirements, modify its configurations.

Public Check Items

Check the database environments of the production end where databases reside.

  1. For an SQL Server cluster, set the different SQL Server network names when creating production cluster and DR cluster to ensure name uniqueness.
  2. For a WSFC cluster, grant the Authenticated Users permission to SQL Server databases.

    1. On the database management page, select Security > Logins, right-click New Login.
    2. In the dialog box that is displayed, click Search.
    3. In the Select User or Group dialog box that is displayed, select Authenticated Users.
    4. Click OK.

Check Items at the Production End

  1. Check the authentication method of SQL Server databases at the production end.

    Hybrid authentication must be adopted for SQL Server database, or the connection to the database fails.

  2. Ensure that the name, user name, and password of the SQL Server database at the production end meet the following requirements:

    • The database name can contain only letters, digits, and special characters including _ - @ # $ *
    • The database user name can contain only letters, digits, and special characters including _ - @ # $ *
    • The database password can contain only letters, digits, and special characters including ~ ! % _ - @ # $ *

  3. Check the VSS service status of the application host where the production SQL Server database resides.

    The eReplication Agent uses the VSS service to ensure consistency between SQL Server databases. Therefore, the VSS service must be enabled.

  4. Check the database files at the production end.

    • Data files and log files in databases must be stored on storage array LUNs.
    • The disk resources where database files reside must be in Maintenance mode in the cluster manager before the database test or recovery, or the disk resources may fail to be mounted when the database is being started.

  5. Grant the connect permission to database user guest.

    The permission granting is applicable only to the production environment where SQL Server 2012 (either in standalone or cluster mode) is in use.

    1. On the database management page, select the database that you want to configure and click Properties.
    2. In the Database Properties dialog box that is displayed, click Permissions.
    3. Click Search.
    4. In the Select Users or Roles dialog box that is displayed, enter guest and click Check Names to check the name validity.
    5. Click OK.
    6. On the Explicit tab page, select Connect.

Check Items at the Storage End

  1. Check whether information about initiators of production hosts (cluster) and test hosts (cluster) is displayed on the array.
  2. Check that the production LUN has been mapped to the production host (cluster). For a cluster consisting of hosts, ensure that the hosts included in the host group to which the primary and secondary LUNs are mapped are all the hosts only in the cluster.

Copyright © Huawei Technologies Co., Ltd.