2011-04-19 4 views
2

내 원래 서버가 XYZ 불렀다과 설정은 다음되면서 : 는 \ XYZ \ AppFabricConfig이 ClusterConfig.xml윈도우 AppFabric - 이름 서버가 설정 이제로드되지

\ 우리는 서버 이름을 변경하고 지금 (123)라고, 로드 할 때하지만 구성은 여전히 ​​ \ XYZ \ AppFabricConfig ClusterConfig.xml

\

를 가리키는 그리고 다음과 같은 오류를주고있다 :

Use-CacheCluster : ErrorCode<ERRCMS0001>:SubStatus<ES0001>:Error while trying t 
o load configuration: An error occurred loading a configuration file: Logon fai 
lure: unknown user name or bad password. 
(\\xyz\AppFabricConfig\ClusterConfig.xml) 
At line:1 char:62 
+ Import-Module DistributedCacheAdministration;Use-CacheCluster <<<< 
    + CategoryInfo   : NotSpecified: (:) [Use-CacheCluster], DataCacheE 
    xception 
    + FullyQualifiedErrorId : ERRCMS0001,Microsoft.ApplicationServer.Caching.C 
    ommands.UseCacheClusterCommand 

내가 수동으로 다음 파일을 편집 한 :C : \ WINDOWS \ SYSTEM32 \ AppFabric \ DistributedCacheService.exe.config

그리고 설정 : 설정/dataCacheConfig/clusterConfig를 ConnectionString = "\ 123 \ AppFabricConfig \ ClusterConfig.xml"

하지만 여전히에서로드하려고 : \ xyz \ AppFabricConfig \ ClusterConfig.xml

다시 설치하는 데는 어려움이 있지만 너무 좋아하지는 않을 것입니다.

+0

어리석은 me - Windows Server AppFabric Configuration Wizard에 대해 잊어 버렸습니다 ... 나를 재설정 할 수있었습니다. – downatone

+0

@downathone 마법사를 사용하는 경우 SQL 데이터베이스 저장소를 사용할 때 에스컬레이션 된 권한이 필요합니다. 레지스트리 항목을 변경하는 것은 연결 문자열을 변경하는 경우 완벽하게 작동합니다 (일관성을 유지하기 위해 파일이 변경된 것처럼 보일지라도 파일을 변경하는 것이 좋습니다). SQL을 사용할 때 다른 구성을 변경할 필요가 없습니다. – jamiebarrow

답변

1

이 문제를 해결하려면 호스트를 remove-cachehost 및 remove-cacheadmin으로 구성 해제하고 서버 이름을 변경 한 다음 구성 마법사를 실행하거나 add-cachehost 및 add-cacheadmin을 실행하십시오.

연결 문자열도 레지스트리에 있습니다. 로컬 컴퓨터 \ 소프트웨어 \ microsoft \ appfabric \ v1.0 \ configuration : connectionstring도 변경하십시오.

[편집] 클러스터 구성에서 호스트를 제거/추가하려면 Register-cachehost 및 unregister-cachehost도 실행해야합니다.

+0

'C : \ Windows \ System32 \ AppFabric \ DistributedCacheService.exe.config'에 XML 설정이 아닌 레지스트리 설정을 사용하는 것으로 보입니다. – jamiebarrow