Tạo File Share

Tạo File Share

  1. Sau khi đã kết nối vào FSx/W Workshop Windows Instance

    • Tìm và chọn fsmgmt.msc

Amazon FSx

  1. Trong Shared Folders

    • Chọn Action
    • Chọn Connect to another computer…​.

Amazon FSx

  1. Đối với Select Computer

    • Thực hiện chọn Another computer
    • Dán DNS Name vào và chọn OK

Amazon FSx

  1. Thực hiện tạo file share

    • Chọn chuột phải Shares folder
    • Chọn New Share

Amazon FSx

  1. Chọn Next

Amazon FSx

  1. Chọn Browse…​.

    • Chọn d$.

Amazon FSx

  1. Chọn Make New Folder.

    • Đặt tên application cho folder mới.
    • Chọn OK

Amazon FSx

  1. Hoàn thành thông tin sau:

    • Folder path: D:\application
    • Share name: application
    • Create new path: Yes

Amazon FSx

  1. Shared folder permissions: Customize permissions » Everyone Full Control

Amazon FSx

  1. Chọn Finish

    • Bạn có thể tạo thêm vài file share tương tự các bước trên.

Amazon FSx

Quản lý file share

  1. Quay lại Amazon FSx sao chép Windows Remote PowerShell Endpoint

Amazon FSx

  1. Mở Windows PowerShell

    • Thực hiện các lệnh sau:
$WindowsRemotePowerShellEndpoint = "windows_remote_powershell_endpoint" # e.g. "amznfsx0123abcde.example.com"
enter-pssession -ComputerName ${WindowsRemotePowerShellEndpoint} -ConfigurationName FsxRemoteAdmin
  • Nhớ thay thế bằng Windows Remote PowerShell Endpoint của bạn.

Amazon FSx

  1. Chúng ta sẽ thực hiện lệnh trong giao diện Remote Windows PowerShell Session

Amazon FSx

  1. Thực hiện lệnh sau:
Get-Command

Amazon FSx

  1. Tiếp tuc5 thực hiện lệnh:
Get-FSxSmbShare

Amazon FSx

  1. Thực hiện lệnh:
Get-FSxSmbSession

Amazon FSx