dbms:mssql:edu:maintain_sql2005:module9
Lesson 1: Introduction to High Availability
Factors Affecting Availability
Considerations for Optimizing Database Availablity
Lesson 2: Implementing Server Clustering
What Is Server Clustering?
Virtual Server
Editions
Enterprise Edition
Developer Edition
Standard Edition
Considerations for Cluster Preparation
Check configuration and compatibility of:
How to Install SQL Server in a Cluster
Lesson 3: Implementing Database Mirroring
What Is Database Mirroring?
Options for Database Mirroring Configuration
Mode | Automatic Failover | Full Protection from Data Loss |
High Availability | O | O |
High Protection | X | O |
High Performance | X | X |
What Are Database Mirroring Endpoints?
TCP endpoint that enables network communication between servers
CREATE ENDPOINT endpointName
STATE=STARTED
AS TCP ( LISTENER_PORT = listenerPortList )
FOR DATABASE_MIRRORING
(
[ AUTHENTICATION = WINDOWS [ authorizationMethod ]
]
[ [,] ENCRYPTION = REQUIRED
[ ALGORITHM { algorithm } ]
]
[,] ROLE = ROLE
)
How to Prepare Servers for Database Mirroring
Create mirroring endpoints and logins
Set recovery model to FULL
Back up database and restore on mirror server
Copy server-level resources
How to Establish a Mirror Session
Set the pricipal server on the mirror server
Set the server on the principal server
Change the session mode from High Protection
How to Handle Failover
Automatic failover
Manual failover
ALTER DATABASE AWData
SET PARTNER FAILOVER
Forced service
ALTER DATABASE AWData SET PARTNER
FORCE_SERVICE_ALLOW_DATA_LOSS
Lesson 4: Implementing Log Shipping
What Is Log Shipping?
How to Implement Log Shipping
How to Switch Server Roles
Copy transaction log backups
Back up primary database with NORECOVERY
BACKUP LOG AdventureWorks TO AWLogBackup
WITH NORECOVERY
Restore primary database on secondary server
RESTORE LOG AdventureWorks FROM AWLogBackup
WITH RECOVERY
Disable log shipping jobs
Configure log shipping on new primary server
Lesson 5: Implementing Peer-ot-Peer Replication
Considerations for Using Peer-to-Peer Replication
Effects of transactions and cnoflicts
Improved performance and scalability
Control over network traffic
Suitability over intermittent network connections
Implementing Distributed Load Balancing
Implementing Distributed High Availability
dbms/mssql/edu/maintain_sql2005/module9.txt · 마지막으로 수정됨: 2008/05/22 15:09 저자 gauryan