주요 콘텐츠로 건너뛰기

스토리지 모니터링 활성화

스토리지 모니터링은 업로드 시점에 지원되는 파일 형식을 자동으로 sanitize할 수 있게 해주는 강력한 서비스입니다. 다양한 클라우드 스토리지 리소스를 지속적으로 모니터링하고 파일을 실시간으로 sanitize할 수 있습니다.

다음 단계에 따라 OVA 통합을 Storage Monitoring과 함께 활성화합니다.

필수 조건

시작하기 전에 다음 요구 사항이 충족되었는지 확인하세요:

  • Domain Name: 공인 IP 주소를 사용하여 Storage Monitoring 서비스의 도메인 이름을 구성합니다. 선택한 도메인에 대해 SSL certificates가 올바르게 구성되었는지 확인하세요.
  • Azure Tenant ID: 사용할 Azure 테넌트의 tenant_id를 확인합니다.
  • jq: install jq on your machine if not already present:
    sudo dnf install -y jq
  • Azure CLI: install the Azure CLI and authenticate using:
    az login
  • App Registration Setup: run the provided shell script to create an App registration and an Enterprise application.
    • Note: 출력값은 이후 단계에서 필요하므로 기록해 두세요.
    bash create-azure-app-registrations-storage-monitor.sh

스토리지 모니터 설치

OVA에는 스토리지 모니터 Helm chart와 컨테이너 이미지가 포함되어 있으며, 0개의 replica가 사전 설치되어 있습니다. VM에 SSH로 접속한 후 이를 활성화하려면 다음 단계를 완료하세요.

1. Kubernetes secret 생성

스토리지 모니터링 서비스에는 서비스 주체의 tenant ID, client ID, client secret가 필요합니다.

중요:

  • 값은 일반 텍스트로 제공하세요. 스크립트가 Base64 인코딩을 자동으로 처리합니다.
  • 기존 키로 스크립트를 다시 실행하면 Kubernetes secret에 저장된 값이 업데이트됩니다.

다음과 같이 스크립트를 실행하세요:

bash add_secrets.sh graphapi-clientid <client-id>
bash add_secrets.sh graphapi-clientsecret <client-secret>
bash add_secrets.sh graphapi-tenantid <tenant-id>

2. 스토리지 모니터링 활성화

도메인 이름과 Azure 테넌트 이름을 사용하여 enable_storage_monitor.sh 스크립트를 실행합니다. 그러면 스토리지 모니터 서비스가 시작되고 Halo 포털에서 SharePointMonitoring 및 OneDriveMonitoring 페이지가 활성화됩니다.

bash enable_storage_monitor.sh <domain_name> <tenant_name>

예:

bash enable_storage_monitor.sh sm.example.com Contoso

3. 설치 후

설치가 성공적으로 완료되면 Storage Monitoring — Microsoft SharePoint의 지침에 따라 Microsoft SharePoint, OneDrive 및 Outlook용 모니터를 구성합니다.