部署System Center Cloud Services Process Pack时可能会遇到的问题

简介:

最近的项目中,需要用system center services manager来为用户呈现服务请求的自动化,在前期使用微软自己的CSPP(cloud services process pack)做了一下测试,在部署时遇到了一些小问题,这里跟大家分享一下


具体的部署截图我就不列举了,部署是很简单的,可以参考官方library或者一些博客文章,我的环境是基于windows server 2012 R2+system center 2012 R2上的;这里要说明一下SCSM2012 R2使用CSPP for SC2012 SP1是没有问题的


安装分为两部分,上面的CSPP是要在你的SCSM管理服务器上安装的,记住是SCSM管理服务器,不是SCSM DW管理服务器;第二个是要在orchestrator管理服务器上安装的,如果你的SCO是ALL-IN-ONE的话,那么就直接装好了,如果是分布式的部署,比如designer和runbook server都拆开了,那么就要选对机器

222946646.png

请注意第二个报错;提示当前用户不属于SCO管理组用户或不属于这台服务器的管理员,可能大家会觉得奇怪,明明部署时把用户加到了SCO_Admins组里,甚至现在使用的是域管理员,怎么还会报错呢;其实是因为SCO服务器缺少一个本地用户组,即“OrchestratorUsersGroup”;知道原因后就好办了,手动建立一个本地组,注意名称一定要是上面提到的那个,然后把你安装账户加到这个组里,重新运行一边先决条件检查,就OK了

223159755.png

######################################################################

先决条件的问题解决后,再接下来的部署中,可能还会遇到一个问题如下图:

223913500.png

如字面意思所述,无法导入CSPP中的runbook到SCO服务器上,那么我们就无法使用SCSM来调用自动化流程创建,更改及退租虚机了;针对于这个报错,在开发者博客中是这样描述的:

The installation of Cloud Services runbooks fails at the step, “Import Cloud services runbooks,” with the error message, “An error occurred while executing the custom action_ImportRunbooks.” The installation log file shows the error, “System.Management.Automation.PSSecurityException: AuthorizationManager check failed.”


To fix the issue

1. Extract all files from “System_Center_Cloud_Services_Process_Pack_Beta.zip” into a folder.

2. Find the folder SCORunbooks under the folder Setup.

3. Right-click on the two PowerShell scripts, ProcessSCORunbook.ps1 and SCO-COM-PowerShell.psm1.

4. On the General tab, click Unblock and Save.

5. Select Setup.exe from the extraction folder used in Step1.

6. Right-click and select Run As Administrator. (Make sure that Setup.exe and the Setup folder are in the same location.)

######################################################################

大家可能对这个right-click之后的“unblock”这个按钮很困惑。。为什么找不到这个按钮呢,其实在新版的操作系统中不必纠结于这个问题,我们直接使用powershell来处理就好

使用unblock-file <file path>即可;然后再以管理员方式运行setup就ok了


本文转自maomaostyle 51CTO博客,原文链接:http://blog.51cto.com/maomaostyle/1311064,如需转载请自行联系原作者


相关文章
Launchpad tile configuration in S4HANA system
Launchpad tile configuration in S4HANA system
Launchpad tile configuration in S4HANA system
|
安全
Securing the Data Center in a Cloud First World
Looking for steps to protect your data center infrastructure with a multilayered, automated approach to security?
1480 0