Computer >> Hướng Dẫn Máy Tính >  >> Xử Lý Sự Cố >> Lỗi Windows

Hyper-V 2019 Core Remote Management

Trong 2 phần trước, đã giải thích cài Hyper-V 2019 Core Server trên máy vật lý và cấu hình ban đầu để host VM và giao tiếp mạng. Nếu bỏ lỡ, xem: Phần 1: Cách cài Hyper-V 2019 Server Core? và Phần 2: Hyper-V 2019 Core Server – Initial Configuration

Bài này hướng dẫn remote management Hyper-V 2019 Core Server từ máy Windows 10.

Để quản lý Hyper-V 2019 từ Windows 10, cần đáp ứng: Windows 10 Pro/Enterprise, CPU x64 hỗ trợ SLAT, RAM tối thiểu 4GB, hỗ trợ ảo hóa. Nếu đủ, bật Hyper-V Client trong Windows 10. Đã bao gồm các bước trong bài "How to Create and Run a Virtual Machine With Hyper-V".

Nếu quản lý từ VM, cần bật nested virtualization (xem bài "How to run Hyper-V in a Virtual Machine with Nested Virtualization?").

Sau khi hoàn thành, thêm Hyper-V 2019 Server vào Hyper-V Manager trên Windows 10. Làm theo hướng dẫn:

Bước 1: Sửa file hosts (Tùy chọn nếu không có DNS server)

Lab không có DNS server, sửa file hosts trên máy kết nối (Windows 10 Pro).

  1. Mở File Explorer
  2. Điều hướng C:\Windows\System32\drivers\etc
  3. Chuột phải file hosts > chỉnh sửa bằng Text Editor (ví dụ Notepad++)Hyper-V 2019 Core Remote Management
  4. Gõ IP và tên server. IP Hyper-V 2019: 192.168.10.100, tên: hyper-v. Thêm dòng: 192.168.10.100 hyper-vHyper-V 2019 Core Remote Management
  5. Lưu file. Notepad++ sẽ hỏi lưu chế độ Admin, nhấn OK.

Bước 2: Thêm Hyper-V 2019 Server vào Hyper-V Manager Windows 10

Thủ tục thêm server, tương thích Windows 8/8.1, Server 2012 R2/2016/2019.

  1. Start Menu > gõ Hyper-V Manager
  2. Mở Hyper-V Manager
  3. Click Connect to Server… bên phải
  4. Chọn Another computer > gõ tên Hyper-V 2019 (ví dụ: hyper-v)Hyper-V 2019 Core Remote Management
  5. Click Connect as another user: <none> > Set User…
  6. Nhập user/pass. Username dạng Computer Name\User. Ví dụ: hyper-v\AdministratorHyper-V 2019 Core Remote Management
  7. Chọn Remember me > OK
  8. Chúc mừng! Hyper-V 2019 Core Server đã thêm thành công.Hyper-V 2019 Core Remote Management

Bài sau sẽ hướng dẫn cài và cấu hình VM đầu tiên.