RSS

Category Archives: System Center

download SCOM r2 VHD using PS way from MS

thanks for stefan stranger’s share.

quote:

Save script to DownloadVHD.ps1 and run from PowerShell.

###############################################################################
# Download VHD Test Drive – System Center Operations Manager 2007 R2 from
# http://www.microsoft.com/downloads/en/details.aspx?FamilyID=ef67ea4f-b8af-436f-80ae-33936f26f110
# in one-go using PowerShell and Bits.
# Remark: Use PowerShell 2.0 because it makes use of the BitsTransfer Module
# Author: Stefan Stranger
# v1.001 – 14/02/2011 – stefstr – initial release
###############################################################################

$global:path = "c:\Temp\"

Import-Module BitsTransfer #Loads the BitsTransfer Module
Write-Host "BitsTransfer Module is loaded"

$OpsMgrVHDs = @("http://download.microsoft.com/download/4/A/F/4AFA721B-842E-4253-82E7-A53E09FC191E/EULA.txt",
"http://download.microsoft.com/download/4/A/F/4AFA721B-842E-4253-82E7-A53E09FC191E/README.rtf",
"http://download.microsoft.com/download/4/A/F/4AFA721B-842E-4253-82E7-A53E09FC191E/VHD_OpsMgr2007R2.part01.exe",
"http://download.microsoft.com/download/4/A/F/4AFA721B-842E-4253-82E7-A53E09FC191E/VHD_OpsMgr2007R2.part02.rar",
"http://download.microsoft.com/download/4/A/F/4AFA721B-842E-4253-82E7-A53E09FC191E/VHD_OpsMgr2007R2.part03.rar",
"http://download.microsoft.com/download/4/A/F/4AFA721B-842E-4253-82E7-A53E09FC191E/VHD_OpsMgr2007R2.part04.rar",
"http://download.microsoft.com/download/4/A/F/4AFA721B-842E-4253-82E7-A53E09FC191E/VHD_OpsMgr2007R2.part05.rar",
"http://download.microsoft.com/download/4/A/F/4AFA721B-842E-4253-82E7-A53E09FC191E/VHD_OpsMgr2007R2.part06.rar",
"http://download.microsoft.com/download/4/A/F/4AFA721B-842E-4253-82E7-A53E09FC191E/VHD_OpsMgr2007R2.part07.rar",
"http://download.microsoft.com/download/4/A/F/4AFA721B-842E-4253-82E7-A53E09FC191E/VHD_OpsMgr2007R2.part08.rar",
"http://download.microsoft.com/download/4/A/F/4AFA721B-842E-4253-82E7-A53E09FC191E/VHD_OpsMgr2007R2.part09.rar",
"http://download.microsoft.com/download/4/A/F/4AFA721B-842E-4253-82E7-A53E09FC191E/VHD_OpsMgr2007R2.part10.rar",
"http://download.microsoft.com/download/4/A/F/4AFA721B-842E-4253-82E7-A53E09FC191E/VHD_OpsMgr2007R2.part11.rar",
"http://download.microsoft.com/download/4/A/F/4AFA721B-842E-4253-82E7-A53E09FC191E/VHD_OpsMgr2007R2.part12.rar",
"http://download.microsoft.com/download/4/A/F/4AFA721B-842E-4253-82E7-A53E09FC191E/VHD_OpsMgr2007R2.part13.rar")

Foreach ($OpsMgrVHD in $OpsMgrVHDs) { Start-BitsTransfer $OpsMgrVHD $path}
Write-Host "OpsMgr VHD’s are downloaded to $path"

Advertisements
 
 

sccm 辅助站点无法更新补丁

境介绍: SCCM主站点和辅助站点各一个,SCCM主站点下包含了若干计算机,大于100,少于1000。SCCM辅助站点下包含若干计算机,大于50,少于500。

现象:sccm主站点内大部分的计算机可以进行补丁更新。SCCM辅助站点内所有计算机均无法下载补丁更新列表。

排错过程分2步:客户端排错,服务器端排错。

客户端排错

重启sms服务, net stop ccmexec & net start ccmexec,等待一段时间未修复,查看日志未发现明显异常。

站点发现失败

由此,推测可能服务器端有问题。

服务器端排错

登陆sccm辅助站点服务器,发现ccmexec服务初始化失败。启用该服务后,登陆客户端,等待一段时间。发现客户端可以进行站点发现和补丁更新了。

客户端排错:

发现大部分客户端等待一段时间后均可以正确进行补丁更新。但是有少量客户端依然没有反应。重启sms服务,然后初始化machine policy retrieval & Evaluation Cycle,等待一段时间后可以正常更新。

 
Leave a comment

Posted by on June 17, 2010 in System Center

 

DPM agent can not connect due to windows firewall exception settings missing

this morning, i get alert from DPM server like below:

The following alert occurred at 6/13/2010 12:21:01 AM.
Status: Active
Description: Backup to tape failed.
DPM failed to communicate with BJ-MBX-66.xxxx.xxx because of a communication
error with the protection agent.
For more information, open DPM Administrator Console and review the alert
details in the Monitoring task area.

One DPM agent can not be connected.

after research, find this is due to the windows firewall settings missing.

 

and now worked.

this is a common issue after install the windows patch. So if you find same issue, first check firewall settings.

 
Leave a comment

Posted by on June 13, 2010 in System Center

 

DPM 2010 is not currently Available in China

As some reason DPM 2010 is not currently Available in China. So those consultants and vendors will be sad about this issue.

from http://blogs.technet.com/b/systemcenter/archive/2010/06/03/dpm-2010-not-currently-available-in-china.aspx

 
 

Data Protection Manager 2007 Patch list by 2010-0516

DPM 2007 is an good backup solution for Microsoft OS and applications. Here is a patch list for DPM 2007:
 

Description

Build Number

Release Date

KB Article

RTM

2.0.5820.0

01/11/2007

N/A

Rollup Mar’08

2.0.8037.0

24/03/2008

950082

Rollup Apr’08

2.0.8102.0

24/04/2008

951557

Feature Pack

2.0.8107.0

18/07/2008

949779

Rollup Jul’08

2.0.8111.0

07/10/2008

954641

SP1

2.0.8793.0

19/12/2008

959605

SP1 Hot-Fix

2.0.8811.0

16/01/2009

961502

Rollup Feb’09

2.0.8824.0

16/02/2009

963102

Rollup Apr’09

2.0.8836.0

14/04/2009

968579

Rollup Jun’09

2.0.8844.0

30/06/2009

970867

Rollup Aug’09

2.0.8851.0

28/08/2009

970868

Rollup Oct’09

2.0.8861.0

23/10/2009

976542

Rollup Mar’10

2.0.8864.0

29/03/2010

979970

thanks Pedro Alves

 
 

SCCM 查询集合之颠来倒去

SCCM的一个主要功能就是为被管理机推送补丁。而推送补丁则需要为集合 conllection 来推送。最近遇到的问题就是通过集合收集到的域控计算机数量不足。

当前的合集涉及如下:

1- x64 计算机: 收集所有x64架构的计算机

computer system.system type is equal to “x64-based pc”

2-dc域控all: 收集所有角色为dc的域控,针对x64计算机集合

computer system.roles is like “%Domain_Controller%”

3-非总部域控all: 收集所有非总部站点的域控,针对dc域控all 计算机集合

system resource.ad site name is not qual to “HQ”

 

排错过程:

a 状态: 发现部分计算机(15台)未出现在任何合集中。

通过排查客户端问题,使得计算机均出现在合集1中

b状态:发现部分计算机出现在x64计算机中(10台),未出现在其他合集中。

查看日志发现客户端和服务器端通讯正常,作为测试,尝试将合集2,3的查询对象更换为一个更大的计算机合集中,发现部分计算机出现了,再次将查询对象调整为原先的查询合集,部分服务器正常了。

c状态:此时还有大约5台未出现计算机,通过sccm的查询节点查看对象(图片最下方)

比如,我做了一个查询所有域控的查询

然后检查计算机是否出现了。未出现的就去客户端上检查sccm的状态,并更新action内的所有操作。

确认其出现了,并且相应的值是正确。重新对合集进行更新后,又有3个计算机出现了。

d状态,对于剩下的2台计算机,我只好用最后一招了。

针对3-非总部域控all合集进行修改: 收集所有非总部站点的域控,针对dc域控all 计算机集合

system resource.ad site name is not qual to “HQ”

and

computer system.roles is like “%Domain_Controller%”

—-

后记

至此,所有的计算机都正确出现在我预期的合集中了。看起来SCCM的合集功能对于颠来倒去还是蛮有感觉的呀。

tips:其实排错没有想象中那么麻烦,只是看你如何在一堆乱序中找到那灵光一闪的正确思路。

–end

 
Leave a comment

Posted by on April 30, 2010 in System Center

 

dpm 2007 sp1 backup exchange failed with “discontinuity in the log chain”

I get a dpm 2007 sp1 backup exchange failed error today. like below:

The following alert occurred at 3/26/2010 11:17:33 AM.
Status: Active
Description: Backup to tape failed.
DPM has detected a discontinuity in the log chain for SL-SG-102 on
MAIL-102.MAIL-120.xunyang.ad since the last synchronization.
For more information, open DPM Administrator Console and review the alert
details in the Monitoring task area.

this error is a “ as is ”. it means that the logs is not a full chain, some of the log on the chain is broken or something else that can not be verified by the DPM backup process.  And of course this is a exchange related error not the dpm’s issue. The simple solution is move logs that you think maybe broken from origenal path to another path, then try backup again. I suggest you move non-today logs first. after the backup successful, it is fine to remove those backup logs.

 
 
%d bloggers like this: