<?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; remedy</title>
	<atom:link href="http://martinliu.cn/tag/remedy/feed" rel="self" type="application/rss+xml" />
	<link>http://martinliu.cn</link>
	<description>如何以服务的视角管理IT？</description>
	<lastBuildDate>Wed, 08 Feb 2012 08:10:04 +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>如何导入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-模型数据准备_128340806"
			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-模型数据准备_128340806"
			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数据_1876580393"
			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数据_1876580393"
			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_1658332953"
			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_1658332953"
			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-准备关系数据_1807357258"
			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-准备关系数据_1807357258"
			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-导入影响关系_1662289379"
			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-导入影响关系_1662289379"
			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数据_2045103430"
			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数据_2045103430"
			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_2003252801"
			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_2003252801"
			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-准备关系数据_1467006057"
			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-准备关系数据_1467006057"
			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-导入影响关系_397544416"
			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-导入影响关系_397544416"
			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-查看和验证模型_1607436974"
			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-查看和验证模型_1607436974"
			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>如何读取Remedy中的数据</title>
		<link>http://martinliu.cn/2011/06/how-to-access-remedy-form-in-db.html</link>
		<comments>http://martinliu.cn/2011/06/how-to-access-remedy-form-in-db.html#comments</comments>
		<pubDate>Wed, 29 Jun 2011 14:09:22 +0000</pubDate>
		<dc:creator>Martin Liu</dc:creator>
				<category><![CDATA[CMS/CMDB]]></category>
		<category><![CDATA[ARS]]></category>
		<category><![CDATA[arschema]]></category>
		<category><![CDATA[BMC]]></category>
		<category><![CDATA[oracle]]></category>
		<category><![CDATA[remedy]]></category>

		<guid isPermaLink="false">http://martinliu.cn/?p=51303</guid>
		<description><![CDATA[Remedy系统几乎是一个绿色软件，它的几乎所有业务数据、配置数据和工作流都是存储在数据库中，也就是说：只要能够保留一份完整的数据库备份，即可高枕无忧，需要的时候就可以把系统还原出来。业务数据在Remedy中大多存储在regular form中。多数的业务数据都是通过Join form进行访问和存取。在Remedy中的各种form构成了Remedy系统的所有数据结构和界面，有些类型的form是只做界面而创建的。 如何从数据库层面直接读取Remedy ARS系统中的业务数据？首先你需要在Remedy User中查询和确认你需要读取的form的名称，之后在用Remedy develop studio中确认你需要读取字段在数据库中的database ID，然后使用SQLPLUS 查询出form的数据库视图名称，最后编写一条sqlplus语句验证查询的结果。确认了表和字段在数据库中的ID之后，你就可以使用任何数据库客户端直接绕过Remedy应用系统来读取业务数据了。这样做比API的调用开发难度要小些。 下面是一个例子：用Remedy默认的用户名密码登录，查询BMC.CORE:BMC_ComputerSystem form在数据库中视图的名称为T517，在BMC Remedy Developer Studio中查询字段的ID（点击查看大图）在此视图中查询CI名称里含有test-fc关键字的CI，并返回所有CI的name, inc id 和TotalPhysicMemory属性值。 [oracle@ars ~]$ sqlplus ARAdmin/AR#Admin#@remedy SQL*Plus: Release 11.2.0.1.0 Production on Wed Jun 29 21:51:39 2011 Copyright (c) 1982, 2009, Oracle. All rights reserved. Connected to: Oracle Database 11g Release 11.2.0.1.0 &#8211; 64bit Production SQL> SQL> select schemaid from<p><a href="http://martinliu.cn/2011/06/how-to-access-remedy-form-in-db.html" class="more-link">Continue reading &#187;</a></p>
Related posts:<ol>
<li><a href='http://martinliu.cn/2011/05/how-to-deploy-mid-tier-to-tomcat-7.html' rel='bookmark' title='How to deploy mid-tier to tomcat 7'>How to deploy mid-tier to tomcat 7</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>]]></description>
			<content:encoded><![CDATA[<p>Remedy系统几乎是一个绿色软件，它的几乎所有业务数据、配置数据和工作流都是存储在数据库中，也就是说：只要能够保留一份完整的数据库备份，即可高枕无忧，需要的时候就可以把系统还原出来。业务数据在Remedy中大多存储在regular form中。多数的业务数据都是通过Join form进行访问和存取。在Remedy中的各种form构成了Remedy系统的所有数据结构和界面，有些类型的form是只做界面而创建的。</p>
<p>如何从数据库层面直接读取Remedy ARS系统中的业务数据？首先你需要在Remedy User中查询和确认你需要读取的form的名称，之后在用Remedy develop studio中确认你需要读取字段在数据库中的database ID，然后使用SQLPLUS 查询出form的数据库视图名称，最后编写一条sqlplus语句验证查询的结果。确认了表和字段在数据库中的ID之后，你就可以使用任何数据库客户端直接绕过Remedy应用系统来读取业务数据了。这样做比API的调用开发难度要小些。</p>
<p>下面是一个例子：用Remedy默认的用户名密码登录，查询BMC.CORE:BMC_ComputerSystem form在数据库中视图的名称为T517，在BMC Remedy Developer Studio中查询字段的ID<a href="http://martinliu.cn/wp-content/uploads/2011/06/ars-forms.jpg" target='_blank'>（点击查看大图）</a>在此视图中查询CI名称里含有test-fc关键字的CI，并返回所有CI的name, inc id 和TotalPhysicMemory属性值。</p>
<p>[oracle@ars ~]$ sqlplus ARAdmin/AR#Admin#@remedy<br />
SQL*Plus: Release 11.2.0.1.0 Production on Wed Jun 29 21:51:39 2011<br />
Copyright (c) 1982, 2009, Oracle.  All rights reserved.<br />
Connected to:<br />
Oracle Database 11g Release 11.2.0.1.0 &#8211; 64bit Production</p>
<pre>
SQL>
SQL> select schemaid from arschema where name='BMC.CORE:BMC_ComputerSystem';
  SCHEMAID
----------
       517
SQL>
SQL> desc T517;
 Name                                      Null?    Type
 ----------------------------------------- -------- ----------------------------
 C1                                                 VARCHAR2(31)
 C2                                                 VARCHAR2(254)
 C3                                        NOT NULL NUMBER(15)
 C4                                                 VARCHAR2(254)
 C5                                        NOT NULL VARCHAR2(254)
 C6                                        NOT NULL NUMBER(15)
 C7                                        NOT NULL NUMBER(15)
 C8                                        NOT NULL VARCHAR2(254)
 C112                                               VARCHAR2(255)
 C179                                               VARCHAR2(38)
 C60513                                             VARCHAR2(255)
 C200000001                                         VARCHAR2(254)
 C200000003                                         VARCHAR2(60)
 C200000004                                         VARCHAR2(60)
 C200000005                                         VARCHAR2(60)
 C200000020                                         VARCHAR2(254)
 C200000021                                         NUMBER(28)
 C200000022                                         NUMBER(28)
 C200000023                                         VARCHAR2(30)
 C200000025                                         VARCHAR2(254)
 C200000026                                         VARCHAR2(254)
 C200000028                                         VARCHAR2(254)
 C200000029                                         VARCHAR2(254)
 C200000032                                         VARCHAR2(60)
 C200000033                                         VARCHAR2(30)
 C200000034                                         VARCHAR2(30)
 C200000035                                         VARCHAR2(30)
 C200003000                                         CLOB
 C240000007                                         VARCHAR2(254)
 C240000008                                         CLOB
 C240001002                                         VARCHAR2(254)
 C240001003                                         VARCHAR2(254)
 C240001005                                         VARCHAR2(254)
 C260100002                                         NUMBER(15)
 C260140117                                         VARCHAR2(254)
 C260400001                                         NUMBER(28)
 C260400002                                         NUMBER(28)
 C300927600                                         NUMBER(15)
 C301002800                                         VARCHAR2(254)
 C301002900                                         VARCHAR2(254)
 C301003400                                         VARCHAR2(255)
 C301016000                                         VARCHAR2(254)
 C301016100                                         CLOB
 C301016200                                         NUMBER(15)
 C301016700                                         NUMBER(15)
 C301016800                                         NUMBER(15)
 C301016900                                         NUMBER(15)
 C301017000                                         NUMBER(15)
 C301017100                                         NUMBER(15)
 C301017200                                         NUMBER(28)
 C301017300                                         NUMBER(28)
 C301019500                                         NUMBER(15)
 C301019600                                         VARCHAR2(254)
 C301019800                                         VARCHAR2(254)
 C301019900                                         VARCHAR2(30)
 C301089100                                         VARCHAR2(80)
 C301118000                                         NUMBER(15)
 C301172600                                         NUMBER(15)
 C301182000                                         NUMBER(15)
 C301186800                                         VARCHAR2(254)
 C400079600                                         VARCHAR2(38)
 C400124500                                         NUMBER(15)
 C400127400                                         VARCHAR2(127)
 C400129100                                         NUMBER(15)
 C400129200                                         VARCHAR2(38)
 C400131200                                         VARCHAR2(255)
 C400131300                                         VARCHAR2(255)
 C490001289                                         VARCHAR2(127)
 C530010100                                         VARCHAR2(254)
 C530010200                                         VARCHAR2(254)
 C530010600                                         NUMBER(15)
 C530014300                                         NUMBER(15)
 C530014400                                         NUMBER(15)
 C530014500                                         NUMBER(15)
 C530019500                                         CLOB
 C530031600                                         NUMBER(15)
 C530032500                                         NUMBER(15)
 C530034500                                         VARCHAR2(255)
 C530035200                                         VARCHAR2(255)
 C530041601                                         NUMBER(15)
 C530043901                                         VARCHAR2(255)
 C530054200                                         NUMBER(15)
 C530058400                                         VARCHAR2(254)
 C530058500                                         VARCHAR2(254)
 C530059800                                         VARCHAR2(255)
 C530060100                                         NUMBER(15)
 C530060200                                         VARCHAR2(255)
 C530060300                                         NUMBER(15)
 C530062400                                         VARCHAR2(254)
 C530067430                                         NUMBER(15)
 C530067920                                         NUMBER(15)
 C530067930                                         VARCHAR2(127)
 E0                                        NOT NULL VARCHAR2(15)
 E1                                        NOT NULL VARCHAR2(15)

SQL>
SQL>  select C200000020,C179,C200000022 from T517 where  C200000020 like 'test-fc%';
C200000020
--------------------------------------------------------------------------------
C179                                   C200000022
-------------------------------------- ----------
test-fc-2.testlab.bigcorp.com
OI-48A6276C70E411E0A984000C29455AB9           448

test-fc-5.testlab.bigcorp.com
OI-4CCD50C270E411E0AA53000C29455AB9           320

test-fc-4.testlab.bigcorp.com
OI-4D1B433670E411E0AA57000C29455AB9           160

C200000020
--------------------------------------------------------------------------------
C179                                   C200000022
-------------------------------------- ----------
test-fc-6.testlab.bigcorp.com
OI-4E9E37C270E411E0AA69000C29455AB9           256
SQL>
</pre>
<p class="tip ">鸣谢 <a href="http://weibo.com/xuj0">炮灰向钱冲</a>和我对以上技术细节的讨论。</p>
<p>Related posts:<ol>
<li><a href='http://martinliu.cn/2011/05/how-to-deploy-mid-tier-to-tomcat-7.html' rel='bookmark' title='How to deploy mid-tier to tomcat 7'>How to deploy mid-tier to tomcat 7</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/06/how-to-access-remedy-form-in-db.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Remedy ARS 7.6.03 overlay</title>
		<link>http://martinliu.cn/2011/05/remedy-ars-7-6-03-overlay.html</link>
		<comments>http://martinliu.cn/2011/05/remedy-ars-7-6-03-overlay.html#comments</comments>
		<pubDate>Fri, 27 May 2011 16:50:16 +0000</pubDate>
		<dc:creator>Martin Liu</dc:creator>
				<category><![CDATA[BMC]]></category>
		<category><![CDATA[7.6.04]]></category>
		<category><![CDATA[ARS]]></category>
		<category><![CDATA[ITIL]]></category>
		<category><![CDATA[ITSM]]></category>
		<category><![CDATA[remedy]]></category>
		<category><![CDATA[定制]]></category>
		<category><![CDATA[实施]]></category>
		<category><![CDATA[开发]]></category>
		<category><![CDATA[汉化]]></category>
		<category><![CDATA[项目]]></category>

		<guid isPermaLink="false">http://martinliu.cn/?p=51090</guid>
		<description><![CDATA[一个Remedy产品史上较大的新功能正在被大多数人忽视和绕过，实在是不吐不快，也希望所有的Remedy开发人员能够关注一下这个功能，因为他可能真的对你的项目非常重要。 上图显示了Overloay对象的地位和功用，我们都是工作在BMC原厂的开箱即用的程序对象层面上，所有安装程序首次安装到系统上的应用的所有对象都是Base对象。在这个基础之上我们做定制和开发，定制和开发出来的对象有两种，一种是Overlay对象，中文翻译为叠加对象，这种叠加对象并不会对原有的Base对象进行修改，而是覆盖在其之上的，两者是和谐共存的。另外一种对象就是纯客户化的对象，即以前没有，开发人员新加入的对象，这种对象和其他两种对象是没有冲突的。 Overlay可以是Base对象保持原状有什么意义？最重要的一点就是对升级有好处，以前我们开发的所有Remedy应用系统，大家都不敢做升级，当客户或者BMC的support要求要升级的时候，我们都会抵制或反对，这里的原因相信大家心里都知道。那么以后大家就不必这样了，只要在开发定制的过程中合理的使用Overlay对象做定制开发，方能保证定制后的系统对补丁和升级来者不拒。 那么如何使用到Overlay对象呢？在Dev Studio中选中需要修改的对象，点右键选择create overlay，你就能在原厂的对象上做一个叠加对象了。这里提出一个7.6.04 Dev Studio的错误做法：默认登录到Dev Studio以后，你可能会发现在默认的最佳实践模式下，你不能向以前一样任意修改东西，发现在切换到另外一个模式（好像是经典模式）之后又什么都能修改了，所以你就认为找到了修改的方法，其实这种操作恰恰是绕过了Overlay功能。在这种模式等于在以前旧版本产品的模式下开发做。 老外如是说：What the overlay feature does is to simply allow you to do the following: 1) Add new items that are identified as custom items you have added.  They are flagged as custom items in the displays.  You can easily sort by and get a list of<p><a href="http://martinliu.cn/2011/05/remedy-ars-7-6-03-overlay.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/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/02/backup-restore-remedy-ars-oracle-db.html' rel='bookmark' title='在Oracle上备份和恢复 Remedy ARS数据库'>在Oracle上备份和恢复 Remedy ARS数据库</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p><a rel="attachment wp-att-51092" href="http://martinliu.cn/2011/05/remedy-ars-7-6-03-overlay.html/remedy-ars-7-6-04-overlay"><img class="aligncenter size-full wp-image-51092" title="Remedy-ARS-7.6.04-Overlay" src="http://martinliu.cn/wp-content/uploads/2011/05/Remedy-ARS-7.6.04-Overlay.png" alt="Remedy-ARS-7.6.04-Overlay" width="611" height="325" /></a>一个Remedy产品史上较大的新功能正在被大多数人忽视和绕过，实在是不吐不快，也希望所有的Remedy开发人员能够关注一下这个功能，因为他可能真的对你的项目非常重要。</p>
<p>上图显示了Overloay对象的地位和功用，我们都是工作在BMC原厂的开箱即用的程序对象层面上，所有安装程序首次安装到系统上的应用的所有对象都是Base对象。在这个基础之上我们做定制和开发，定制和开发出来的对象有两种，一种是Overlay对象，中文翻译为叠加对象，这种叠加对象并不会对原有的Base对象进行修改，而是覆盖在其之上的，两者是和谐共存的。另外一种对象就是纯客户化的对象，即以前没有，开发人员新加入的对象，这种对象和其他两种对象是没有冲突的。</p>
<p>Overlay可以是Base对象保持原状有什么意义？最重要的一点就是对升级有好处，以前我们开发的所有Remedy应用系统，大家都不敢做升级，当客户或者BMC的support要求要升级的时候，我们都会抵制或反对，这里的原因相信大家心里都知道。那么以后大家就不必这样了，只要在开发定制的过程中合理的使用Overlay对象做定制开发，方能保证定制后的系统对补丁和升级来者不拒。</p>
<p>那么如何使用到Overlay对象呢？在Dev Studio中选中需要修改的对象，点右键选择create overlay，你就能在原厂的对象上做一个叠加对象了。这里提出一个7.6.04 Dev Studio的错误做法：默认登录到Dev Studio以后，你可能会发现在默认的最佳实践模式下，你不能向以前一样任意修改东西，发现在切换到另外一个模式（好像是经典模式）之后又什么都能修改了，所以你就认为找到了修改的方法，其实这种操作恰恰是绕过了Overlay功能。在这种模式等于在以前旧版本产品的模式下开发做。</p>
<blockquote><p>老外如是说：What the overlay feature does is to simply allow you to do the following:</p>
<p>1) Add new items that are identified as custom items you have added.  They are flagged as custom items in the displays.  You can easily sort by and get a list of custom items.  And it is COMPLETE.  You don&#8217;t have to worry if you are missing one or if you forgot about something you added.<br />
2) Update existing items by leaving the original definition there and updating a copy of that definition with your changes.<br />
a) all the benefits of #1 are present AND your changes have the exact same name/identification as the original<br />
b) you can at any time see your version vs. the original to see exactly what has changed from out of the box<br />
c) Not have to deal with &#8220;ripple changes&#8221;.  By this I mean that if in the past you copied a filter to a new name (to avoid overwrite at upgrade), you had to copy any guide that included it and then any workflow that called the guide to use the new name.   The fact that the items are the SAME ITEM means that there is no need to change other things.<br />
d) When an upgrade occurs, the definitions in the base layer are changed but NOTHING about the items you have overlaid (or added custom) are changed. So, your changes are not overwritten.  In fact, your changes continue to be the overlay and continue to sit on top of and override the definition that was newly imported with the same name/id.<br />
e) After the upgrade, you can again compare your overlay with the new out of the box definition to see if there is anything that should change.  Maybe the out of the box does the right thing now and you should remove your overlay or maybe there is an extended set of actions and you need to pick up one or more of the new actions in your overlay.</p>
<p>The key is that it provides an automatic and inherent layer that is YOUR layer that sits over the out of the box definition and allows you to safely, clearly, and cleanly adjust or augment the defintions if needed for your environment.</p>
<p>This is a feature that allows you to gain further and tighter control over your environment.  It is something that provides you with the ability to better understand what is stock and what is custom and what is changed about the solution.  It is one that preserves all changes you have made across upgrades with a layer of independence and yet links so that changes stay tied into the solution without the change you have made being updated by the upgrade itself.</p></blockquote>
<p>突然想讲这样的一个故事，如果曾经发生在你身上，就当是个笑话吧。Remedy ITSM套件就好比是一个精装别墅，BMC一般会告诉客户，那里面有世界上最豪华的设施和装修，直接拿着行李入住就行了，事实如此！不过客户往往没有先看进屋看个究竟（其实往往用户没有这个机会，因素复杂，我不说你懂得），就找来施工队，提出我是有这样那样生活习惯和品位的，这都是对此房子的期望和需求，我的上帝客户啊！东西你都买了为啥就不先试住一下呢？尝试新鲜事物的精神您有木有？接着施工队的工人（也就是我们的Remedy程序开发人员）被工头（项目经理）带着就进屋了，说我们就是专业干这个的，能保证按时上线，您就等好吧！客户在院子里站着，瞧着施工队拿着需求分析书和开发工具进进出出，在屋里叮叮当当紧着忙活，几个月之后，项目经理过来说，我们可以做上线培训了（或者试运行/或者UAT测试了），这下客户才真的走进屋，客户开始纳闷了，心里直嘀咕，这真的是别墅么？好像有点糙啊！项目经理说，我们正式按照您的指示，已经把它做成中式风格了，老美的东西怕您用不惯。就这样客户茫然的也就入住了，其实客户可能只也住在了别墅某一层的一间屋里。通往其它房间的门都被封了，并且贴上了壁纸，或者被新打的大衣柜给挡住了，每次回家都是从窗台爬梯子上去。</p>
<p>对任何项目而言，在原厂产品上的定制开发是必须的，但是往往是项目的无底洞，那么如何规避这种风险？怎样让Remedy ITSM产品开箱即用的功能发挥到最大化？无疑对产品已有能力的挖潜和利用也要花时间精力成本去研究，这个时间和开发定制的工作时间是冲突矛盾的。那么：让客户先试住，在逐步装修，可能才是平衡矛盾的关键。客户也应该把项目实施和开发的资金做一个规划，切勿在前期投入太大，项目的前期，应该是学习产品和适应最佳实践的过程。实施方应该想方设法的让客户先进屋看清楚，和客户一起住一段时间，之后在去开工装修，这个过程应该是项目美好的蜜月期。</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/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/02/backup-restore-remedy-ars-oracle-db.html' rel='bookmark' title='在Oracle上备份和恢复 Remedy ARS数据库'>在Oracle上备份和恢复 Remedy ARS数据库</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://martinliu.cn/2011/05/remedy-ars-7-6-03-overlay.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to deploy mid-tier to tomcat 7</title>
		<link>http://martinliu.cn/2011/05/how-to-deploy-mid-tier-to-tomcat-7.html</link>
		<comments>http://martinliu.cn/2011/05/how-to-deploy-mid-tier-to-tomcat-7.html#comments</comments>
		<pubDate>Wed, 18 May 2011 15:25:39 +0000</pubDate>
		<dc:creator>Martin Liu</dc:creator>
				<category><![CDATA[BMC]]></category>
		<category><![CDATA[7.6.04]]></category>
		<category><![CDATA[ARS]]></category>
		<category><![CDATA[deploy]]></category>
		<category><![CDATA[install]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[Mid-tier]]></category>
		<category><![CDATA[remedy]]></category>
		<category><![CDATA[Tomcat]]></category>
		<category><![CDATA[安装]]></category>
		<category><![CDATA[性能]]></category>

		<guid isPermaLink="false">http://martinliu.cn/?p=51067</guid>
		<description><![CDATA[Since Apache Tomcat 7.0.14 came out, I have not reason why I am not checking this out. And this is  the first time I deopy a .war file into tomcat instance. I am runing Remedy ITSM 7.6.04 in VMWare workstation on my laptop. It&#8217;s a Dell e6400 with 8GB RAM. When I startup arsystem, that<p><a href="http://martinliu.cn/2011/05/how-to-deploy-mid-tier-to-tomcat-7.html" class="more-link">Continue reading &#187;</a></p>
Related posts:<ol>
<li><a href='http://martinliu.cn/2009/07/martinmark-for-july-7th.html' rel='bookmark' title='MartinMark for July 7th'>MartinMark for July 7th</a></li>
<li><a href='http://martinliu.cn/2009/07/for-tomcat-benchmark-testing.html' rel='bookmark' title='For tomcat benchmark testing'>For tomcat benchmark testing</a></li>
<li><a href='http://martinliu.cn/2009/07/tomcat%e5%8e%8b%e5%8a%9b%e6%b5%8b%e8%af%95-%e6%8c%ba%e4%bd%8f200%e5%b9%b6%e5%8f%91.html' rel='bookmark' title='Tomcat压力测试-挺住200并发'>Tomcat压力测试-挺住200并发</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft" title="tomcat" src="http://tomcat.apache.org/images/tomcat.gif" alt="tomcat 7" width="146" height="92" />Since Apache Tomcat 7.0.14 came out, I have not reason why I am not checking this out. And this is  the first time I deopy a .war file into tomcat instance.</p>
<p>I am runing Remedy ITSM 7.6.04 in VMWare workstation on my laptop. It&#8217;s a Dell e6400 with 8GB RAM. When I startup arsystem, that vm is just running out of 5GB RAM. I almost got no RAM for running tomcat on laptop(Win7 64bit). I used to run a mid-tier that was installed from Remedy ARS installer package with Tomcat 6.0. I had to limit Tomcat max memory pool size to 512 BM<em>. </em>If not, I could not open any windows for testing Remedy. But the overall performance is not acceptable.</p>
<p>So I decided to test this combination out, MidTier.war + Tomcat 7.0.14. There is a quick note below.</p>
<ol>
<li>Download <a title="Download 7.0.14" href="http://apache.etoak.com/tomcat/tomcat-7/v7.0.14/bin/apache-tomcat-7.0.14.exe">Apache Tomcat 7.0.14 </a>and install it</li>
<li>Copy MidTier.war to C:\Apache Software Foundation\Tomcat 7.0\webapps , rename it to arsys.war</li>
<li>restart tomcat 7 service, you will see .war file is unzip to a new folder</li>
<li>Open a new firefox widnow or tab, access to http://localhost:8080/arsys/shared/config/config.jsp</li>
<li>Add your ars server in service list</li>
<li>Login Remedy Mid-tier from http://localhost:8080/arsys/</li>
</ol>
<p>Now I got a new issue, CPU usage is hight, tomcat7 process take 40~50% :) I  am thinking I need a new more powerful laptop to play around this product. This testing is not finished yet. Stay tune, I may came up with a workaround. And it should works better then tomcat6.</p>
<p><img class="alignnone" title="apache" src="http://www.apache.org/images/asf-logo.gif" alt="apache" width="387" height="100" /></p>
<p>Related posts:<ol>
<li><a href='http://martinliu.cn/2009/07/martinmark-for-july-7th.html' rel='bookmark' title='MartinMark for July 7th'>MartinMark for July 7th</a></li>
<li><a href='http://martinliu.cn/2009/07/for-tomcat-benchmark-testing.html' rel='bookmark' title='For tomcat benchmark testing'>For tomcat benchmark testing</a></li>
<li><a href='http://martinliu.cn/2009/07/tomcat%e5%8e%8b%e5%8a%9b%e6%b5%8b%e8%af%95-%e6%8c%ba%e4%bd%8f200%e5%b9%b6%e5%8f%91.html' rel='bookmark' title='Tomcat压力测试-挺住200并发'>Tomcat压力测试-挺住200并发</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://martinliu.cn/2011/05/how-to-deploy-mid-tier-to-tomcat-7.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>让Remedy飞一会</title>
		<link>http://martinliu.cn/2011/05/let-remedy-ars-fly-2.html</link>
		<comments>http://martinliu.cn/2011/05/let-remedy-ars-fly-2.html#comments</comments>
		<pubDate>Sat, 07 May 2011 10:31:36 +0000</pubDate>
		<dc:creator>Martin Liu</dc:creator>
				<category><![CDATA[BMC]]></category>
		<category><![CDATA[ARS]]></category>
		<category><![CDATA[ITSM]]></category>
		<category><![CDATA[oracle]]></category>
		<category><![CDATA[remedy]]></category>
		<category><![CDATA[Tomcat]]></category>
		<category><![CDATA[性能调优]]></category>

		<guid isPermaLink="false">http://martinliu.cn/?p=51051</guid>
		<description><![CDATA[Remedy应用的性能优化是一个在系统建设过程中需要长期关注的问题，而不是在上线的前一天晚上去解决的问题，我也碰到过很棘手的性能问题，它确实爆发了，而且恰好在上线前夕爆发；之后感觉除了点背之外，感觉比较遗憾的是：为啥这个性能问题不早点爆发！ 那么如何持续改进Remedy的性能？首先是硬件环境的准备情况，是否能在项目开始的第一天，就把开发，测试，生产环境统一装好。而不是到上线的前夕才去动生产环境。甚至于有条件的情况下，可不可以直接在生产环境上做开发，这样做的好处：让生产环境上性能优化的时间周期和机会尽可能的多，尽可能的长。当然这种机会毕竟不多，那么是否可以做到生产环境和开发环境的尽早的同步，也就是说：在开发到了一个小的阶段的时候，生产环境就可能就绪，就可以使用，这样把未成型的系统先部署上去，以便有机会做多次的生产系统性能调优。比较生产系统的性能最优化是项目的一大目标，不能等到最后才去仓促应战。曾经听说某行流程平台上线的第二天就挂了一次，这都是血淋淋的教训。总结一下：尽早的建设生产系统，优化生产系统，把开发好的那部分程序尽早迁移到生产上，长期的追逐系统性能，甚至于在生产环境上对此系统做压力测试。这些工作如果能够做的话，我想在上线日我们一定不会紧张。 如何追逐测试系统的性能。可以使用Web profiling工具如Fiddler。使用这种工具对某些特定操作持续的测试，把每次的测试结果保存下来，把时间记录到一个表格中。可以考虑测试如下内容：用户登录、打开事件控制台、创建一个事件单、搜索事件单等等，其他流程也类似。保证每次点击的次数都相同。其实从Fildder的分析数据中也可能得到很有价值的数据，如：那个Web调用的时间消耗最长，那些Web资源的请求出错。找出时间消耗做多的调用，就可以有针对性的优化应用了。总之：使用一种工具，在开发的整个过程中持续测试和优化，记录所有测试结果，这样在上线前对系统的性就能有客观参考依据。 另外要注意Remedy系统是一个标准的3层架构应用，你需要在系统调优的时候，有这样几种人的帮助：压力测试工具高手、JVM调优专家、数据库调优专家和Remed性能调优专家。还需要参考下列的参数配置。 Mid-tier优化参数建议 关于Mid-tier的一点建议，目前普通使用的Java应用服务器都是Tomcat，我一向是开源软件的粉丝，但是，还是建议如果有条件的话，还是上商业的产品，如Weblogic或者Websphere。这样可以获得能多一点的支持。 鉴于大多数系统还都是用的BMC的产品自带的Tomcat，下面是一些建议的参数配置。 1-HTTP keep-alive Keep-alive count: infinite (minimum 5000) Connection timeout:90000 ms (minimum 60000 ms) 2-JVM settings JVM heap：-Xms1024m –Xmx1024m MaxPermSize：-XX:MaxPermSize=256m 以Windows系统为例，可以使用Tomcat的配置界面工具，配置这两个参数。 3-Threads configuration of the application server hosting the mid tier maxThreads：500 acceptCount：100 关于1和3的 参数文件：tomcat dir/conf/sever.xml 的实例代码： &#60;Connector URIEncoding="UTF-8" acceptCount="100" connectionTimeout="90000" maxHttpHeaderSize="8192" maxKeepAliveRequests="-1" maxThreads="500" port="80" protocol="HTTP/1.1" redirectPort="8443"/&#62; 以上参数配置并不是万能的，只是给出一个优化配置的基础，以此为起点调起来可能会更靠谱。<p><a href="http://martinliu.cn/2011/05/let-remedy-ars-fly-2.html" class="more-link">Continue reading &#187;</a></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/2011/05/how-to-deploy-mid-tier-to-tomcat-7.html' rel='bookmark' title='How to deploy mid-tier to tomcat 7'>How to deploy mid-tier to tomcat 7</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>
</ol>]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft" title="调优" src="http://www.ibm.com/developerworks/cn/websphere/techjournal/0909_blythe/images/figure6.jpg" alt="" width="572" height="311" />Remedy应用的性能优化是一个在系统建设过程中需要长期关注的问题，而不是在上线的前一天晚上去解决的问题，我也碰到过很棘手的性能问题，它确实爆发了，而且恰好在上线前夕爆发；之后感觉除了点背之外，感觉比较遗憾的是：为啥这个性能问题不早点爆发！</p>
<p>那么如何持续改进Remedy的性能？首先是硬件环境的准备情况，是否能在项目开始的第一天，就把开发，测试，生产环境统一装好。而不是到上线的前夕才去动生产环境。甚至于有条件的情况下，可不可以直接在生产环境上做开发，这样做的好处：让生产环境上性能优化的时间周期和机会尽可能的多，尽可能的长。当然这种机会毕竟不多，那么是否可以做到生产环境和开发环境的尽早的同步，也就是说：在开发到了一个小的阶段的时候，生产环境就可能就绪，就可以使用，这样把未成型的系统先部署上去，以便有机会做多次的生产系统性能调优。比较生产系统的性能最优化是项目的一大目标，不能等到最后才去仓促应战。曾经听说某行流程平台上线的第二天就挂了一次，这都是血淋淋的教训。总结一下：尽早的建设生产系统，优化生产系统，把开发好的那部分程序尽早迁移到生产上，长期的追逐系统性能，甚至于在生产环境上对此系统做压力测试。这些工作如果能够做的话，我想在上线日我们一定不会紧张。</p>
<p>如何追逐测试系统的性能。可以使用Web profiling工具如Fiddler。使用这种工具对某些特定操作持续的测试，把每次的测试结果保存下来，把时间记录到一个表格中。可以考虑测试如下内容：用户登录、打开事件控制台、创建一个事件单、搜索事件单等等，其他流程也类似。保证每次点击的次数都相同。其实从Fildder的分析数据中也可能得到很有价值的数据，如：那个Web调用的时间消耗最长，那些Web资源的请求出错。找出时间消耗做多的调用，就可以有针对性的优化应用了。总之：使用一种工具，在开发的整个过程中持续测试和优化，记录所有测试结果，这样在上线前对系统的性就能有客观参考依据。</p>
<p>另外要注意Remedy系统是一个标准的3层架构应用，你需要在系统调优的时候，有这样几种人的帮助：压力测试工具高手、JVM调优专家、数据库调优专家和Remed性能调优专家。还需要参考下列的参数配置。</p>
<h2>Mid-tier优化参数建议</h2>
<p>关于Mid-tier的一点建议，目前普通使用的Java应用服务器都是Tomcat，我一向是开源软件的粉丝，但是，还是建议如果有条件的话，还是上商业的产品，如Weblogic或者Websphere。这样可以获得能多一点的支持。<br />
鉴于大多数系统还都是用的BMC的产品自带的Tomcat，下面是一些建议的参数配置。</p>
<h3>1-HTTP keep-alive</h3>
<p>Keep-alive count:  infinite (minimum 5000)<br />
Connection timeout:90000 ms (minimum 60000 ms)</p>
<h3>2-JVM settings</h3>
<p>JVM heap：-Xms1024m –Xmx1024m<br />
MaxPermSize：-XX:MaxPermSize=256m<br />
以Windows系统为例，可以使用Tomcat的配置界面工具，配置这两个参数。</p>
<h3>3-Threads configuration of the application server hosting the mid tier</h3>
<p>maxThreads：500<br />
acceptCount：100</p>
<p>关于1和3的 参数文件：tomcat dir/conf/sever.xml 的实例代码：</p>
<pre>

&lt;Connector URIEncoding="UTF-8" acceptCount="100" connectionTimeout="90000"

maxHttpHeaderSize="8192" maxKeepAliveRequests="-1" maxThreads="500"

port="80" protocol="HTTP/1.1" redirectPort="8443"/&gt;
</pre>
<p>以上参数配置并不是万能的，只是给出一个优化配置的基础，以此为起点调起来可能会更靠谱。</p>
<h3>Fine tuning the mid tier</h3>
<p>Mid tier parameter or service：   Recommended value<br />
<strong>Enable Cache Persistence</strong>：Always on for a production environment<br />
<strong>Prefetch or preload service</strong>： Use prefetch only when a specific set of AR System forms are known. Otherwise, use preload (recommended).<br />
<strong>Recommended preload procedure</strong>： 1.Turn on Enable Cache Persistence. 2.Turn on preload. 3.Allow preload to finish preloading all user facing AR System forms. 4.Turn off preload (allowing statistical service to take over).<br />
<strong>arsystem.formhtmljs_expiry_interval </strong>和 <strong>arsystem.resource_expiry_interval</strong>： Set both parameters to the same value to reflect how often you want the browser to check with the mid tier for updates. In a deployment environment where the AR System applications are not modified, set to 604800 (1 week) or higher. The minimum recommended value is 86400 (1 day). For the new values to take effect, restart the mid tier.<br />
<strong>Definition Change Check Interva</strong>l： In a deployment environment where the AR System applications are not modified, turn this off. Otherwise, map this to the frequency of your AR System application modification. For example, if you push changes out every Sunday, set this frequency to 604800 (1 week).<br />
<strong>arsystem.log_level</strong>： Severe. This can also be set through the Mid Tier Configuration Tool</p>
<h2>ARS优化参数建议</h2>
<p>打开ar.cfg参考一下参数，修改后重启ARS服务。</p>
<p><strong>Delay-Recache-Time:300</strong><br />
<strong> Max-Entries-Per-Query:2000</strong><br />
<strong> Next-ID-Block-Size:100</strong><br />
<strong> Server-Side-Table-Chunk-Size:1000</strong><br />
<strong> Allow-Unqual-Queries:F</strong><br />
<strong> Cache-Mode:0</strong><br />
<strong> Debug-mode:0</strong><br />
<strong> Submitter-Mode:1</strong><br />
<strong> CMDB-Cache-Refresh-Interval:600</strong></p>
<h2>数据库优化参数建议</h2>
<p>数据库方面一定要依靠有经验的DBA，靠他们帮你搞定下面这两条：<br />
• Configuring your AR System database server for optimal performance<br />
• Diagnosing and resolving issues.<br />
另外如果你是Oracle11g的数据库，可以自己动手搞定下面这一条：<br />
Oracle 10g/11g database settings are recommended: Cursor_sharing = FORCE<br />
在数据库上做如下操作：</p>
<pre>
alter system set cursor_sharing=FORCE scope=both;
</pre>
<p>然后在ar.cfg里面加入这个参数。<br />
Oracle-Cursor-Sharing: FORCE<br />
然后重启ARS服务即可。</p>
<p>以上参数配置部分参考了BMC的官方文档《BMC Remedy AR System Server 7.6 Performance Tuning for Business Service Management 199037.pdf》，感兴趣的话可以去官方站点的文档下载里下载，该文章对以上参数有详细的解释。</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/2011/05/how-to-deploy-mid-tier-to-tomcat-7.html' rel='bookmark' title='How to deploy mid-tier to tomcat 7'>How to deploy mid-tier to tomcat 7</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>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://martinliu.cn/2011/05/let-remedy-ars-fly-2.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Remedy ITSM 7.6.04 套件快速安装</title>
		<link>http://martinliu.cn/2011/05/remedy-itsm-7-6-04-quick-install-guide.html</link>
		<comments>http://martinliu.cn/2011/05/remedy-itsm-7-6-04-quick-install-guide.html#comments</comments>
		<pubDate>Wed, 04 May 2011 15:59:42 +0000</pubDate>
		<dc:creator>Martin Liu</dc:creator>
				<category><![CDATA[BMC]]></category>
		<category><![CDATA[ARS]]></category>
		<category><![CDATA[ITSM]]></category>
		<category><![CDATA[remedy]]></category>
		<category><![CDATA[安装]]></category>

		<guid isPermaLink="false">http://martinliu.cn/?p=51038</guid>
		<description><![CDATA[自从Remedy ITSM 7.6.03版本发布以后，Remedy ITSM套件有了一种全新的安装方式“预配置堆栈式安装”，这种安装方法简化了以前从ARS开始一个部件罗一个部件的安装方法，它将ITSM套件中的所有组件一次性的安装上去。下面讲具体该如何操作。 什么情况下使用这个安装方式？ A）POC的情况下 B）客户的生产环境满足下面的需求： • Microsoft Windows Server 2008 (64-bit) (Standard, Enterprise, or Datacenter) with Microsoft SQL Server 2008 (64-bit) (Standard or Enterprise) • Oracle Solaris 10 with Oracle 11g (64-bit) (Standard, Enterprise, or RAC) • Red Hat Enterprise Linux 5 (Update 5) (64-bit) with Oracle 11g (64-bit) (Standard, Enterprise, or RAC)<p><a href="http://martinliu.cn/2011/05/remedy-itsm-7-6-04-quick-install-guide.html" class="more-link">Continue reading &#187;</a></p>
Related posts:<ol>
<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>
<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/2011/02/backup-restore-remedy-ars-oracle-db.html' rel='bookmark' title='在Oracle上备份和恢复 Remedy ARS数据库'>在Oracle上备份和恢复 Remedy ARS数据库</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p><img class="alignright" title="bmc" src="http://media.cms.bmc.com/images/box_services_trio_compass.png" alt="" width="180" height="90" />自从Remedy ITSM 7.6.03版本发布以后，Remedy ITSM套件有了一种全新的安装方式“预配置堆栈式安装”，这种安装方法简化了以前从ARS开始一个部件罗一个部件的安装方法，它将ITSM套件中的所有组件一次性的安装上去。下面讲具体该如何操作。</p>
<h2>什么情况下使用这个安装方式？</h2>
<p>A）POC的情况下<br />
B）客户的生产环境满足下面的需求：<br />
• Microsoft Windows Server 2008 (64-bit) (Standard, Enterprise, or Datacenter) with Microsoft SQL Server 2008 (64-bit) (Standard or Enterprise)<br />
• Oracle Solaris 10 with Oracle 11g (64-bit) (Standard, Enterprise, or RAC)<br />
• Red Hat Enterprise Linux 5 (Update 5) (64-bit) with Oracle 11g (64-bit) (Standard, Enterprise, or RAC)<br />
• Microsoft Windows Server 2008 (64-bit) (Standard, Enterprise, or Datacenter) with Oracle 11g (64-bit) (Standard or Enterprise)<br />
Note: The BMC Remedy ITSM Suite Precongured Stack installer supports only Unicode database servers</p>
<h2>这种方式安装了什么组件？</h2>
<p> BMC Remedy AR System server version 7.6.04<br />
 AREA LDAP Directory Service Authentication<br />
 ARDBC LDAP Directory Service Data Access<br />
 Web Services Plugin<br />
 Simple Network Management Protocol (SNMP) Configuration<br />
 Full Text Search (FTS) Configuration<br />
 Approval Server<br />
 Assignment Engine<br />
 Email Engine<br />
 Flashboards<br />
 Mid-Tier<br />
 BMC Remedy AR System clients<br />
 BMC Remedy User<br />
 BMC Remedy Alert<br />
 BMC Remedy Developer Studio<br />
 BMC Remedy Data Import<br />
 BMC Remedy Migrator<br />
 Crystal Reports<br />
 ODBC<br />
 BMC Atrium Core<br />
 BMC Atrium CMDB version 7.6.04<br />
 Product Catalog version 7.6.04<br />
 Atrium Impact Simulator version 7.6.04<br />
 BMC Remedy ITSM Suite<br />
 BMC Remedy Asset Management version 7.6.04<br />
 BMC Remedy Change Management version 7.6.04<br />
 BMC Remedy Incident Management version 7.6.04<br />
 BMC Remedy Problem Management version 7.6.04<br />
 BMC Remedy Service Desk 7.6.04<br />
 BMC Service Level Management version 7.6.04<br />
 BMC Remedy Knowledge Management version 7.6.0<br />
如果你真的不需要安装以上所有组件，请不要使用此安装方法。</p>
<h2>需要什么硬件？</h2>
<p>System requirements for Microsoft Windows and UNIX®:<br />
• Minimum 12 GB free disk space for the installation directory<br />
• Minimum 8 GB free space for local database and remote database<br />
• (For Red Hat Enterprise Linux® only) Minimum of 2.5 GB free space in the /tmp directory or /tmp file system.<br />
• (For Oracle® Solaris only) Minimum of 2.5 GB free space in the /var/tmp directory or the file system.<br />
• 3 GHz dual processor<br />
• Minimum 3 GB RAM during installation; 8 GB RAM during runtime; 8 GB main memory for optimal performance<br />
• (When 6 GB UNIX systems are used) Make sure that a minimum of 6 GB Swap Space is congured within the system.<br />
如果您的硬件真的低于以上需要，请不要使用此安装方法，否则安装完之后系统可能不能正常运行。</p>
<h2>需要什么人参与？</h2>
<p>需要操作系统管理员和数据库管理员参与<br />
以Linux+Oracle为例，可能需要如下环境变量</p>
<pre>
export ORACLE_BASE=/u01/app/oracle
export ORACLE_SID=remedy
export ORACLE_HOME=/u01/app/oracle/product/11.2.0/dbhome_1
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$ORACLE_HOME/lib
export NLS_LANG=en_US.UTF8
export LANG=en_US.utf8
export PATH=$PATH:$ORACLE_HOME/bin
</pre>
<h2>需要什么安装文件？</h2>
<p>以Linux+Oracle的安装为例，需要如下文件：</p>
<ol> linux.x64_11gR2_database_1of2.zip<br />
linux.x64_11gR2_database_2of2.zip<br />
jdk-6u25-ea-bin-b03-linux-amd64-27_feb_2011.bin<br />
BMCRemedyITSMSuitePreconfiguredStack7.6.04.Linux.tar.gz</ol>
<h2>需要安装多长时间？</h2>
<p>大约1.5个小时左右，是的没有夸张，这个时间是在一个DELL E6400（64位，8GB内存）的笔记本上测得的，如果你有更好的硬件，相信可以更快，这应该是史上最快的Remedy ITSM套件安装速度，如果你也成功通过此方式安装，请留下评论留下下你的安装时间和系统配置情况。</p>
<h2>参考以下操作步骤</h2>
<p>安装之前需要根据网卡的MAC地址先申请一个Lic，接着基本上都是点Next，即可完成安装<br />

<div class="ngg-imagebrowser" id="ngg-imagebrowser-8-51038">

	<h3>Snap1</h3>

	<div class="pic">
<a href="http://martinliu.cn/wp-content/gallery/remedyitsm7-6-04/Snap1.jpg" title="" class="shutterset_remedyitsm7-6-04">
	<img alt="Snap1" src="http://martinliu.cn/wp-content/gallery/remedyitsm7-6-04/Snap1.jpg"/>
</a>
</div>
	<div class="ngg-imagebrowser-nav"> 
		<div class="back">
			<a class="ngg-browser-prev" id="ngg-prev-1313" href="http://martinliu.cn/2011/05/remedy-itsm-7-6-04-quick-install-guide.html?pid=1313">&#9668; Back</a>
		</div>
		<div class="next">
			<a class="ngg-browser-next" id="ngg-next-1294" href="http://martinliu.cn/2011/05/remedy-itsm-7-6-04-quick-install-guide.html?pid=1294">Next &#9658;</a>
		</div>
		<div class="counter">Picture 1 of 21</div>
		<div class="ngg-imagebrowser-desc"><p> </p></div>
	</div>	

</div>	

</p>
<p>Related posts:<ol>
<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>
<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/2011/02/backup-restore-remedy-ars-oracle-db.html' rel='bookmark' title='在Oracle上备份和恢复 Remedy ARS数据库'>在Oracle上备份和恢复 Remedy ARS数据库</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://martinliu.cn/2011/05/remedy-itsm-7-6-04-quick-install-guide.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ARS启动故障修复案例</title>
		<link>http://martinliu.cn/2011/04/ars-start-issue-on-oracle.html</link>
		<comments>http://martinliu.cn/2011/04/ars-start-issue-on-oracle.html#comments</comments>
		<pubDate>Sat, 02 Apr 2011 13:43:21 +0000</pubDate>
		<dc:creator>Martin Liu</dc:creator>
				<category><![CDATA[BMC]]></category>
		<category><![CDATA[ARS]]></category>
		<category><![CDATA[oracle]]></category>
		<category><![CDATA[remedy]]></category>
		<category><![CDATA[启动]]></category>
		<category><![CDATA[排错]]></category>

		<guid isPermaLink="false">http://martinliu.cn/?p=51017</guid>
		<description><![CDATA[ARS版本 7.6.04 数据库 Oracle11G 和ARS在同一台服务器上 错误现象： ARS服务不能正常启动 arerror.log报 390600 : SQL 数据库不可用 &#8212; 将重试连接 (ARNOTE 590) Sat Apr 02 20:27:41 2011 : Action Request System(R) 服务器 x64 版本 7.6.04 Build 002 201101141059 (c) Copyright 1991-2010 BMC Software, Inc. Sat Apr 02 20:29:51 2011  390600 : SQL 数据库不可用 &#8212; 将重试连接 (ARNOTE 590) Sat Apr 02 20:29:51<p><a href="http://martinliu.cn/2011/04/ars-start-issue-on-oracle.html" class="more-link">Continue reading &#187;</a></p>
Related posts:<ol>
<li><a href='http://martinliu.cn/2011/06/how-to-access-remedy-form-in-db.html' rel='bookmark' title='如何读取Remedy中的数据'>如何读取Remedy中的数据</a></li>
<li><a href='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' rel='bookmark' title='如何导入CI和关系到Atrium CMDB'>如何导入CI和关系到Atrium CMDB</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>ARS版本 7.6.04<br />
数据库 Oracle11G 和ARS在同一台服务器上</p>
<p>错误现象：<br />
ARS服务不能正常启动<br />
arerror.log报 390600 : SQL 数据库不可用 &#8212; 将重试连接 (ARNOTE 590)<br />
Sat Apr 02 20:27:41 2011 : Action Request System(R) 服务器 x64 版本 7.6.04 Build 002 201101141059<br />
(c) Copyright 1991-2010 BMC Software, Inc.<br />
Sat Apr 02 20:29:51 2011  390600 : SQL 数据库不可用 &#8212; 将重试连接 (ARNOTE 590)<br />
Sat Apr 02 20:29:51 2011     ORA-12170: TNS:Connect timeout occurred</p>
<p>排错步骤：<br />
使用sqlplus测试登录，返回TNS超时错误</p>
<pre>
 C:\Users\martin&gt;sqlplus ARAdmin/AR#Admin#@ars
SQL*Plus: Release 11.2.0.1.0 Production on Sat Apr 2 20:48:35 2011
Copyright (c) 1982, 2010, Oracle.  All rights reserved.
ERROR:
ORA-12170: TNS:Connect timeout occurred  
</pre>
<p>使用tnsping ars 测试也不成功<br />
ping本机主机名</p>
<pre>
ping arsserver
Pinging arsserver [fe80::c123:5921:b71b:64fd%13] with 32 bytes of data:
Reply from fe80::c123:5921:b71b:64fd%13: time&lt;1ms
Reply from fe80::c123:5921:b71b:64fd%13: time&lt;1ms
Reply from fe80::c123:5921:b71b:64fd%13: time&lt;1ms
Reply from fe80::c123:5921:b71b:64fd%13: time&lt;1ms
Ping statistics for fe80::c123:5921:b71b:64fd%13:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 0ms, Average = 0ms 
</pre>
<p>貌似找到原因，修改host文件，加入主机名到127.0.0.1 后面，在测试ping主机名成功。<br />
重启Oracle监听器服务，再次测试tnsping 和sqlplus ，测试都获得成功。<br />
重新启动ARS服务，服务被正常启动</p>
<p>Related posts:<ol>
<li><a href='http://martinliu.cn/2011/06/how-to-access-remedy-form-in-db.html' rel='bookmark' title='如何读取Remedy中的数据'>如何读取Remedy中的数据</a></li>
<li><a href='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' rel='bookmark' title='如何导入CI和关系到Atrium CMDB'>如何导入CI和关系到Atrium CMDB</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/04/ars-start-issue-on-oracle.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Remedy ARS 开源工具知多少</title>
		<link>http://martinliu.cn/2011/03/remedy-ars-open-source-tool.html</link>
		<comments>http://martinliu.cn/2011/03/remedy-ars-open-source-tool.html#comments</comments>
		<pubDate>Tue, 01 Mar 2011 15:46:51 +0000</pubDate>
		<dc:creator>Martin Liu</dc:creator>
				<category><![CDATA[BMC]]></category>
		<category><![CDATA[ARAPI]]></category>
		<category><![CDATA[ARS]]></category>
		<category><![CDATA[ARSperl]]></category>
		<category><![CDATA[opensource]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[pyARS]]></category>
		<category><![CDATA[remedy]]></category>

		<guid isPermaLink="false">http://martinliu.cn/?p=50968</guid>
		<description><![CDATA[Remedy ARS是全球最大市场份额的产品，是为业内广泛接受的成熟产品套件；虽然他始终是私有的软件产品，但是围绕其周围，还是不断有新的开源工具出现。下面就介绍几种这样的软件。 ARInside is a free open-source utility to create a static html documentation of your AR-Server. If you need something to quickly browse through your workflow, ARInside might be worth a try. ARInside 3.0.2 has some new features, lots of bugfixes and other improvements. Just to name a few: - documentation improvements - 64-bit platform<p><a href="http://martinliu.cn/2011/03/remedy-ars-open-source-tool.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/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/2011/02/backup-restore-remedy-ars-oracle-db.html' rel='bookmark' title='在Oracle上备份和恢复 Remedy ARS数据库'>在Oracle上备份和恢复 Remedy ARS数据库</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Remedy ARS是全球最大市场份额的产品，是为业内广泛接受的成熟产品套件；虽然他始终是私有的软件产品，但是围绕其周围，还是不断有新的开源工具出现。下面就介绍几种这样的软件。</p>
<p>ARInside is a  free open-source utility to create a static html documentation of your  AR-Server. If you need something to quickly browse through your workflow,  ARInside might be worth a try.<br />
ARInside 3.0.2 has  some new features, lots of bugfixes and other  improvements.<br />
Just to name a few:<br />
- documentation improvements<br />
- 64-bit platform support<br />
- experimental support for Solaris and AIX<br />
- basic ARS 7.6.x support<br />
- huge performance plus on big installations</p>
<p>这是一个ARS服务器扫描的工具，可以形成一个静态的文档，能够作为一个状态的参考极限，这样方便你对当前的服务器上的所有对象和工作流有个全面的了解。最大的好处是能够统计和技术，而且不用登陆Dev Studio了。一图胜千言，下面大家看后就明白它能做什么。</p>
<p><img class="alignnone" title="Front page of ARInside docs " src="http://arinside.org/screenshots/1?format=raw" alt="Front page of ARInside docs " width="629" height="468" /></p>
<p>看后还闲着干嘛，赶紧去下载使用吧。</p>
<p>其他的关于Remedy ARS 开源的项目我也在sf.net里面大致搜索了一下，下面是个简单的参考清单。</p>
<h2><a href="http://sourceforge.net/projects/roi/">Remedy Outlook Integration</a> <small>Updated 2006-09-08</small></h2>
<p>The Remedy Integration for Outlook (ROI) synchronizes tickets from any  Remedy AR System application to your Outlook task list or calendar.</p>
<h2><a href="http://sourceforge.net/projects/php-arapi/">Remedy ARAPI PHP extension</a> <small>Updated 2009-07-19</small></h2>
<p>Extension to PHP for integration to Remedy Action Request System. First  release will be focused on reading and manipulating data. Later version  will give access to arapi-application structure functions.</p>
<h2><a href="http://sourceforge.net/projects/jaspars/">Jasper Reports data provider for Remedy</a> <small>Updated 2006-08-16</small></h2>
<p>jaspars provides a Jasper Reports custom data source (JRDataSource)  compatible with the Remedy AR System. See  http://www.mypathworks.com/arslist/Public?id=8ae4b6940c259f32010c3707fbae01bf  for more information and usage instructions.</p>
<h2><a href="http://sourceforge.net/projects/arsperl/">ARSperl</a> <small>Updated 2008-05-06</small></h2>
<p>ARSperl is an integration kit for Perl5 and Remedy ARSystem API. It  provides a large subset of the functionality found in the ARS C API</p>
<h2><a href="http://sourceforge.net/projects/arcachepurge/">AR Cache Purge</a> <small>Updated 2009-05-27</small></h2>
<p>AR Cache Purge automates the process of clearing BMC Remedy user cache  on client machines. It first checks the registry for the Home folders(s)  and then removes the .arf and .arv files. It handles multiple users and  home folders on a single machine.</p>
<h2><a href="http://sourceforge.net/projects/pyars/">pyARS</a> <small>Updated 2010-12-20</small></h2>
<p>The pyARS python module allows developers to use BMC&#8217;s ARSystem (Remedy  ARS) and Atrium CMDB functions from within Python. Using Python&#8217;s  interactive shell, it is extremely easy to retrieve and modify data  entries as well as workflow objects.</p>
<h2><a href="http://sourceforge.net/projects/coarse/">COM Objects for the AR System</a> <small>Updated 2006-01-10</small></h2>
<p>Coarse (COM Objects for the AR System), provides an automation  compatible COM API to the AR System (Remedy only provides a C API and a  Java API).  It is compatible with VB6, VBA, VBScript, and JScript.   Based on the RTL Sourceforge project.</p>
<p>&nbsp;</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/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/2011/02/backup-restore-remedy-ars-oracle-db.html' rel='bookmark' title='在Oracle上备份和恢复 Remedy ARS数据库'>在Oracle上备份和恢复 Remedy ARS数据库</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://martinliu.cn/2011/03/remedy-ars-open-source-tool.html/feed</wfw:commentRss>
		<slash:comments>0</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>在64位Windows上安装ARS7.5</title>
		<link>http://martinliu.cn/2011/02/64-windows-ars-75-install-tips.html</link>
		<comments>http://martinliu.cn/2011/02/64-windows-ars-75-install-tips.html#comments</comments>
		<pubDate>Thu, 10 Feb 2011 17:12:30 +0000</pubDate>
		<dc:creator>Martin Liu</dc:creator>
				<category><![CDATA[BMC]]></category>
		<category><![CDATA[ARS]]></category>
		<category><![CDATA[remedy]]></category>

		<guid isPermaLink="false">http://martinliu.cn/?p=50930</guid>
		<description><![CDATA[在64位windows服务器上安装ARS7.5所需要了解的一些注意事项和技巧<p><a href="http://martinliu.cn/2011/02/64-windows-ars-75-install-tips.html" class="more-link">Continue reading &#187;</a></p>
Related posts:<ol>
<li><a href='http://martinliu.cn/2011/04/ars-start-issue-on-oracle.html' rel='bookmark' title='ARS启动故障修复案例'>ARS启动故障修复案例</a></li>
<li><a href='http://martinliu.cn/2011/06/how-to-access-remedy-form-in-db.html' rel='bookmark' title='如何读取Remedy中的数据'>如何读取Remedy中的数据</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p><img class="alignright" title="ARS 7.5 安装" src="data:image/jpg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wCEAAkGBggGBQkIBwgKCQkKDRYODQwMDRoTFBAWHxwhIB8cHh4jJzIqIyUvJR4eKzssLzM1ODg4ISo9QTw2QTI3ODUBCQoKDQsNGQ4OGTUkHiQ1NTU1NTU1LzU1NTU1NTU1NS41NCw1NTQ0NTU1NTU1LDUpNDQ1NDUsNSwsMDQsNDU1Nf/AABEIADAAMAMBIgACEQEDEQH/xAAbAAACAwEBAQAAAAAAAAAAAAAGBwMEBQIIAf/EADUQAAEDAwMCAwUFCQAAAAAAAAECAwQFERIAITEGEyJBYQdRcYGhFBUjMkJSYpGiscHR4fD/xAAYAQADAQEAAAAAAAAAAAAAAAACAwQFAf/EACERAAICAgICAwEAAAAAAAAAAAECABEDIRJBBDEiMnET/9oADAMBAAIRAxEAPwB4k2FzofqUqoyX1NMK+zRySEOJBzUoevAB9RqR6rOuVtbLOK47ACXEHZRXfe3vABB+R11VKolKMUfl/Sm/5/U/u/RQOjAqTu93uDU6miQ6vuEynl7d5RCSo/E2G3Hy1aV09TGFpXTmhElHxNvRiEqSPOxVcAEXFjvzqjKkqdRZZUEFJCUKbuL38h/HbXPUtb+6KO8+xHvitsIB8itaWx4rb2ve39L6qxKCCT1JAd0O5pR+oJlEdSJTxl0/LxLdBVISCd1EiwIA8gm+i+PIalx0Px3EuNLF0qSdjpXTejSlky01upLnIR3SpTy+x3LXI7OVsL/pva22q/sy60WquCG9kzCllTbLAOQQ8FWunjFKrLUQByfPnSWC5LKCqlqck0xubESuJEVUmSpTxeJcBSAApZFiSRYgW92q7lWQ5buEKxIOyj+nn/X11BFeEOnN0+UC1IintuoPiAI38uefI86ru1doKxTyFWOQvz/nz/tq5sAbYMzASNGWJE9CyVqUFeQSk/8AfM839NY3UNZiSGWaWAJDk5SQ1dRDYxOdyRvYY3G25Fjtqd6tuEfhWSpJuFWO/lcj04toUkSEOV2jOhfgL7hJKhz2zz6+vGhCfzIXptRuL5OIWTYnWSWEsOOQDHCcG5RWoOFJ2C8cMciN7cX0DxK6ilzFqh4wpkF3JFjmnPc5DK973JsRYE7bW005akntKBBSWUG99rW0lE06TWOr5UKA33pMh/FtGQTkbe8kDR5cS4FDKPcrykkfkbntMp0uhVs1aOw8unSUDvuJUSGnSoglQtsCMAL+eg1uroWpZ8ON7JCj7+Pjf+bXoaVFZnRXI8ptLrLqcVoUNiNJfq/2R1anyHpPT2MmCVfhxgSXkBR4FxuBsLlV9K8fOK4tE58BvksHXarhgoqzsb2SvG/qT5W4v5cawZT2cZlpSGwEvNhKsAlQuoA29222Pu+OvlRYqNInriVBtceS2QVNrSLjYEfQjUNPYnVeWxBgR1SpKlhSW0DxLCPGQPkkm+i8g/UxOPTi4wa9Rn6dTnXk1CXgG7ttB5WKU22HPAG1tQ+xHo+RUqz9/wA9h37Kxmph5RI7joXYEftAAKHxGuq71ZCqrBpLQcTVCBGMRQGfe/L2+ecttNP2dUGV0z0HTqZPLf2hnuKX2ySBm4pYG4G4CgD631zzXUheJmgFv3P/2Q==" alt="ARS 7.5 安装" width="48" height="48" />刚才终于把ARS装上了。费了我两天的力气终于搞定了。错误其实很简单的，现象很多人都见过，ARS在安装完所有的文件后，在系统中建完ARS的服务以后，会继续启动服务，才能做最后的程序文件导入的相关操作。</p>
<p>错误的现象是：在启动服务的时，安装程序一直停止在“Starting Remedy ARS services&#8230;.”的屏幕，去arerror日志里面可以看到无法连接到SQL数据库的错误。</p>
<p>我的安装错误的原因其实很简单：</p>
<ol>
<li>如果是64为的Windows操作系统，默认的安装路径是C:\Program Files (x86)\目录</li>
<li>Oracle客户端没有正确的安装</li>
</ol>
<p>解决的方法如下：</p>
<ol>
<li>修改ars默认的安装路径，尽量把它放在一个较短的而且没有特殊字符的路径里，如D:\bmc\</li>
<li>ARS 7.5 sp6支持的Oracle客户端是32位的，如果你在64位OS上安装的是64位的Oracle数据+客户端（sqlplus），那么默认的这个64为的客户端是不能用的，需要安装一个62位的客户端，而且需要时10g的，此版本也不支持11g的客户端；另外在安装32位的oracle客户端的时候最好也不要在路径中有特殊字符如符号和下划线之类的</li>
</ol>
<p>ARS7.5本身是32位的可支持程序，所以它所需要的JDK和Oracle都需要是32位的版本。如果你安装的是7.6.04，就不需要考虑32位的问题，由于它本身就是64位的程序了，所以JDK和Oracle都需要使用相应的64为的程序。</p>
<p>Related posts:<ol>
<li><a href='http://martinliu.cn/2011/04/ars-start-issue-on-oracle.html' rel='bookmark' title='ARS启动故障修复案例'>ARS启动故障修复案例</a></li>
<li><a href='http://martinliu.cn/2011/06/how-to-access-remedy-form-in-db.html' rel='bookmark' title='如何读取Remedy中的数据'>如何读取Remedy中的数据</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://martinliu.cn/2011/02/64-windows-ars-75-install-tips.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

