<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Martin&#039;s Blog &#187; cmdb</title>
	<atom:link href="http://martinliu.cn/tag/cmdb/feed" rel="self" type="application/rss+xml" />
	<link>http://martinliu.cn</link>
	<description>如何以服务的视角管理IT？</description>
	<lastBuildDate>Tue, 31 Jan 2012 07:44:40 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Release: OTRS Help Desk 3.0.11</title>
		<link>http://martinliu.cn/2011/10/release-otrs-help-desk-3-0-11.html</link>
		<comments>http://martinliu.cn/2011/10/release-otrs-help-desk-3-0-11.html#comments</comments>
		<pubDate>Sun, 23 Oct 2011 15:52:27 +0000</pubDate>
		<dc:creator>Martin Liu</dc:creator>
				<category><![CDATA[CMS/CMDB]]></category>
		<category><![CDATA[ITIL/ITSM]]></category>
		<category><![CDATA[cmdb]]></category>
		<category><![CDATA[ITIL]]></category>
		<category><![CDATA[ITSM]]></category>
		<category><![CDATA[open source]]></category>
		<category><![CDATA[oss]]></category>
		<category><![CDATA[服务台]]></category>

		<guid isPermaLink="false">http://martinliu.cn/?p=51517</guid>
		<description><![CDATA[+++++++++++++++++++++++++ Release Note ++++++++++++++++++++++++ Release:            OTRS Help Desk 3.0.11 Status:             stable Code Name:          Cancún Beach, México We are proud to announce that the latest patch level release of OTRS 3.0 (codename: Cancún Beach, México) has been released. Important for Upgrading<p><a href="http://martinliu.cn/2011/10/release-otrs-help-desk-3-0-11.html" class="more-link">Continue reading &#187;</a></p>
Related posts:<ol>
<li><a href='http://martinliu.cn/2008/10/otrs-faq-153-you-have-six-reasons-to-use-it.html' rel='bookmark' title='OTRS FAQ 1.5.3 : you have six reasons to use it'>OTRS FAQ 1.5.3 : you have six reasons to use it</a></li>
<li><a href='http://martinliu.cn/2007/02/otrsitsm-itil.html' rel='bookmark' title='OTRS::ITSM期待中的开源ITIL工具'>OTRS::ITSM期待中的开源ITIL工具</a></li>
<li><a href='http://martinliu.cn/2007/12/otrs.html' rel='bookmark' title='OTRS.ORG，it is time to check it out；不得不：）'>OTRS.ORG，it is time to check it out；不得不：）</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<hr />
<p class="success ">这是一个补丁修补版本。我的名字也第一次出现，感谢Michael的帮忙，没有你我可能迟迟发不上去这个翻译。完整的release notes见 <a href="http://otrs.org/releases/3.0.11" target="_blank">http://otrs.org/releases/3.0.11</a></p></p>
<table cellpadding="0">
<tbody>
<tr>
<td>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div id=":2ob">
<div>
<div>
<div id=":2o9">
<div id=":2oa">
<p>+++++++++++++++++++++++++ Release Note ++++++++++++++++++++++++</p>
<p>Release:            OTRS Help Desk 3.0.11<br />
Status:             stable<br />
Code Name:          Cancún Beach, México</p>
<p>We are proud to announce that the latest patch level release of OTRS 3.0<br />
(codename: Cancún Beach, México) has been released.</p>
<p>Important for Upgrading<br />
=======================<br />
* From OTRS 3.0.x: Make sure you run bin/<a href="http://otrs.RebuildConfig.pl/" target="_blank">otrs.RebuildConfig.pl</a> after<br />
the upgrade so that the configuration is refreshed. Otherwise the<br />
system may not work.</p>
<p>* From OTRS 2.4.x: Please read the UPGRADING and INSTALL files for<br />
detailed instructions.</p>
<p>Warning<br />
=======<br />
OTRS versions from 3.0.beta1 up to 3.0.2 were affected by a bug in the<br />
GenericAgent which could cause the &#8220;Ticket Delete&#8221; flag to be active<br />
by default for new GenericAgent jobs, depending on the locale. If you<br />
used one of the affected versions and have created new GenericAgent<br />
jobs with them, please review them to check if the &#8220;Ticket Delete&#8221;<br />
flag indeed has the correct value. Otherwise unwanted data loss might<br />
occur.</p>
<p>Improvements<br />
============<br />
* Updated Simplified Chinese Translation, thanks to Martin Liu!<br />
* Updated Danish translation, thanks to Lars Jørgensen!</p>
<table cellpadding="0">
<tbody>
<tr>
<td>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div id=":2ob">
<div>
<div>
<div id=":2o9">
<div id=":2oa">Software Download<br />
=================* [ <a href="http://otrs.org/downloads/" target="_blank">http://otrs.org/downloads/</a> ] (Germany/Hamburg)<br />
* [ <a href="ftp://ftp.otrs.org/pub/otrs/" target="_blank">ftp://ftp.otrs.org/pub/otrs/</a> ] (Germany/Hamburg)</p>
<p>A complete list of all download mirrors is available at<br />
[ <a href="http://otrs.org/downloads/" target="_blank">http://otrs.org/downloads/</a> ].</p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</td>
</tr>
</tbody>
</table>
<p>Related posts:<ol>
<li><a href='http://martinliu.cn/2008/10/otrs-faq-153-you-have-six-reasons-to-use-it.html' rel='bookmark' title='OTRS FAQ 1.5.3 : you have six reasons to use it'>OTRS FAQ 1.5.3 : you have six reasons to use it</a></li>
<li><a href='http://martinliu.cn/2007/02/otrsitsm-itil.html' rel='bookmark' title='OTRS::ITSM期待中的开源ITIL工具'>OTRS::ITSM期待中的开源ITIL工具</a></li>
<li><a href='http://martinliu.cn/2007/12/otrs.html' rel='bookmark' title='OTRS.ORG，it is time to check it out；不得不：）'>OTRS.ORG，it is time to check it out；不得不：）</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://martinliu.cn/2011/10/release-otrs-help-desk-3-0-11.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>如何导入CI和关系到Atrium CMDB</title>
		<link>http://martinliu.cn/2011/09/%e5%a6%82%e4%bd%95%e5%af%bc%e5%85%a5ci%e5%92%8c%e5%85%b3%e7%b3%bb%e5%88%b0atrium-cmdb.html</link>
		<comments>http://martinliu.cn/2011/09/%e5%a6%82%e4%bd%95%e5%af%bc%e5%85%a5ci%e5%92%8c%e5%85%b3%e7%b3%bb%e5%88%b0atrium-cmdb.html#comments</comments>
		<pubDate>Wed, 14 Sep 2011 14:59:34 +0000</pubDate>
		<dc:creator>Martin Liu</dc:creator>
				<category><![CDATA[CMS/CMDB]]></category>
		<category><![CDATA[Atrium]]></category>
		<category><![CDATA[BMC]]></category>
		<category><![CDATA[cmdb]]></category>
		<category><![CDATA[remedy]]></category>

		<guid isPermaLink="false">http://martinliu.cn/?p=51459</guid>
		<description><![CDATA[本帖主要是上传了一些不舍得删除的flash，这些东西是关于如何向cmdb中导入CI和关系的录像。有此特殊需要的可以收藏备用。 
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
			id="fm_00-模型数据准备_11265487"
			class="flashmovie"
			width="500"
			height="400">
	<param name="movie" value="http://martinliu.cn/wp-content/uploads/2011/09/00-模型数据准备.swf" />
	<param name="loop" value="true" />
	<!--[if !IE]>-->
	<object	type="application/x-shockwave-flash"
			data="http://martinliu.cn/wp-content/uploads/2011/09/00-模型数据准备.swf"
			name="fm_00-模型数据准备_11265487"
			width="500"
			height="400">
		<param name="loop" value="true" />
	<!--<![endif]-->
		 
	<!--[if !IE]>-->
	</object>
	<!--<![endif]-->
</object> 00-模型数据准备 
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
			id="fm_01-导入CI数据_1783806091"
			class="flashmovie"
			width="500"
			height="400">
	<param name="movie" value="http://martinliu.cn/wp-content/uploads/2011/09/01-导入CI数据.swf" />
	<param name="loop" value="true" />
	<!--[if !IE]>-->
	<object	type="application/x-shockwave-flash"
			data="http://martinliu.cn/wp-content/uploads/2011/09/01-导入CI数据.swf"
			name="fm_01-导入CI数据_1783806091"
			width="500"
			height="400">
		<param name="loop" value="true" />
	<!--<![endif]-->
		 
	<!--[if !IE]>-->
	</object>
	<!--<![endif]-->
</object> 01 导入CI数据 
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
			id="fm_02-导出CI的名称和ID_1299569706"
			class="flashmovie"
			width="500"
			height="400">
	<param name="movie" value="http://martinliu.cn/wp-content/uploads/2011/09/02-导出CI的名称和ID.swf" />
	<param name="loop" value="true" />
	<!--[if !IE]>-->
	<object	type="application/x-shockwave-flash"
			data="http://martinliu.cn/wp-content/uploads/2011/09/02-导出CI的名称和ID.swf"
			name="fm_02-导出CI的名称和ID_1299569706"
			width="500"
			height="400">
		<param name="loop" value="true" />
	<!--<![endif]-->
		 
	<!--[if !IE]>-->
	</object>
	<!--<![endif]-->
</object> 02-导出CI的名称和ID 
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
			id="fm_03-准备关系数据_446394977"
			class="flashmovie"
			width="500"
			height="400">
	<param name="movie" value="http://martinliu.cn/wp-content/uploads/2011/09/03-准备关系数据.swf" />
	<param name="loop" value="true" />
	<!--[if !IE]>-->
	<object	type="application/x-shockwave-flash"
			data="http://martinliu.cn/wp-content/uploads/2011/09/03-准备关系数据.swf"
			name="fm_03-准备关系数据_446394977"
			width="500"
			height="400">
		<param name="loop" value="true" />
	<!--<![endif]-->
		 
	<!--[if !IE]>-->
	</object>
	<!--<![endif]-->
</object> 03-准备关系数据 
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
			id="fm_04-导入影响关系_1612778178"
			class="flashmovie"
			width="500"
			height="400">
	<param name="movie" value="http://martinliu.cn/wp-content/uploads/2011/09/04-导入影响关系.swf" />
	<param name="loop" value="true" />
	<!--[if !IE]>-->
	<object	type="application/x-shockwave-flash"
			data="http://martinliu.cn/wp-content/uploads/2011/09/04-导入影响关系.swf"
			name="fm_04-导入影响关系_1612778178"
			width="500"
			height="400">
		<param name="loop" value="true" />
	<!--<![endif]-->
		 
	<!--[if !IE]>-->
	</object>
	<!--<![endif]-->
</object> 04-导入影响关系 <br />
00-模型数据准备<br />

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
			id="fm_01-导入CI数据_428919079"
			class="flashmovie"
			width="500"
			height="400">
	<param name="movie" value="http://martinliu.cn/wp-content/uploads/2011/09/01-导入CI数据.swf" />
	<param name="loop" value="true" />
	<!--[if !IE]>-->
	<object	type="application/x-shockwave-flash"
			data="http://martinliu.cn/wp-content/uploads/2011/09/01-导入CI数据.swf"
			name="fm_01-导入CI数据_428919079"
			width="500"
			height="400">
		<param name="loop" value="true" />
	<!--<![endif]-->
		<br />

	<!--[if !IE]>-->
	</object>
	<!--<![endif]-->
</object><br />
01 导入CI数据<br />

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
			id="fm_02-导出CI的名称和ID_268522563"
			class="flashmovie"
			width="500"
			height="400">
	<param name="movie" value="http://martinliu.cn/wp-content/uploads/2011/09/02-导出CI的名称和ID.swf" />
	<param name="loop" value="true" />
	<!--[if !IE]>-->
	<object	type="application/x-shockwave-flash"
			data="http://martinliu.cn/wp-content/uploads/2011/09/02-导出CI的名称和ID.swf"
			name="fm_02-导出CI的名称和ID_268522563"
			width="500"
			height="400">
		<param name="loop" value="true" />
	<!--<![endif]-->
		<br />

	<!--[if !IE]>-->
	</object>
	<!--<![endif]-->
</object><br />
02-导出CI的名称和ID<br />

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
			id="fm_03-准备关系数据_1471384861"
			class="flashmovie"
			width="500"
			height="400">
	<param name="movie" value="http://martinliu.cn/wp-content/uploads/2011/09/03-准备关系数据.swf" />
	<param name="loop" value="true" />
	<!--[if !IE]>-->
	<object	type="application/x-shockwave-flash"
			data="http://martinliu.cn/wp-content/uploads/2011/09/03-准备关系数据.swf"
			name="fm_03-准备关系数据_1471384861"
			width="500"
			height="400">
		<param name="loop" value="true" />
	<!--<![endif]-->
		<br />

	<!--[if !IE]>-->
	</object>
	<!--<![endif]-->
</object><br />
03-准备关系数据<br />

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
			id="fm_04-导入影响关系_1000794028"
			class="flashmovie"
			width="500"
			height="400">
	<param name="movie" value="http://martinliu.cn/wp-content/uploads/2011/09/04-导入影响关系.swf" />
	<param name="loop" value="true" />
	<!--[if !IE]>-->
	<object	type="application/x-shockwave-flash"
			data="http://martinliu.cn/wp-content/uploads/2011/09/04-导入影响关系.swf"
			name="fm_04-导入影响关系_1000794028"
			width="500"
			height="400">
		<param name="loop" value="true" />
	<!--<![endif]-->
		<br />

	<!--[if !IE]>-->
	</object>
	<!--<![endif]-->
</object><br />
04-导入影响关系<br />

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
			id="fm_05-查看和验证模型_831041850"
			class="flashmovie"
			width="500"
			height="400">
	<param name="movie" value="http://martinliu.cn/wp-content/uploads/2011/09/05-查看和验证模型.swf" />
	<param name="loop" value="true" />
	<!--[if !IE]>-->
	<object	type="application/x-shockwave-flash"
			data="http://martinliu.cn/wp-content/uploads/2011/09/05-查看和验证模型.swf"
			name="fm_05-查看和验证模型_831041850"
			width="500"
			height="400">
		<param name="loop" value="true" />
	<!--<![endif]-->
		<br />

	<!--[if !IE]>-->
	</object>
	<!--<![endif]-->
</object><br />
05-查看和验证模型<br />
<a href="http://martinliu.cn/downloads/CMDB-service-model-Demo.zip"><img src="http://martinliu.cn/dl/download.gif" alt="导入CMDB模型实例" /></a>导入CMDB模型实例 --下载：58 次<br />
<p class="success ">以上所有flash文件打包下载，现在你该满意了吧？P）</p></p>
<p>Related posts:<ol>
<li><a href='http://martinliu.cn/2010/01/cmdb-value-points.html' rel='bookmark' title='CMDB Value Points 价值点'>CMDB Value Points 价值点</a></li>
<li><a href='http://martinliu.cn/2009/03/stop-to-build-cmdb-for-your-it.html' rel='bookmark' title='Stop to build CMDB for your IT &#8211; CMS是怎样炼成的？'>Stop to build CMDB for your IT &#8211; CMS是怎样炼成的？</a></li>
<li><a href='http://martinliu.cn/2011/01/bmc-atrium-cmdb-sync-cdm-class.html' rel='bookmark' title='BMC Atrium CMDB 类定义迁移'>BMC Atrium CMDB 类定义迁移</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://martinliu.cn/2011/09/%e5%a6%82%e4%bd%95%e5%af%bc%e5%85%a5ci%e5%92%8c%e5%85%b3%e7%b3%bb%e5%88%b0atrium-cmdb.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ADDM 8.2 ssh key 生成和部署</title>
		<link>http://martinliu.cn/2011/06/addm-8-2-ssh-key-deploy.html</link>
		<comments>http://martinliu.cn/2011/06/addm-8-2-ssh-key-deploy.html#comments</comments>
		<pubDate>Thu, 16 Jun 2011 17:16:14 +0000</pubDate>
		<dc:creator>Martin Liu</dc:creator>
				<category><![CDATA[BMC]]></category>
		<category><![CDATA[ADDM]]></category>
		<category><![CDATA[cmdb]]></category>
		<category><![CDATA[keploy]]></category>
		<category><![CDATA[key]]></category>
		<category><![CDATA[ssh]]></category>

		<guid isPermaLink="false">http://martinliu.cn/?p=51137</guid>
		<description><![CDATA[生产密钥 用tideway用户登录ADDM服务器，运行下面的命令 [tideway@localhost .ssh]$ ls [tideway@localhost .ssh]$ ssh-keygen -t rsa Generating public/private rsa key pair. Enter file in which to save the key (/usr/tideway/.ssh/id_rsa): “敲回车” Enter passphrase (empty for no passphrase): “敲回车” Enter same passphrase again: “敲回车” Your identification has been saved in /usr/tideway/.ssh/id_rsa. Your public key has been saved in /usr/tideway/.ssh/id_rsa.pub. The key fingerprint<p><a href="http://martinliu.cn/2011/06/addm-8-2-ssh-key-deploy.html" class="more-link">Continue reading &#187;</a></p>
Related posts:<ol>
<li><a href='http://martinliu.cn/2011/07/openssh-5-2-aix5-3-bug.html' rel='bookmark' title='openssh 5.2 Aix5.3 bug'>openssh 5.2 Aix5.3 bug</a></li>
<li><a href='http://martinliu.cn/2011/01/bmc-atrium-cmdb-sync-cdm-class.html' rel='bookmark' title='BMC Atrium CMDB 类定义迁移'>BMC Atrium CMDB 类定义迁移</a></li>
<li><a href='http://martinliu.cn/2009/10/what-does-cmdb-store.html' rel='bookmark' title='CMDB中存什么？'>CMDB中存什么？</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<h2>生产密钥</h2>
<p>用tideway用户登录ADDM服务器，运行下面的命令</p>
<pre>
[tideway@localhost .ssh]$ ls
[tideway@localhost .ssh]$ ssh-keygen -t rsa
Generating public/private rsa key pair.
Enter file in which to save the key (/usr/tideway/.ssh/id_rsa):  “敲回车”
Enter passphrase (empty for no passphrase):  “敲回车”
Enter same passphrase again:  “敲回车”
Your identification has been saved in /usr/tideway/.ssh/id_rsa.
Your public key has been saved in /usr/tideway/.ssh/id_rsa.pub.
The key fingerprint is:
27:20:55:fc:f9:9a:41:35:11:ef:6d:b7:6c:4e:78:00 tideway@localhost.localdomain
[tideway@localhost .ssh]$ ls
id_rsa  id_rsa.pub
[tideway@localhost .ssh]$
</pre>
<h2>下载和安装key文件部署工具</h2>
<p>http://code.google.com/p/keploy/downloads/list</p>
<p>下载 keploy-0.5.tgz<br />
上传到ADDM服务器的/usr/tideway/.ssh目录中</p>
<pre>
[tideway@localhost .ssh]$ ls
id_rsa  id_rsa.pub  keploy-0.5.tgz
[tideway@localhost .ssh]$ tar zxvf keploy-0.5.tgz
keploy-0.5/
keploy-0.5/keploy
keploy-0.5/LICENSE
keploy-0.5/README
keploy-0.5/INSTALL
keploy-0.5/CHANGELOG
[tideway@localhost .ssh]$ ls
id_rsa  id_rsa.pub  keploy-0.5  keploy-0.5.tgz
[tideway@localhost .ssh]$ cd keploy-0.5
[tideway@localhost keploy-0.5]$ ls
CHANGELOG  INSTALL  keploy  LICENSE  README
[tideway@localhost keploy-0.5]$ ./keploy -v

NOTICE: You may be prompted for you password,
NOTICE: this is directly from the ssh client, not keploy

Preparing to deploy ssh key...
ERROR: No targets defined.
[tideway@localhost keploy-0.5]$ ./keploy -h
Usage: keploy [options] [hosts]

Options:
  -i ID_FILE            specifies identity file
  -l USERID, --login=USERID
                        define userid for remote connections
  -f TARGET_FILE, --file=TARGET_FILE
                        read list of targets from file
  -k, --use-known       read list of targets from known_hosts files
  -r, --remove          remove primary identity from remote(s)
  -c OLD_ID_FILE, --change=OLD_ID_FILE
                        replace old identity with new one on remote(s)
  -A                    enable/disable agent forwarding on remote
  -v                    give verbose output
  -q, --quiet           quiet the output
  --version             show program's version number and exit
  -h, --help            show this help message and exit
[tideway@localhost keploy-0.5]$
</pre>
<p>在keploy-0.5生成一个文件hostlist，里面每一行放一台机器的IP，回头让工具自动读取该文件</p>
<h2>Linux被采集帐号准备</h2>
<p>建议直接把ADDM采集机的key文件部署到root用户上，如果用户觉得这个做法不安全的话，我们可以建立一个不普通用户，把特权命令用sudo处理一下，下面是具体的做法</p>
<h3>运行ssh的证书认证</h3>
<p>用root登录被采集机，修改/etc/ssh/sshd_config文件，将如下参数的注释符号（#）去掉，以启用这些参数：<br />
RSAAuthentication          yes<br />
PubkeyAuthentication     yes<br />
AuthorizedKeysFile         .ssh/authorized_keys<br />
重启sshd服务<br />
#/etc/init.d/sshd restart</p>
<h3>配置sudo</h3>
<p>Linux平台对采集账户需要配置sudo。以root用户登录被管服务器，修改/etc/sudoers文件，在文件末尾追加一行：<br />
tideway  ALL=(root) NOPASSWD:/usr/sbin/dmidecode,/usr/sbin/hwinfo, /usr/sbin/hbanyware/hbacmd,/usr/sbin/lsof,/sbin/ethtool,/sbin/mii-tool</p>
<h3>增加采集帐号tideway</h3>
<p>操作步骤如下（以root用户登录服务器）：<br />
[root@ars home]# useradd tideway<br />
[root@ars home]# passwd tideway<br />
Changing password for user tideway.<br />
New UNIX password: “使用tideway做密码，采集成功后可以修改掉”<br />
BAD PASSWORD: it is based on a dictionary word<br />
Retype new UNIX password: “使用tideway做密码，采集成功后可以修改掉”<br />
passwd: all authentication tokens updated successfully.<br />
[root@ars home]#</p>
<h2>部署ADDM ssh 密钥到被采集机</h2>
<h3>部署</h3>
<p>在采集机部署前，查看/home/tideway 目录</p>
<pre>
[root@ars home]# cd tideway/
[root@ars tideway]# pwd
/home/tideway
[root@ars tideway]# ls -la
total 36
drwx------ 3 tideway tideway 4096 Jun 17 00:55 .
drwxr-xr-x 4 root    root    4096 Jun 17 00:55 ..
-rw-r--r-- 1 tideway tideway   33 Jun 17 00:55 .bash_logout
-rw-r--r-- 1 tideway tideway  176 Jun 17 00:55 .bash_profile
-rw-r--r-- 1 tideway tideway  124 Jun 17 00:55 .bashrc
-rw-r--r-- 1 tideway tideway  515 Jun 17 00:55 .emacs
drwxr-xr-x 4 tideway tideway 4096 Jun 17 00:55 .mozilla
-rw-r--r-- 1 tideway tideway  658 Jun 17 00:55 .zshrc
[root@ars tideway]#
</pre>
<p>注意这里没有.ssh目录<br />
开始使用我们下载的工具部署，登录到ADDM采集机上</p>
<pre>
[tideway@localhost keploy-0.5]$ vi hostlist
[tideway@localhost keploy-0.5]$ cat hostlist
192.168.189.154
[tideway@localhost keploy-0.5]$ ./keploy -f hostlist

NOTICE: You may be prompted for you password,
NOTICE: this is directly from the ssh client, not keploy

Preparing to deploy ssh key...
Using user-defined host list from file: hostlist
./keploy:164: DeprecationWarning: os.popen3 is deprecated.  Use the subprocess module.
  si, so, se = os.popen3(execute)
        Found host(s):
                192.168.189.154
        Found identity:
                /usr/tideway/.ssh/id_rsa.pub
        Working on host: 192.168.189.154
The authenticity of host '192.168.189.154 (192.168.189.154)' can't be established.
RSA key fingerprint is de:4e:f0:c8:9b:86:ee:25:af:a9:1c:19:8f:20:90:ad.
Are you sure you want to continue connecting (yes/no)? yes
tideway@192.168.189.154's password:  "输入目标机上tideway用户的密码，我用的是tideway"
                Public Identity Key: deployed
[tideway@localhost keploy-0.5]$
</pre>
<p>可以到被采集机的/home/tideway/.ssh下面看看传过去的正式文件，这种方式极大的避免了，手工创建.ssh目录，设置它和key文件权限的工作量</p>
<h3>验证</h3>
<p>在采集机上，使用tideway用户登录被采集服务器。</p>
<pre>
[tideway@localhost keploy-0.5]$ ssh 192.168.189.154
Last login: Fri Jun 17 01:08:21 2011 from 192.168.189.147
[tideway@ars ~]$
</pre>
<p>Related posts:<ol>
<li><a href='http://martinliu.cn/2011/07/openssh-5-2-aix5-3-bug.html' rel='bookmark' title='openssh 5.2 Aix5.3 bug'>openssh 5.2 Aix5.3 bug</a></li>
<li><a href='http://martinliu.cn/2011/01/bmc-atrium-cmdb-sync-cdm-class.html' rel='bookmark' title='BMC Atrium CMDB 类定义迁移'>BMC Atrium CMDB 类定义迁移</a></li>
<li><a href='http://martinliu.cn/2009/10/what-does-cmdb-store.html' rel='bookmark' title='CMDB中存什么？'>CMDB中存什么？</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://martinliu.cn/2011/06/addm-8-2-ssh-key-deploy.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>在Oracle上备份和恢复 Remedy ARS数据库</title>
		<link>http://martinliu.cn/2011/02/backup-restore-remedy-ars-oracle-db.html</link>
		<comments>http://martinliu.cn/2011/02/backup-restore-remedy-ars-oracle-db.html#comments</comments>
		<pubDate>Mon, 14 Feb 2011 15:05:27 +0000</pubDate>
		<dc:creator>Martin Liu</dc:creator>
				<category><![CDATA[BMC]]></category>
		<category><![CDATA[ARS]]></category>
		<category><![CDATA[backup]]></category>
		<category><![CDATA[cmdb]]></category>
		<category><![CDATA[install]]></category>
		<category><![CDATA[ITSM]]></category>
		<category><![CDATA[remedy]]></category>
		<category><![CDATA[备份]]></category>
		<category><![CDATA[安装]]></category>
		<category><![CDATA[恢复]]></category>
		<category><![CDATA[部署]]></category>

		<guid isPermaLink="false">http://martinliu.cn/?p=50947</guid>
		<description><![CDATA[Why ARS system need full backup and restore 众所周知Remedy ARS上运行的所有程序代码都是在数据库中存储的，几乎所有的程序代码和相关数据都是存储在后端的数据库里的。基于这种特性，我们可以很方便地从数据库层面实现对ARS系统的备份和恢复。所谓基于数据库的备份和恢复就是指数据库的全库导入和导出。在这方面Oracle做的很好，他所提供的imp和exp命令行工具能很好的完成此项任务。 When you may backup BMC Remedy ARS system Database Remedy ARS系统数据库全备份可能会发生在下面的几个时间点： 在安装过程中，Remedy ITSM套件的安装都是从ARS开始一个模块一个模块增加安装的，可以在安装每个新模块之前，做一个数据库备份，用于安装失败情况下的现场恢复 在系统上线前，当系统需要做升级/代码更新等等大规模操作之前可以考虑做一次数据库的导出备份 在做系统迁移的情况下，我们甚至可以生产库迁移到开发机上进行问题的重现，或者代码的修改，或者测试，完成之后再导回生产系统（如果生产系统再次期间处于维护状态的话） How-to 下面是我总结的相关操作步骤参考。 备份ARSystem数据库 exp aradmin/ar#admin@itil file=c:\before-patch7.dmp log=c:\exp.log compress=n statistics=none 参数解释： aradmin/ar#admin  是ARS系统默认的用户名和口令 @itil 是ARSystem数据库所在的数据库实例名 file=c:\before-patch7.dmp log=c:\exp.log  是导出的数据库文件和日志文件路径 删除ARAdmin用户数据 drop user aradmin cascade; 创建和授权ARAdmin用户 CREATE USER ARADMIN IDENTIFIED BY ar#admin# DEFAULT<p><a href="http://martinliu.cn/2011/02/backup-restore-remedy-ars-oracle-db.html" class="more-link">Continue reading &#187;</a></p>
Related posts:<ol>
<li><a href='http://martinliu.cn/2010/07/bmc-training-schedule01.html' rel='bookmark' title='BMC课程通知: BMC Remedy AR 7.5 管理员培训'>BMC课程通知: BMC Remedy AR 7.5 管理员培训</a></li>
<li><a href='http://martinliu.cn/2011/03/remedy-ars-open-source-tool.html' rel='bookmark' title='Remedy ARS 开源工具知多少'>Remedy ARS 开源工具知多少</a></li>
<li><a href='http://martinliu.cn/2011/05/remedy-itsm-7-6-04-quick-install-guide.html' rel='bookmark' title='Remedy ITSM 7.6.04 套件快速安装'>Remedy ITSM 7.6.04 套件快速安装</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<h1>Why ARS system need full backup and restore</h1>
<p>众所周知<em>Remedy ARS</em>上运行的所有程序代码都是在数据库中存储的，几乎所有的程序代码和相关数据都是存储在后端的数据库里的。基于这种特性，我们可以很方便地从数据库层面实现对ARS系统的备份和恢复。所谓基于数据库的备份和恢复就是指数据库的全库导入和导出。在这方面<em>Oracle</em>做的很好，他所提供的imp和exp命令行工具能很好的完成此项任务。<br />
<img class="alignnone" title="备份和恢复Remedy ARS system" src="http://img.en25.com/Web/BMCSoftwareInc/eloqua_webform_banner_868w_arch07.jpg" alt="" width="575" height="98" /></p>
<h1>When you may backup BMC Remedy ARS system Database</h1>
<p><em>Remedy ARS</em>系统数据库全备份可能会发生在下面的几个时间点：</p>
<ol>
<li>
<h2>在安装过程中，<em>Remedy ITSM</em>套件的安装都是从ARS开始一个模块一个模块增加安装的，可以在安装每个新模块之前，做一个数据库备份，用于安装失败情况下的现场恢复</h2>
</li>
<li>
<h2>在系统上线前，当系统需要做升级/代码更新等等大规模操作之前可以考虑做一次数据库的导出备份</h2>
</li>
<li>
<h2>在做系统迁移的情况下，我们甚至可以生产库迁移到开发机上进行问题的重现，或者代码的修改，或者测试，完成之后再导回生产系统（如果生产系统再次期间处于维护状态的话）</h2>
</li>
</ol>
<h1>How-to</h1>
<p>下面是我总结的相关操作步骤参考。</p>
<h2>备份<em>ARSystem</em>数据库</h2>
<p>exp aradmin/ar#admin@itil file=c:\before-patch7.dmp log=c:\exp.log compress=n statistics=none</p>
<p>参数解释：<br />
aradmin/ar#admin  是ARS系统默认的用户名和口令<br />
@itil 是ARSystem数据库所在的数据库实例名<br />
file=c:\before-patch7.dmp log=c:\exp.log  是导出的数据库文件和日志文件路径</p>
<h2><em>删除ARAdmin用户数据</em></h2>
<p>drop user aradmin cascade;</p>
<h2><em>创建和授权ARAdmin用户</em></h2>
<p>CREATE USER ARADMIN<br />
IDENTIFIED BY ar#admin#<br />
DEFAULT TABLESPACE ARSYSTEM<br />
TEMPORARY TABLESPACE ARTMPSPC<br />
PROFILE DEFAULT<br />
ACCOUNT UNLOCK;</p>
<p>GRANT ARADMINROLE TO ARADMIN;<br />
ALTER USER ARADMIN DEFAULT ROLE ALL;<br />
ALTER USER ARADMIN QUOTA UNLIMITED ON ARSYSTEM;</p>
<h2><em>导入备份的数据文件</em></h2>
<p>imp ARAdmin/AR#Admin@ars file=c:\CMDB2010-12-13_13.dmp log=c:\imp.log  fromuser=ARAdmin touser=ARAdmin ignore=y</p>
<p>Credit to：以上操作步骤由<em>神州太岳</em>工程师<em>李成旗</em>协助编写和测试.</p>
<p>Related posts:<ol>
<li><a href='http://martinliu.cn/2010/07/bmc-training-schedule01.html' rel='bookmark' title='BMC课程通知: BMC Remedy AR 7.5 管理员培训'>BMC课程通知: BMC Remedy AR 7.5 管理员培训</a></li>
<li><a href='http://martinliu.cn/2011/03/remedy-ars-open-source-tool.html' rel='bookmark' title='Remedy ARS 开源工具知多少'>Remedy ARS 开源工具知多少</a></li>
<li><a href='http://martinliu.cn/2011/05/remedy-itsm-7-6-04-quick-install-guide.html' rel='bookmark' title='Remedy ITSM 7.6.04 套件快速安装'>Remedy ITSM 7.6.04 套件快速安装</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://martinliu.cn/2011/02/backup-restore-remedy-ars-oracle-db.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>BMC Atrium CMDB CI数据迁移</title>
		<link>http://martinliu.cn/2011/01/bmc-atrium-cmdb-ci.html</link>
		<comments>http://martinliu.cn/2011/01/bmc-atrium-cmdb-ci.html#comments</comments>
		<pubDate>Wed, 12 Jan 2011 05:08:23 +0000</pubDate>
		<dc:creator>Martin Liu</dc:creator>
				<category><![CDATA[CMS/CMDB]]></category>
		<category><![CDATA[Atrium]]></category>
		<category><![CDATA[BMC]]></category>
		<category><![CDATA[ci]]></category>
		<category><![CDATA[cmdb]]></category>
		<category><![CDATA[relationship]]></category>

		<guid isPermaLink="false">http://martinliu.cn/?p=50859</guid>
		<description><![CDATA[在不同的CMDB服务器之间做数据迁移之前一定要注意两点：1）保持两边的CDM相同；2）先导入CI数据在导入CI相关的关系数据。另外就是每个类导入完毕之后要做数据完整性和正确性的抽检。以下使用的工具是cmdbdriver，该命令初始化和一般性的参数介绍请参考相关文档。 CI数据导出示例 Command: xexpdt XEXPORT DATA Export instance data from all classes? (F): Classes to export data from: Class and its subclasses, From namespace (1,2) (1): Namespace (): BMC.CORE Class name (): BMC_ComputerSystem Dataset ID (): BMC.ASSET Filename for exported data: C:\DEMO\cs-ci Exporting Class BMC_ComputerSystem i=0: namespaceName = BMC.CORE, className = BMC_ComputerSystemExported without errorsExporting Class<p><a href="http://martinliu.cn/2011/01/bmc-atrium-cmdb-ci.html" class="more-link">Continue reading &#187;</a></p>
Related posts:<ol>
<li><a href='http://martinliu.cn/2011/01/bmc-atrium-cmdb-sync-cdm-class.html' rel='bookmark' title='BMC Atrium CMDB 类定义迁移'>BMC Atrium CMDB 类定义迁移</a></li>
<li><a href='http://martinliu.cn/2009/03/stop-to-build-cmdb-for-your-it.html' rel='bookmark' title='Stop to build CMDB for your IT &#8211; CMS是怎样炼成的？'>Stop to build CMDB for your IT &#8211; CMS是怎样炼成的？</a></li>
<li><a href='http://martinliu.cn/2011/05/remedy-ars-7-6-03-overlay.html' rel='bookmark' title='Remedy ARS 7.6.03 overlay'>Remedy ARS 7.6.03 overlay</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>在不同的CMDB服务器之间做数据迁移之前一定要注意两点：1）保持两边的CDM相同；2）先导入CI数据在导入CI相关的关系数据。另外就是每个类导入完毕之后要做数据完整性和正确性的抽检。以下使用的工具是cmdbdriver，该命令初始化和一般性的参数介绍请参考相关文档。</p>
<p><em><strong>CI数据导出示例</strong></em></p>
<p>Command: xexpdt<br />
XEXPORT DATA<br />
Export instance data from all classes? (F):<br />
Classes to export data from:<br />
Class and its subclasses, From namespace (1,2) (1):<br />
Namespace (): BMC.CORE<br />
Class name (): BMC_ComputerSystem<br />
Dataset ID (): BMC.ASSET<br />
Filename for exported data: C:\DEMO\cs-ci<br />
Exporting Class BMC_ComputerSystem<br />
i=0: namespaceName = BMC.CORE, className = BMC_ComputerSystemExported without errorsExporting Class BMC_MainframeExporti<br />
ng Class BMC_PrinterExporting Class BMC_StorageSubsystem<br />
CMDBExportData  results<br />
ReturnCode:  OK<br />
Status List : 0 items</p>
<p>到相应目录下面找到导出的文件，导出的结果至少是两个文件一个是META_FILE其他的才是CI数据文件。</p>
<p><em><strong>关系数据导出示例</strong></em></p>
<p>Command: xexpdt<br />
XEXPORT DATA<br />
Export instance data from all classes? (F):<br />
Classes to export data from:<br />
Class and its subclasses, From namespace (1,2) (1):<br />
Namespace (): BMC.CORE<br />
Class name (): BMC_Dependency<br />
Dataset ID (): BMC.ASSET<br />
Filename for exported data: C:\DEMO\REL-DEP.XML<br />
Exporting Class BMC_Dependency<br />
i=0: namespaceName = BMC.CORE, className = BMC_DependencyExported without errorsExporting Class BMC_AccountOnSystemExpor<br />
ting Class BMC_HostedAccessPointExporting Class BMC_HostedServiceExporting Class BMC_InventoryBulkItemsExporting Class B<br />
MC_InventoryComputerSystemsExporting Class BMC_InventoryEquipmentExporting Class BMC_InventorySystemComponents<br />
CMDBExportData  results<br />
ReturnCode:  OK<br />
Status List : 0 items</p>
<p>到相应目录下面找到导出的文件，导出的结果至少是两个文件一个是META_FILE其他的才是CI数据文件。</p>
<p><em><strong>导入数据示例</strong></em></p>
<p>Command: impdt<br />
IMPORT INSTANCE DATA<br />
Handle duplicate Instance Ids:<br />
(Error/New ID for Dup/Merge/New ID for All) (1-4) (1): 3<br />
Filename containing import data: c:\demo\cs-ci_0_0  (导入包含CI数据的文件)</p>
<p>CMDBImportData  results<br />
ReturnCode:  OK<br />
Status List : 0 items<br />
Total items Processed             :  2<br />
Items Imported successfully       :  2<br />
Items for which Import failed     :  0</p>
<p>Command: impdt<br />
IMPORT INSTANCE DATA<br />
Handle duplicate Instance Ids:<br />
(Error/New ID for Dup/Merge/New ID for All) (1-4) (1): 3<br />
Filename containing import data: c:\demo\REL-DEP.XML_0_0 (导入包含关系数据的文件)</p>
<p>CMDBImportData  results<br />
ReturnCode:  OK<br />
Status List : 0 items<br />
Total items Processed             :  1<br />
Items Imported successfully       :  1<br />
Items for which Import failed     :  0</p>
<p>导入完毕之后使用Remedy User到相应的表格中查找，确认导入的数据是否正确。</p>
<p>Related posts:<ol>
<li><a href='http://martinliu.cn/2011/01/bmc-atrium-cmdb-sync-cdm-class.html' rel='bookmark' title='BMC Atrium CMDB 类定义迁移'>BMC Atrium CMDB 类定义迁移</a></li>
<li><a href='http://martinliu.cn/2009/03/stop-to-build-cmdb-for-your-it.html' rel='bookmark' title='Stop to build CMDB for your IT &#8211; CMS是怎样炼成的？'>Stop to build CMDB for your IT &#8211; CMS是怎样炼成的？</a></li>
<li><a href='http://martinliu.cn/2011/05/remedy-ars-7-6-03-overlay.html' rel='bookmark' title='Remedy ARS 7.6.03 overlay'>Remedy ARS 7.6.03 overlay</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://martinliu.cn/2011/01/bmc-atrium-cmdb-ci.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>BMC Atrium CMDB 类定义迁移</title>
		<link>http://martinliu.cn/2011/01/bmc-atrium-cmdb-sync-cdm-class.html</link>
		<comments>http://martinliu.cn/2011/01/bmc-atrium-cmdb-sync-cdm-class.html#comments</comments>
		<pubDate>Wed, 12 Jan 2011 04:22:44 +0000</pubDate>
		<dc:creator>Martin Liu</dc:creator>
				<category><![CDATA[CMS/CMDB]]></category>
		<category><![CDATA[Atrium]]></category>
		<category><![CDATA[BMC]]></category>
		<category><![CDATA[class]]></category>
		<category><![CDATA[cmdb]]></category>

		<guid isPermaLink="false">http://martinliu.cn/?p=50854</guid>
		<description><![CDATA[当对CDM做了定制，并且要在不同的服务器直接做类的迁移的时候，需要把定制过的类都导出，然后在目标机上导入。可以使用的CMDB自带的命令行cmdbdriver工具。 cmdbdriver.exe能支持的参数 Options: -u&#60;USER&#62; -a&#60;AUTHORSTRING&#62; -p&#60;PASSWORD&#62; -l&#60;LOCALE&#62; -s&#60;SERVER&#62; -x&#60;INPUTFILE_FULLPATH&#62; -t&#60;PORT_NUMBER&#62; -q&#60;QUIET_MODE_NUMBER&#62; 登录CMDBdriver 实例：   cmdbdriver -u Demo -p bmc@XXX -s atriumcmdb -t 9988 登录之后在运行另外用于初始化的两个命令 init 和log Command: init INITIALIZATION CMDBInitialization  results ReturnCode:  OK Status List : 0 items Command: log Control record: Authentication string () : User name () : Demo Password () : ********** Locale[.charSet]<p><a href="http://martinliu.cn/2011/01/bmc-atrium-cmdb-sync-cdm-class.html" class="more-link">Continue reading &#187;</a></p>
Related posts:<ol>
<li><a href='http://martinliu.cn/2011/01/bmc-atrium-cmdb-ci.html' rel='bookmark' title='BMC Atrium CMDB CI数据迁移'>BMC Atrium CMDB CI数据迁移</a></li>
<li><a href='http://martinliu.cn/2011/05/remedy-ars-7-6-03-overlay.html' rel='bookmark' title='Remedy ARS 7.6.03 overlay'>Remedy ARS 7.6.03 overlay</a></li>
<li><a href='http://martinliu.cn/2009/03/stop-to-build-cmdb-for-your-it.html' rel='bookmark' title='Stop to build CMDB for your IT &#8211; CMS是怎样炼成的？'>Stop to build CMDB for your IT &#8211; CMS是怎样炼成的？</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>当对CDM做了定制，并且要在不同的服务器直接做类的迁移的时候，需要把定制过的类都导出，然后在目标机上导入。可以使用的CMDB自带的命令行cmdbdriver工具。</p>
<p><em><strong>cmdbdriver.exe能支持的参数</strong></em></p>
<p>Options:<br />
-u&lt;USER&gt;<br />
-a&lt;AUTHORSTRING&gt;<br />
-p&lt;PASSWORD&gt;<br />
-l&lt;LOCALE&gt;<br />
-s&lt;SERVER&gt;<br />
-x&lt;INPUTFILE_FULLPATH&gt;<br />
-t&lt;PORT_NUMBER&gt;<br />
-q&lt;QUIET_MODE_NUMBER&gt;</p>
<p>登录CMDBdriver 实例：   cmdbdriver -u Demo -p bmc@XXX -s atriumcmdb -t 9988</p>
<p>登录之后在运行另外用于初始化的两个命令 init 和log</p>
<p>Command: init<br />
INITIALIZATION</p>
<p>CMDBInitialization  results<br />
ReturnCode:  OK<br />
Status List : 0 items</p>
<p>Command: log<br />
Control record:<br />
Authentication string () :<br />
User name () : Demo<br />
Password () : **********<br />
Locale[.charSet] () :<br />
TimeZone () :<br />
Server () : atriumcmdb</p>
<p><em><strong>导出类定义的方法实例</strong></em><br />
Command: xexpdf<br />
XEXPORT DEFINITION<br />
Export all classes? (F):<br />
Classes to export:<br />
Class and its subclasses, From namespace (1,2) (1):<br />
Namespace (): BMC.CORE<br />
Class name (): BMC_ComputerSystem<br />
Export all attributes with classes? (T):<br />
Filename for exported data: c:\demo\BMC_ComputerSystem.xml</p>
<p>CMDBXExportDef  results<br />
ReturnCode:  OK<br />
Status List : 0 items</p>
<p>使用文本编辑器查看c:\demo\BMC_ComputerSystem.xml的导出结果</p>
<p><em><strong>导入类定义的方法：</strong></em><br />
Command: impdf<br />
DEFINITION IMPORT<br />
Import Item List:<br />
Number of import items (0):<br />
Import option : Create/Overwrite (1-2) (1): 2<br />
Filename containing import data: c:\demo\cs.xml</p>
<p>CMDBImportDef  results<br />
ReturnCode:  OK<br />
Status List : 0 items</p>
<p>使用Remedy User，用Demo登录，把语言切换到英文，然后在查BMC_ComputerSystem表达，在custom 2 ～n的tab页面里面查看哪些导入的属性。或者使用class manager查看确认导入是否成功。</p>
<p>Related posts:<ol>
<li><a href='http://martinliu.cn/2011/01/bmc-atrium-cmdb-ci.html' rel='bookmark' title='BMC Atrium CMDB CI数据迁移'>BMC Atrium CMDB CI数据迁移</a></li>
<li><a href='http://martinliu.cn/2011/05/remedy-ars-7-6-03-overlay.html' rel='bookmark' title='Remedy ARS 7.6.03 overlay'>Remedy ARS 7.6.03 overlay</a></li>
<li><a href='http://martinliu.cn/2009/03/stop-to-build-cmdb-for-your-it.html' rel='bookmark' title='Stop to build CMDB for your IT &#8211; CMS是怎样炼成的？'>Stop to build CMDB for your IT &#8211; CMS是怎样炼成的？</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://martinliu.cn/2011/01/bmc-atrium-cmdb-sync-cdm-class.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>[ZT]ITIL V3 服务转换篇 之 资产和配置管理</title>
		<link>http://martinliu.cn/2010/12/itil-v3-asset-configuration.html</link>
		<comments>http://martinliu.cn/2010/12/itil-v3-asset-configuration.html#comments</comments>
		<pubDate>Mon, 20 Dec 2010 03:01:40 +0000</pubDate>
		<dc:creator>Martin Liu</dc:creator>
				<category><![CDATA[CMS/CMDB]]></category>
		<category><![CDATA[ci]]></category>
		<category><![CDATA[cmdb]]></category>
		<category><![CDATA[ITIL]]></category>
		<category><![CDATA[ITSM]]></category>

		<guid isPermaLink="false">http://martinliu.cn/?p=50844</guid>
		<description><![CDATA[为了定义和控制服务和基础设施组件。维持当前计划中、历史的服务和基础设施状况配置信息的准确性 一、先介绍几个基本概念 1、配置项（CI） 配置项是正在或将要在配置管理控制下的资产、服务组件或其他。配置项在复杂性、大小、种类有很大不同，从整个服务或系统包括硬件、软件、文档、支持人员到单独软件模块或硬件组件。配置项可以集中或分组管理。配置项可以选择使用既定的选择标准、分组、分类和识别方式在整个生命周期中管理和追溯。其包括： A) 服务CI项：服务能力资产、服务资源资产、服务模式、服务包、发布包、验收标准等 B) 组织CI项 C) 内部CI项 D) 外部CI项：包括外部客户需求和协议、供应商发布、分包商及对外服务。 E) 接口CI项：端到端的服务，跨越服务提供者的接口 2、配置管理系统（CMS） 为了管理大型复杂的IT服务和基础设施，资产和配置管理需要使用配置管理系统CMS。在指定范围内CMS掌握着所有配置项信息。CMS为所有服务组件与相关事故、问题、已知错误、变更发布、文档、公司数据、供应商、客户信息做关联。 在数据层面CMS能使数据库存在多个物理CMDB中而后共同组成一个联合的CMDB。其他数据来源也可以加入CMS中。 3、配置管理数据库(CMDB) 所有配置项的信息都包括在配置管理数据库(CMDB)中。配置管理数据库(CMDB)对所有IT 组件、组件的不同版本和状态以及组件之间的相互关系进行跟踪。在其最基本的形式下，配置管理数据库(CMDB)可能仅由一些纸质表格或一套电子表格 (Spreadsheets)组成。 4、最终介质库(DML) DML是用来存储和保护所有已授权的被确认版本介质配置项。 他们存储经过质检的主拷贝版本。这个库可以有一个或多个软件库或存放区来存放开发、测试和实时存储文件。他们包含组织所有软件的主拷贝、购买软件的副本及 受控文件的电子版。DML包含物理的拷贝存储，DML是发布管理的基础。 二、配置管理的目的： 1. 确定、控制、记录、报告、审计、验证服务资产和配置项包括版本、基线、组成成分、属性和相关关系。 2.通过服务生命周期管理保护资产完整、配置项等账户。确保只有已授权的组件被使用和已授权变更被执行。 3.通过服务生命周期保护服务资产、配置项的完整性。为了建立和维持一个准确和完整的配置管理系统，确保资产和控制服务、IT基础设施的配置需求的完整性。 三、资产、配置管理的活动 1、规划 2、识别 配置项识别过程： A) 定义和制定标准文件来选择配置项和他们的组件构成 B) 依据标准选择配置项及其组件并记录他们 C) 给配置项分配唯一的标识符 D) 指定每个配置项相关属性 E) 确认每个配置项是受配置项管理来管理 F) 确定每个配置项的责任人 3、控制 必须有效控制信息以维持配置管理数据库(CMDB)的及时更新。一旦某项活动改变了配置项已记录的特征或配置项之间的关系，则必须在配置管理数据库 (CMDB)中记录该项变动。需注意的是：只有变更管理才有权批准对配置项的特征进行变动，事件管理只能改变某个现有的配置项的状态来反映现实状况。 配置管理负责控制组织接收到的所有IT 组件并需确保这些组件被记录在系统中。硬件可在其已订购或已交付时进行记录，而软件则通常在其被纳入DML时进行记录。 4、记录 组件的生命周期可被划分成多个阶段，每个阶段都可以分配一个状态代码，但具体分成几个阶段则取决于公希望记录IT 基础设施的哪些特征。保持对每次状态变化日期的记录可以提供关于一个产品的生命周期的有用信息，如订购时间、安装时间以及所需的维护和支持。组件的状态决 定了可以对其进行操作的余地。 5、审核和报告<p><a href="http://martinliu.cn/2010/12/itil-v3-asset-configuration.html" class="more-link">Continue reading &#187;</a></p>
Related posts:<ol>
<li><a href='http://martinliu.cn/2009/08/martinmarks-for-29th-august.html' rel='bookmark' title='MartinMarks for 29th August'>MartinMarks for 29th August</a></li>
<li><a href='http://martinliu.cn/2010/07/plan-cmdb-population-002.html' rel='bookmark' title='规划CMDB数据填充-002'>规划CMDB数据填充-002</a></li>
<li><a href='http://martinliu.cn/2009/07/itil-v3-%e6%9c%af%e8%af%ad%e8%a1%a8.html' rel='bookmark' title='ITIL v3 术语表'>ITIL v3 术语表</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>为了定义和控制服务和基础设施组件。维持当前计划中、历史的服务和基础设施状况配置信息的准确性<br />
<strong>一、先介绍几个基本概念<br />
</strong>1、配置项（CI）<br />
配置项是正在或将要在配置管理控制下的资产、服务组件或其他。配置项在复杂性、大小、种类有很大不同，从整个服务或系统包括硬件、<a href="http://portal.vsharing.com/industry/1593.html" target="_blank">软件</a>、文档、支持人员到单独软件模块或硬件组件。配置项可以集中或分组管理。配置项可以选择使用既定的选择标准、分组、分类和识别方式在整个生命周期中管理和追溯。其包括：<br />
A) 服务CI项：服务能力资产、服务资源资产、服务模式、服务包、发布包、验收标准等<br />
B) 组织CI项<br />
C) 内部CI项<br />
D) 外部CI项：包括外部客户需求和协议、供应商发布、分包商及对外服务。<br />
E) 接口CI项：端到端的服务，跨越服务提供者的接口<br />
2、配置管理系统（CMS）<br />
为了管理大型复杂的IT服务和基础设施，资产和配置管理需要使用配置管理系统CMS。在指定范围内CMS掌握着所有配置项信息。CMS为所有服务组件与相关事故、问题、已知错误、变更发布、文档、公司数据、供应商、客户信息做关联。<br />
在数据层面CMS能使数据库存在多个物理CMDB中而后共同组成一个联合的CMDB。其他数据来源也可以加入CMS中。<br />
3、配置管理数据库(CMDB)<br />
所有配置项的信息都包括在配置管理数据库(CMDB)中。配置管理数据库(CMDB)对所有IT  组件、组件的不同版本和状态以及组件之间的相互关系进行跟踪。在其最基本的形式下，配置管理数据库(CMDB)可能仅由一些纸质表格或一套电子表格 (Spreadsheets)组成。<br />
4、最终介质库(DML)<br />
DML是用来存储和保护所有已授权的被确认版本介质配置项。 他们存储经过质检的主拷贝版本。这个库可以有一个或多个软件库或存放区来存放开发、测试和实时存储文件。他们包含组织所有软件的主拷贝、购买软件的副本及 受控文件的电子版。DML包含物理的拷贝存储，DML是发布管理的基础。</p>
<p><strong>二、配置管理的目的：<br />
</strong> 1. 确定、控制、记录、报告、审计、验证服务资产和配置项包括版本、基线、组成成分、属性和相关关系。<br />
2.通过服务<a href="http://plm.vsharing.com/" target="_blank">生命周期管理</a>保护资产完整、配置项等账户。确保只有已授权的组件被使用和已授权变更被执行。<br />
3.通过服务生命周期保护服务资产、配置项的完整性。为了建立和维持一个准确和完整的配置管理系统，确保资产和控制服务、IT基础设施的配置需求的完整性。</p>
<p><strong>三、资产、配置管理的活动</strong></p>
<div id="MagnifierDiv1">
<p><img src="http://blog.amteam.org/Uploads/UserDirs/3/1169/467255/b%281%29.jpg" alt="" /></p>
<div id="Magnifier1"><a href="http://blog.amteam.org/Uploads/UserDirs/3/1169/467255/b%281%29.jpg"><img src="http://blog.amteam.org/Uploads/UserDirs/3/1169/467255/b%281%29.jpg" alt="点击查看原图" width="200" height="100" /></a></div>
</div>
<p>1、规划<br />
2、识别<br />
配置项识别过程：<br />
A) 定义和制定标准文件来选择配置项和他们的组件构成<br />
B) 依据标准选择配置项及其组件并记录他们<br />
C) 给配置项分配唯一的标识符<br />
D) 指定每个配置项相关属性<br />
E) 确认每个配置项是受配置项管理来管理<br />
F) 确定每个配置项的责任人<br />
3、控制<br />
必须有效控制信息以维持配置管理数据库(CMDB)的及时更新。一旦某项活动改变了配置项已记录的特征或配置项之间的关系，则必须在配置管理数据库 (CMDB)中记录该项变动。需注意的是：只有变更管理才有权批准对配置项的特征进行变动，事件管理只能改变某个现有的配置项的状态来反映现实状况。<br />
配置管理负责控制组织接收到的所有IT 组件并需确保这些组件被记录在系统中。硬件可在其已订购或已交付时进行记录，而软件则通常在其被纳入DML时进行记录。<br />
4、记录<br />
组件的生命周期可被划分成多个阶段，每个阶段都可以分配一个状态代码，但具体分成几个阶段则取决于公希望记录IT  基础设施的哪些特征。保持对每次状态变化日期的记录可以提供关于一个产品的生命周期的有用信息，如订购时间、安装时间以及所需的维护和支持。组件的状态决 定了可以对其进行操作的余地。<br />
5、审核和报告<br />
执行审计是为了核实配置管理数据库(CMDB)中记录的信息是否仍然反映了当前的现实状况。这些信息可用来检查和更新配置管理数据库(CMDB)。<br />
在下列情形下需要执行审计：<br />
A) 在建立了新的配置管理数据库(CMDB)之后；<br />
B) 建立配置管理数据库(CMDB)一段时间之后；<br />
C) 重大变更之前或之后；<br />
D) 灾难恢复之后；<br />
E) 其他任何方便的时候。<br />
审计也可以随机地或在配置经理认为配置管理数据库(CMDB)中的信息不正确时进行。如果配置管理系统与审计工具之间存在关联，则可以每天生成针对某个相 关领域的审计报告。在发现差异时，不应该允许审计工具自动更新配置管理数据库(CMDB)。所有的差异都表明变更管理流程可能被忽视了，所以应该对这些差 异进行调查并通过变更管理对这些差异进行追溯性处理。<br />
<strong>三、配置管理管理报告</strong><br />
配置管理流程的管理报告可能包括下列信息：<br />
a) 有关流程质量的信息；<br />
b) 在审计中发现的记录与实际情形不符的次数；<br />
c) 发现未经批准的配置的次数；<br />
d) 出现已记录的配置不能被找到情形的次数；<br />
e) 审计中发现的有关配置项属性详细程度方面的差异；<br />
f) 处理信息记录请求所需的时间；<br />
g) 超过给定事件或变更次数的配置项的列表；<br />
h) 有关 IT 基础设施的结构和组成的统计信息；<br />
i)  有关 IT 基础设施发展情况及其他方面的信息；<br />
j) 有关改进措施的总结、报告和建议，例如，针对由于业务、技术、市场价格和其他相关变化所导致的配置管理追踪记录的配置项的范围和详细程度的变更所提出建议；<br />
k) 有关实施流程所耗费的人力成本的清单。</p>
<p><strong>四、配置管理的绩效指标指标</strong><br />
a) 闲置许可数量;<br />
b) CMDB错误导致变更失败的数量;<br />
c) 未授权配置数量;<br />
d) 配置项文档错误导致变更失败所引起的事故数量;<br />
e) 因为CMDB错误导致违反SLA的数量;<br />
f) 无相应配置项刷新的变更请求数量;<br />
g) 不精确配置项百分比;<br />
h) 客户满意度 ;</p>
<p><strong>五、与其他流程的关系</strong></p>
<div id="MagnifierDiv2">
<p><img src="http://blog.amteam.org/Uploads/UserDirs/3/1169/467255/a.jpg" alt="" /></p>
</div>
<p>转帖学习一下。</p>
<p>From <a href="http://blog.amteam.org/standard/A1159174.html" target="_blank">http://blog.amteam.org/standard/A1159174.html</a></p>
<p>Related posts:<ol>
<li><a href='http://martinliu.cn/2009/08/martinmarks-for-29th-august.html' rel='bookmark' title='MartinMarks for 29th August'>MartinMarks for 29th August</a></li>
<li><a href='http://martinliu.cn/2010/07/plan-cmdb-population-002.html' rel='bookmark' title='规划CMDB数据填充-002'>规划CMDB数据填充-002</a></li>
<li><a href='http://martinliu.cn/2009/07/itil-v3-%e6%9c%af%e8%af%ad%e8%a1%a8.html' rel='bookmark' title='ITIL v3 术语表'>ITIL v3 术语表</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://martinliu.cn/2010/12/itil-v3-asset-configuration.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>八月十五月儿圆，我和兄弟们装AR</title>
		<link>http://martinliu.cn/2010/09/install-remedy-ars-itsm-on-aix-oracle.html</link>
		<comments>http://martinliu.cn/2010/09/install-remedy-ars-itsm-on-aix-oracle.html#comments</comments>
		<pubDate>Wed, 22 Sep 2010 13:51:14 +0000</pubDate>
		<dc:creator>Martin Liu</dc:creator>
				<category><![CDATA[ITIL/ITSM]]></category>
		<category><![CDATA[7.6]]></category>
		<category><![CDATA[ar]]></category>
		<category><![CDATA[ARS]]></category>
		<category><![CDATA[cmdb]]></category>
		<category><![CDATA[ITSM]]></category>
		<category><![CDATA[remedy]]></category>

		<guid isPermaLink="false">http://martinliu.cn/?p=50811</guid>
		<description><![CDATA[经过几天的奋战，我们终于在中秋月圆之夜，在黑山扈的百望山脚下为客户成功地安装了Remedy ITSM 7.6.03 每当安装程序一次次挂死、安装程序界面不正常显示、安装不完全、安装失败，都让在场的人达到抓狂的后期，无语~~ 这里总结一下这几天的失败安装的血泪史，供后来人参考学习。 版本的确认：所有操作系统，JVM，JDK，数据库，数据库客户端，和以上软件的位数都需要查明，都需要在Remedy的兼容文档中一一确认。 AIX操作系统的字符集：需要同时安装中英文的UTF8字符集。安装方法smitty，需要有操作系统的安装盘，安装完成之后，locale -a ，需要能看到 ZH_CN, ZH_CN.UTF-8,EN_US, EN_US.UTF-8 这四种字符集缺一不可。否则无法以中文方式安装成功，也无法让操作系统已中文utf8来启动AR服务。 XManager需要安装在于AR同一网段的Windows服务器上，例如Mid-tier可能安装在Windows上，并与AR在同以网段，那么安装程序最好在该服务器的Xmanager的客户端中安装，从哪里连接AIX服务器并运行安装程序。如果不在同一个网段，安装程序很有可能安装了一半或者无名的消失，安装进程会立刻中断，需要把系统推到重来。 AIX系统上font server的安装：使用netstat -na&#124;grep 7100， 如果没有结果则需要从AIX的光盘中在AIX的服务器上安装font server和相关的包，并且启动它。如果不装的话，remedy安装程序可能界面显示不正常，或者不显示。 Oracle上众多僵尸进程：如果在安装CMDB或者ITSM套件的时候，安装界面挂死或者消失，这会是Oracle服务器上产生上百个僵尸进程，这些进程会吃光Oracle服务器的所有物理内存。我们的oracle服务器的16GB内存被吃光之后，ITSM安装界面几乎停止，20~30分钟才能安装完一个定义文件。解决方法是：随时监控Oracle服务器的内存使用情况，当出现内存被僵尸进程吃光的情况，可以考虑使用IT行里无人不知的无敌重启方案，重启Oracle服务器的操作系统，从启动Oracle数据库实例，重启ARS服务，然后再次安装Remedy ITSM。 Remedy安装之备份：如果是在AIX+Oracle的数据库上安装。Remedy还是非常绿色的软件，需要在安装完AR，CMDB，ITSM套件后各做一个Remedy安装文件目录的备份，在AIX上可以把这个文件夹tar起来备用。Oracle数据库还是非常容易备份的，使用imp和exp命了就可以搞定，具体语句咨询DBA。切忌在安装CMDB和ITSM之前一定要对Remedy系统的安装文件和数据库做备份，一旦安装失败，可以恢复文件，恢复数据库，排错后重新再来。 Related posts: Remedy ITSM 7.6.04 套件快速安装 BMC提供ITSM洋快餐 Remedy ITSM 7.6 installation Tips
Related posts:<ol>
<li><a href='http://martinliu.cn/2011/05/remedy-itsm-7-6-04-quick-install-guide.html' rel='bookmark' title='Remedy ITSM 7.6.04 套件快速安装'>Remedy ITSM 7.6.04 套件快速安装</a></li>
<li><a href='http://martinliu.cn/2010/06/bmc-remedy-ondemand.html' rel='bookmark' title='BMC提供ITSM洋快餐'>BMC提供ITSM洋快餐</a></li>
<li><a href='http://martinliu.cn/2009/11/remedy-itsm-76-installation-tips.html' rel='bookmark' title='Remedy ITSM 7.6 installation Tips'>Remedy ITSM 7.6 installation Tips</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft" title="http://ww.61bay.com/pic/upload/10ph1/20095272001540.jpg" src="http://ww.61bay.com/pic/upload/10ph1/20095272001540.jpg" alt="" width="400" height="300" />经过几天的奋战，我们终于在中秋月圆之夜，在黑山扈的百望山脚下为客户成功地安装了Remedy ITSM 7.6.03 每当安装程序一次次挂死、安装程序界面不正常显示、安装不完全、安装失败，都让在场的人达到抓狂的后期，无语~~ 这里总结一下这几天的失败安装的血泪史，供后来人参考学习。</p>
<p>版本的确认：所有操作系统，JVM，JDK，数据库，数据库客户端，和以上软件的位数都需要查明，都需要在Remedy的兼容文档中一一确认。</p>
<p>AIX操作系统的字符集：需要同时安装中英文的UTF8字符集。安装方法smitty，需要有操作系统的安装盘，安装完成之后，locale -a ，需要能看到 ZH_CN, ZH_CN.UTF-8,EN_US, EN_US.UTF-8 这四种字符集缺一不可。否则无法以中文方式安装成功，也无法让操作系统已中文utf8来启动AR服务。</p>
<p>XManager需要安装在于AR同一网段的Windows服务器上，例如Mid-tier可能安装在Windows上，并与AR在同以网段，那么安装程序最好在该服务器的Xmanager的客户端中安装，从哪里连接AIX服务器并运行安装程序。如果不在同一个网段，安装程序很有可能安装了一半或者无名的消失，安装进程会立刻中断，需要把系统推到重来。</p>
<p>AIX系统上font server的安装：使用netstat -na|grep 7100， 如果没有结果则需要从AIX的光盘中在AIX的服务器上安装font server和相关的包，并且启动它。如果不装的话，remedy安装程序可能界面显示不正常，或者不显示。</p>
<p>Oracle上众多僵尸进程：如果在安装CMDB或者ITSM套件的时候，安装界面挂死或者消失，这会是Oracle服务器上产生上百个僵尸进程，这些进程会吃光Oracle服务器的所有物理内存。我们的oracle服务器的16GB内存被吃光之后，ITSM安装界面几乎停止，20~30分钟才能安装完一个定义文件。解决方法是：随时监控Oracle服务器的内存使用情况，当出现内存被僵尸进程吃光的情况，可以考虑使用IT行里无人不知的无敌重启方案，重启Oracle服务器的操作系统，从启动Oracle数据库实例，重启ARS服务，然后再次安装Remedy ITSM。</p>
<p>Remedy安装之备份：如果是在AIX+Oracle的数据库上安装。Remedy还是非常绿色的软件，需要在安装完AR，CMDB，ITSM套件后各做一个Remedy安装文件目录的备份，在AIX上可以把这个文件夹tar起来备用。Oracle数据库还是非常容易备份的，使用imp和exp命了就可以搞定，具体语句咨询DBA。切忌在安装CMDB和ITSM之前一定要对Remedy系统的安装文件和数据库做备份，一旦安装失败，可以恢复文件，恢复数据库，排错后重新再来。</p>
<p>Related posts:<ol>
<li><a href='http://martinliu.cn/2011/05/remedy-itsm-7-6-04-quick-install-guide.html' rel='bookmark' title='Remedy ITSM 7.6.04 套件快速安装'>Remedy ITSM 7.6.04 套件快速安装</a></li>
<li><a href='http://martinliu.cn/2010/06/bmc-remedy-ondemand.html' rel='bookmark' title='BMC提供ITSM洋快餐'>BMC提供ITSM洋快餐</a></li>
<li><a href='http://martinliu.cn/2009/11/remedy-itsm-76-installation-tips.html' rel='bookmark' title='Remedy ITSM 7.6 installation Tips'>Remedy ITSM 7.6 installation Tips</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://martinliu.cn/2010/09/install-remedy-ars-itsm-on-aix-oracle.html/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>[ZT] Old BSM is dead</title>
		<link>http://martinliu.cn/2010/09/zt-bsm-dead.html</link>
		<comments>http://martinliu.cn/2010/09/zt-bsm-dead.html#comments</comments>
		<pubDate>Fri, 17 Sep 2010 18:46:09 +0000</pubDate>
		<dc:creator>Martin Liu</dc:creator>
				<category><![CDATA[ITSM]]></category>
		<category><![CDATA[BMC]]></category>
		<category><![CDATA[BSM]]></category>
		<category><![CDATA[CA]]></category>
		<category><![CDATA[cloud]]></category>
		<category><![CDATA[cmdb]]></category>
		<category><![CDATA[Integrien]]></category>
		<category><![CDATA[virtuali]]></category>
		<category><![CDATA[VMWare]]></category>

		<guid isPermaLink="false">http://martinliu.cn/?p=50807</guid>
		<description><![CDATA[随着云计算和虚拟化的来临，IT架构愈加复杂，老一套的IT管理方案只能监控静态的基础架构。老一套的CMDB和BSM给运维无法带来实质性的帮助，需要能够具有自适应、自学习IT环境的能力，管理工具需要对IT环境的变化有感知，有学习功能，否则无法对业务故障的处理给予应有的支持。转帖自学一下这个文章，老外从IT架构的历史讲起，横跨跨服务保证和CMDB等领域，讲的还是很不错的。 The Significance of the VMware Integrien Acquisition While it may seem that with Integrien VMware has acquired yet one more piece of the puzzle (a puzzle whose final form no one knows), this acquisition is perhaps one of the most significant if not the most significant that VMware has done. To understand the significance<p><a href="http://martinliu.cn/2010/09/zt-bsm-dead.html" class="more-link">Continue reading &#187;</a></p>
Related posts:<ol>
<li><a href='http://martinliu.cn/2011/02/book-service-modelling.html' rel='bookmark' title='图书推荐《服务建模：原理与应用》'>图书推荐《服务建模：原理与应用》</a></li>
<li><a href='http://martinliu.cn/2011/05/let-remedy-ars-fly-2.html' rel='bookmark' title='让Remedy飞一会'>让Remedy飞一会</a></li>
<li><a href='http://martinliu.cn/2009/12/is-that-a-joke-of-remedy-developer.html' rel='bookmark' title='老美真的很扯，一个职位的帖子被顶了22次'>老美真的很扯，一个职位的帖子被顶了22次</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p><img alt="" src="http://www.smarthomecn.com/upload/2008_11/081112102554402.jpg" title="Old BSM is dead" class="alignleft" width="494" height="324" />随着云计算和虚拟化的来临，IT架构愈加复杂，老一套的IT管理方案只能监控静态的基础架构。老一套的CMDB和BSM给运维无法带来实质性的帮助，需要能够具有自适应、自学习IT环境的能力，管理工具需要对IT环境的变化有感知，有学习功能，否则无法对业务故障的处理给予应有的支持。转帖自学一下这个文章，老外从IT架构的历史讲起，横跨跨服务保证和CMDB等领域，讲的还是很不错的。<br />
<a title="The Significance of the VMware Integrien Acquisition" href="http://www.virtualizationpractice.com/blog/?p=7186">The Significance of the VMware Integrien Acquisition</a><br />
While it may seem that with Integrien <a title="VMware" href="http://www.virtualizationpractice.com/blog/?page_id=2983">VMware</a> has acquired yet one more piece of the puzzle (a puzzle whose final  form no one knows), this acquisition is perhaps one of the most  significant if not the most significant that <a title="VMware" href="http://www.virtualizationpractice.com/blog/?page_id=2983">VMware</a> has done. To understand the significance of this acquisition, one has  to step back and examine a bit of history in the Systems Management  business.</p>
<p>For as long as there have  been computers, operating systems and business critical applications,  there has been monitoring of these items to make sure they were working  (available) and performing well for their constituents. In the early  days of the computer industry (through about 1982) computer systems were  vertical monoliths where a customer would buy “an accounting system”  and that purchase would include hardware, systems software, and  applications software. All of this usually came from one vendor so there  was one throat to choke when it did not work.</p>
<p>Starting with the  delivery of the PC, then Ethernet LAN’s and Novel Netware, and finally  Windows Servers and the Internet, the industry reorganized along  horizontal dimensions. A computer system was now a multi-layer cake and  you could buy each cake from one of many vendors whose products were  largely interchangeable with each other, and compatible with adjacent  layers. So you could buy an Intel based server from one of N vendors,  put either Linux or Windows on it, but a Java applications server from  one of N vendors on that and then buy applications from thousands of  different vendors.</p>
<p>This horizontal layering of the industry was heavily promoted by <a title="Microsoft" href="http://www.virtualizationpractice.com/blog/?s=microsoft">Microsoft</a> and Intel (who “owned” two key layers of the cake), and also ushered in  the tremendous innovation and price competition that continues to drive  our industry today. Moore’s Law says that microprocessor performance  doubles roughly every 18 months or so, and with those increases in  price/performance come the more for less mentality that we have all  become accustomed to.</p>
<p>With this freedom of choice at every layer  of the cake however came problems. The first problem was complexity.  There were now too many cooks in the kitchen which meant that there were  both too many and not one single throat for the CIO to choke when  something went wrong. The management software industry reacted to this  by inventing a marketecture, Business Service Management (BSM). The idea  behind BSM was to identify the key business services that applications  or combinations of applications delivered to users (the ability to enter  and order and ship the resulting product is a business service as is  the ability of a consumer to transfer funds from one banking account to  another), and to then map all of the software and hardware  infrastructure that this business service depended upon and to manage  that collection of linked resources as an entity.</p>
<p>While Business Service Management sounded like a great idea, it in fact ended up as a miserable failure. The reasons were:</p>
<ul>
<li> There were many applications for which it was just too hard to measure  their performance (in response time terms). Web applications turned out  to be pretty easy, but fat client Win32 applications written to  proprietary client/server protocols turned out to be very hard. It  turned out that for most enterprises, more than half of the business  critical applications were in the hard pile (fat client/Win32) and less  than half were the easy web applications.</li>
<li>Many BSM frameworks  relied upon scripts and synthetic transactions to measure response time  and end user experience. However this approach failed for many  enterprises due to the large number of applications that comprised a  business service and how rapidly these applications were changing. For  example if synthetic transactions were used to measure the performance  of a set of transactions, and a company had 500 business critical  applications (not a very high number – some companies have thousands),  and each application was updated once a year, then that would translate  into 10 updates a week for the monitoring scripts.</li>
<li>The same is true for  most passive monitoring approaches that rely upon templates to identify  transactions in applications protocols. There are many products that can  measure the response time of transactions from the perspective of the  web server by attaching physical or virtual appliance to a span port on  the switch that services the web server. However all such products  require configuration to understand what set of granular http  request/responses combine to create a transaction of interest.  Maintaining these configurations across hundreds of applications and  thousands of transactions proved to be a major impediment to  instrumenting their service level in any kind of a broad and systematic  manner.</li>
<li>It turned out to be a nightmare to identify the hardware  and software that supported each business service. This gave rise to  the need for Configuration Management Databases (CMDB’s) that were  supposed to get populated with the hardware and software assets and  their relationships to each other. The effort to put in place a CMDB and  to maintain it turned out to doom the CMDB projects and the associated  BSM projects at many companies.</li>
<li>The BSM vendors were unable to  evolve their products at the same rate as the innovation of the vendors  who contributed products to the layers in the cake. New devices (laptops  that were not always connected), new protocols (ICA, VOIP), new  operating systems (Linux), new languages (Java, C#), and new user  interfaces (first the browser and then rich Internet applications) all  occurred at a pace that no one vendor could keep up with.</li>
<li>When  the BSM vendors got overwhelmed by innovation, vendors of point  monitoring solutions stepped in to monitor the newest layer or item in a  layer.  This lead to a proliferation of monitoring tools which were not  integrated with each other.</li>
<li>When a problem occurred even if one  had a BSM product and a CMDB it still horribly difficult to know  exactly what path the failed transaction took through the entire  hardware and software infrastructure. The BSM tools were rarely aware of  every element of the stack and the tactical monitors that had been  bought to fill in the cracks were not integrated with the BSM tools nor  each other.</li>
</ul>
<p>In summary we entered the age of virtualization  and the cloud with both BSM and their supporting CMDB’s having failed at  monitoring and managing a static infrastructure where applications and  services largely stayed on dedicated hardware. In other words, before  virtualization and the dynamic data center it was impossible for anyone  in IT to see a problem and get told in a deterministic manner exactly  where the problem was and how to fix it.</p>
<p><strong>The Impact of Virtualization and the Cloud</strong></p>
<p>Since  holistic end-to-end monitoring of business services was essentially  broken (or not attainable) before virtualization, it is reasonable to  assume that virtualization and the cloud will only make this problem  worse. This will occur for the following reasons:</p>
<ol>
<li>Virtualization  increases workload density and the dynamic operation of workloads. This  will require both continuous mapping of application to infrastructure  dependencies and more more frequent (near real time) collection of  performance data. Just the requirements for real time mapping and real  time data completely overwhelm existing monitoring systems. Hyperic has a  good blog on this point <a onclick="javascript:_gaq.push(['_trackEvent','outbound-article','blog.hyperic.com']);" rel="nofollow" href="http://blog.hyperic.com/vfabric-hyperic-weaves-performance-management-into-cloud-applications/" target="_blank">here</a>.</li>
<li>Inferring  application performance from resource utilization statistics becomes  impossible. This was possible on physical hardware, but on hardware that  is shared via virtualization it no longers works. Hence the need for  Infrastructure <a title="Performance Management" href="http://www.virtualizationpractice.com/blog/?cat=9">Performance Management</a> solutions that measure Infrastructure Response Time. We expect Infrastructure <a title="Performance Management" href="http://www.virtualizationpractice.com/blog/?cat=9">Performance Management</a> solutions from vendors like <a title="Akorri" href="http://www.virtualizationpractice.com/blog/?page_id=1603">Akorri</a>, <a title="CA" href="http://www.virtualizationpractice.com/blog/?page_id=6234">CA</a> Technologies (<a title="CA" href="http://www.virtualizationpractice.com/blog/?page_id=6234">CA</a> Virtual Assurance), <a title="Virtual Instruments" href="http://www.virtualizationpractice.com/blog/?page_id=6476">Virtual Instruments</a>, and <a title="Xangati" href="http://www.virtualizationpractice.com/blog/?page_id=3551">Xangati</a> to form the foundation layer of whatever will replace BSM.</li>
<li>Application  will now get moved from cluster to cluster and ultimately from data  center to data center (private cloud – hybrid cloud – public cloud). APM  solutions will need to track the applications no matter where they go,  and seamlessly work across different IP networks. Leading virtualization  aware APM solutions like those from <a title="AppDynamics" href="http://www.virtualizationpractice.com/blog/?page_id=4724">AppDynamics</a>, <a title="BlueStripe" href="http://www.virtualizationpractice.com/blog/?page_id=2416">BlueStripe</a>, and <a title="New Relic" href="http://www.virtualizationpractice.com/blog/?page_id=1505">New Relic</a> meet these needs today and will likely form the APM layer of whatever replaces BSM.</li>
</ol>
<p>All  of the above together combine to create one new result for Systems  Management. That new result is that in the general case it will be  impossible to deterministically do root cause in a dynamic environment.  This was explored in detail in this <a href="http://www.virtualizationpractice.com/blog/?p=5915" target="_blank">post</a>.</p>
<p><strong>The Significance of the Integrien Acquisition</strong></p>
<p>The Integrien acquisition by <a title="VMware" href="http://www.virtualizationpractice.com/blog/?page_id=2983">VMware</a> is significant because it means that <a title="VMware" href="http://www.virtualizationpractice.com/blog/?page_id=2983">VMware</a> has recognized that only a dynamic, statistical, self-configuring,  and  self-learning approach can keep up with the rate of change in these new  dynamic IT environments. The self-learning approach simply means that  you feed the system the metrics that get collected about the system and  it figures out which ones are important, how the metrics are related to  each other, and lets you know when anomalies have occurred.</p>
<p>This  acquisition is all the more significant because this is not garden  variety technology. There have only ever been three companies this this  space. ProactiveNet was acquired by BMC a few years ago. <a title="Netuitive" href="http://www.virtualizationpractice.com/blog/?page_id=7123">Netuitive</a> has been around since the late 1990′s and it took the company until the  mid 2000′s before the product had matured into something that really  just worked when you plugged it in. Integrien is a fairly recent entry  in this field and is now part of <a title="VMware" href="http://www.virtualizationpractice.com/blog/?page_id=2983">VMware</a> – which leaves <a title="Netuitive" href="http://www.virtualizationpractice.com/blog/?page_id=7123">Netuitive</a> as the only remaining independent player.</p>
<p><strong>The New Dynamic BSM – Service Assurance</strong></p>
<p>Since  the old BSM is dead due to a brittle and difficult to update technology  approach it is reasonable to ask what will replace it. The answer is  most likely a set of Infrastructure <a title="Performance Management" href="http://www.virtualizationpractice.com/blog/?cat=9">Performance Management</a> tools (<a title="Akorri" href="http://www.virtualizationpractice.com/blog/?page_id=1603">Akorri</a>, <a title="CA" href="http://www.virtualizationpractice.com/blog/?page_id=6234">CA</a> Virtual Assurance, <a title="Virtual Instruments" href="http://www.virtualizationpractice.com/blog/?page_id=6476">Virtual Instruments</a>, <a title="Xangati" href="http://www.virtualizationpractice.com/blog/?page_id=3551">Xangati</a>) integrated with a set of next generation APM tools (<a title="AppDynamics" href="http://www.virtualizationpractice.com/blog/?page_id=4724">AppDynamics</a>, <a title="BlueStripe" href="http://www.virtualizationpractice.com/blog/?page_id=2416">BlueStripe</a>, <a title="New Relic" href="http://www.virtualizationpractice.com/blog/?page_id=1505">New Relic</a>)  vis these self learning technologies. When this occurs, we will have a  system that adapts on its own to changing conditions in the environment  leaving IT staff available to interpret results (and not raw monitoring  data). We will also have taken an important step towards dynamic service  assurance which was discussed in detail in this <a href="http://www.virtualizationpractice.com/blog/?p=5472" target="_blank">post</a>.</p>
<p><strong>Understanding and Evaluating these Technologies</strong></p>
<p>For  most IT professionals either they or someone on their staff can digg in  and understand how the technologies that they use work. However unless  you have an advanced degree in statistics and/or mathematics you are not  going to be able to dig an and decide for yourself based upon how these  products work which one you should choose. Rather what you should do is  apply the following criteria in making your selection:</p>
<ol>
<li>Decide  exactly what you want the product to do for you. These products are  extremely flexible. You can feed them every alarm that is generated by  all of your monitoring solutions and let them sort out the good ones  from the bad ones. Or you can feed them revenue per minute for one key  business application and let them figure what causes degradations in  revenue per minute.</li>
<li>Make sure that the product has connectors to  what you already use to collect metrics from your systems. These  products are not in the data collection business (with some exceptions).  They rely upon other products to collect data from them. They must  therefore be interfaced with your existing monitoring solutions.</li>
<li>How  hands off and plug and play will the product be in practice? This is  the key criteria to the long term value of such a solution to your  enterprise. Previous attempts at statistical approaches (neural nets)  failed because the product had to be “retrained” every time conditions  changed. Make sure that the product you select can automatically select  and weight the inputs that it bases decisions off of and these these  decisions are automatically updated over time. Self-learning needs to be  a continuous thing, not just a one time or periodic thing.</li>
<li>Make  sure that the product can handle time based (time series) as well as  event based data. Performance metrics tend to be time based, but many  performance problems are caused by configuration changes which are  events. Make sure that the product can cross-correlate configuration  change events with performance degradations.</li>
<li>Carefully assess  the scale of the solution. This means how many inputs can the solution  take per unit of time. Right now most of these solutions operate at 15  minute or 5 minute intervals. Monitoring a dynamic system may require  intervals of 10 or even 5 seconds (or perhaps even real time continuous  streams of monitoring data).</li>
</ol>
<p><strong>Summary</strong></p>
<p>Self-learning <a title="performance management" href="http://www.virtualizationpractice.com/blog/?cat=9">performance management</a> solutions like Integrien and <a title="Netuitive" href="http://www.virtualizationpractice.com/blog/?page_id=7123">Netuitive</a> are going to be absolutely an essential part of the migration to  dynamic data centers and IT as a Service. Once these dynamic data  centers scale out to the thousands of applications in a typical  enterprise, and scale up to address the most performance critical  applications, the rate of change in the environment will be too high for  legacy tools and manual administration to be able to keep. up. These  automated self-learning approaches will be the only way in which IT  Operations will be able to stay on top of these new environments while  staying within staffing and budget constraints.</p>
<p>Related posts:<ol>
<li><a href='http://martinliu.cn/2011/02/book-service-modelling.html' rel='bookmark' title='图书推荐《服务建模：原理与应用》'>图书推荐《服务建模：原理与应用》</a></li>
<li><a href='http://martinliu.cn/2011/05/let-remedy-ars-fly-2.html' rel='bookmark' title='让Remedy飞一会'>让Remedy飞一会</a></li>
<li><a href='http://martinliu.cn/2009/12/is-that-a-joke-of-remedy-developer.html' rel='bookmark' title='老美真的很扯，一个职位的帖子被顶了22次'>老美真的很扯，一个职位的帖子被顶了22次</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://martinliu.cn/2010/09/zt-bsm-dead.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Remedy Server Group及负载均衡配置参考步骤</title>
		<link>http://martinliu.cn/2010/08/remedy-lb-midtier-server-group-configure.html</link>
		<comments>http://martinliu.cn/2010/08/remedy-lb-midtier-server-group-configure.html#comments</comments>
		<pubDate>Mon, 09 Aug 2010 01:08:31 +0000</pubDate>
		<dc:creator>Martin Liu</dc:creator>
				<category><![CDATA[ITIL/ITSM]]></category>
		<category><![CDATA[ARS]]></category>
		<category><![CDATA[Atrium]]></category>
		<category><![CDATA[BMC]]></category>
		<category><![CDATA[cmdb]]></category>
		<category><![CDATA[LB]]></category>
		<category><![CDATA[Mid-tier]]></category>
		<category><![CDATA[remedy]]></category>

		<guid isPermaLink="false">http://martinliu.cn/?p=50734</guid>
		<description><![CDATA[上图为大型用户环境下Remedy ITSM的部署架构，作为本安装步骤参考模型。所不同的是，如下配置步骤只应用了一个最上面的负载均衡器，每个Web对应连接一个ARS服务器，简化掉了中间放在ARS前的负载均衡器。 第一步 安装前的准备工作。 确定Remedy ARS的服务别名，例如“AtriumCMDB”。在所有的Web服务器（Mid-tier所安装的服务器）的host文件中加入一条Ip地址解析，例如： 192.168.10.11   AtriumCMDB 此ARS服务别名指向的是该Web服务器所对应的ARS服务器，例如：Web1中AtriumCMDB对应的ip为ARS1，Web2对应ARS2，Web3对应ARS3，以此类推。 第二步安装第一台ARS服务器 默认所有的ARS都安装了数据库客户端程序，如果是Oracle数据库，ARS上的客户端程序的大小版本号必须和远程数据库的大小版本号完全一致。Windows平台的Oracle客户端只支持32位的程序。在所有ARS服务器的host文件中加入一条Ip地址解析，例如： 192.168.10.11   AtriumCMDB 此IP地址为每台ARS自己的对外提供ARS服务的IP。ARS上安装完JDK之后，开始安装ARS，安装过程中服务器别名输入AtriumCMDB，其他的选项都按需要配置，所有有关服务器端组件、服务端口、密码、安装路径的信息都要做详细记录，用来安装Server Group中其他成员使用。安装完第一台服务器的ARS之后，申请Remedy License，打License，包括其他所有CMDB、ITSM相关应用模块的License，打完License后导出成文件备用。ARS安装成功之后，顺序安装其他应用，顺序时CMDB 》ITSM  其他。安装完毕后，通过Remedy User来确认所有应用功能是否正常。 第三步 配置第一台ARS服务器为Server Group中的管理服务器 配置方法参照，ARS Configuration Guide中的Server Group的相关章节。配置完毕之后打开Server Group的Log，从启动ARS服务之后，查看该Log看Server Group工作是否正常。 第四步 安装Server Group中的成员ARS服务器 准备工作参考第一台ARS服务器。运行ARS安装程序，选择Server Group，选择输入AtriumCMDB别名，选择共享的数据库，其他参数与第一台保持一致。安装完毕之后。使用ARS自带的Sample应用新增一个city，在ARS1上查询ARS2上新增的记录。同样参考的Server Group的相关章节，对ARS2进行配置。在ARS2上查看Server Group的日志，确认该ARS已经加入了以第一台ARS为管理服务器的群集中。为第二台ARS服务器打License。在确认第二台ARS服务器成功加入之后，安装CMDB应用。安装完毕之后，在第二台ARS服务器上，使用Remedy User客户端，打开CMDB的相关表单进行新增和查询操作；然后在ARS1上检查操作结果，保证两边一致。安装ITSM：直接把第一台ARS服务器的ar.cfg文件覆盖到第二台ARS的ar.cfg上，一定要修改第一台ARS服务器主机名的哪一行，把它修改为第二台ARS的主机名。复制第一台ARS的ITSM安装目录到第二台ARS的相同路径中，重启ARS服务。查看arerror.log文件看看ARS启动的是否正常。在第二台ARS上使用Remedy User确认ITSM应用是否工作正常，如果一切工作正常，则第二台ARS服务器安装完毕。按照相同的方式安装其他的ARS服务器。 第五步 配置每台ARS的ranking 按照ARS Configuration Guide中的Server Group的相关章节配置每台ARS服务器处理不同后台工作流的ranking。 第六步 安装配置所有Web服务器的Remedy Mid-tier 安装Remedy Mid-tier软件，都指向相同的ARS服务别名AtriumCMDB，当然该别名被解析为它所对应的ARS服务器的IP地址。使用浏览器测试每台Web服务器，保证Remedy Mid-tier都能正常工作。 第七步 配置F5负载均衡 配置F5的分发策略，按不同ARS服务器的用途，来分别不同的用户请求。考虑管理和接口功能的ARS负担少量的用户交互。开发一个jsp的程序部署在Mid-tier的shared目录中，用它来判断Web所对应的ARS的可用性，以此作为唯一判断条件来分发用户请求给可用的web服务器。 Related posts: BMC课程通知:<p><a href="http://martinliu.cn/2010/08/remedy-lb-midtier-server-group-configure.html" class="more-link">Continue reading &#187;</a></p>
Related posts:<ol>
<li><a href='http://martinliu.cn/2010/07/bmc-training-schedule01.html' rel='bookmark' title='BMC课程通知: BMC Remedy AR 7.5 管理员培训'>BMC课程通知: BMC Remedy AR 7.5 管理员培训</a></li>
<li><a href='http://martinliu.cn/2011/01/bmc-atrium-cmdb-sync-cdm-class.html' rel='bookmark' title='BMC Atrium CMDB 类定义迁移'>BMC Atrium CMDB 类定义迁移</a></li>
<li><a href='http://martinliu.cn/2011/05/remedy-itsm-7-6-04-quick-install-guide.html' rel='bookmark' title='Remedy ITSM 7.6.04 套件快速安装'>Remedy ITSM 7.6.04 套件快速安装</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p><a rel="attachment wp-att-50783" href="http://martinliu.cn/2010/08/remedy-lb-midtier-server-group-configure.html/remedyitsmarch"><img class="aligncenter size-medium wp-image-50783" title="RemedyITSMArch" src="http://martinliu.cn/wp-content/uploads/2010/08/RemedyITSMArch-253x300.jpg" alt="" width="253" height="300" /></a>上图为大型用户环境下Remedy ITSM的部署架构，作为本安装步骤参考模型。所不同的是，如下配置步骤只应用了一个最上面的负载均衡器，每个Web对应连接一个ARS服务器，简化掉了中间放在ARS前的负载均衡器。</p>
<p><strong>第一步</strong> 安装前的准备工作。<br />
确定Remedy ARS的服务别名，例如“AtriumCMDB”。在所有的Web服务器（Mid-tier所安装的服务器）的host文件中加入一条Ip地址解析，例如：</p>
<blockquote><p>192.168.10.11   AtriumCMDB</p></blockquote>
<p>此ARS服务别名指向的是该Web服务器所对应的ARS服务器，例如：Web1中AtriumCMDB对应的ip为ARS1，Web2对应ARS2，Web3对应ARS3，以此类推。</p>
<p><strong>第二步</strong>安装第一台ARS服务器<br />
默认所有的ARS都安装了数据库客户端程序，如果是Oracle数据库，ARS上的客户端程序的大小版本号必须和远程数据库的大小版本号完全一致。Windows平台的Oracle客户端只支持32位的程序。在所有ARS服务器的host文件中加入一条Ip地址解析，例如：</p>
<blockquote><p>192.168.10.11   AtriumCMDB</p></blockquote>
<p>此IP地址为每台ARS自己的对外提供ARS服务的IP。ARS上安装完JDK之后，开始安装ARS，安装过程中服务器别名输入AtriumCMDB，其他的选项都按需要配置，所有有关服务器端组件、服务端口、密码、安装路径的信息都要做详细记录，用来安装Server Group中其他成员使用。安装完第一台服务器的ARS之后，申请Remedy License，打License，包括其他所有CMDB、ITSM相关应用模块的License，打完License后导出成文件备用。ARS安装成功之后，顺序安装其他应用，顺序时CMDB 》ITSM  其他。安装完毕后，通过Remedy User来确认所有应用功能是否正常。</p>
<p><strong>第三步 </strong>配置第一台ARS服务器为Server Group中的管理服务器<br />
配置方法参照，ARS Configuration Guide中的Server Group的相关章节。配置完毕之后打开Server Group的Log，从启动ARS服务之后，查看该Log看Server Group工作是否正常。</p>
<p><strong>第四步</strong> 安装Server Group中的成员ARS服务器<br />
准备工作参考第一台ARS服务器。运行ARS安装程序，选择Server Group，选择输入AtriumCMDB别名，选择共享的数据库，其他参数与第一台保持一致。安装完毕之后。使用ARS自带的Sample应用新增一个city，在ARS1上查询ARS2上新增的记录。同样参考的Server Group的相关章节，对ARS2进行配置。在ARS2上查看Server Group的日志，确认该ARS已经加入了以第一台ARS为管理服务器的群集中。为第二台ARS服务器打License。在确认第二台ARS服务器成功加入之后，安装CMDB应用。安装完毕之后，在第二台ARS服务器上，使用Remedy User客户端，打开CMDB的相关表单进行新增和查询操作；然后在ARS1上检查操作结果，保证两边一致。安装ITSM：直接把第一台ARS服务器的ar.cfg文件覆盖到第二台ARS的ar.cfg上，一定要修改第一台ARS服务器主机名的哪一行，把它修改为第二台ARS的主机名。复制第一台ARS的ITSM安装目录到第二台ARS的相同路径中，重启ARS服务。查看arerror.log文件看看ARS启动的是否正常。在第二台ARS上使用Remedy User确认ITSM应用是否工作正常，如果一切工作正常，则第二台ARS服务器安装完毕。按照相同的方式安装其他的ARS服务器。</p>
<p><strong>第五步</strong> 配置每台ARS的ranking<br />
按照ARS Configuration Guide中的Server Group的相关章节配置每台ARS服务器处理不同后台工作流的ranking。</p>
<p><strong>第六步</strong> 安装配置所有Web服务器的Remedy Mid-tier<br />
安装Remedy Mid-tier软件，都指向相同的ARS服务别名AtriumCMDB，当然该别名被解析为它所对应的ARS服务器的IP地址。使用浏览器测试每台Web服务器，保证Remedy Mid-tier都能正常工作。</p>
<p><strong>第七步</strong> 配置F5负载均衡<br />
配置F5的分发策略，按不同ARS服务器的用途，来分别不同的用户请求。考虑管理和接口功能的ARS负担少量的用户交互。开发一个jsp的程序部署在Mid-tier的shared目录中，用它来判断Web所对应的ARS的可用性，以此作为唯一判断条件来分发用户请求给可用的web服务器。</p>
<p>Related posts:<ol>
<li><a href='http://martinliu.cn/2010/07/bmc-training-schedule01.html' rel='bookmark' title='BMC课程通知: BMC Remedy AR 7.5 管理员培训'>BMC课程通知: BMC Remedy AR 7.5 管理员培训</a></li>
<li><a href='http://martinliu.cn/2011/01/bmc-atrium-cmdb-sync-cdm-class.html' rel='bookmark' title='BMC Atrium CMDB 类定义迁移'>BMC Atrium CMDB 类定义迁移</a></li>
<li><a href='http://martinliu.cn/2011/05/remedy-itsm-7-6-04-quick-install-guide.html' rel='bookmark' title='Remedy ITSM 7.6.04 套件快速安装'>Remedy ITSM 7.6.04 套件快速安装</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://martinliu.cn/2010/08/remedy-lb-midtier-server-group-configure.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

