월별 글 목록: 2021년 6월월

저장 공간 직접 지침 전에 다른 하드웨어 구성 (2

최근 PoC 목적으로 4x DL380 G7에 WS2016 DC를 배포했습니다. 각 서버에는 4 개의 300GB 10K SAS 드라이브가 있으며 회사에서 일시적으로 빌릴 수있는 몇 개의 인텔 SSD가 있습니다. 저의 주요 목표는 다양한 스토리지 복제본 “모드”를 테스트하고 스토리지 공간 다이렉트 위에 스케일 아웃 파일 서버 역할을 배포하는 것입니다.

약 한 달 전에 다른 하드웨어 구성 (2 개의 Supermicro 서버)에 2 노드 스토리지 공간 다이렉트를 배포하는 데 어려움을 겪었습니다. 솔직히 말해서 설치 과정은 “직선”과 거리가 멀었습니다. “-Enable-ClusterS2D”를 시도하는 동안 WinRM, “지원되지 않는 버스 유형”오류 및 나중에 새 계층 공간을 만들려고 할 때 몇 가지 문제가있었습니다.

본질적으로 Powershell을 사용하여 4 노드 환경에서 Storage Spaces Direct를 설정하는 방법에 대한 최신 지침을 찾고 있습니다. 복원력 유형은 다른 복원력 설정을 테스트하고 싶기 때문에 중요하지 않습니다.

도와 주셔서 감사합니다!



답변

간단히 말해 배포 순서는 다음과 같습니다.

  1. 필요한 WS 역할 및 기능 배포
  2. 장애 조치 클러스터의 유효성 검사
  3. 장애 조치 클러스터 생성
  4. 스토리지 공간 다이렉트 사용

스토리지 S2D 활성화

  1. 저장 영역 풀 ​​작성 및 구성

입력 예 :

New-StoragePool -StorageSubSystemName #CLUSTER_NAME# -FriendlyName #POOL_NAME# -WriteCacheSizeDefault 0 -ProvisioningTypeDefault Fixed -ResiliencySettingNameDefault Simple -PhysicalDisk (Get-StorageSubSystem -Name #CLUSTER_NAME# | Get-PhysicalDisk)

  1. 가상 디스크 생성 및 구성

입력 예 :

New-Volume -StoragePoolFriendlyName #POOL_NAME# -FriendlyName #VD_NAME# -PhysicalDiskRedundancy 2 -FileSystem CSVFS_REFS –Size 100GB

  1. SOFS 배포
  2. 파일 공유 만들기 그게 다야!

도움이되는 두 가지 기사가 있습니다.

Link1 https://www.starwindsoftware.com/blog/microsoft-storage-spaces-direct-4-node-setup-2

Link2 https://technet.microsoft.com/ko-kr/windows-server-docs/storage/storage-spaces/hyper-converged-solution-using-storage-spaces-direct


답변

Storage Spaces Direct 평가를위한 현재 스크립트

# windows server installation
Install-WindowsFeature Hyper-V, Data-Center-Bridging, Failover-Clustering, RSAT-Clustering-Powershell, Hyper-V-PowerShell -IncludeManagementTools

# before creating cluster set correct MediaType for all disks
#note before setting MediaType disks have to be assigned to a Storage Pool which can be deleted right after setting
Get-Physicaldisk | where size -gt 506870912000 | Set-PhysicalDisk MediaType HDD

# Create the cluster
New-Cluster -Name w16hyper -Node w16hyper1, w16hyper2, w16hyper3 -NoStorage -StaticAddress 192.168.2.100

# hack to use RAID cards as JBOD
(Get-Cluster).S2DBusTypes=0x100

Enable-ClusterStorageSpacesDirect -CacheState Disabled

Get-StorageSubSystem Cluster*
Get-StorageSubSystem Cluster* | Get-Volume

#statistics
Get-StorageSubSystem Cluster* | Get-StorageHealthReport

#jobs running on background (eg. rebuild)
Get-StorageJob | ? JobState -Eq Running

#status
Get-StoragePool S2D* | Get-PhysicalDisk | Group OperationalStatus -NoElement
Get-StoragePool S2D* | Get-PhysicalDisk | Sort Model, OperationalStatus

#get log info
Get-StorageSubSystem Cluster* | Debug-StorageSubSystem

Get-VirtualDisk
Get-PhysicalDisk -Usage Retired

#create new mirrored volume (survive 1 fail for 2node system, 2 simultaneous fails for more nodes)
New-Volume -FriendlyName "Volume A" -FileSystem CSVFS_ReFS -StoragePoolFriendlyName S* -Size 1TB

#create hybrid volume (mirror + parity) with recommended 10% mirror part size
New-Volume -FriendlyName "Volume A" -FileSystem CSVFS_ReFS -StoragePoolFriendlyName S* -StorageTierFriendlyNames Performance, Capacity -StorageTierSizes 100GB, 900GB

#cleanup (pool has to be deleted on each node)
Disable-ClusterStorageSpacesDirect
Get-StoragePool S2D* | Set-StoragePool -IsReadOnly $false
Get-StoragePool S2D* | Remove-StoragePool


답변