달력

5

« 2024/5 »

  • 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
  • 29
  • 30
  • 31

System Center Data Protection Manager 2007의 Pre-Backup, Post-Backup 스크립트 사용

<설치 경로>\Microsoft Data Protection Manager\DPM\Scripting 아래에 다음과 같은 형식의 ScriptingConfig.xml 파일을 놓으면 백업 작업 전/후에 해당 명령을 실행한다. 경로나 원본 이름에 ""(따옴표)를 포함해서는 안 된다.
백업 작업에는 초기 전체 백업, 빠른 전체 백업, 동기화, 일관성 확인 작업이 포함된다.

<?xml version="1.0" encoding="utf-8"?>
<ScriptConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2003/dls/ScriptingConfig.xsd">
<DatasourceScriptConfig DataSourceName="D:">
<PreBackupScript>D:\Scripts\PreCommand.bat</PreBackupScript>
<PreBackupCommandLine />
<PostBackupScript>D:\Scripts\PostCommand.bat</PostBackupScript>
<PostBackupCommandLine />
<TimeOut>90 </DatasourceScriptConfig>
</ScriptConfiguration>

DataSourceName 속성에는 다음과 같이 입력한다.
볼륨에 대한 보호 시 - 원본 볼륨 또는 이름
SQL에 대한 보호 시 - Instance\Database
Exchange에 대한 보호 시 - Storage group Name
SharePoint Farm의 경우 - SharePoint Farm\SQL Server Name\SQL Instance Name\SharePoint Config DB

:
Posted by 커널64
2009. 8. 19. 14:09

SCDPM 2007 용량 산정 시 고려 사항 SystemCenter2009. 8. 19. 14:09

System Center Data Protection Manager 2007 Sizing


권장 사양
CPU: 2.33GHz 이상 Quad-Core
Memory: 4GB
Pagefile: 복구 지점 볼륨 합의 0.2% 필요
(예를 들어, 복구 지점 볼륨이 총 3TB이면 페이지 파일은 6GB가 추가되어야 한다. 또한, 32bit 운영체제 VSS non-paged pool의 제약으로 10TB 이상의 데이터를 보호하는 경우 반드시 64bit 운영체제가 필요하다.)


플랫폼 별 제약 사항

 플랫폼  데이터 원본 제한  권장 디스크 공간
 32bit

 150개의 데이터 원본
 단일 DPM 서버 당 50개의 서버 권장

 10TB
 Secondary DPM 서버의 경우 6TB
 64bit  300개의 데이터 원본
 단일 DPM 서버 당 75개의 서버 권장
 45TB


네트워크 고려 사항
동기화 중에 네트워크가 단절되면 DPM은 끊어진 부분부터 다시 전송을 시작한다.
일관성 확인 중에 네트워크가 단절되는 경우 5분 이내에 다시 네트워크 연결이 재개되면 일관성 확인을 다시 수행하며 5분 이내에 네트워크 연결이 재개되지 않는다면 일관성이 없는 것으로 표시된다.


네트워크 속도와 데이터 원본 크기 별 전송 시간

 데이터 크기  1Gbps  100Mbps  32Mbps  8Mbps  2Mbps  512Kbps
 1GB  < 1분  < 1시간  < 1시간  < 1시간  1.5시간  6시간
 50GB  < 10분  1.5시간  5시간  18시간  71시간  284시간
 200GB  < 36분  6시간  18시간  71시간  284시간  1137시간
 500GB  < 1.5시간  15시간  45시간  178시간  711시간  2844시간


:
Posted by 커널64

Operations Manager 2007 R2에서 변경된 서비스 이름
- OpsMgr SDK Service -> System Center Data Access Service
- OpsMgr Config Service -> System Center Management Configuration
- OpsMgr Health Service -> System Center Management

Operations Manager 2007의 Data Warehouse 서버 변경(이동)
1. Operations Manager 관련 서비스 중지
- RMS의 SDK, Config, HealthService 중지
- 모든 MS의 HealthService 중지
2. Operations Manager DW 서버의 OperationsManagerDW DB, Master DB 백업
3. DW 서버의 DW 서버 구성 요소 제거
- 프로그램 추가/제거 > SCOM 2007 Reporting Server > Change >
- Modify > Data Warehouse 구성 요소 제거 (DW DB 자체는 삭제되지 않음)
4. SSMS에서 OperationsManagerDW DB 삭제
- Delete backup and restore history information for databases 체크
- Close existing connections 체크
5. 새 DW 서버에서 Operations Manager 2007 설치
- Data Warehouse 구성 요소 선택
6. 새 DW 서버에서 DW DB 제거
- SSMS 실행 > OperationsManagerDW 삭제
- Delete backup and restore history information for databases 체크
- Close existing connections 체크
7. 작업 2에서 백업해 놓은 OperationsManagerDW DB 복원
8. 새 DW 서버에 다음과 같은 로그인 생성 (SSMS)
- System Center Data Access Service Account
- Data Warehouse Action Account
- Data Reader Account
- 컴퓨터 계정의 경우 domain\computername$의 형태로 생성
9. 새 DW 서버에 각 로그인 계정의 적절한 권한 추가
- SSMS > 보안 > 로그인 > 계정 속성 > 사용자 매핑
- Data Reader Account  > OperationsManagerDW의 OpsMgrReader, db_datareader 체크
- OpsMgr SDK Service > OperationsManagerDW의 OpsMgrReader, db_datareader 체크
- Data Warehouse Action Account > OperationsManagerDW의 OpsMgrWriter, db_owner 체크
10. RMS의 SDK 서비스 시작
11. Reporting Service의 데이터 원본 수정
- http://<ReportServer>/Reports 접속 > 자세한 정보 표시 > Data Warehouse Main 클릭
- 연결 문자열의 data source=<ServerName> 수정 > 적용
12. SSRS가 실행 중인 서버의 레지스트리 수정
- HKEY_LOCAL_MACHINE\Software\Microsoft\Microsoft Operations Manager\3.0\Reporting
- DWDBInstance의 값을 새 DW 서버로 변경
- 만약, DW 서버와 SCOM RS 서버가 같은 경우 키가 없으며 추가할 필요 없음
13. Operations Manager DB 수정
- SSMS > 데이터베이스 > OperationsManager > 테이블 > dbo.MT_DataWarehouse > 테이블 열기 >
- MainDatabaseServerName_16781F33_F72D_033C_1DF4_65A2AFF32CA3 의 값을 새 DW 서버로 변경
14. OperationsManagerDW DB 수정
- SSMS > 데이터베이스 > OperationsManagerDW > 테이블 > dbo.MemberDatabase > 테이블 열기 >
- ServerName 컬럼의 값을 새 DW 서버로 변경
15. 서비스 재시작
- RMS의 Config Service
- 모든 MS의 HealthService

[[검증]]
1. 콘솔에서 보고서가 정상적으로 보이는지 확인
2. MS의 가용성 > Data Warehouse SQL RS Deployed Management Pack List Request State 상태 확인
3. 이벤트 로그 확인
- 원본: Health Service Module, 분류: Data Warehouse
- 정상인 경우 31570, 31558, 31554
- OperationsManagerDW DB 접근에 문제가 있는 경우 31563, 31551, 31569, 31552

:
Posted by 커널64

참고 사항
- 기본적으로 Exchange Server 역할에 대한 Discovery 및 Monitoring은 동작하지 않는다.
- 이는 먼저 소수의 서버에 대해 테스트를 진행한 후 전체적으로 관제를 시작하기 위함이다.
- 관리팩을 가져오면 Exchange 2007 Discovery Helper 클래스에 Exchange Server가 등록된다.
- 먼저 Exchange 2007 Discovery Helper 클래스에 정상적으로 Exchange Server가 검색되었는지를 확인한다.

모니터링 설정
1. 다음과 같은 검색 규칙에 대해 사용으로 재정의 설정을 한다.
> Exchange 2007 CCR Clustered Mailbox Server Role Discovery
> Exchange 2007 CCR Node Role Discovery
> Exchange 2007 Standalone CCR Node Discovery
> Exchange 2007 CAS Role Discovery
> Exchange 2007 Hub Transport Role Discovery
> Exchange 2007 Edge Role Discovery
> Exchange 2007 UM Role Discovery

2. Edge Server의 사이트 이름 및 포리스트 이름 변경
> 기본적으로 모든 Edge Server들은 별도의 관리 그룹으로 설정된다. (도메인 구성원이 아니기 때문에)
> Site Edge on Edge discovery 검색 규칙을 재정의해 다른 역할이 설치된 서버와 동일한 관리 그룹으로 변경한다.
> 재정의할 부분은 'AD Site Name', 'Forest DNS Name'이다. 다른 서버의 검색 결과와 동일하게 변경한다.

3. 관리팩에 의해 다음과 같은 Exchange Server 용 MP 템플릿이 추가된다.
> Exchange 2007 Client Access Server Monitoring : CAS -> Mailbox 테스트
> Exchange 2007 Intra-Organization Mail Flow Monitoring : 실제 메일 서버 간 전송 테스트

4. Exchange Server 2007의 테스트 명령이 정상적으로 동작하도록 Cmdlet을 이용해 설정한다.
> Test-OwaConnectivity
> Test-ActiveSyncConnectivity
> Test-WebServicesConnectivity
> Test-PopConnectivity
> Test-ImapConnectivity

5. 각 Exchange Server에 대해 Agent Proxy 설정

6. 원격 통합 메시징(UC) 모니터링 설정
> Exchange 2007 Test UM Connectivity Remote Voice Collection 규칙 재정의
> Exchange 2007 Test UM Connectivity Remote Voice Monitor 모니터 재정의
> 재정의 항목 중 Enabled와 Phone, UM IP Gateway를 수정한다.
> Phone 확장 번호는 다음 Cmdlet을 이용해 구독 번호 또는 자동 전화 교환 번호를 입력한다.
> Get-UMDialPlan -> AccessTelephoneNumbers 속성
> Get-UMAutoAttendant -> PilotIdentifierList 속성

:
Posted by 커널64

1. Run As Account 생성
> Administration > Right-Click > Create Run As Account
> Run As Account Type: Windows > Diskplay Name 입력 > Next
> 계정 정보 입력 > Create
* 사용되는 계정은 복구 작업 수행을 위해 대상 컴퓨터의 Administrator 권한이 필요하다.

2. Automatic Agent Management Account Profile 설정
> Administration > Run As Configuration > Profiles
> Automatic Agent Management Account > Properties > Next
> Run As Accounts > Add... > Run As Account 선택(대상 컴퓨터의 Administrator 권한)
> A selected class, group, or object: > Select > Object
> Management Server Class 선택 > Management Server Object 선택 > OK > Save

3. Health Service Heartbeat Failure Monitor의 복구 작업 설정
> Authoring > Management Pack Objects > Monitors > Scope > Health Service Watcher (Agent)
> Availability > Health Service Heartbeat Failure > Properties
> Override > 목록에서 Recovery의 'Enable and Restart Health Service' > Override
> For all objects of type: Health Service Watcher (Agent) > Enabled: True
> Restart Health Service, Reinstall Health Service (triggered from Diagnostic)에 대해 반복

4. Validate Alert Subscription Account Profile 설정
* 알림 구독 모듈이 알림 메시지가 구독 범위 안에 있는지를 검증할 때 사용되는 계정
* RMS의 Administrator 및 Operations Manager Administrators 역할의 구성원 계정이어야 한다.
> Administration > Run As Configuration > Profiles > Validate Alert Subscription Account > Properties
> Run As Accounts > Edit > 적절한 권한을 가진 계정으로 변경(필요 시)

5. Management Group Availability Health Rollup 설정(권장)
* Operational Database Watchers Group의 상태가 Management Group의 상태에 Rollup 되도록 구성
> Authoring > Management Pack Objects > Monitors > Scope > Operations Manager Management Group
> Availability > Operational Database Watchers Group to Management Group Availability Health Rollup
> Right-Click > Override > For all objects of type: Operations Manager Management Group > Enabled: True

6. RMS의 Action Account가 Operations Manager Administrators 역할의 구성원이도록 설정
- Operations Manager 관리팩에는 업데이트된 관리팩이 있는지를 검사하는 규칙이 포함되어 있다.
- 기본적으로 1440분(1일) 마다 동작하며 업데이트된 관리팩이 발견될 경우 메시지를 띄운다.
- 이 규칙은 스크립트와 Powershell을 실행시키는데 Operations Manager Administrators 역할이 필요하다.
- RMS의 Account가 LocalSystem 또는 Operations Manager Administrators 역할 구성원이 아니면 스크립트는 실패한다.

:
Posted by 커널64



구성 요소

Service Manager Management Server:
SCSM의 Main 구성 요소로 인시턴트 관리, 변경, 작업 등을 수행한다.

Configuration Management Database(CMDB):
IT 환경의 Service Manager Configuration Items(CI)와 SCSM의 설정을 저장하고 있는 데이터베이스

Service Manager Console:
헬프 데스크 운영자 및 관리자가 사용하는 관리 콘솔로 Management Server 설치 시 자동으로 설치된다.
별도의 컴퓨터에 Stand-alone  형태로 설치될 수도 있다.

Data Warehouse:
선택적 구성요소로 SCOM의 보고 데이터베이스와 같이 장기간 데이터를 보관하고 보고 용도의 역할을 한다.


하드웨어 요구 사항
CMDB:

CPU - Quad-core 2.66GHz / RAM - 8GB / Disk RAID1(System), RAID10(DB)

Service Manager Management Server:
CPU - Dual-core 2.66GHz / RAM - 4GB / Disk RAID1

Service Manager Console:
CPU - 2.0GHz / RAM - 2GB

Data Warehouse:
CPU - Quad-core 2.66HGz / RAM - 8GB / Disk RAID1(System), RAID10(DB)


소프트웨어 요구 사항
Service Manager Management Server:

- Windows Server 2008 64bit Version (Standard or Enterprise)
- .NET Framework 3.5 SP1

CMDB or Data Warehouse:
- Windows Server 2008 64bit Version (Standard or Enterprise)
- SQL Server 2008 64bit Version (Standard or Enterprise)
- SQL Server Reporting Service

Service Manager Console:
- Windows Server 2008 64bit Version (Standard or Enterprise)
- Windows Server 2003 SP1 64bit Version (Standard or Enterprise)
- Windows Vista 64bit Version
- .NET Framework 3.5 SP1

* .NET Framework 3.5 SP1 설치 파일은 설치 미디어오 포함되어 있음.
* Service Manager의 알림 기능을 사용하기 위해서는 SMTP 서버 필요
* SQL 서버의 요구 사항이 64bit로 되어 있으나 32bit에서도 동작되는 것으로 확인됨.


사용 포트 정보(현재 릴리스에서는 변경 불가능)
Service Manager Console -> Service Manager Management Server : 5724
Service Manager Management Server -> Remote CMDB : 1433
Service Manager Management Server -> Data Warehouse Server : 5724
Data Warehouse Server -> Remote Data Warehouse DB Server : 1433
SQL Reporting Service Server -> Remote Data Warehouse DB Server : 1433
Data Warehouse Server -> Remote CMDB Server : 1433


설치 과정
CMDB:
1. SQL Server 설치
> 기본 인스턴스
> Collation 설정은 Latin1_General_CP1_CI_AS
> 서비스 계정은 로컬 시스템
> SQL Server Reporting Service 설치 및 구성
* Data Warehouse의 경우 SQL Server Reporting Service만 필요

2. 설치 메뉴의 Data Warehouse 서버 설치(선택)
> Management Server와 동일한 머신에 설치 불가능

3. Service Manager Management Server
> .NET Framework 3.5 SP1 설치
> SQL 서버 정보, 데이터베이스 이름 입력
> 관리 그룹 이름 입력
> 관리자 그룹 또는 계정 설정
> Data Warehouse 서버 경로 입력(선택)

* 설치 완료 후 발견한 부분으로 OpsMgr Health Service가 설치된 것이 확인됨.
* Operations Manager와 동일한 서비스 이름을 가지는데... 좀 더 확인이 필요하겠다.


설치 후 작업
Active Directory Connector 생성

1. Service Manager Console 실행
2. Administration > Connectors > Task의 Create Connector > Active Directory Connector
3. Connector Name 입력 > Enable this connector 체크 확인 > Next
4. 도메인 접속 or OU 선택, 도메인 계정 정보 입력 > Next
5. 전체 Object에 대해 Import 하거나 Import 할 Object 선택 > Next > Create

System Center Configuration Manager 2007 SP1 Connector 생성
1. Service Manager Console 실행
2. Administration > Connectors > Task의 Create Connector > Configuration Manager
3. Connector Name 입력 > Enable this connector 체크 확인 > Next
4. Database 정보 입력
> Server Name: Configuration Manager의 Site Database 서버
> Database Name: Configuration Manager의 Site Database 서버
> 계정 정보 입력
* 현재 릴리즈에서는 접속 테스트가 정상적으로 동작하지 않는다.
5. 동기화 주기 설정 > Next > Create

:
Posted by 커널64
2009. 8. 11. 12:36

SCOM 2007 R2의 non-Windows 지원 (UNIX/Linux) SystemCenter2009. 8. 11. 12:36

Cross Platform Extensions 백서를 확인해 보면 다음과 같이 쓰여져 있다.

"Reflecting its commitment to provide greater interoperability, openness, and choice for its customers, Microsoft provides a centralized management solution to monitor both Microsoft and non-Microsoft platforms. Ops Mgr 2007 R2 extends the monitoring and management capabilities of this award-winning platform to non-Microsoft platforms, including HP-UX®, Sun Solaris™, Red Hat® Enterprise Linux®, SUSE® Linux Enterprise Server, and IBM AIX 5L® server environments."

자세한 버전 정보가 나와 있지 않아 설치 디렉토리를 확인해 보면 다음과 같은 파일들이 보인다.

scx-1.0.4-248.aix.5.ppc.lpp.gz
scx-1.0.4-248.aix.6.ppc.lpp.gz
scx-1.0.4-248.hpux.11iv2.ia64.depot.Z
scx-1.0.4-248.hpux.11iv2.parisc.depot.Z
scx-1.0.4-248.hpux.11iv3.ia64.depot.Z
scx-1.0.4-248.hpux.11iv3.parisc.depot.Z
scx-1.0.4-248.rhel.4.x64.rpm
scx-1.0.4-248.rhel.4.x86.rpm
scx-1.0.4-248.rhel.5.x64.rpm
scx-1.0.4-248.rhel.5.x86.rpm
scx-1.0.4-248.sles.10.x64.rpm
scx-1.0.4-248.sles.10.x86.rpm
scx-1.0.4-248.sles.9.x86.rpm
scx-1.0.4-248.solaris.10.sparc.pkg.Z
scx-1.0.4-248.solaris.10.x86.pkg.Z
scx-1.0.4-248.solaris.8.sparc.pkg.Z
scx-1.0.4-248.solaris.9.sparc.pkg.Z

단순 추리(?)를 해 보았을 때 AIX 5/6, HP-UX 11iv2/3, RHEL 4/5, SLES 9/10, Solaris 8/9/10을 지원하나??

다시 데이터시트를 확인해 보면 다음과 같은 내용이 보인다.

      Operations Manager 2007 R2 supports monitoring of the following operating systems:
        - HP-UX 11i v2 and v3 (PA-RISC and IA64)
        - Sun Solaris 8 and 9 (SPARC) and Solaris 10 (SPARC and x86)
        - Red Hat Enterprise Linux 4 (x86/x64) and 5 (x86/x64) Server
        - Novell SUSE Linux Enterprise Server 9 (x86) and 10 SP1 (x86/x64)
        - IBM AIX v5.3 and v6.1 (POWER)

마이너 버전까지 확인하는지는 직접 배포를 해 보아야 알 수 있을 것 같다...
:
Posted by 커널64

1. Live Migration
가장 특징적인 기능이라 할 수 있겠다. VM의 다운타임 없이 호스트 간 이동이 가능해진다.
이를 위해서는 R2에서 제공되는 CSV(Clustered Shared Volume)가 요구된다.
SCVMM 2008 R2와 함께 사용 시 Live Magration의 Queue와 같은 기능을 사용할 수 있다.
기존 인프라에 대한 변경은 불필요하다.

2. Logical Processor Support
호스트 컴퓨터에 대해 64개의 논리적인 코어 지원
최초 Hyper-V 버전 대비 두 배수의 논리적 코어 지원이다.

3. Hot add/remove Storage
VHD 또는 Pass-through 디스크에 대한 hot add/remove 지원
Hot add/remove는 SCSI 컨트롤러에 대해서만 지원
저장소 컨트롤러에 대한 hot add/remove는 지원 안 함

4. SLAT
Second Level Address Translation (SLAT)
메모리 주소 변환에 대한 하드웨어(CPU)적인 지원으로 성능 증가 및 Hypervisor의 부하 감소
Intel에서는 EPT(Enhanced Page Tables)이라 부르고 AMD에서는 NPT(Nested Page Tables)라 칭한다.
메모리 관리에 대한 성능을 증가 시킨다. 구체적으로 Hypervisor의 메모리 사용량을 약 5%에서 1%로 감소시킨다.

5. VHD를 통한 부팅(물리적인 서버) 지원


* Hot Add Memory 지원 Windows Server 2003/2008 Edition 목록

> Windows Server 2003 Enterprise Edition(Not supported in 64-bit versions)
> Windows Server 2003 Datacenter Edition(Not supported in 64-bit versions)
> Windows Server 2008 Enterprise Edition
> Windows Server 2008 Datacenter Edition
> Windows Server 2008 Itanium Edition

:
Posted by 커널64

param ($rootMS,$Domain,$targetmS,$targetAgent)
#Checking Root MS parameter
     if ($rootMS -eq $null) {
        Write-Host ""
        Write-Host "SYNTAX:";
        Write-Host ""
        Write-Host "-rootMS: FQDN of the root management server for the target management group.";
        Write-Host "Ex: RootManagementServer.fqdn.local";
        Write-Host ""
        Write-Host "-Domain: The target group.  Use the display name of the group.";
        Write-Host "Ex: 'NOC Computers Test";
        Write-Host ""
        Write-Host "-targetMS: FQDN of the management server for discovery, install and agent mgmt.";
        Write-Host "Ex: 'MyMS.fqdn.local'"
        Write-Host ""
        Write-Host "-targetAgent: FQDN of the server on which agent(s) should be installed (wildcards allowed).";
        Write-Host "Ex: 'Computer.fqdn.local'"
        Write-Host ""
 exit;
     }

#Initialize the OpsMgr Provider
Add-PSSnapin Microsoft.EnterpriseManagement.OperationsManager.Client

# Set the location to the root of the provider namespace.
cd OperationsManagerMonitoring::

#create a connection to the Management Group
New-ManagementGroupConnection $rootMS

#change the path
cd $rootMS

#configure query setting based on your -targetMS parameter input
$ldap_query = new-ldapquerydiscoverycriteria -domain $Domain '
 -ldapquery "(sAMAccountType=805306369)(name=$targetAgent*)"

#configure discovery setting
$windows_discovery_cfg = new-windowsdiscoveryconfiguration -ldapquery $ldap_query

# discoveryresults
$discovery_results = start-discovery -managementserver (get-managementserver | '
where {$_.Name -eq "$targetMS"}) -windowsdiscoveryconfiguration $windows_discovery_cfg

#install Agent(s) based on the criteria of your search in the -targetMS parameter
install-agent -managementserver (get-managementserver | where {$_.Name -eq "$targetMS"}) '
-agentmanagedcomputer $discovery_results.custommonitoringobjects

:
Posted by 커널64

Operations Manager 콘솔이나 Management Server가 설치된 컴퓨터에서 실행

[사용 방법]
powershell D:\MpToXml.ps1 -mpFilePath:'D:\Microsoft.Exchange.Server.2003.Monitoring.mp' -outputDirectory:'D:\'

:
Posted by 커널64