Share via


Windows Azure Pack용으로 System Center 리소스 공급자를 구성하는 방법

 

게시: 2016년 6월

적용 대상: System Center 2012 R2 Orchestrator

System_CAPS_important중요

이 항목은 Windows Server용 Windows Azure 팩에서 Service Provider Foundation을 변경할 수 없는 경우 초기 버전의 관리자용 관리 포털에만 사용해야 합니다. 물론 이에 해당하는 경우는 더 이상 없습니다. 자세한 내용은 가상 컴퓨터 클라우드에 대한 Service Provider Foundation 끝점 등록을 참조하세요.

Service Provider Foundation 서버의 위치 또는 Windows Server용 Windows Azure 팩 및 API에 등록했던 계정의 사용자 이름 및 암호를 변경하려는 경우 관리 서비스 구성 Windows PowerShell cmdlet을 사용하여 System Center 리소스 공급자 설정을 변경해야 합니다.

이 항목에서는 Service Provider Foundation에서 끝점으로 구성한 Windows Server용 Windows Azure 팩 및 API URL을 업데이트하는 방법에 대해 설명합니다.

포털 관리자가 관리 포털에서 Service Provider Foundation을 등록할 때 Windows Server용 Windows Azure 팩 및 API에서 기준 URL(예: https://spfserver.constoso.skyspace.com:8090/)을 사용하여 다음 끝점을 만듭니다.

  • AdminEndpoint

  • TenantEndpoint

  • NotificationEndPoint(Service Provider Foundation의 공급자 서비스에서 사용)

  • UsageEndPoint

    Windows Server용 Windows Azure 팩 및 API에서 사용량 끝점을 별도로 등록하지만 동일한 기준 URL이 사용됩니다. 사용량 계량을 구성하는 방법에 대한 자세한 내용은 Service Provider Foundation에서 사용량 계량 구성 항목을 참조하십시오.

Service Provider Foundation 서버의 위치를 변경한 경우 이러한 각 끝점의 URL, 사용자 이름 및 암호도 변경해야 합니다. HealthCheckNotificationEndpoint는 나중에 사용할 목적으로 예약되며 구성되지 않습니다.

Admin, Tenant 및 Notification 끝점의 사용자 이름 및 암호는 Service Provider Foundation 서버의 로컬 SPF_Admin, SPF_VMM, 및 SPF_Provider 그룹에 대한 로컬 사용자 및 그룹에서 지정한 계정과 같아야 합니다. 자세한 내용은 4c766289-4f3c-4990-be7e-4181f99438ee#LocalCreds의 "포털 액세스에 대한 로컬 사용자 자격 증명 확인" 섹션을 참조하십시오.

Service Provider Foundation에서 Windows Server용 Windows Azure 팩 및 API을 등록하는 방법에 대한 자세한 내용은 서비스 프로비전의 "가상 컴퓨터 클라우드 프로비전" 섹션을 참조하십시오.

Service Provider Foundation 끝점을 변경하려면

  1. Service Management Admin API를 설치한 서버에서 관리 서비스 구성 PowerShell 콘솔을 실행합니다.

  2. 필요한 경우 다음과 같은 모듈을 가져옵니다.

      PS C:\> Import-Module -name MgmtSvcConfig
    
  3. 다음과 같이 Admin API가 있는지 확인합니다.

      PS C:\> Get-MgmtSvcNamespace
    

    결과에 'AdminAPI'가 포함되어 있어야 합니다.

  4. 다음과 같이 현재 System Center 리소스 공급자의 XML 파일을 가져와서 사용자 레코드에 대해 검토하고 저장합니다.

      PS C:\> Get-ResourceProvider -name systemcenter -As XmlString | out-file 'c:\temp\resourceproviderSC2012.xml' 
    
  5. 이름이 $rp인 개체 변수로 System Center 리소스 공급자를 가져옵니다.

      PS C:\> $rp = Get-ResourceProvider -name systemcenter
    
  6. 다음과 같이 Service Provider Foundation 서버에 대한 사용자 이름 및 암호 변수를 만듭니다.

      PS C:\> $username = 'Administrator' PS C:\> $pwd = '00cc7urPWD'
    
  7. 다음과 같이 관리 끝점의 설정을 표시합니다.

      PS C:\> $rp.AdminEndpoint
    
  8. 다음 속성을 새 값으로 설정합니다. 또한 자격 증명을 변경할 때도 제거되지 않도록 하려면 AuthenticationMode에 'Basic'을 지정합니다.

      PS C:\> $rp.AdminEndpoint.ForwardingAddress = 'https://spfserver2.contoso.skyspace.com:8090/' PS C:\> $rp.AdminEndpoint.AuthenticationMode = 'Basic' PS C:\> $rp.AdminEndpoint.AuthenticationUserame = $username PS C:\> $rp.AdminEndpoint.AuthenticationPassword = $pwd
    
  9. 다음과 같이 테넌트 끝점의 설정을 표시합니다.

      PS C:\> $rp.TenantEndpoint
    
  10. 다음과 같이 속성을 설정합니다.

     PS C:\> $rp.TenantEndpoint.ForwardingAddress = 'https://spfserver2.contoso.skyspace.com:8090/SC2012/VMM/' PS C:\> $rp.TenantEndpoint.AuthenticationMode = 'Basic' PS C:\> $rp.TenantEndpoint.AuthenticationUserame = $username PS C:\> $rp.TenantEndpoint.AuthenticationPassword = $pwd
    
  11. 다음과 같이 알림 끝점의 설정을 표시합니다.

     PS C:\> $rp.NotificationEndpoint
    
  12. 다음과 같이 속성을 설정합니다.

     PS C:\> $rp.NotificationEndpoint.ForwardingAddress = 'https://spfserver2.contoso.skyspace.com:8090/provider/' PS C:\> $rp.NotificationEndpoint.AuthenticationMode = 'Basic' PS C:\> $rp.NotificationEndpoint.AuthenticationUserame = $username PS C:\> $rp.NotificationEndpoint.AuthenticationPassword = $pwd
    
  13. 사용량 끝점을 등록한 경우 해당 끝점도 변경해야 합니다. 다음과 같이 사용량 끝점의 설정을 표시합니다.

     PS C:\> $rp.UsageEndpoint
    

    아래와 같이 반환되는 것이 없거나 XML이 나타나는 경우 속성을 설정하는 다음 단계를 건너뛰고, 대신 준비되었을 때 관리 포털의 새 URL로 사용량 끝점을 등록합니다.

     <UsageEndpoint i:nil="true" />
    
  14. 다음과 같이 속성을 설정합니다.

     PS C:\> $rp.UsageEndpoint.ForwardingAddress = 'https://spfserver2.contoso.skyspace.com:8090/' PS C:\> $rp.UsageEndpoint.AuthenticationMode = 'Basic' PS C:\> $rp.UsageEndpoint.AuthenticationUserame = $username PS C:\> $rp.UsageEndpoint.AuthenticationPassword = $pwd
    
  15. 이제 업데이트한 값으로 System Center 리소스 공급자를 덮어쓰도록 -Force 매개 변수와 함께 리소스 공급자 개체를 추가하여 끝점을 업데이트할 수 있습니다. 형식:

     PS C:\>Add-ResourceProvider –ResourceProvider $rp –Force