달력

2

« 2025/2 »

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
2011. 8. 26. 16:34

SCOM 설치 시 주의 사항 SystemCenter2011. 8. 26. 16:34

SCOM 설치 시 주의 사항

SQL Server 설치 시 데이터 정렬을 SQL_Latin1_General_CP1_CI_AS 로 해야 한다.

참고: Operations Manager 2007 R2 Supported Configurations
http://technet.microsoft.com/en-us/library/bb309428.aspx

SQL collation for all databases must be SQL_Latin1_General_CP1_CI_AS; no other collation configurations are supported.
:
Posted by 커널64
2011. 8. 6. 10:18

[SCOM] SCOM 2007 R2 CU5 릴리즈!! SystemCenter2011. 8. 6. 10:18

SCOM 2007 R2 CU5가 릴리즈됐다. 눈이 가는 항목은
- 에이전트 업데이트 시 SCOM과 관련없는 서비스가 재시작되는 문제 해결
- Non-Windows 모니터링 대상에 RHEL 6 지원

릴리즈 노트
http://support.microsoft.com/kb/2495674

다운로드
http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=26938

요약
- Restart of non-Operations Manager services when the agent is updated.

- Updated ACS reports.
- TCP Port Probe incorrectly reports negative ping latency.
- MissingEvent Manual Reset Monitor does not work as expected.
- Drillthrough fails because of rsParameterTypeMismatch in the EnterpriseManagementChartControl.
- ACS - Event log message is truncated or corrupted in SCDW.
- UI hang caused by SDK locking.
- ACS Filter fails for certain wildcard queries.
- Edit Schedule button is disabled with SQL 2008 R2.
- Web console times out when you open the left navigation tree.
- Scheduled Reports view for Windows Server 2003 and for Microsoft SQL Server 2005 Reporting Services SP3 CU9 returns "System.IndexOutOfRangeException: Index was outside the bounds of the array."
- Signed MPs cannot be imported when new attributes are added to existing classes.

Cross Platform 모니터링 관리팩 관련
- Performance data for LVM managed partitions is not available.
- Process monitor does not keep name if run by using symbolic link.
- AIX with large number of processes crashes with bad alloc.
- RHEL 6 지원

Cross Platform Monitoring Management Pack 다운로드
http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=18891

:
Posted by 커널64

온도 쿼리 ActiveX 개체를 이용해 연속 임계값 초과 비교하는 모니터
SCOM VBS VBScript Operations Manager

' Property[@Name='Status']    Good / Bad
' $Data/Context/Property[@Name='Message']$

' 파라미터로 센서 이름, 비교 횟수, 임계값 제공
Set oArgs = WScript.Arguments
If oArgs.Count <> 3 Then
WScript.Echo "파라미터 오류"
WScript.Echo "파라미터: 센서 이름, 비교 횟수, 임계값"
WScript.Quit
End If
Sensor = oArgs(0)
MonCount = oArgs(1)
Threshold = oArgs(2)

' 로그 파일 위치
strLogDir = "C:\"
strLogFile = strLogDir&Ucase(Sensor)&".Log"

Dim oAPI, oBag
Set oAPI = CreateObject("MOM.ScriptAPI")
Set oBag = oAPI.CreatePropertyBag()

Const ForReading = 1
Const ForWriting = 2
Set objFSO = CreateObject("Scripting.FileSystemObject")
If objFSO.FileExists(strLogFile) Then
Else Set objTextFile = objFSO.CreateTextFile(strLogFile)
End If

' 온도 쿼리
Dim DD, Infos, Temperatures, CurTemp
CurTemp = 0
On Error Resume Next
Set DD = WScript.CreateObject ("Dimensiondata.KR.PS.MSFT.DDHMon.HWMonitor")
If Err.Number <> 0 Then
WScript.Echo Err.Description
WScript.Quit
End If

Infos = DD.GetHWTemperature()
Temperatures = Split(infos, "|")
For i = 0 to UBound(Temperatures)-1
Temp = Split(Temperatures(i), ",")
If inStr(Ucase(Temp(1)),Ucase(Sensor)) Then
If CurTemp < Temp(2) Then
CurTemp = Temp(2)
End If
strDevice = Temp(0)
strSensor = Temp(1)
End If
Next
Set DD = Nothing

' 로그 파일에 기록
On Error Resume Next
Set objTextFile = objFSO.OpenTextFile(strLogFile, ForReading)
FirstLine = objTextFile.ReadLine & CurTemp & "|"
If Err.Number <> 0 Then
FirstLine = CurTemp & "|"
End If
arrTemp = Split(FirstLine,"|")

If cInt(UBound(arrTemp)) > cInt(MonCount) Then
FirstLine = ""
For i=0 To MonCount-2
arrTemp(i) = arrTemp(i+1)
FirstLine = FirstLine & arrTemp(i) & "|"
Next
FirstLine = FirstLine & CurTemp & "|"
End If
Set objTextFile = objFSO.OpenTextFile(strLogFile, ForWriting)
objTextFile.Write(FirstLine)
objTextFile.Close
Set objFSO = Nothing

' 임계치 비교
arrTemp = Split(FirstLine,"|")
OverCount = 0
For i =0 To Ubound(arrTemp)-1
If cInt(arrTemp(i)) > cInt(Threshold) Then
OverCount = OverCount + 1
End If
Next

' 결과 리턴
If cInt(OverCount) >= cInt(MonCount) Then
Call oBag.AddValue("Status","Bad")
Call oBag.AddValue("Message","Device("&strDevice&") temperature is over threshold("&Threshold&"). Current temperature is "&arrTemp(Ubound(arrTemp)-1)&".")
Call oAPI.Return(oBag)
Else Call oBag.AddValue("Status","Good")
Call oBag.AddValue("Message","Devices temperature is below threshold.")
Call oAPI.Return(oBag)
End If

:
Posted by 커널64
2011. 7. 29. 12:47

[SCOM] SCOM 2012 Beta 설치 SystemCenter2011. 7. 29. 12:47

SCOM 2012 Beta 설치

요구 사항
- Windows Server 2008 R2
- SQL 2008 SP1 이상
- SQL Components: DB Engine, Full Text Search, Reporting
- SQL Collation: SQL_Latin1_General_CP1_CI_AS

에이전트 운영체제(Windows)
- Windows Server 2003 SP2
- Windows Server 2008 SP2
- Windows Server 2008 R2
- Windows XP Professional SP3
- Windows Vista SP2
- Windows 7

에이전트 운영체제(Non-Windows)
- Red Hat Enterprise Linux 4, 5, 6 (x86/x64)
- SUSE Linux Enterprise Server 9 (x86), 10 SP1 (x86/x64), 11 (x86/x64)
- Solaris 8, 9 (SPARC), Solaris 10 (SPARC/x86)
- HP-UX 11i v2, v3 (PA-RISC/IA64)
- AIX 5.3, 6.1, 7.1 (POWER)

설치 중 관리자 그룹을 입력하는 부분이 빠진 것과 OperationsManager DB와 DW DB를 동시에 설치할 수 있다는 것 외에 별 다른 특이 사항은 없다. 내부적으로는 RMS가 없어지고 모든 MS에서 SDK 서비스가 실행된다. 아~주 반가운 소식이다. 더 이상 시스템의 고가용성 구성을 위해 고민하지 않아도 되겠다.
관리 콘솔에서의 큰 변화는 없으며 대시보드 뷰의 기능(?)이 좋아 졌고, Network 모니터링에 대한 관리 서버의 풀 기능과 관리팩 템플릿에서 .NET 응용 프로그램 성능 모니터링이 추가됐다.
일단 간단하게 살펴본 바로는 모니터나 규칙에서 Syslog 규칙 외에 추가된 부분은 보이지 않는다.

:
Posted by 커널64

SCCM의 Asset Intelligence 라이선스 정보 Import 및 Reporting

Name,Publisher,Version,Language,EffectiveQuantity,PONumber,ResellerName,DateOfPurchase,SupportPurchased,SupportExpirationDate,Comments
위와 같은 컬럼 값을 가지는 CSV 파일을 생성한 후 SCCM 콘솔에서 Import 한다.
만약, 라이선스 정보가 바뀌었거나 DB에서 제거하고 싶은 경우 빈 파일을 가져오거나, 변경된 정보를 가지고 있는 CSV 파일을 다시 불러오면 된다.

가져온 라이선스 대비 설치된 소프트웨어 현황 비교는 License 15A - General License Reconciliation Report 를 통해 확인 가능하다.



[샘플 파일]

:
Posted by 커널64

SCCM Asset Intelligence Catalog Sync 오류 'Connection failed - bad certificate'

SCCM 2007 SP2 상태에서 Asset Intelligence Catalog Sync 역할 설치 후 초기 동기화 시 다음 오류가 발생한다.



SCCM 서버의 로그 파일을 보면 다음 오류가 기록된다.

Asset Intelligence Catalog Sync Service Warning: 0 : Mon, 30 May 2011 05:39:48 GMT:WebException trying to enroll: Status = ProtocolError
Asset Intelligence Catalog Sync Service Error: 0 : Mon, 30 May 2011 05:39:48 GMT:Exception attempting sync - HTTP 상태 403: Forbidden(으)로 인해 요청하지 못했습니다.

참고 KB
http://support.microsoft.com/kb/2483225/en-us

:
Posted by 커널64

Windows Server 2008 R2에 SCCM 2012 Beta 2 설치 (스냅샷)

- SQL Server 2008 설치
(현재 버전에서는 SP2 및 R2는 지원하지 않는다.)
- SQL Server 2008 SP1 설치
- SQL Server 2008 SP1 CU10 설치

- 윈도우 구성 요소 설치(CMD)
ServerManagerCmd.exe -i NET-Framework-Core Web-Server Web-DAV-Publishing Web-Asp-Net Web-ASP Web-Windows-Auth Web-Metabase Web-WMI BITS RDC Web-Dyn-Compression Web-Scripting-Tools Web-Mgmt-Service Web-Lgcy-Scripting

- 윈도우 구성 요소 설치(PowerShell)
Import-Module ServerManager
Add-WindowsFeature NET-Framework-Core,Web-Server,Web-DAV-Publishing,Web-Asp-Net,Web-ASP,Web-Windows-Auth,Web-Metabase,Web-WMI,BITS,RDC,Web-Dyn-Compression,Web-Scripting-Tools,Web-Mgmt-Service,Web-Lgcy-Scripting

- WebDAV 구성
%WINDIR%\system32\inetsrv\AppCmd.exe set config "Default Web Site/" /section:system.webServer/webdav/authoring /enabled:true /commit:apphost
%WINDIR%\system32\inetsrv\AppCmd.exe set config "Default Web Site/" /section:system.webServer/webdav/authoringRules /"+[users='*',path='*',access='Read']" /commit:apphost
%WINDIR%\system32\inetsrv\AppCmd.exe set config "Default Web Site/" /section:system.webServer/webdav/authoring /fileSystem.allowHiddenFiles:true /commit:apphost
%WINDIR%\system32\inetsrv\AppCmd.exe set config "Default Web Site/" /section:system.webServer/webdav/authoring /properties.allowAnonymousPropfind:true /commit:apphost
%WINDIR%\system32\inetsrv\AppCmd.exe set config "Default Web Site/" /section:system.webServer/webdav/authoring /properties.allowCustomProperties:false /commit:apphost
%WINDIR%\system32\inetsrv\AppCmd.exe set config "Default Web Site/" /section:system.webServer/webdav/authoring /properties.allowInfinitePropfindDepth:true /commit:apphost
%WINDIR%\system32\inetsrv\AppCmd.exe set config "Default Web Site/" /section:system.webServer/webdav/authoring /fileSystem.allowHiddenFiles:true /commit:apphost
%WINDIR%\system32\inetsrv\AppCmd.exe set config "Default Web Site/" /section:windowsAuthentication /enabled:true /commit:apphost

 - WSUS 설치 -> 기본 웹사이트가 아닌 별도의 웹사이트(:8530)으로 설치

[설치 스냅샷]



















[설치 완료 후 초기 접속 화면] - 운영 콘솔의 많~~~은 변화가 있다. 환영할만한 소식ㅋ

:
Posted by 커널64

SCOM 2007 Cross Platform 에이전트 설치 관련 참고 사항

Cross Platform 에이전트 수동 설치 방법
http://technet.microsoft.com/en-us/library/dd789016.aspx
- SLES 및 RHEL
rpm -i scx-<version>-<os>-<arch>.rpm

- Solaris
uncompress scx-<version>-<os>-<arch>.pkg.Z
pkgadd -d scx-<version>-<os>-<arch>.pkg MSFTscx

- HP-UX
gzip –d scx-<version>-<os>-<arch>.gz
swinstall –s /path/scx-<version>-<os>-<arch> scx

- AIX
gzip –d scx-<version>-<os>-<arch>.gz
/usr/sbin/installp -a -d scx-<version>-<os>-<arch> scx


Cross Platform 에이전트 설치를 위한 요구 사항
http://technet.microsoft.com/en-us/library/dd789030.aspx
IBM AIX 5L 5.3
OS version: AIX 5.3, Technology Level 6, Service Pack 5
xlC.rte: XL C/C++ Runtime 9.0.0.2
openssl.base: OpenSSL Libraries 0.9.8.4

IBM AIX 6.1
OS version: AIX 6.1, any Technology Level and Service Pack
xlC.rte: XL C/C++ Runtime 9.0.0.5
OpenSSL/openssl.base: OpenSSL Libraries 0.9.8.4

HP-UX 11i v2 IA 64
HPUXBaseOS: Base OS B.11.23
HPUXBaseAux: HP-UX Base OS Auxiliary B.11.23.0706
HPUXBaseAux.openssl: OpenSSL Libraries A.00.09.07l.003

HP-UX 11i v2 PA-RISC
HPUX11i-OE: HP-UX Foundation Operating Environment B.11.23.0706
OS-Core.MinimumRuntime.CORE-SHLIBS: Compatible development tools libraries B.11.23
HPUXBaseAux: HP-UX Base OS Auxiliary B.11.23.0706
HPUXBaseAux.openssl: OpenSSL Libraries A.00.09.071.003

HP-UX 11i v3 PA-RISC
HPUX11i-OE: HP-UX Foundation Operating Environment B.11.31
OS-Core.MinimumRuntime.CORE2-SHLIBS: Specific IA emulator libraries B.11.31
openssl/Openssl.openssl: OpenSSL Libraries A.00.09.08d.002

HP-UX 11i v3 IA64
HPUX11i-OE: HP-UX Foundation Operating Environment B.11.31.0709
OS-Core.MinimumRuntime.CORE-SHLIBS: Specific IA development libraries B.11.31
SysMgmtMin: Minimum Software Deployment Tools B.11.31.0709
SysMgmtMin.openssl: OpenSSL Libraries A.00.09.08d.002
 
Red Hat Enterprise Linux ES Release 4
glibc: C Standard Libraries 2.3.4-2
Openssl: OpenSSL Libraries 0.9.7a-43.1
PAM: Pluggable Authentication Modules 0.77-65.1
 
Red Hat Enterprise Linux Server release 5.1 (Tikanga)
glibc: C Standard Libraries 2.5-12
Openssl: OpenSSL Libraries 0.9.8b-8.3.el5
PAM: Pluggable Authentication Modules 0.99.6.2-3.14.el5

Solaris 8 SPARC
Required OS patch: PAM memory leak 108434-22
SUNWlibC: Sun Workshop Compilers Bundled libC (sparc) 5.8,REV=99.06.09
SUNWlibms: Sun Workshop Bundled Shared libm (sparc) 5.8,REV=99.10.21
OpenSSL: SMCossl (sparc) 0.9.8h
PAM: Pluggable Authentication Modules 11.8.0,REV=2000.01.08.18.12

Solaris 9 SPARC
Required OS patch: PAM memory leak 112960-48
SUNWlibC: Sun Workshop Compilers Bundled libC (sparc) 5.9,REV=2002.03.18
SUNWlibms: Forte Developer Bundled Shared libm (sparc) 5.9,REV=2001.12.10
OpenSSL: SMCosslg (sparc) 0.9.7g
PAM: Pluggable Authentication Modules 11.9.0,REV=2002.04.06.15.27

Solaris 10 SPARC
Required OS patch: PAM memory leak 117463-05
SUNWlibC: Sun Workshop Compilers Bundled libC (sparc) 5.10, REV=2004.12.22
SUNWlibms:: Math & Microtasking Libraries (Usr) (sparc) 5.10, REV=2004.11.23
SUNWlibmsr: Math & Microtasking Libraries (Root) (sparc) 5.10, REV=2004.11.23
SUNWcslr: Core Solaris Libraries (Root) (sparc) 11.10.0, REV=2005.01.21.15.53
SUNWcsl: Core Solaris Libraries (Root) (sparc) 11.10.0, REV=2005.01.21.15.53
OpenSSL: SUNopenssl-librararies (Usr) 11.10.0,REV=2005.01.21.15.53
PAM: Pluggable Authentication Modules 11.10.0, REV=2005.01.21.15.53

Solaris 10 x86
Required OS patch: PAM memory leak 117464-04
SUNWlibC: Sun Workshop Compilers Bundled libC (i386) 5.10,REV=2004.12.20
SUNWlibmsr: Math & Microtasking Libraries (Root) (i386) 5.10, REV=2004.12.18
SUNWcsl: Core Solaris, (Shared Libs) (i386) 11.10.0,REV=2005.01.21.16.34
SUNWcslr: Core Solaris Libraries (Root) (i386) 11.10.0, REV=2005.01.21.16.34
OpenSSL: SUNWopenssl-libraries; OpenSSL Libraries (Usr) (i386) 11.10.0, REV=2005.01.21.16.34
PAM: Pluggable Authentication Modules 11.10.0,REV=2005.01.21.16.34

SUSE Linux Enterprise Server 9 (i586)
OS Patch lib gcc-41.rpm: Standard shared library 41-4.1.2_20070115-0.6
OS Patch lib stdc++-41.rpm: Standard shared library 41-4.1.2_20070115-0.6
Openssl: OpenSSL Libraries 0.9.7d-15.10
PAM: Pluggable Authentication Modules 0.77-221.1

SUSE Linux Enterprise Server 10 SP1 (i586)
glibc-2.4-31.30: C Standard shared library 2.4-31.30
OpenSSL: OpenSSL Libraries 0.9.8a-18.15
PAM: Pluggable Authentication Modules 0.99.6.3-28.8

SUSE Linux Enterprise Server 11 (i586)
glibc-2.9-13.2: C Standard shared library 2.9-13.2
PAM: Pluggable Authentication Modules pam-1.0.2-20.1

:
Posted by 커널64
SCOM Cross Platform 모니터링에서 에이전트 배포 과정

:
Posted by 커널64

SCOM 2007 R2 Cross Platform Monitoring 에이전트 관리(?) 도구들

/opt/microsoft/scx/bin/tools 디렉터리로 이동

- scxadmin : 에이전트 서비스 관리 및 구성, 로깅 설정
로깅 설정을 하면 /var/opt/microsoft/scx/log 위치에 쌓인다.
 

- scxcimcli : CIM을 쿼리할 때 사용한다. Windows의 WBEMTEST.exe와 같은 것?
예1) root/scx 네임스패이스에 속하는 클래스 나열
      -> scxcimcli nc -n root/scx -di | sort
예2) 쿼리 실행
      -> scxcimcli xq "Select * From SCX_OperatingSystem" -n root/scx
예3) 윈도우 서버에서 대상 에이전트에 대해 원격으로 쿼리
winrm enumerate http://schemas.microsoft.com/wbem/wscim/1/cim-schema/2/SCX_OperatingSystem?__cimnamespace=root/scx -username:root -password:password -r:https://Contoso-CentOS.Contoso.Local:1270/wsman -auth:basic -skipCACheck -encoding:UTF-8

- scxsslconfig : SCX 에이전트가 사용하는 SSL 인증서 생성 관리

:
Posted by 커널64