期望的状态配置加速执行过程 [英] Desired State Configuration Acceleration the execution processes

查看:66
本文介绍了期望的状态配置加速执行过程的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,每个人都是


首先,我要感谢社会支持和良好的信息。

所以......

我有两个问题,但它们对我的项目非常关键。

我使用期望状态配置在复杂的环境中进行部署,它适用于Microsoft DevOps& Azure门户

我的单个"脚本"包含几个Node的部分,最后,我在Azure门户中安装了虚拟机,它很有用,而且很棒!

但是部署过程非常慢。它非常慢,例如在节点上创建和安装软件需要8小时8小时。

我有下一个节点:

Hi, everyone

In first I want to thanks sociality for support and good information.
So...
I have two questions but they are very critical for my project that I do.
I use Desired State Configuration for deployment on complicated Environment, it works with Microsoft DevOps & Azure Portal
My single "script" included sections for a few Node, and in the end, I have got Virtual Machines in Azure Portal, It works, and it's great!
But Process of deployment is very very slow. It is really slow, for example it takes 8 hour, 8 hour for creation and installation software on Nodes.
I have the next Nodes:


  1. 域控制器(在一个VM上)
  2. SQL Server(在第二个VM上)
  3. Exchange Server(在第三个VM上)
  4. 一台带有我的产品的服务器(在第四个 VM上)
  5. 一台服务器与我的另一台产品(在第五台虚拟机上)
  1. Domain Controller (on one VM )
  2. SQL Server (on second VM )
  3. Exchange Server (on third VM)
  4. One Server with my product (on fourth VM)
  5. One Server with my another product (on fifth VM)

当我阅读带有执行步骤的日志时,我发现一些操作,如Windows功能  安装/升级服务器到DC(约30分钟),不需要花费很多时间。

同样来自日志我知道SQL服务器的安装也不需要花费很多时间(约30分钟)

但是当我看看EventViewer时我看到LCM有状态喜欢开始>>已停止>>开始>>停止了b
所以我在LCM被闲置的步骤之间有这样的情况 - 这是第一个问题 - 为什么LCM是空闲的而STEPS没有更快执行



第二个问题是,如何为独立节点执行 
Parallel 中的步骤。

DSC支持这种机制???

在互联网上我找到这样的东西:

https://windowsserver.uservoice.com/forums/301869-powershell / suggestions / 11088678 -cute-indepenent-dsc-steps-parallel-


感谢您的帮助

祝您好运,elArch

When I read logs with execution steps, I see that some actions like Windows Feature installation/ promotion server to DC (~30 min), doesn't take a lot of time.
Also from logs I know what installation of SQL server doesn't take a lot time too (~30 minutes)
But when I look at EventViewer I See that LCM has status likes Start >> Stopped >> Start >> Stopped
So I have situation when between the steps LCM is Idled - it is FIRST QUESTION - WHY LCM is IDLE and STEPS are not execute faster

The second question is, How I can execute steps in 
Parallel for independent Nodes.
Does DSC support this mechanism???
In internet I find something like this:
https://windowsserver.uservoice.com/forums/301869-powershell/suggestions/11088678-execute-indepenent-dsc-steps-in-parallel

Thanks for Help
Best regards, elArch

推荐答案

嗨elArch,

Hi elArch,

您的问题似乎更适用于PowerShell DSC。此论坛专门针对Azure Dev Test Labs。请求您指导您的问题
此处与之关联的社区和产品团队PowerShell和DSC在那里很活跃。 

Your question seems to be more specific to PowerShell DSC. This forum is specifically for Azure Dev Test Labs. Would request you to direct your question here the community and product team associated to PowerShell and DSC are active there. 

如果您对Azure DevOps有特定问题,可以访问
此处
。 

If you have specific question around Azure DevOps you can reach here

希望以上信息有所帮助。 

Hope the above information helps. 


这篇关于期望的状态配置加速执行过程的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆