AZ-802 Chương 16 5 Labs Ngày tạo: 22/05/2026

Failover Clustering và High Availability

Triển khai và vận hành failover clustering, quorum, witness, clustered file server và HA design.

Thông tin thực hành

Exam: AZ-802 — Windows Server Hybrid Administrator

Ngày tạo: 22/05/2026

Nền tảng: Windows Server 2022/2025 lab, Windows 11, Azure, WAC

Ưu tiên: PowerShell/CLI trước, GUI là cách 02

Lý thuyết gắn gọn

Failover Cluster

Failover Cluster là nhóm server phối hợp để cung cấp dịch vụ có độ sẵn sàng cao. Khi một node lỗi, workload có thể chuyển sang node khác.

Cluster validation

Cluster validation kiểm tra phần cứng, network, storage và cấu hình trước khi tạo cluster. Đây là bước quan trọng để đảm bảo cluster được hỗ trợ.

Quorum witness

Quorum quyết định cluster còn đủ phiếu để hoạt động hay không. Witness giúp tránh split-brain và tăng độ ổn định, nhất là khi số node chẵn.

Cluster Shared Volumes

Cluster Shared Volumes cho phép nhiều node truy cập cùng storage volume, thường dùng trong Hyper-V cluster.

Clustered roles

Clustered role là dịch vụ chạy trong cluster, ví dụ file server hoặc VM role. Role có thể failover giữa node khi xảy ra lỗi.

Ghi chú tình huống doanh nghiệp

  • Không áp cấu hình trực tiếp lên production. Dùng OU/lab server/snapshot trước.
  • Ưu tiên PowerShell để lặp lại được, audit được và dùng trong automation.
  • GUI/WAC/Server Manager dùng để đối chiếu, vận hành hoặc đào tạo người mới.
  • Mỗi lab cần có evidence: output lệnh, Event Log, screenshot hoặc trạng thái Azure resource.

Bài tập lab step-by-step

LAB-076 PowerShell Windows Server Windows Admin Center

Cài Failover Clustering feature

Nền tảng thực hành: PowerShell, Windows Server, Windows Admin Center

Terminal: Windows Terminal / PowerShell 7; CMD nếu lab yêu cầu; Linux/macOS Terminal chỉ dùng cho Azure CLI từ máy quản trị.

Phiên bản: Windows Server 2022 hoặc 2025 lab, Windows 11 admin workstation, Windows Admin Center latest, Azure CLI 2.x, Az PowerShell 12.x+. Ngày tạo: 22/05/2026.

Cách 01 — PowerShell / CLI ưu tiên

  1. Chuẩn bị VM/lab server phù hợp.
  2. Cài feature hoặc agent cần thiết.
  3. Cấu hình cluster/vault/policy/replication theo lab.
  4. Chạy validation hoặc test backup/failover.
  5. Kiểm tra job status, event log và health.
  6. Ghi lại RTO/RPO hoặc kết quả test.
  7. Viết runbook restore/failover.
  8. Cleanup cluster/vault/resource lab nếu không dùng.
PowerShell / CLI mẫu
Install-WindowsFeature Failover-Clustering -IncludeManagementTools
Test-Cluster -Node NODE1,NODE2
New-Cluster -Name CLUS01 -Node NODE1,NODE2 -StaticAddress 10.10.1.100

Cách 02 — GUI / Windows Admin Center / Server Manager / Azure Portal

  1. Mở Windows Admin Center, Server Manager/MMC hoặc Azure Portal tùy lab.
  2. Chọn đúng server, role hoặc Azure resource lab.
  3. Tạo/cấu hình theo nội dung lab.
  4. Mở Overview, Event Viewer, Activity Log hoặc Monitoring để kiểm tra.
  5. Chụp screenshot cấu hình chính.
  6. Cleanup nếu không dùng.
Kiểm tra kết quả

Có output PowerShell/CLI, screenshot GUI/WAC/Portal hoặc Event Log chứng minh cấu hình hoạt động đúng.

Cleanup

Xóa VM, Resource Group, GPO/object demo, vault, policy assignment hoặc cấu hình lab nếu không còn dùng.

LAB-077 PowerShell Windows Server Windows Admin Center

Chạy Test-Cluster

Nền tảng thực hành: PowerShell, Windows Server, Windows Admin Center

Terminal: Windows Terminal / PowerShell 7; CMD nếu lab yêu cầu; Linux/macOS Terminal chỉ dùng cho Azure CLI từ máy quản trị.

Phiên bản: Windows Server 2022 hoặc 2025 lab, Windows 11 admin workstation, Windows Admin Center latest, Azure CLI 2.x, Az PowerShell 12.x+. Ngày tạo: 22/05/2026.

Cách 01 — PowerShell / CLI ưu tiên

  1. Chuẩn bị VM/lab server phù hợp.
  2. Cài feature hoặc agent cần thiết.
  3. Cấu hình cluster/vault/policy/replication theo lab.
  4. Chạy validation hoặc test backup/failover.
  5. Kiểm tra job status, event log và health.
  6. Ghi lại RTO/RPO hoặc kết quả test.
  7. Viết runbook restore/failover.
  8. Cleanup cluster/vault/resource lab nếu không dùng.
PowerShell / CLI mẫu
Install-WindowsFeature Failover-Clustering -IncludeManagementTools
Test-Cluster -Node NODE1,NODE2
New-Cluster -Name CLUS01 -Node NODE1,NODE2 -StaticAddress 10.10.1.100

Cách 02 — GUI / Windows Admin Center / Server Manager / Azure Portal

  1. Mở Windows Admin Center, Server Manager/MMC hoặc Azure Portal tùy lab.
  2. Chọn đúng server, role hoặc Azure resource lab.
  3. Tạo/cấu hình theo nội dung lab.
  4. Mở Overview, Event Viewer, Activity Log hoặc Monitoring để kiểm tra.
  5. Chụp screenshot cấu hình chính.
  6. Cleanup nếu không dùng.
Kiểm tra kết quả

Có output PowerShell/CLI, screenshot GUI/WAC/Portal hoặc Event Log chứng minh cấu hình hoạt động đúng.

Cleanup

Xóa VM, Resource Group, GPO/object demo, vault, policy assignment hoặc cấu hình lab nếu không còn dùng.

LAB-078 PowerShell Windows Server Windows Admin Center

Tạo failover cluster

Nền tảng thực hành: PowerShell, Windows Server, Windows Admin Center

Terminal: Windows Terminal / PowerShell 7; CMD nếu lab yêu cầu; Linux/macOS Terminal chỉ dùng cho Azure CLI từ máy quản trị.

Phiên bản: Windows Server 2022 hoặc 2025 lab, Windows 11 admin workstation, Windows Admin Center latest, Azure CLI 2.x, Az PowerShell 12.x+. Ngày tạo: 22/05/2026.

Cách 01 — PowerShell / CLI ưu tiên

  1. Chuẩn bị VM/lab server phù hợp.
  2. Cài feature hoặc agent cần thiết.
  3. Cấu hình cluster/vault/policy/replication theo lab.
  4. Chạy validation hoặc test backup/failover.
  5. Kiểm tra job status, event log và health.
  6. Ghi lại RTO/RPO hoặc kết quả test.
  7. Viết runbook restore/failover.
  8. Cleanup cluster/vault/resource lab nếu không dùng.
PowerShell / CLI mẫu
Install-WindowsFeature Failover-Clustering -IncludeManagementTools
Test-Cluster -Node NODE1,NODE2
New-Cluster -Name CLUS01 -Node NODE1,NODE2 -StaticAddress 10.10.1.100

Cách 02 — GUI / Windows Admin Center / Server Manager / Azure Portal

  1. Mở Windows Admin Center, Server Manager/MMC hoặc Azure Portal tùy lab.
  2. Chọn đúng server, role hoặc Azure resource lab.
  3. Tạo/cấu hình theo nội dung lab.
  4. Mở Overview, Event Viewer, Activity Log hoặc Monitoring để kiểm tra.
  5. Chụp screenshot cấu hình chính.
  6. Cleanup nếu không dùng.
Kiểm tra kết quả

Có output PowerShell/CLI, screenshot GUI/WAC/Portal hoặc Event Log chứng minh cấu hình hoạt động đúng.

Cleanup

Xóa VM, Resource Group, GPO/object demo, vault, policy assignment hoặc cấu hình lab nếu không còn dùng.

LAB-079 PowerShell Windows Server Windows Admin Center

Cấu hình quorum witness

Nền tảng thực hành: PowerShell, Windows Server, Windows Admin Center

Terminal: Windows Terminal / PowerShell 7; CMD nếu lab yêu cầu; Linux/macOS Terminal chỉ dùng cho Azure CLI từ máy quản trị.

Phiên bản: Windows Server 2022 hoặc 2025 lab, Windows 11 admin workstation, Windows Admin Center latest, Azure CLI 2.x, Az PowerShell 12.x+. Ngày tạo: 22/05/2026.

Cách 01 — PowerShell / CLI ưu tiên

  1. Chuẩn bị VM/lab server phù hợp.
  2. Cài feature hoặc agent cần thiết.
  3. Cấu hình cluster/vault/policy/replication theo lab.
  4. Chạy validation hoặc test backup/failover.
  5. Kiểm tra job status, event log và health.
  6. Ghi lại RTO/RPO hoặc kết quả test.
  7. Viết runbook restore/failover.
  8. Cleanup cluster/vault/resource lab nếu không dùng.
PowerShell / CLI mẫu
Install-WindowsFeature Failover-Clustering -IncludeManagementTools
Test-Cluster -Node NODE1,NODE2
New-Cluster -Name CLUS01 -Node NODE1,NODE2 -StaticAddress 10.10.1.100

Cách 02 — GUI / Windows Admin Center / Server Manager / Azure Portal

  1. Mở Windows Admin Center, Server Manager/MMC hoặc Azure Portal tùy lab.
  2. Chọn đúng server, role hoặc Azure resource lab.
  3. Tạo/cấu hình theo nội dung lab.
  4. Mở Overview, Event Viewer, Activity Log hoặc Monitoring để kiểm tra.
  5. Chụp screenshot cấu hình chính.
  6. Cleanup nếu không dùng.
Kiểm tra kết quả

Có output PowerShell/CLI, screenshot GUI/WAC/Portal hoặc Event Log chứng minh cấu hình hoạt động đúng.

Cleanup

Xóa VM, Resource Group, GPO/object demo, vault, policy assignment hoặc cấu hình lab nếu không còn dùng.

LAB-080 PowerShell Windows Server Windows Admin Center

Thiết kế clustered file server

Nền tảng thực hành: PowerShell, Windows Server, Windows Admin Center

Terminal: Windows Terminal / PowerShell 7; CMD nếu lab yêu cầu; Linux/macOS Terminal chỉ dùng cho Azure CLI từ máy quản trị.

Phiên bản: Windows Server 2022 hoặc 2025 lab, Windows 11 admin workstation, Windows Admin Center latest, Azure CLI 2.x, Az PowerShell 12.x+. Ngày tạo: 22/05/2026.

Cách 01 — PowerShell / CLI ưu tiên

  1. Mở PowerShell Administrator trên file server lab.
  2. Cài role File Server/DFS/FSRM nếu cần.
  3. Tạo thư mục, SMB share và phân quyền NTFS/share.
  4. Cấu hình DFS/FSRM/Azure File Sync hoặc migration theo lab.
  5. Kiểm tra truy cập từ client domain.
  6. Kiểm tra Event Viewer, SMB sessions và quyền truy cập.
  7. Ghi lại permission matrix và kết quả validate.
  8. Cleanup share, sync group hoặc migration demo.
PowerShell / CLI mẫu
New-Item -ItemType Directory -Path D:\Shares\Data
New-SmbShare -Name Data -Path D:\Shares\Data -FullAccess 'CORP\GG-IT-Admins'
Get-SmbShare -Name Data

Cách 02 — GUI / Windows Admin Center / Server Manager / Azure Portal

  1. Mở Windows Admin Center, Server Manager/MMC hoặc Azure Portal tùy lab.
  2. Chọn đúng server, role hoặc Azure resource lab.
  3. Tạo/cấu hình theo nội dung lab.
  4. Mở Overview, Event Viewer, Activity Log hoặc Monitoring để kiểm tra.
  5. Chụp screenshot cấu hình chính.
  6. Cleanup nếu không dùng.
Kiểm tra kết quả

Có output PowerShell/CLI, screenshot GUI/WAC/Portal hoặc Event Log chứng minh cấu hình hoạt động đúng.

Cleanup

Xóa VM, Resource Group, GPO/object demo, vault, policy assignment hoặc cấu hình lab nếu không còn dùng.

Zalo