CA Business Service Insight 提供了多个实用工具,用于自动从其他系统(例如 CMDB)导入数据。
64 位 Web 服务器
如果 Business Service Insight Web 服务器在 64 位操作系统下运行,请运行 corflags.exe 文件并使用 /32bit+ 选项来强制该实用工具以 32 位模式运行,如此处所示。
corflags.exe /32bit+ ExcelImporter.exe
注意:可通过安装 Microsoft Windows® SDK 的 .NET Framework 工具组件来获取 corflags.exe 实用工具。
使用 MDBServiceConverter 命令行实用工具可从 CMDB 提取数据,并生成符合 xml 模板文件要求的 XML 文件。
使用情况
MDBServiceConverter.exe <config path>
<config path> 是可以在其中配置参数(例如连接字符串和 CMDB 相关筛选条件、服务名称列和输出目标)的 xml 文件。
MDBServiceConverter.exe "C:\Program Files (x86)\CA\Cloud Insight\bin\MDBServiceConverter.xml"
示例:MDBServiceConverter.xml
<?xml version="1.0" encoding="utf-8" ?> <ConverterConfig xmlns="http://www.ca.com" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.ca.com MDBServiceConverter.xsd"> <ConnectionString>Data Source=cheda16-win7-1;Initial Catalog=mdb;User Id=sa;Password=caworld1!;</ConnectionString> <Inactive>0</Inactive> <Is_ci>1</Is_ci> <Is_asset>0</Is_asset> <resource_familyS> <resource_family id="1">Enterprise Service</resource_family> <resource_family id="2">Service</resource_family> </resource_familyS> <resource_classeS forId="2"> <resource_class>IT Service</resource_class> </resource_classeS> <serviceNameS> <serviceName>Resource_name</serviceName> <serviceName>Host_name</serviceName> </serviceNameS> <target_file>c:\cmdb\service.xml</target_file> </ConverterConfig>
| 版权所有 © 2012 CA。 保留所有权利。 | 就该主题发送电子邮件至 CA Technologies |