Amazon을 사용하여 원격 FSx CLI 관리를 수행하는 일회성 파일 시스템 설정 작업 PowerShell - FSx윈도우용 Amazon 파일 서버

기계 번역으로 제공되는 번역입니다. 제공된 번역과 원본 영어의 내용이 상충하는 경우에는 영어 버전이 우선합니다.

Amazon을 사용하여 원격 FSx CLI 관리를 수행하는 일회성 파일 시스템 설정 작업 PowerShell

다음 Amazon FSx CLI for Remote Management를 PowerShell 명령에 사용하여 모범 사례에 따라 파일 시스템 관리 작업을 신속하게 구현하십시오.

스토리지 사용량 관리

다음 명령을 사용하여 파일 시스템 스토리지 사용량을 관리합니다.

  • 기본 일정에 따라 데이터 중복 제거를 활성화하려면 다음 명령을 실행합니다.

    Invoke-Command -ComputerName $FSxWindowsRemotePowerShellEndpoint -ConfigurationName FSxRemoteAdmin -ScriptBlock { Enable-FsxDedup }

    선택적으로, 최소 파일 보존 기간 없이 다음 명령을 사용하여 파일이 생성된 직후 파일에서 데이터 중복 제거 작업을 실행할 수 있습니다.

    Invoke-Command -ComputerName $FSxWindowsRemotePowerShellEndpoint -ConfigurationName FSxRemoteAdmin -ScriptBlock { Set-FSxDedupConfiguration -MinimumFileAgeDays 0 }

    자세한 내용은 데이터 중복 제거를 통한 스토리지 비용 절감 섹션을 참조하세요.

     

  • 다음 명령을 사용하여 “추적” 모드에서 사용자 스토리지 할당량을 활성화할 수 있습니다. 이 모드는 보고 목적으로만 사용되며 적용을 위한 것이 아닙니다.

    $QuotaLimit = Quota limit in bytes $QuotaWarningLimit = Quota warning threshold in bytes Invoke-Command -ComputerName $FSxWindowsRemotePowerShellEndpoint -ConfigurationName FSxRemoteAdmin -ScriptBlock { Enable-FSxUserQuotas -Track -DefaultLimit $Using:QuotaLimit -DefaultWarningLimit $Using:QuotaWarningLimit }

    자세한 내용은 스토리지 할당량 관리 섹션을 참조하세요.

섀도우 복사본을 활성화하여 최종 사용자가 파일 및 폴더를 이전 버전으로 복구할 수 있도록 지원

다음과 같이 기본 일정(평일 오전 7시와 정오)에 따라 섀도우 복제본을 활성화합니다.

Invoke-Command -ComputerName $FSxWindowsRemotePowerShellEndpoint -ConfigurationName FSxRemoteAdmin -ScriptBlock { Set-FsxShadowStorage -Default } Invoke-Command -ComputerName $FSxWindowsRemotePowerShellEndpoint -ConfigurationName FSxRemoteAdmin -ScriptBlock { Set-FsxShadowCopySchedule -Default -Confirm:$False}

자세한 내용은 기본 스토리지와 스케줄을 사용하도록 섀도 복사본을 구성합니다. 단원을 참조하십시오.

전송 중 암호화 적용

다음 명령은 파일 시스템에 연결하는 클라이언트에 대해 암호화를 적용합니다.

Invoke-Command -ComputerName $FSxWindowsRemotePowerShellEndpoint -ConfigurationName FSxRemoteAdmin -ScriptBlock { Set-FsxSmbServerConfiguration -EncryptData $True -RejectUnencryptedAccess $True -Confirm:$False}

열려 있는 모든 세션을 닫고 암호화를 사용하여 현재 연결된 클라이언트가 다시 연결되도록 할 수 있습니다.

Invoke-Command -ComputerName $FSxWindowsRemotePowerShellEndpoint -ConfigurationName FSxRemoteAdmin -ScriptBlock { Close-FSxSmbSession -Confirm:$False}

자세한 내용은 전송 중 암호화 관리사용자 세션 및 열린 파일 단원을 참조하세요.