Bài giảng Cơ sở dữ liệu nâng cao - Chapter 7: Maintaining high availability. Chương 7 gồm có những nội dung chính sau đây: Availability, log shipping, data mirroring, clustering. . | Maintaining High Availability Agenda Availability Log shipping Data mirroring Clustering 1. Availability High availability isn’t always about full-time operations, but, about services being accessible to your users when they need them 2. Log shipping Log shipping is: To send transaction logs from the primary database to the secondary database. To back up the transaction logs from a primary database and then copy and restore them to a secondary database, keep the secondary database nearly synchronized with the primary database. The destination server acts as a backup server. Log shipping can be used with databases using the full or bulk-logged recovery models. 2. Log shipping Log shipping architecture: 2. Log shipping Log shipping architecture: Primary server: The SQL instance that needs to be protected in case of hardware failure, software error, . The primary server is configured to execute a SQL Agent job to back up the transaction log to a file Secondary server: The backup SQL Server 2008 instance that maintains a copy of the primary server database. The secondary server is configured with two SQL Agent jobs: one to copy the transaction-log file from the shared backup folder and the other to restore the transaction log 2. Log shipping Log shipping architecture: Monitor server: Having a monitor server as part of log shipping is optional but recommended. When the monitor server participates in log shipping, it manages the jobs that produce monitoring information (such as the last time the transaction log was backed up on the primary server, the last transaction log that was restored on the secondary server, ) 2. Log shipping Log shipping process: Back up the transaction log on the primary server. A SQL Agent job on the primary server backs up the transaction log at a user-configurable time interval to a file in a backup folder. Copy the transaction log to the secondary server. A SQL Agent job on the secondary server accesses the backup folder on the primary server to | Maintaining High Availability Agenda Availability Log shipping Data mirroring Clustering 1. Availability High availability isn’t always about full-time operations, but, about services being accessible to your users when they need them 2. Log shipping Log shipping is: To send transaction logs from the primary database to the secondary database. To back up the transaction logs from a primary database and then copy and restore them to a secondary database, keep the secondary database nearly synchronized with the primary database. The destination server acts as a backup server. Log shipping can be used with databases using the full or bulk-logged recovery models. 2. Log shipping Log shipping architecture: 2. Log shipping Log shipping architecture: Primary server: The SQL instance that needs to be protected in case of hardware failure, software error, . The primary server is configured to execute a SQL Agent job to back up the transaction log to a file Secondary server: The backup SQL .