注册 | 登录 忘记密码? 51cto首页 | 博客 | 论坛 | 招聘
热点文章 可扩展、高可用、负载均衡..
 帮助

如何快速测试规则


2008-05-08 11:11:12
 标签:BDD MDT   [推送到技术圈]

版权声明:原创作品,允许转载,转载时请务必以超链接形式标明文章 原始出处 、作者信息和本声明。否则将追究法律责任。http://xmuxsp.blog.51cto.com/144876/75829
When creating rules within BDD I find that it can take alot of time to tune them to provide the results that I am looking for.  Each time I make a change I need to restart the entire build process to see if rules have the desired effect.
当在BDD2007中创建规则后,我发现需要花很多时间去测试。每一次我做一点改变就得重新开始整个流程
It is however possible to run BDD rule processing manually on a computer without needing to completely rebuild a machine. The following process is invaluable in configuring and troubleshooting rule processing within BDD.
手动开始规则进程而不重新安装机器是可能的。下面的步骤用于配置和解决问题
The rules that are applied to a particular computer are gathered together using a script called “ZTIGather.vbs” in conjunction with “ZTIGather.xml”.  These scripts can be run directly without the needing to launch the entire BDD process. 
“ZTIGather.vbs”用户收集电脑的信息。可以直接运行而不需要整个流程
The steps below detail this process. These can be run when the computer is running the host operating system or WinPE.
  1. Copy ZTIGather.wsf, ZTIGather.xml, ZTIUtility.vbs, CustomSettings.ini, and any user exit scripts to your workstation
  2. Remove C:\MININT directory if it already exists (to start clean)
  3. Execute "cscript.exe ZTIGather.wsf /debug:true"
  4. Inspect the log C:\MININT\SMSOSD\OSDLOGS\ZTIGather.log
  5. Modify CustomSettings.ini, user exit script(s) or database
  6. Go to step #2.
Note: The process does not make any changes to the client computer.对客户端不做任何改变
I have found that creating a batch file with the following commands helps speed up this process.
加速步骤可以:
rmdir c:\minint /s /q
cscript ZTIGather.wsf /debug:true


上一篇 Netflow简介  下一篇 BDD2007内置功能函数



    文章评论
 
 

发表评论

昵   称:
验证码:  点击图片可刷新验证码  博客过2级,无需填写验证码
内   容: