클러스터 로그수집 방법 (Create Cluster Log)
#.1 Command Prompt
Cluster log /g /copy
수집경로 : C:\windows\cluster\reports\cluster.log 각노드에 자동 생성됨.
/copy 옵션은 명령을 수행하는 서버에 COPY 하는 옵션 , 이 옵션이 없을 경우에는 각 노드에 생성이 된다.
#.2 PowerShell
파워쉘을 실행하여 아래와 같이 실행한다.
Get-ClusterLog -Destination .
C:\windows\cluster\reports\cluster.log 의 각 노드에 자동 생성이 된다.
/UseLocalTime : 로그일자가 현재 서버시간으로 생성된다. (없으면 9시간 전 시간으로 표기됨)
/TimeSpan : 단위 분 , 10분 이전까지만 로깅을 한다.
혹 파워셀 명령어가 실행이 안되면 해당 모듈이 설치가 되지 않아서 그렇다.
아래와 같이 설치하면 된다.
Getting started with the Failover Clustering cmdlets
To import the FailoverClusters module
1.Start Windows PowerShell with administrator privileges. Click Start, point to All Programs, click Accessories, click Windows PowerShell, right-click Windows PowerShell, and then click Run As Administrator.
2.To import the module, type the following cmdlet:
Copy
import-module failoverclusters
3. end
You can use the get-command –module failoverclusters to get a list of all Failover Clustering cmdlets.
해당명령어를 모두 보려면 위 get-command를 수행하면 된다.
검색어: 클러스터로그
----------------------------------------------------------------------------------------------------------------------------------------------------
2012에서는 위에서처럼 하지말래
http://tshooter.tistory.com/53
'Windows > 윈도우 공통' 카테고리의 다른 글
[스크랩] AD환경에서의 NTP (Windows Time Service) 설정 (0) | 2016.09.13 |
---|---|
[스크랩] PDC서버일 때 NTP 설정 방법 (0) | 2016.09.13 |
[MSCS] 쿼럼 및 클러스터 관련 정리 (0) | 2016.07.21 |
[스크랩] 윈도우 타임서버 설정 및 모니터링 (0) | 2016.06.27 |
[스크랩] TEMP폴더 아래 CAB파일 계속 생성됨 (0) | 2016.06.01 |