上一篇,我们集成了SCSM与SCO、SCVMM,加上之前的SCOM集成,现在就完成了SCO与各大组件的衔接,那么现在就为SCSM创作第一条流程,这一篇参考了51CTO上姚老师的文章加上自已的一点理解,也算是学习笔记吧,也向姚老师致敬。(紫色为已完成施工,红色为施工中,蓝色为计划中)

- 登录到SCO01,创建一条流程,将初始化数据拖入到画布中:

- 双击该组件,然后添加如图的参数,这些参数都是待会儿在SCSM上会传过来的参数(分别定义用户名、VM类型、VM的主机名,VM的CPU数量、内存大小):

- 拖入.net脚本组件,并输入如图脚本(主要是传输从SMPortal上传送过来的数据给SCVMM,语句解释:取用户名并添加域名前缀,将CPU跟RAM参数转换Int类型,其实这里我认为可以在之前就把数据类型改为数值型会好点):

- 将UserName、VMRam、VMCpu发布以做后期调用:

- 拖入AD OIP中的Get-User组件作为获取AD用户作为SMPortal过来的用户匹配:

- 接着使用SCVMM OIP包中的Get VM组件进行VM名称匹配,看是否有重复的VM名称:

- 如果存在重复则触发报警并停止流程:

- 拖入VMM OIP 包中的创建从模板的虚拟机组件,并且将设计到相应需要传递参数的类型值传递出来:

- 连接创建VM的组件记得设置条件为没检测到重名,不然你会发现虚拟机一直在重复创建:

- 接着我们让创建好的VM自动启动:

- 为了防止失败,我们设置60秒延期启动:

- 拖入命令组件,做一个获取IP的语句(这个脚本本来是姚老师原创,这里我做了些许少修改,记得把ComputerName跟VMMserver参数改为VMM服务器即可 ,另外还需要把运行账户,这里是SCOadmin加入到VMM管理组中):

- 传递IP值出来:

- 最后我们在邮件流程进行创建通知,最终整体流程就是这样的:

——————————————————————
微信公众号全面开启,高端与进阶文章:

点击微信右上角的『+』,会出现『添加朋友』,进入『查找公众号』,输入VMCloud,即可找到
Tried to find somethin' on top646ph, and I gotta say, not bad! Seemed easy enough for quick searching. Always good to have handy top646ph
Been playing on 8855bet12 for a while now and it's a solid experience. good selection of games and the site is generally reliable. Never had any problems with payouts either, which is always a good sign. 8855bet12
Alright, gotta login to T111bet. Let's hope I remember my password... Here to log in: t111betlogin. Wish me luck!
Yo, Jilipark16 is pretty slick! Slots are fire, and I had a decent run last night. Could use a few more table games, but overall, I'm digging it. Check it out at jilipark16.
Best spot for anyone looking for exciting gameplay and good rewards. The community here is great and the vibes are always positive. planet888
I have been playing here for a few weeks now and the payouts are surprisingly fast. Definitely one of the smoothest experiences I have had lately. Check out winpgplataforma for a great time.
Finally found a site that actually has the games I was looking for. The interface is super intuitive and easy to navigate. Highly recommend pasar123slot to everyone.
Solid platform with a great selection of games. I had a big win last weekend and the withdrawal was processed almost instantly. bdck777bet
The login is fast and the site is very secure. I feel safe putting my trust in this platform for my gaming needs. Great job 7gameasialogin.
Best experience I have had in a while. The payouts are fair and the customer support is actually helpful. Highly recommended for anyone in PH looking for a reliable site. Visit 85phcom
Best experience I've had in a while. The customer support is helpful and the bonuses are actually worth it. Give phokjili a shot and see for yourself.
I was skeptical at first but this site really delivers. The game variety is amazing and I had no issues with my first withdrawal. Love krawin68 so far!