Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Automatic initialization of SQL Server 2017 AlwaysOn AG (2)

2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

Shulou(Shulou.com)06/01 Report--

Necessary conditions

File path requirements

In SQL Server 2016, automatic seeding requires that the data and log file paths are the same on each SQL Server instance that participates in the availability group. In SQL Server 2017, you can use different paths, but Microsoft recommends that when all copies are hosted on the same platform (such as Windows or Linux), use the same path. Cross-platform availability groups have different paths for replicas. If your data files are located on different volumes on the copy, the behavior of SQL Server 2017 can meet your needs. See the disk layout section of Microsoft's official documentation for details.

Port access requirement

Availability group seed settings communicate through database mirroring endpoints. Open the inbound firewall rule for the mirrored endpoint port on each server.

Recovery model and backup requirements

The databases in the availability group must be in full recovery mode. The database needs to have the latest full backup and transaction log backup. These backup files are not used for automatic seeding, but they are required to include the database in the availability group.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Database

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report