<?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>聚沙成塔-小哈的记事薄 &#187; admin</title>
	<atom:link href="http://www.hashei.me/author/admin/feed" rel="self" type="application/rss+xml" />
	<link>http://www.hashei.me</link>
	<description>一个系统工程师的絮叨</description>
	<lastBuildDate>Tue, 10 Jan 2012 18:03:42 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		
<!-- Start Of Script Generated By WP-PostViews Plus -->
<script type='text/javascript' src='http://hashei.me/wp-includes/js/jquery/jquery.js?ver=1.3.2'></script>
<script type="text/javascript">
/* <![CDATA[ */
jQuery.ajax({type:'GET',url:'http://hashei.me/wp-content/plugins/wp-postviews-plus/postviews_plus.php',data:'todowppvp=add&type=/author/admin/feed&id=1',cache:false,dataType:'script'});
/* ]]> */
</script>
<!-- End Of Script Generated By WP-PostViews Plus -->
	<item>
		<title>又见OutOfMemory&#8212;&#8212;一次内存溢出故障诊断全过程</title>
		<link>http://www.hashei.me/2010/11/directbytebuffer_cause_oom.html?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=directbytebuffer_cause_oom</link>
		<comments>http://www.hashei.me/2010/11/directbytebuffer_cause_oom.html#comments</comments>
		<pubDate>Tue, 09 Nov 2010 13:41:00 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Websphere系列]]></category>
		<category><![CDATA[性能优化]]></category>
		<category><![CDATA[DirectByteBuffer]]></category>
		<category><![CDATA[OutOfMemory]]></category>

		<guid isPermaLink="false">http://www.hashei.me/2010/11/directbytebuffer_cause_oom.html</guid>
		<description><![CDATA[这是一个几月前的案例，问题比较典型，在分析和事后学习的过程中让我对本地内存溢出有了一定的了解。在此和大家分享。
先说一下背景，应用环境是AIX5.3+WebSphere6.0.2.37。在今年的一季度曾发生过几次OOM故障，当时通过几次内存参数优化，最后确定为“-Xgcprolicy:gencon –Xms512m –Xmx1280m –Xmn200m”，此后稳定了半年，直到此次再发生应用宕机。
赶到现场，发现profiles目录下生成有javacore和heapdump文件，Javacore的第一行“Cause of thread dump : Dump Event &#34;systhrow&#34; (00040000) Detail &#34;java/lang/OutOfMemoryError&#34; received”表明了宕机的原因是OOM，但是令我困惑的是这段内容：
0SECTION&#160;&#160;&#160;&#160;&#160;&#160; MEMINFO subcomponent dump routine      NULL&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; =================================       1STHEAPFREE&#160;&#160;&#160; Bytes of Heap Space Free: 818cb70       1STHEAPALLOC&#160;&#160; Bytes of Heap Space Allocated: 20000000 

在分配的512MB（十六进制20000000）的堆空间中，有129MB（818cb70）空闲空间，按理说，这种情况下不该发生OutOfMemory。就算有申请一个大对象，同时JVM堆的新生代由于碎片原因没有连续空间满足要求，那么应该发生堆扩展，所以此次内存溢出不是堆（Heap）溢出，GC日志的分析也支持了这一点。
既然Javacore无法得到有用信息，我把目光转向了SystemErr.log，在对应日期的地方，我发现了大量如下报错：
[8/26/10 14:12:57:860 GMT+08:00] [...]]]></description>
			<content:encoded><![CDATA[<p>这是一个几月前的案例，问题比较典型，在分析和事后学习的过程中让我对本地内存溢出有了一定的了解。在此和大家分享。</p>
<p>先说一下背景，应用环境是AIX5.3+WebSphere6.0.2.37。在今年的一季度曾发生过几次OOM故障，当时通过几次内存参数优化，最后确定为“-Xgcprolicy:gencon –Xms512m –Xmx1280m –Xmn200m”，此后稳定了半年，直到此次再发生应用宕机。</p>
<p>赶到现场，发现profiles目录下生成有javacore和heapdump文件，Javacore的第一行“Cause of thread dump : Dump Event &quot;systhrow&quot; (00040000) Detail &quot;java/lang/OutOfMemoryError&quot; received”表明了宕机的原因是OOM，但是令我困惑的是这段内容：</p>
<blockquote><p>0SECTION&#160;&#160;&#160;&#160;&#160;&#160; MEMINFO subcomponent dump routine      <br />NULL&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; =================================       <br />1STHEAPFREE&#160;&#160;&#160; Bytes of Heap Space Free: 818cb70       <br />1STHEAPALLOC&#160;&#160; Bytes of Heap Space Allocated: 20000000 </p>
</blockquote>
<p>在分配的512MB（十六进制20000000）的堆空间中，有129MB（818cb70）空闲空间，按理说，这种情况下不该发生OutOfMemory。就算有申请一个大对象，同时JVM堆的新生代由于碎片原因没有连续空间满足要求，那么应该发生堆扩展，所以此次内存溢出不是堆（Heap）溢出，GC日志的分析也支持了这一点。</p>
<p>既然Javacore无法得到有用信息，我把目光转向了SystemErr.log，在对应日期的地方，我发现了大量如下报错：</p>
<blockquote><p>[8/26/10 14:12:57:860 GMT+08:00] 0000002f SystemErr&#160;&#160;&#160;&#160; R Exception in thread &quot;WebContainer : 1&quot;<font color="#ff0000"> </font><strong><font color="#ff0000">java.lang.RuntimeException: java.lang.OutOfMemoryError: Failed to create a thread: retVal -1073741830, errno 11          <br /></font></strong>[8/26/10 14:12:57:860 GMT+08:00] 0000002f SystemErr&#160;&#160;&#160;&#160; R&#160;&#160;&#160;&#160; at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:801)       <br />[8/26/10 14:12:57:860 GMT+08:00] 0000002f SystemErr&#160;&#160;&#160;&#160; R&#160;&#160;&#160;&#160; at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:881)       <br />[8/26/10 14:12:57:860 GMT+08:00] 0000002f SystemErr&#160;&#160;&#160;&#160; R&#160;&#160;&#160;&#160; at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1497)       <br />[8/26/10 14:12:57:860 GMT+08:00] 0000002f SystemErr&#160;&#160;&#160;&#160; R Caused by: <strong><font color="#ff0000">java.lang.OutOfMemoryError: Failed to create a thread: retVal -1073741830, errno 11          <br /></font></strong>&#160;&#160;&#160; at java.lang.Thread.startImpl(Native Method)       <br />&#160;&#160;&#160; at java.lang.Thread.start(Thread.java:980)       <br />&#160;&#160;&#160; at com.ibm.ws.util.ThreadPool.addThread(ThreadPool.java:630)       <br />&#160;&#160;&#160; at com.ibm.ws.util.ThreadPool$3.run(ThreadPool.java:1148)       <br />&#160;&#160;&#160; at com.ibm.ws.security.util.AccessController.doPrivileged(AccessController.java:63)       <br />&#160;&#160;&#160; at com.ibm.ws.util.ThreadPool.execute(ThreadPool.java:1146)       <br />&#160;&#160;&#160; at com.ibm.ws.util.ThreadPool.execute(ThreadPool.java:1040)       <br />&#160;&#160;&#160; at com.ibm.ws.runtime.WSThreadPool.execute(WSThreadPool.java:151)       <br />&#160;&#160;&#160; at com.ibm.io.async.ResultHandler.startHandler(ResultHandler.java:248)       <br />&#160;&#160;&#160; at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:570)       <br />&#160;&#160;&#160; at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:881)       <br />&#160;&#160;&#160; at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1497)</p>
</blockquote>
<p>在事后的学习中，我知道“Java.lang.OutOfMemoryError: unable to create native thread” 这样的异常是在说，本地内存耗尽，从而新的线程无法创建。而在当时我第一感觉是操作系统参数设置问题，之前我曾写过一篇由于nofile参数导致Too many open file的故障。于是我运行如下命令</p>
<blockquote><p>#lsattr -El sys0 -a maxuproc      <br />maxuproc 128 Maximum number of PROCESSES allowed per user True</p>
</blockquote>
<ol>然后运行chgsys修改默认的128为1024，这里我犯了一个错误，WebSphere单个Server就是一个Java进程，错误日志里是不能创建一个thread，而非process，与Oracle会创建多个oracle进程不一样。果然两天后又出现了同样的问题。</ol>
<ol>这一次的SystemErr日志中，除了上述的内容，还多了</ol>
<blockquote><p>[8/24/10 9:55:19:813 GMT+08:00] 00000036 SystemErr&#160;&#160;&#160;&#160; R Exception in thread &quot;WebContainer : 4&quot; java.lang.RuntimeException: <strong><font color="#ff0000">java.lang.OutOfMemoryError: Unable to allocate 8192 bytes of direct memory after 5 retries          <br /></font></strong>[8/24/10 9:55:19:813 GMT+08:00] 00000036 SystemErr&#160;&#160;&#160;&#160; R&#160;&#160;&#160;&#160; at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:801)       <br />[8/24/10 9:55:19:813 GMT+08:00] 00000036 SystemErr&#160;&#160;&#160;&#160; R&#160;&#160;&#160;&#160; at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:881)       <br />[8/24/10 9:55:19:813 GMT+08:00] 00000036 SystemErr&#160;&#160;&#160;&#160; R&#160;&#160;&#160;&#160; at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1497)       <br />[8/24/10 9:55:19:813 GMT+08:00] 00000036 SystemErr&#160;&#160;&#160;&#160; R Caused by: java.lang.OutOfMemoryError: Unable to allocate 8192 bytes of direct memory after 5 retries       <br />&#160;&#160;&#160; at <strong><font color="#ff0000">java.nio.DirectByteBuffer</font></strong>.&lt;init&gt;(DirectByteBuffer.java:197)       <br />&#160;&#160;&#160; at java.nio.ByteBuffer.allocateDirect(ByteBuffer.java:303)       <br />&#160;&#160;&#160; at com.ibm.ws.buffermgmt.impl.WsByteBufferPoolManagerImpl.allocateBufferDirect(WsByteBufferPoolManagerImpl.java:656)       <br />&#160;&#160;&#160; at com.ibm.ws.buffermgmt.impl.WsByteBufferPoolManagerImpl.allocateCommon(WsByteBufferPoolManagerImpl.java:570)       <br />&#160;&#160;&#160; at com.ibm.ws.buffermgmt.impl.WsByteBufferPoolManagerImpl.allocateDirect(WsByteBufferPoolManagerImpl.java:506)       <br />&#160;&#160;&#160; at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:498)       <br />&#160;&#160;&#160; at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:881)       <br />&#160;&#160;&#160; at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1497)       <br />Caused by: java.lang.OutOfMemoryError       <br />&#160;&#160;&#160; at <font color="#ff0000"><strong>sun.misc.Unsafe.allocateMemory(Native Method)          <br /></strong></font>&#160;&#160;&#160; at java.nio.DirectByteBuffer.&lt;init&gt;(DirectByteBuffer.java:184)       <br />&#160;&#160;&#160; &#8230; 7 more</p>
</blockquote>
<p>我们可以看到是由于DirectByteBuffer无法分配导致的内存溢出，而Native Method指明了这是“本地”的溢出。通过这两个关键字，我查到了IBM的一份BUG记录：<a href="http://www-01.ibm.com/support/docview.wss?uid=swg1PK31010">PK31010: OUTOFMEMORYERROR DUE TO DIRECTBYTEBUFFER</a>，但是我的版本已是最新，无奈继续搜寻。</p>
<p>在<a href="http://www-01.ibm.com/support/docview.wss?uid=swg21373312">Troubleshooting native memory issues</a>这份文档中，介绍了3种在WebSphere中最常见的导致OOM的原因。其中第二个<b>DirectByteBuffer use</b>就是我们问题的症结。</p>
<blockquote><p>Java 1.4 中添加的新 I/O （NIO） 类引入了一种基于通道和缓冲区来执行 I/O 的新方式。就像 Java 堆上的内存支持 I/O 缓冲区一样，NIO 添加了对直接 ByteBuffer 的支持（使用java.nio.ByteBuffer.allocateDirect（） 方法进行分配），ByteBuffer 受本机内存而不是 Java 堆支持。直接 ByteBuffer 可以直接传递到本机操作系统库函数，以执行 I/O — 这使这些函数在一些场景中要快得多，因为它们可以避免在 Java 堆与本机堆之间复制数据。</p>
<p>&#160;&#160;&#160; 对于在何处存储直接 ByteBuffer 数据，很容易产生混淆。应用程序仍然在 Java 堆上使用一个对象来编排 I/O 操作，但持有该数据的缓冲区将保存在本机内存中，Java 堆对象仅包含对本机堆缓冲区的引用。非直接 ByteBuffer 将其数据保存在 Java 堆上的 byte[] 数组中。下图展示了直接与非直接 ByteBuffer 对象之间的区别：</p>
<p>&#160;&#160;&#160;&#160; 直接与非直接 java.nio.ByteBuffer 的内存拓扑结构</p>
<p><img alt="ByteBuffer 内存安排" src="http://java.chinaitlab.com/UploadFiles_8734/200905/20090513103513495.gif" width="376" height="482" /></p>
<p>&#160;&#160;&#160; 直接 ByteBuffer 对象会自动清理本机缓冲区，但这个过程只能作为 Java 堆 GC 的一部分来执行，因此它们不会自动响应施加在本机堆上的压力。GC 仅在 Java 堆被填满，以至于无法为堆分配请求提供服务时发生，或者在 Java 应用程序中显式请求它发生（不建议采用这种方式，因为这可能导致性能问题）。</p>
<p>&#160;&#160;&#160; 发生垃圾收集的情形可能是，本机堆被填满，并且一个或多个直接 ByteBuffers 适合于垃圾收集（并且可以被释放来腾出本机堆的空间），但 Java 堆几乎总是空的，所以不会发生垃圾收集。</p>
<p>摘自<a href="http://www.ibm.com/developerworks/java/j-nativememory-linux/">《理解JVM如何使用Windows和Linux上的本机内存》</a></p>
</blockquote>
<p>解决此问题的方法，在文档中给出的是<a href="http://www-01.ibm.com/support/docview.wss?uid=swg21317658">禁止异步A/O</a>，通过在Web Container中设置参数来避免上节中所出现的由于Java堆空闲而不发生垃圾回收，导致本地堆撑满的情况。</p>
<ul>
<blockquote>
<p>Servers -&gt; Application Servers -&gt; <i>serverName</i> -&gt; Web Container Settings -&gt; Web Container -&gt; Custom Properties:         <br />Press New:         <br />Add the following pair: </p>
<ul>Name: com.ibm.ws.webcontainer.channelwritetype        <br />Value: sync</ul>
<p> Press OK, and then save the configuration.</p></blockquote>
<p> 添加此属性后应用又恢复正常，但是原先提高性能的特性反而导致内存溢出，违背了初衷，现在的做法只能算一个妥协。我会继续查找此问题的解决方法，最不济也要有个使用NIO的Best Practice。</ul>
<p>文档中另两个容易导致本地堆OOM的原因是：</p>
<p>过大的堆上限</p>
<p><a href="http://hashei.me/wp-content/uploads/2009/05/memory-layout-of-a-vm-in-the-os.jpg"><img style="display: inline; margin-left: 0px; margin-right: 0px" border="0" alt="Memory layout of a vm in the os" align="right" src="http://hashei.me/wp-content/uploads/2009/05/memory-layout-of-a-vm-in-the-os-thumb.jpg" width="244" height="202" /></a></p>
<p>我们知道32位机器单个进程可以访问的内存地址空间为4G，如右图所示，但实际情况下Windows系统由于内核态和用户态的划分，用户态只有2G的空间，Linux和AIX的可用空间大一点，但也在3G左右。，由于JVM实例进程寻址是一定的，所以Heap大小和Native Area此消彼长。而Native Area中有一部分就是供给线程的内存空间。</p>
<p>“应用程序中的每个线程都需要内存来存储器堆栈（用于在调用函数时持有局部变量并维护状态的内存区域）。每个 Java 线程都需要堆栈空间来运行。根据实现的不同，Java 线程可以分为本机线程和 Java 堆栈。除了堆栈空间，每个线程还需要为线程本地存储（thread-local storage）和内部数据结构提供一些本机内存。堆栈大小因 Java 实现和架构的不同而不同。一些实现支持为 Java 线程指定堆栈大小，其范围通常在 256KB 到 756KB 之间。”</p>
<p>1.5后一般线程堆栈大小为1M，“对于拥有数百个线程的应用程序来说，线程堆栈的总内存使用量可能非常大。如果运行的应用程序的线程数量比可用于处理它们的处理器数量多，效率通常很低，并且可能导致糟糕的性能和更高的内存占用”（摘自《理解JVM如何使用Windows和Linux上的本机内存》）</p>
<p>解决此问题的方法：设置恰当的JVM最大堆，32位不要超过1.5G；设置恰当的线程池大小（一般50～100），当线程使用较多时， 使用-Xss256k参数设置线程指定堆栈大小（IBM JDK还可以使用<a href="http://publib.boulder.ibm.com/infocenter/realtime/v2r0/index.jsp?topic=/com.ibm.softrt.aix32.doc/diag/appendixes/defaults.html">-Xmso</a> ××k来设置Stack size for OS Threads 32-bit）；更换64位的JDK。</p>
<p>第三个原因是<a href="http://www-01.ibm.com/support/docview.wss?uid=swg21368248">线程池的TLS泄漏</a></p>
<p>这个现象我倒没见到过，如果你的thread dump里下面三个属性里的值有大于300，那么就要注意了</p>
<blockquote><p>&quot;WebContainer : 1003&quot; (TID:0&#215;37D62000     <br />&quot;Default : 338&quot; (TID:109934D0      <br />&quot;TCPChannel.DCS : 303&quot; (TID:0&#215;4D720000</p>
</blockquote>
<p>解决的方法是设置线程池的最小最大值一致。 </p>
<hr /><small>  Copyright &copy; 2008 This feed is for personal, non-commercial use only<br />
<a href=www.hashei.com >聚沙成塔-小哈的记事薄</a> by hashei 
如果喜欢，欢迎订阅<a href=feed.hashei.com >feed.hashei.com</a><br />
Digital Fingerprint:
 10f920a9f2bae51c3c73c4f5fb50a949</small>]]></content:encoded>
			<wfw:commentRss>http://www.hashei.me/2010/11/directbytebuffer_cause_oom.html/feed</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>总有一些世界观，是傻逼呵呵地矗立在那里的</title>
		<link>http://www.hashei.me/2010/08/three_idiots.html?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=three_idiots</link>
		<comments>http://www.hashei.me/2010/08/three_idiots.html#comments</comments>
		<pubDate>Sun, 15 Aug 2010 10:48:00 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[生活感想]]></category>
		<category><![CDATA[电影]]></category>

		<guid isPermaLink="false">http://www.hashei.me/2010/08/three_idiots.html</guid>
		<description><![CDATA[<Three Idiots>观后感，印度好片，强烈推荐]]></description>
			<content:encoded><![CDATA[<p>上一篇标题是be foolish，这一篇就就要写idiot了。《Three Idiots》，或者又叫《三傻大闹宝莱坞》，让无聊的周末晚上，变得丰富多彩起来。</p>
<p>这是一部校园青春片，归类在喜剧片里，于是自然的让屏幕前的我乐不可支，但如果仅仅如此，那么它就是美国校园喜剧的翻版，我也不会在这个技术博里分享观看后感受。作为同样经历经济高速发展的邻居——印度，这部电影所探讨的理想与现实、爱情与金钱、注重结果还是过程，深深的感触到了我。</p>
<blockquote><p>噪鹃从来不自己筑巢，他只在别人的巢里下蛋，要孵蛋的时候他们会怎样？他们会把其它的蛋从巢里挤出去，竞争结束了，他们的生命从谋杀开始，这就是大自然——要么竞争，要么死……</p>
</blockquote>
<p>丛林法则，优胜劣汰，“病毒”的开场白在父母送你去补习班的时候，在你选择大学专业的时候，会听到各种各样类似的版本。在大学里，为了绩点而奋斗，只看为考试而划重点的内容，不是为了知识，而是为了“从这5年后，当你看到你的朋友买车买房时不会诅咒自己。”</p>
<p>一定要让自己活在“高压锅”里么？某种程度上是的，当你的父母把唯一的空调装在你的房间里让你安心学习，把自己年轻时的遗憾作为目标寄托在你的身上时，当你家里有个生病的父亲、没有嫁妆出嫁的姐姐、以及辛苦照顾这个家的母亲时，我们很难有勇气说出：过自己喜欢过的生活、做自己喜欢做的事，哪怕钱赚的再少只要自己觉得幸福就足够了（这应该就是所谓的责任感使命感吧）。所以我们像男主角的两个朋友，要么生活在“虚伪”里，要么生活在“恐惧”中。</p>
<p>于是我们一个个的“成功”了，但是“理想”这种东西，要么戒了，要么又作为自己的遗憾，硬加到自己的孩子身上。</p>
<p>影片中的爱情，则是以一场订婚一场逃婚来演绎，笔墨不多，却同样有内心抉择的痛苦。是嫁给一个生活贴了标签的成功男士，还是去找能让心情像头发一般飘逸起来的男主角？影片中女主当然选择了后者，但面对现实的生活压力，有多少人能无视暂时的闲言碎语，有多少姻缘因为经济的原因而拆散，又有多少夫妻在坚硬的钢筋水泥的城市里扎不下根来。</p>
<p>所以当影片放到Farhan他爸爸说到：把（电脑）退了，换一部专业摄像机，钱还不够就向我要的时候。放到Raju Rastogi说出“断了两条腿，我才真正站了起来，获得这样的生活态度不容易，我不会放弃”的时候，当病毒主任最终也说出“做你想做的”，并把32年都没送出的太空笔插到Rancho的衣领上时，我再也无法控制自己的眼泪不夺眶而出。</p>
<p>不过看完片后思及自身，又让我感到另外一种悲哀——我不知道自己除了工作之外，还有什么值得投入精力的爱好，不知道自己真正想要的生活是什么。乔治奥威尔痛苦的是“英国人的［阶级］烙印是打在舌头上的”，“他的一切疙瘩都来自于这个事实：他认为他应该去爱他的同胞，但是他连同他们随便交谈都做不到。”而我则是“认为应该去过自己喜欢的生活，但是却连什么是自己喜欢的都不知道”。长年的填鸭式的教育，父母的期盼，老娘舅里形形色色的人生故事，让我以为生活就是如此。看来我们都需要一个像Rancho这样的朋友，告诉我们世界上还有种不合时宜的世界观，也能通向成功。</p>
<p>一个没有一出生就背负使命的园丁的儿子很少见，那至少让我们记住这句话“Follow excellence，Success will chase you !&quot;</p>
<hr /><h2>Related posts:</h2><ul><li><a href="http://www.hashei.me/2011/11/sense_and_sensibility_one.html" rel="bookmark" title="Permanent Link: 理智与情感（一）">理智与情感（一）</a></li></ul><hr /><small>  Copyright &copy; 2008 This feed is for personal, non-commercial use only<br />
<a href=www.hashei.com >聚沙成塔-小哈的记事薄</a> by hashei 
如果喜欢，欢迎订阅<a href=feed.hashei.com >feed.hashei.com</a><br />
Digital Fingerprint:
 10f920a9f2bae51c3c73c4f5fb50a949</small>]]></content:encoded>
			<wfw:commentRss>http://www.hashei.me/2010/08/three_idiots.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Linux 性能监控</title>
		<link>http://www.hashei.me/2010/05/linux-system-performance-monitoring.html?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=linux-system-performance-monitoring</link>
		<comments>http://www.hashei.me/2010/05/linux-system-performance-monitoring.html#comments</comments>
		<pubDate>Wed, 19 May 2010 08:48:00 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[每周精华]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[性能监控]]></category>

		<guid isPermaLink="false">http://www.hashei.me/2010/05/linux-system-performance-monitoring.html</guid>
		<description><![CDATA[我在Unix/Linux分类中曾转过《Linux System and Performance Monitoring》系列的文章，今天又在Vpsee看到了类似的几篇。内容基本一样，但是排版好许多，最主要是读起来很流畅，一步步的递进很好，没有英文资料翻译过来的那种生硬感，估计是根据那个系列结合自己经验重写过的。
下午把vpsee逛了圈，感觉是VPS服务商里blog写的最有技术含量的，不仅有linux下的应用、优化，还有架构的分析以及较少看到资料的瘦客户端介绍。还有，我经常逛的LinuxTOY就是架设在他们的服务器上的。
Linux 性能监测：介绍
Linux 性能监测：CPU
Linux 性能监测：Memory
Linux 性能监测：IO
Linux 性能监测：Network
Related posts:欲速则不达Linux System and Performance Monitoring(总结篇)Linux System and Performance Monitoring(CPU篇)软硬兼施 优化 WebSphere Application ServerJava性能优化参考资料  Copyright &#169; 2008 This feed is for personal, non-commercial use only
聚沙成塔-小哈的记事薄 by hashei 
如果喜欢，欢迎订阅feed.hashei.com
Digital Fingerprint:
 10f920a9f2bae51c3c73c4f5fb50a949]]></description>
			<content:encoded><![CDATA[<p>我在<a href="http://www.hashei.me/category/unixlinux" target="_blank">Unix/Linux</a>分类中曾转过《<a href="http://www.hashei.me/2009/09/linux_system_and_performance_monitoring_summary.html" target="_blank">Linux System and Performance Monitoring</a>》系列的文章，今天又在<a href="http://www.vpsee.com" target="_blank">Vpsee</a>看到了类似的几篇。内容基本一样，但是排版好许多，最主要是读起来很流畅，一步步的递进很好，没有英文资料翻译过来的那种生硬感，估计是根据那个系列结合自己经验重写过的。</p>
<p>下午把vpsee逛了圈，感觉是VPS服务商里blog写的最有技术含量的，不仅有linux下的应用、优化，还有架构的分析以及较少看到资料的瘦客户端介绍。还有，我经常逛的<a href="http://linuxtoy.org/">LinuxTOY</a>就是架设在他们的服务器上的。</p>
<p><a href="http://www.vpsee.com/2009/11/linux-system-performance-monitoring-introduction/">Linux 性能监测：介绍</a></p>
<p><a href="http://www.vpsee.com/2009/11/linux-system-performance-monitoring-cpu/">Linux 性能监测：CPU</a></p>
<p><a href="http://www.vpsee.com/2009/11/linux-system-performance-monitoring-memory/">Linux 性能监测：Memory</a></p>
<p><a href="http://www.vpsee.com/2009/11/linux-system-performance-monitoring-io/">Linux 性能监测：IO</a></p>
<p><a href="http://www.vpsee.com/2009/11/linux-system-performance-monitoring-network/" target="_blank">Linux 性能监测：Network</a></p>
<hr /><h2>Related posts:</h2><ul><li><a href="http://www.hashei.me/2010/04/%e6%ac%b2%e9%80%9f%e5%88%99%e4%b8%8d%e8%be%be.html" rel="bookmark" title="Permanent Link: 欲速则不达">欲速则不达</a></li><li><a href="http://www.hashei.me/2009/09/linux_system_and_performance_monitoring_summary.html" rel="bookmark" title="Permanent Link: Linux System and Performance Monitoring(总结篇)">Linux System and Performance Monitoring(总结篇)</a></li><li><a href="http://www.hashei.me/2009/09/linux-system-and-performance-monitoring-cpu.html" rel="bookmark" title="Permanent Link: Linux System and Performance Monitoring(CPU篇)">Linux System and Performance Monitoring(CPU篇)</a></li><li><a href="http://www.hashei.me/2010/02/tunning-websphere-application-server-was.html" rel="bookmark" title="Permanent Link: 软硬兼施 优化 WebSphere Application Server">软硬兼施 优化 WebSphere Application Server</a></li><li><a href="http://www.hashei.me/2009/07/java-performance-tuning-resources.html" rel="bookmark" title="Permanent Link: Java性能优化参考资料">Java性能优化参考资料</a></li></ul><hr /><small>  Copyright &copy; 2008 This feed is for personal, non-commercial use only<br />
<a href=www.hashei.com >聚沙成塔-小哈的记事薄</a> by hashei 
如果喜欢，欢迎订阅<a href=feed.hashei.com >feed.hashei.com</a><br />
Digital Fingerprint:
 10f920a9f2bae51c3c73c4f5fb50a949</small>]]></content:encoded>
			<wfw:commentRss>http://www.hashei.me/2010/05/linux-system-performance-monitoring.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WebLogic9和10集群安装配置过程</title>
		<link>http://www.hashei.me/2009/09/weblogic-cluster-step-by-step.html?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=weblogic-cluster-step-by-step</link>
		<comments>http://www.hashei.me/2009/09/weblogic-cluster-step-by-step.html#comments</comments>
		<pubDate>Sun, 06 Sep 2009 14:54:55 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[weblogic]]></category>
		<category><![CDATA[中间件]]></category>
		<category><![CDATA[安装]]></category>
		<category><![CDATA[集群]]></category>

		<guid isPermaLink="false">http://www.hashei.me/2009/09/weblogic-cluster-step-by-step.html</guid>
		<description><![CDATA[weblogic的集群很早以前做过，当时写了一份文档，最近真好又有机会实验了Weblogic 10.3的集群配置，两相比较，同时对照着文档过了一遍，确定下文对weblogic9和10都适用。截了图也方便新手学习。]]></description>
			<content:encoded><![CDATA[<p>weblogic的集群很早以前做过，当时写了一份文档，最近真好又有机会实验了Weblogic 10.3的集群配置，两相比较，同时对照着文档过了一遍，确定下文对weblogic9和10都适用。截了图也方便新手学习。</p>
<h4>环境</h4>
<p>平台：两台Windows 2003 SP2（SP版本要一样），必须位于同一网段，并且必须是IP广播(UDP)可到达的</p>
<p>软件：Weblogic9.1</p>
<h4>拓扑</h4>
<p>在A机上建立一个Administrator Server，作为管理节点；在AB机上分别建立Managed Server，加入集群appCluster，作为应用程序的运行环境；在B机上分别建立Proxy Server，作为提供外部访问的服务地址。</p>
<table border="0" cellspacing="0" cellpadding="2" width="400">
<tbody>
<tr>
<td width="100" valign="top">机器</td>
<td width="100" valign="top">配置信息</td>
<td width="100" valign="top">角色</td>
<td width="100" valign="top">备注</td>
</tr>
<tr>
<td width="100" valign="top">app1</td>
<td width="100" valign="top">IP:*.*.*.* PORT:7001</td>
<td width="100" valign="top">AdminServer</td>
<td width="100" valign="top">管理服务器</td>
</tr>
<tr>
<td width="100" valign="top">app1</td>
<td width="100" valign="top">IP: *.*.*.*PORT:7002</td>
<td width="100" valign="top">Managed Server</td>
<td width="100" valign="top">受管服务器</td>
</tr>
<tr>
<td width="100" valign="top">app2</td>
<td width="100" valign="top">IP: *.*.*.*PORT:7002</td>
<td width="100" valign="top">Managed Server</td>
<td width="100" valign="top">受管服务器</td>
</tr>
<tr>
<td width="100" valign="top">app2</td>
<td width="100" valign="top">IP: *.*.*.*PORT:80</td>
<td width="100" valign="top">Proxy Server</td>
<td width="100" valign="top">代理服务器</td>
</tr>
</tbody>
</table>
<h4>安装过程</h4>
<p><strong>在机器A上</strong></p>
<h5>创建新的Domain</h5>
<p>选择“Tool- Configuration Wizard”，单击“下一步”按钮</p>
<p><a href="http://hashei.me/wp-content/uploads/2009/09/clip_image002.jpg"><img style="border-width: 0px;" src="http://hashei.me/wp-content/uploads/2009/09/clip_image002_thumb.jpg" border="0" alt="clip_image002" width="244" height="176" /></a></p>
<h5>选择安装域源</h5>
<p>选择安装“WebLogic Server”，单击“下一步”按钮</p>
<p><a href="http://hashei.me/wp-content/uploads/2009/09/clip_image004.jpg"><img style="border-width: 0px;" src="http://hashei.me/wp-content/uploads/2009/09/clip_image004_thumb.jpg" border="0" alt="clip_image004" width="244" height="176" /></a></p>
<h5>配置管理员用户名和密码</h5>
<p>输入Weblogic管理员管理服务器（AdminServer）的用户名和密码，在此以“weblogic”作用登录管理服务器的用户名和密码，单击“下一步”按钮</p>
<p><span id="more-659"></span></p>
<p><a href="http://hashei.me/wp-content/uploads/2009/09/clip_image006.jpg"><img style="border-width: 0px;" src="http://hashei.me/wp-content/uploads/2009/09/clip_image006_thumb.jpg" border="0" alt="clip_image006" width="244" height="176" /></a></p>
<h5>配置域启动模式和JDK</h5>
<p>选择“生产模式”和“JRockit SDK”后，单击“下一步”按钮</p>
<p><a href="http://hashei.me/wp-content/uploads/2009/09/clip_image008.jpg"><img style="border-width: 0px;" src="http://hashei.me/wp-content/uploads/2009/09/clip_image008_thumb.jpg" border="0" alt="clip_image008" width="244" height="176" /></a></p>
<h5>选择是否自定义环境和服务设置</h5>
<p>选择“是”后，单击“下一步”按钮</p>
<p><a href="http://hashei.me/wp-content/uploads/2009/09/clip_image010.jpg"><img style="border-width: 0px;" src="http://hashei.me/wp-content/uploads/2009/09/clip_image010_thumb.jpg" border="0" alt="clip_image010" width="244" height="176" /></a></p>
<h5>配置管理服务器</h5>
<p>输入Administrator Server的名称，监听地址，监听端口，如果需要SSL支持的话可以在“SSL enabled”后面的复选取框上打勾，配置SSL监听端口，单击“下一步”按钮</p>
<p><a href="http://hashei.me/wp-content/uploads/2009/09/clip_image012.jpg"><img style="border-width: 0px;" src="http://hashei.me/wp-content/uploads/2009/09/clip_image012_thumb.jpg" border="0" alt="clip_image012" width="244" height="176" /></a></p>
<h5>配置受管理服务器（代理服务器实际上也是一个受管理服务器）</h5>
<p>输入Managed Server的名称，监听地址，监听端口（注意同一台机器的端口不要冲突），如果需要SSL支持的话，可以在“SSL enabled”复选框上打勾，配置SSL监听端口。可以配置多个Managed Server。单击“下一步”按钮</p>
<p><a href="http://hashei.me/wp-content/uploads/2009/09/clip_image014.jpg"><img style="border-width: 0px;" src="http://hashei.me/wp-content/uploads/2009/09/clip_image014_thumb.jpg" border="0" alt="clip_image014" width="244" height="176" /></a></p>
<h5>配置群集信息</h5>
<p>单击“切换显示”，再单击“添加”，输入Cluster的名称，Multicast address组播地址224.0.0.239 255.255.255.255，Cluster的组播地址和端口，Cluster地址可输可不输。单击“下一步”按钮</p>
<p><a href="http://hashei.me/wp-content/uploads/2009/09/clip_image016.jpg"><img style="border-width: 0px;" src="http://hashei.me/wp-content/uploads/2009/09/clip_image016_thumb.jpg" border="0" alt="clip_image016" width="244" height="176" /></a></p>
<h5>将“受管理服务器”添加到“集群”中</h5>
<p>选择左面列表中的app Managed Server，将其添加到右面的列表中，这里代理服务器不要添加到右边，单击“下一步”按钮</p>
<p><a href="http://hashei.me/wp-content/uploads/2009/09/clip_image018.jpg"><img style="border-width: 0px;" src="http://hashei.me/wp-content/uploads/2009/09/clip_image018_thumb.jpg" border="0" alt="clip_image018" width="244" height="176" /></a></p>
<h5>创建HTTP代理应用程序</h5>
<p>选中“为群集创建Http代理”，appCluster代理服务器选择前面没有加入appCluster的ProxyServer，单击“下一步”按钮</p>
<p><a href="http://hashei.me/wp-content/uploads/2009/09/clip_image020.jpg"><img style="border-width: 0px;" src="http://hashei.me/wp-content/uploads/2009/09/clip_image020_thumb.jpg" border="0" alt="clip_image020" width="244" height="176" /></a></p>
<h5>配置计算机</h5>
<p>新建AB所在物理服务器的主机名，端口默认为5556，此操作目的是生成Node manager配置，在wls10以后的版本中会自动添加node manager服务，9版本还要手动运行startNodeManager.cmd，或者手动添加到服务中去。单击“下一步”按钮</p>
<p><span style="color: #ff0000;">注：这里应该是在安装weblogic时候没有配置nodemanager的缘故，后续添加就需要运行<span><span style="color: #ff0000;">startNodeManager.cmd了</span></span></span></p>
<p><a href="http://hashei.me/wp-content/uploads/2009/09/clip_image022.jpg"><img style="border-width: 0px;" src="http://hashei.me/wp-content/uploads/2009/09/clip_image022_thumb.jpg" border="0" alt="clip_image022" width="244" height="176" /></a></p>
<h5>检查Weblogic域</h5>
<p>在此检查前面所做的配置，如果没有问题单击“下一步”按钮</p>
<p><a href="http://hashei.me/wp-content/uploads/2009/09/clip_image024.jpg"><img style="border-width: 0px;" src="http://hashei.me/wp-content/uploads/2009/09/clip_image024_thumb.jpg" border="0" alt="clip_image024" width="244" height="176" /></a></p>
<h5>创建Weblogic域</h5>
<p>输入要创建的域名和位置，此处域名可输入为Clust_domain，输入完成后单击“创建”按钮</p>
<p><a href="http://hashei.me/wp-content/uploads/2009/09/clip_image026.jpg"><img style="border-width: 0px;" src="http://hashei.me/wp-content/uploads/2009/09/clip_image026_thumb.jpg" border="0" alt="clip_image026" width="244" height="176" /></a></p>
<h5>正在创建域</h5>
<p>创建无误后，单击“完成”按钮</p>
<p><a href="http://hashei.me/wp-content/uploads/2009/09/clip_image028.jpg"><img style="border-width: 0px;" src="http://hashei.me/wp-content/uploads/2009/09/clip_image028_thumb.jpg" border="0" alt="clip_image028" width="244" height="176" /></a></p>
<p><strong>机器B上</strong></p>
<p>按上述步骤再次执行一遍，务必保证所有配置一样，当然也可以将A机上的user_projects/domain目录下的Clust_domain目录直接复制到B上。</p>
<h4>后续配置（重要）</h4>
<p><strong>编辑口令文件</strong></p>
<p>在刚才创建的域目录下建立boot.properties文件，内容为：</p>
<p>username=weblogic  /*用户名</p>
<p>password=weblogic /*密码</p>
<p><span style="color: #ff0000;">注：Oracle WebLogic 10.3之后添加boot.properties后有时依旧会让你输入用户名密码，这时候需要在domain目录下的server/your server/下新建一个security目录，然后把boot.properties放入，再启动就会看到这个文件被加密并直接运行下去了。</span></p>
<p><strong>编辑hosts文件</strong></p>
<p>添加对方主机名和IP相对应信息，避免node manager之间通讯问题。</p>
<p><strong>同步集群信息（在AB上分别进行）</strong></p>
<p>否则在控制台“机器”里“监视”看不到版本、状态等信息，同时在日志里输出</p>
<blockquote><p>Could not execute command &#8221; get Version&#8221; on the nodemanager.Reason : &#8220;I/O error while reading domain dirctory</p>
<p>或者 Could not use user *** to access ……permission deny</p></blockquote>
<p><span style="color: #ff0000;">注：和AdminServer同一台机器上的可以不用执行，因为在同一个域内</span></p>
<p>打开WLST工具（程序-weblogic-tools里）</p>
<p>linux/unix环境下先运行</p>
<p>刚开始是offline状态，运行connect(&#8216;用户名&#8217;,'密码&#8217;,'url’）连接到服务器，</p>
<p>例如connect(&#8216;weblogic&#8217;,'weblogic&#8217;,'t3://ip:7001&#8242;)</p>
<p>你也可以通过connect(help)查看帮助</p>
<p><span style="color: #ff0000;">2010年5月6更新</span></p>
<p>这一说后续待完成，就过了10个月。</p>
<p>在执行完connect（）命令后，接着运行</p>
<blockquote>
<div id="_mcePaste">nmEnroll (&#8216;D:/weblogic/wlserver_10.3/common/nodema</div>
<div id="_mcePaste">nager&#8217;)</div>
</blockquote>
<p>注意斜杠方向，虽然是windows，但不是反斜杠</p>
<p>整个过程，粗体是我执行的</p>
<blockquote><p><strong>D:\weblogic\wlserver_10.3\server\bin&gt;setWLSEnv.cmd</strong></p>
<p>CLASSPATH=d:\weblogic\patch_wls1033\profiles\default\sys_manifest_classpath\webl</p>
<p>ogic_patch.jar;D:\Java\jrmc\lib\tools.jar;D:\weblogic\WLSERV~1.3\server\lib\webl</p>
<p>ogic_sp.jar;D:\weblogic\WLSERV~1.3\server\lib\weblogic.jar;d:\weblogic\modules\f</p>
<p>eatures\weblogic.server.modules_10.3.3.0.jar;D:\weblogic\WLSERV~1.3\server\lib\w</p>
<p>ebservices.jar;d:\weblogic\modules\ORGAPA~1.1/lib/ant-all.jar;d:\weblogic\module</p>
<p>s\NETSFA~1.0_1/lib/ant-contrib.jar;</p>
<p>PATH=d:\weblogic\patch_wls1033\profiles\default\native;D:\weblogic\WLSERV~1.3\se</p>
<p>rver\native\win\x64;D:\weblogic\WLSERV~1.3\server\bin;d:\weblogic\modules\ORGAPA</p>
<p>~1.1\bin;D:\Java\jrmc\jre\bin;D:\Java\jrmc\bin;C:\WINDOWS\system32;C:\WINDOWS;C:</p>
<p>\WINDOWS\System32\Wbem;D:\weblogic\WLSERV~1.3\server\native\win\x64\oci920_8</p>
<p>Your environment has been set.</p>
<p><strong>D:\weblogic\wlserver_10.3\server\bin&gt;java weblogic.WLST</strong></p>
<p>Initializing WebLogic Scripting Tool (WLST) &#8230;</p>
<p>Welcome to WebLogic Server Administration Scripting Shell</p>
<p>Type help() for help on available commands</p>
<p><strong>wls:/offline&gt; connect()</strong></p>
<p>Please enter your username [weblogic] :<strong>weblogic</strong></p>
<p>Please enter your password [welcome1] :</p>
<p>Please enter your server URL [t3://localhost:7001] :<strong>t3://192.168.1.32:7001</strong></p>
<p>Connecting to t3://192.168.1.32:7001 with userid weblogic &#8230;</p>
<p>Successfully connected to Admin Server &#8216;AdminServer&#8217; that belongs to domain &#8216;hbj</p>
<p>_domain&#8217;.</p>
<p>Warning: An insecure protocol was used to connect to the</p>
<p>server. To ensure on-the-wire security, the SSL port or</p>
<p>Admin port should be used instead.</p>
<p>wls:/hbj_domain/serverConfig&gt;</p>
<p>wls:/hbj_domain/serverConfig&gt; <strong>nmEnroll (&#8216;D:/weblogic/wlserver_10.3/common/nodema</strong></p>
<p><strong>nager&#8217;</strong>)</p>
<p>Enrolling this machine with the domain directory at D:/weblogic/wlserver_10.3/co</p>
<p>mmon/nodemanager &#8230;</p>
<p>Successfully enrolled this machine with the domain directory at D:\weblogic\wlse</p>
<p>rver_10.3\common\nodemanager.</p></blockquote>
<p>经过以上步骤，就可以在管理控制台中，通过“服务器——your server——控制”来启动，但因为使用的是demo CA，日志里会提示不安全的信息。如果你希望使用自己的CA文件，可以参考这篇<a href="http://www.blogjava.net/security/archive/2007/09/04/weblogic_Nodemanager_configuration.html" target="_blank">《关于配置Weblogic的NodeManager服务》</a></p>
<h4>另一种选择</h4>
<p>如果nodemanager配置不成功，可以用命令行来启动，也很方便</p>
<p>首先用startWebLogic.sh(cmd)来启动管理控制台</p>
<p>然后 startManagedWebLogic.sh app1（cluster中的server名） http://*.*.*.*:7001 即可</p>
<p>启动proxy 使用startManagedWebLogic.sh proxy http://*.*.*.*:7001</p>
<p>停止server使用stopWebLogic.sh app1 t3://*.*.*.*:7001</p>
<p>管理控制台一般不用重启。</p>
<hr /><h2>Related posts:</h2><ul><li><a href="http://www.hashei.me/2009/04/patch-install-for-was.html" rel="bookmark" title="Permanent Link: Websphere入门篇（二）-为WAS打上补丁">Websphere入门篇（二）-为WAS打上补丁</a></li><li><a href="http://www.hashei.me/2010/05/weblogic%e5%a6%82%e4%bd%95%e6%9b%b4%e6%8d%a264%e4%bd%8djdk.html" rel="bookmark" title="Permanent Link: WebLogic如何更换64位JDK">WebLogic如何更换64位JDK</a></li><li><a href="http://www.hashei.me/2009/05/websphere-topology-terminology2.html" rel="bookmark" title="Permanent Link: Server Node Cell Cluster-WebSphere拓扑结构及术语介绍下">Server Node Cell Cluster-WebSphere拓扑结构及术语介绍下</a></li><li><a href="http://www.hashei.me/2009/05/websphere-topology-terminology.html" rel="bookmark" title="Permanent Link: Server Node Cell Cluster&mdash;Websphere拓扑结构及术语介绍上">Server Node Cell Cluster&mdash;Websphere拓扑结构及术语介绍上</a></li><li><a href="http://www.hashei.me/2009/08/install-weblogic-as-service-and-recovery-password.html" rel="bookmark" title="Permanent Link: 注册Weblogic9为Windows服务及外一篇">注册Weblogic9为Windows服务及外一篇</a></li></ul><hr /><small>  Copyright &copy; 2008 This feed is for personal, non-commercial use only<br />
<a href=www.hashei.com >聚沙成塔-小哈的记事薄</a> by hashei 
如果喜欢，欢迎订阅<a href=feed.hashei.com >feed.hashei.com</a><br />
Digital Fingerprint:
 10f920a9f2bae51c3c73c4f5fb50a949</small>]]></content:encoded>
			<wfw:commentRss>http://www.hashei.me/2009/09/weblogic-cluster-step-by-step.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>WebSphere Information Integrator安装过程</title>
		<link>http://www.hashei.me/2009/05/install-websphere-information-integrator.html?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=install-websphere-information-integrator</link>
		<comments>http://www.hashei.me/2009/05/install-websphere-information-integrator.html#comments</comments>
		<pubDate>Fri, 01 May 2009 05:23:00 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[IBM产品]]></category>
		<category><![CDATA[Federation Server]]></category>
		<category><![CDATA[Infosphere information Integrator]]></category>
		<category><![CDATA[wii]]></category>

		<guid isPermaLink="false">http://www.hashei.me/2009/05/install-websphere-information-integrator.html</guid>
		<description><![CDATA[ 

Wii是WebSphere Information Integrator的简称，原先是DB2中的一个组件，现在是单独的软件包，包括Websphere Federation Server，Websphere Replication Server和Websphere Data Event Publisher。现在WII又改名成Infosphere information Integrator，所以搜索找资料的时候，注意关键词的选用。
我这次装的版本是RepServ_9.5_Win_32-bit，补丁打到了sp2，sp3补丁地址见文中。

安装主机
192.16.29.234
Oracle 9.2.0.7，本地建立客户端并配置好
192..16.29.235:1521 sid:reposity

 


 




 


选择安装目录
 


选择需要安装的包装器
 


勾上简体中文语音
 


填入本地以创建的一个具有管理员权限的用户
 


 


安装完成。
 


运行补丁之前先把相关服务和进程全部停止。
运行v9.5fp2_nt32_server.exe，出现如下画面，选择使用现有产品。
 






安装程序会发现之前已经安装过的DB2副本


这里要选择包装器的补丁所在的磁盘目录，为v9.5fp2_nt32_iirw.exe解压出来的目录。Sp3的话两个补丁集成在了一起，因为补丁很大，所以测试就没有另下sp3的补丁。
附注sp3补丁下载地址
ftp://ftp.software.ibm.com/ps/products/db2/fixes2/english-us/db2winIA32v95/fixpack/FP3_WR21419/v9.5fp3_nt32_wsfs.zip
之后就等打补丁完毕即可

Wii的配置使用比较难，我找到了一些文档，列在这里供各位参考。
官方在线帮助：
http://publib.boulder.ibm.com/infocenter/db2luw/v9r5/index.jsp?topic=/com.ibm.db2.luw.wn.doc/doc/c0051998.html
打开后找到Federation，点开Configuring federation and data sources
IBM的这份官方帮助很详细，配置联邦的每一步步骤，包括从控制台中设置、用命令设置，都包括示例，写得很详细
官方教学文章
利用DB2 SQL Replication实现从Oracle到Informix的复制
http://www.ibm.com/developerworks/cn/data/library/techarticles/dm-0604xiaozc/index.html
DB2 与 Oracle 之间的远程复制
http://www.ibm.com/developerworks/cn/data/library/techarticles/dm-0603baiyy/index.html
用 InforSphere Replication Server 实现多种数据源之间的数据复制
http://www.ibm.com/developerworks/cn/data/library/techarticles/dm-0902chengyj/index.html
更多的文章，可以在
http://www.ibm.com/developerworks/cn/views/data/libraryview.jsp?sort_by=Date&#38;show_abstract=true&#38;show_all=false&#38;search_flag=true&#38;topic_by=请选择一个主题或产品&#38;type_by=所有类别&#38;search_by=Information+Integrator
上找到

首先明确个概念，wii是通过本地建立一个DB2数据库，并且加载不同的包装器，得以连接不同类型的数据源，所以本地db2数据库是一定要建一个的，不过这个数据库的配置可以用默认的设置，所有调整都交给db2自己来管理。
配置用户映射
我是用之前安装的wii用户进行映射，映射目标数据库的用户名密码，如果需要区分管理的话可以自行建立多个用户（是计算机用户）
建立昵称
建立昵称前，首先要在DB2的数据库上右键连接，用的就是上一步进行映射的本地用户名密码，否则建立昵称时候会报数据库用户名密码不对的错。
如果目标上的表比较多，那么使用“发现”方式建立昵称中间的停顿时间会比较长，如果知道表名，可以手动建立，远程模式的值，输入映射的时候数据库的用户名。
Related posts:Websphere入门篇（二）-为WAS打上补丁AIX环境下安装DB2 9.1及Inforsphere information integratorIBM WebSphere最新技术支持信息软硬兼施 优化 WebSphere Application ServerIBM WebSphere Recent Supports  Copyright &#169; 2008 This feed is for personal, non-commercial use only
聚沙成塔-小哈的记事薄 by hashei 
如果喜欢，欢迎订阅feed.hashei.com
Digital Fingerprint:
 [...]]]></description>
			<content:encoded><![CDATA[<p style="text-indent: 24pt"> </p>
<h4><a name="_Toc227396832"></a></h4>
<p>Wii是<em>WebSphere Information Integrator</em>的简称，原先是DB2中的一个组件，现在是单独的软件包，包括Websphere Federation Server，Websphere Replication Server和Websphere Data Event Publisher。现在WII又改名成<strong>Infosphere information Integrator</strong>，所以搜索找资料的时候，注意关键词的选用。</p>
<p>我这次装的版本是RepServ_9.5_Win_32-bit，补丁打到了sp2，sp3补丁地址见文中。</p>
<h4><a name="_Toc227396833"></a><a name="_Toc227384814"></a></h4>
<p>安装主机</p>
<p>192.16.29.234</p>
<p>Oracle 9.2.0.7，本地建立客户端并配置好</p>
<p>192..16.29.235:1521 sid:reposity</p>
<h4><a name="_Toc227396834"></a><a name="_Toc227384815"></a></h4>
<p> </p>
<div id="scid:51CF81A4-8F44-4a2c-8837-198C090B9994:4f687949-a76c-461f-82db-99390a6c99b7" class="wlWriterSmartContent" style="padding-right: 5px; display: inline; padding-left: 5px; float: none; padding-bottom: 5px; margin: 0px; padding-top: 5px">
<p><a href="http://picasaweb.google.com/JaintKiller/WwwHasheiMe/photo?authkey=Gv1sRgCKn7u9Oi0YGRFQ#s5330710236177617090"><img style="border-right: 2px; border-top: 2px; border-left: 2px; border-bottom: 2px" src="http://lh3.ggpht.com/_kid_Cf7Npog/Sfp8vEXwbkI/AAAAAAAAAUE/XkxfDCoeyrM/s400/install1.jpg" alt="" width="400" height="299" /></a></div>
<p> </p>
<div id="scid:51CF81A4-8F44-4a2c-8837-198C090B9994:3459937b-3491-43b4-ae15-bdc03b434d20" class="wlWriterSmartContent" style="padding-right: 0px; display: inline; padding-left: 0px; float: none; padding-bottom: 0px; margin: 0px; padding-top: 0px">
<p><a href="http://picasaweb.google.com/JaintKiller/WwwHasheiMe/photo?authkey=Gv1sRgCKn7u9Oi0YGRFQ#s5330710236177617090"><img style="border-right: 2px; border-top: 2px; border-left: 2px; border-bottom: 2px" src="http://lh6.ggpht.com/_kid_Cf7Npog/Sfp8wfPaCRI/AAAAAAAAAUI/IBWD032Sfwg/s400/install2.jpg" alt="" width="400" height="300" /></a></div>
<div id="scid:51CF81A4-8F44-4a2c-8837-198C090B9994:59b729a4-57e7-47e5-ad62-cf15aa6c75c0" class="wlWriterSmartContent" style="padding-right: 0px; display: inline; padding-left: 0px; float: none; padding-bottom: 0px; margin: 0px; padding-top: 0px">
<p><a href="http://picasaweb.google.com/JaintKiller/WwwHasheiMe/photo?authkey=Gv1sRgCKn7u9Oi0YGRFQ#s5330710236177617090"><img style="border-right: 2px; border-top: 2px; border-left: 2px; border-bottom: 2px" src="http://lh5.ggpht.com/_kid_Cf7Npog/Sfp8xfURSLI/AAAAAAAAAUM/5YrUvCQe_Qo/s400/install3.jpg" alt="" width="400" height="300" /></a></div>
<p> </p>
<div id="scid:51CF81A4-8F44-4a2c-8837-198C090B9994:ca85072d-113a-4797-a703-6cff8d0ae575" class="wlWriterSmartContent" style="padding-right: 0px; display: inline; padding-left: 0px; float: none; padding-bottom: 0px; margin: 0px; padding-top: 0px">
<p><a href="http://picasaweb.google.com/JaintKiller/WwwHasheiMe?authkey=Gv1sRgCKn7u9Oi0YGRFQ"><img style="border-right: 2px; border-top: 2px; border-left: 2px; border-bottom: 2px" src="http://lh6.ggpht.com/_kid_Cf7Npog/Sfp8x9ecwtI/AAAAAAAAAUQ/zESaqOIDJe4/s400/install4.jpg" alt="" width="400" height="300" /></a></div>
<p>选择安装目录</p>
<p> </p>
<div id="scid:51CF81A4-8F44-4a2c-8837-198C090B9994:e8cd1229-2919-4e6a-a7c0-103aee906154" class="wlWriterSmartContent" style="padding-right: 0px; display: inline; padding-left: 0px; float: none; padding-bottom: 0px; margin: 0px; padding-top: 0px">
<p><a href="http://picasaweb.google.com/JaintKiller/WwwHasheiMe/photo?authkey=Gv1sRgCKn7u9Oi0YGRFQ#s5330710236177617090"><img style="border-right: 2px; border-top: 2px; border-left: 2px; border-bottom: 2px" src="http://lh6.ggpht.com/_kid_Cf7Npog/Sfp8y-q0E0I/AAAAAAAAAUU/82cTYwxVLQY/s400/install5.jpg" alt="" width="400" height="298" /></a></div>
<p>选择需要安装的包装器</p>
<p> </p>
<div id="scid:51CF81A4-8F44-4a2c-8837-198C090B9994:d3cd31fa-eb4b-4e25-aaa1-d29a3f2682c4" class="wlWriterSmartContent" style="padding-right: 0px; display: inline; padding-left: 0px; float: none; padding-bottom: 0px; margin: 0px; padding-top: 0px">
<p><img style="border-right: 2px; border-top: 2px; border-left: 2px; border-bottom: 2px" src="http://lh4.ggpht.com/_kid_Cf7Npog/Sfp8zcx8v2I/AAAAAAAAAUY/xSLRMTAVdYA/s400/install6.jpg" alt="" width="400" height="297" /></div>
<p>勾上简体中文语音</p>
<p> </p>
<div id="scid:51CF81A4-8F44-4a2c-8837-198C090B9994:b83bbaca-6965-47b2-8f5d-1740e6da38f4" class="wlWriterSmartContent" style="padding-right: 0px; display: inline; padding-left: 0px; float: none; padding-bottom: 0px; margin: 0px; padding-top: 0px">
<p><img style="border-right: 2px; border-top: 2px; border-left: 2px; border-bottom: 2px" src="http://lh4.ggpht.com/_kid_Cf7Npog/Sfp80FcFF6I/AAAAAAAAAUc/efzga0qD1FY/s400/install7.jpg" alt="" width="400" height="297" /></div>
<p>填入本地以创建的一个具有管理员权限的用户</p>
<p> </p>
<div id="scid:51CF81A4-8F44-4a2c-8837-198C090B9994:fbb3c5dc-59b2-40fd-bd9f-8b294e919e26" class="wlWriterSmartContent" style="padding-right: 0px; display: inline; padding-left: 0px; float: none; padding-bottom: 0px; margin: 0px; padding-top: 0px">
<p><img style="border-right: 2px; border-top: 2px; border-left: 2px; border-bottom: 2px" src="http://lh3.ggpht.com/_kid_Cf7Npog/Sfp80SEr5FI/AAAAAAAAAUg/QAWrEXUU5xM/s400/install8.jpg" alt="" width="400" height="298" /></div>
<p> </p>
<div id="scid:51CF81A4-8F44-4a2c-8837-198C090B9994:457b27b1-9895-41f6-9ef0-ef27cf2dac43" class="wlWriterSmartContent" style="padding-right: 0px; display: inline; padding-left: 0px; float: none; padding-bottom: 0px; margin: 0px; padding-top: 0px">
<p><img style="border-right: 2px; border-top: 2px; border-left: 2px; border-bottom: 2px" src="http://lh5.ggpht.com/_kid_Cf7Npog/Sfp81fMBbZI/AAAAAAAAAUo/xWmKUTqVe5A/s400/install10.jpg" alt="" width="400" height="299" /></div>
<p>安装完成。</p>
<p> </p>
<p><span id="more-242"></span></p>
<h4><a name="_Toc227396835"></a></h4>
<p>运行补丁之前先把相关服务和进程全部停止。</p>
<p>运行v9.5fp2_nt32_server.exe，出现如下画面，选择使用现有产品。</p>
<p> </p>
<div id="scid:51CF81A4-8F44-4a2c-8837-198C090B9994:e6eb2fb9-9774-4b0c-ad4b-b14a30f65a88" class="wlWriterSmartContent" style="padding-right: 0px; display: inline; padding-left: 0px; float: none; padding-bottom: 0px; margin: 0px; padding-top: 0px">
<p><img style="border-right: 2px; border-top: 2px; border-left: 2px; border-bottom: 2px" src="http://lh6.ggpht.com/_kid_Cf7Npog/Sfp83ddeu8I/AAAAAAAAAU0/cREQBYbwxFs/s400/patch%20pack2-2.jpg" alt="" width="400" height="294" /></div>
<div id="scid:51CF81A4-8F44-4a2c-8837-198C090B9994:40e768ec-cef4-4484-9ffc-4fc40749f97a" class="wlWriterSmartContent" style="padding-right: 0px; display: inline; padding-left: 0px; float: none; padding-bottom: 0px; margin: 0px; padding-top: 0px">
<p><img style="border-right: 2px; border-top: 2px; border-left: 2px; border-bottom: 2px" src="http://lh4.ggpht.com/_kid_Cf7Npog/SfqGyiZfJDI/AAAAAAAAAU4/fvA1Uuunq-8/s400/patch%20pack2.jpg" alt="" width="400" height="275" /></div>
<div id="scid:51CF81A4-8F44-4a2c-8837-198C090B9994:b0762287-7d6d-4ec5-859d-98a647ea367f" class="wlWriterSmartContent" style="padding-right: 0px; display: inline; padding-left: 0px; float: none; padding-bottom: 0px; margin: 0px; padding-top: 0px">
<p><img style="border-right: 2px; border-top: 2px; border-left: 2px; border-bottom: 2px" src="http://lh6.ggpht.com/_kid_Cf7Npog/Sfp81uHNW4I/AAAAAAAAAUs/hW8DvYOT67Y/s400/patch1.jpg" alt="" width="400" height="317" /></div>
<p>安装程序会发现之前已经安装过的DB2副本</p>
<div id="scid:51CF81A4-8F44-4a2c-8837-198C090B9994:fdc33484-dfc8-466c-a4d7-6cf918256ad1" class="wlWriterSmartContent" style="padding-right: 0px; display: inline; padding-left: 0px; float: none; padding-bottom: 0px; margin: 0px; padding-top: 0px">
<p><img style="border-right: 2px; border-top: 2px; border-left: 2px; border-bottom: 2px" src="http://lh3.ggpht.com/_kid_Cf7Npog/Sfp82DY87LI/AAAAAAAAAUw/MdqujqZKRcg/s400/patch3.jpg" alt="" width="400" height="294" /></div>
<p>这里要选择包装器的补丁所在的磁盘目录，为v9.5fp2_nt32_iirw.exe解压出来的目录。Sp3的话两个补丁集成在了一起，因为补丁很大，所以测试就没有另下sp3的补丁。</p>
<p>附注sp3补丁下载地址</p>
<p><a href="ftp://ftp.software.ibm.com/ps/products/db2/fixes2/english-us/db2winIA32v95/fixpack/FP3_WR21419/v9.5fp3_nt32_wsfs.zip">ftp://ftp.software.ibm.com/ps/products/db2/fixes2/english-us/db2winIA32v95/fixpack/FP3_WR21419/v9.5fp3_nt32_wsfs.zip</a></p>
<p>之后就等打补丁完毕即可</p>
<h4><a name="_Toc227396836"></a></h4>
<p>Wii的配置使用比较难，我找到了一些文档，列在这里供各位参考。</p>
<p>官方在线帮助：</p>
<p><a href="http://publib.boulder.ibm.com/infocenter/db2luw/v9r5/index.jsp?topic=/com.ibm.db2.luw.wn.doc/doc/c0051998.html">http://publib.boulder.ibm.com/infocenter/db2luw/v9r5/index.jsp?topic=/com.ibm.db2.luw.wn.doc/doc/c0051998.html</a></p>
<p>打开后找到Federation，点开Configuring federation and data sources</p>
<p>IBM的这份官方帮助很详细，配置联邦的每一步步骤，包括从控制台中设置、用命令设置，都包括示例，写得很详细</p>
<p>官方教学文章</p>
<p>利用DB2 SQL Replication实现从Oracle到Informix的复制</p>
<p><a href="http://www.ibm.com/developerworks/cn/data/library/techarticles/dm-0604xiaozc/index.html">http://www.ibm.com/developerworks/cn/data/library/techarticles/dm-0604xiaozc/index.html</a></p>
<p>DB2 与 Oracle 之间的远程复制</p>
<p><a href="http://www.ibm.com/developerworks/cn/data/library/techarticles/dm-0603baiyy/index.html">http://www.ibm.com/developerworks/cn/data/library/techarticles/dm-0603baiyy/index.html</a></p>
<p>用 InforSphere Replication Server 实现多种数据源之间的数据复制</p>
<p><a href="http://www.ibm.com/developerworks/cn/data/library/techarticles/dm-0902chengyj/index.html">http://www.ibm.com/developerworks/cn/data/library/techarticles/dm-0902chengyj/index.html</a></p>
<p>更多的文章，可以在</p>
<p><a href="http://www.ibm.com/developerworks/cn/views/data/libraryview.jsp?sort_by=Date&amp;show_abstract=true&amp;show_all=false&amp;search_flag=true&amp;topic_by=%E8%AF%B7%E9%80%89%E6%8B%A9%E4%B8%80%E4%B8%AA%E4%B8%BB%E9%A2%98%E6%88%96%E4%BA%A7%E5%93%81&amp;type_by=%E6%89%80%E6%9C%89%E7%B1%BB%E5%88%AB&amp;search_by=Information+Integrator">http://www.ibm.com/developerworks/cn/views/data/libraryview.jsp?sort_by=Date&amp;show_abstract=true&amp;show_all=false&amp;search_flag=true&amp;topic_by=请选择一个主题或产品&amp;type_by=所有类别&amp;search_by=Information+Integrator</a></p>
<p>上找到</p>
<h4><a name="_Toc227396837"></a></h4>
<p>首先明确个概念，wii是通过本地建立一个DB2数据库，并且加载不同的包装器，得以连接不同类型的数据源，所以本地db2数据库是一定要建一个的，不过这个数据库的配置可以用默认的设置，所有调整都交给db2自己来管理。</p>
<p><strong>配置用户映射</strong></p>
<p>我是用之前安装的wii用户进行映射，映射目标数据库的用户名密码，如果需要区分管理的话可以自行建立多个用户（是计算机用户）</p>
<p><strong>建立昵称</strong></p>
<p>建立昵称前，首先要在DB2的数据库上右键连接，用的就是上一步进行映射的本地用户名密码，否则建立昵称时候会报数据库用户名密码不对的错。</p>
<p>如果目标上的表比较多，那么使用“发现”方式建立昵称中间的停顿时间会比较长，如果知道表名，可以手动建立，远程模式的值，输入映射的时候数据库的用户名。</p>
<hr /><h2>Related posts:</h2><ul><li><a href="http://www.hashei.me/2009/04/patch-install-for-was.html" rel="bookmark" title="Permanent Link: Websphere入门篇（二）-为WAS打上补丁">Websphere入门篇（二）-为WAS打上补丁</a></li><li><a href="http://www.hashei.me/2009/11/install_db2v9-1.html" rel="bookmark" title="Permanent Link: AIX环境下安装DB2 9.1及Inforsphere information integrator">AIX环境下安装DB2 9.1及Inforsphere information integrator</a></li><li><a href="http://www.hashei.me/2009/12/ibm_support_newsletter_for_websphere_application_server_1219.html" rel="bookmark" title="Permanent Link: IBM WebSphere最新技术支持信息">IBM WebSphere最新技术支持信息</a></li><li><a href="http://www.hashei.me/2010/02/tunning-websphere-application-server-was.html" rel="bookmark" title="Permanent Link: 软硬兼施 优化 WebSphere Application Server">软硬兼施 优化 WebSphere Application Server</a></li><li><a href="http://www.hashei.me/2009/09/ibm_websphere_support_tips1.html" rel="bookmark" title="Permanent Link: IBM WebSphere Recent Supports">IBM WebSphere Recent Supports</a></li></ul><hr /><small>  Copyright &copy; 2008 This feed is for personal, non-commercial use only<br />
<a href=www.hashei.com >聚沙成塔-小哈的记事薄</a> by hashei 
如果喜欢，欢迎订阅<a href=feed.hashei.com >feed.hashei.com</a><br />
Digital Fingerprint:
 10f920a9f2bae51c3c73c4f5fb50a949</small>]]></content:encoded>
			<wfw:commentRss>http://www.hashei.me/2009/05/install-websphere-information-integrator.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>一次因为系统参数而导致的WAS无响应</title>
		<link>http://www.hashei.me/2009/04/was-too-many-open-files.html?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=was-too-many-open-files</link>
		<comments>http://www.hashei.me/2009/04/was-too-many-open-files.html#comments</comments>
		<pubDate>Thu, 30 Apr 2009 14:41:12 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Websphere系列]]></category>
		<category><![CDATA[排错]]></category>
		<category><![CDATA[rlimit]]></category>
		<category><![CDATA[too many open files]]></category>
		<category><![CDATA[troubleshooting]]></category>

		<guid isPermaLink="false">http://www.hashei.me/2009/04/was-too-many-open-files.html</guid>
		<description><![CDATA[最近一个项目在做压力测试的时候，压力测试人员设置完脚本运行8小时后，第二天总会发现虽然脚本运行正常，但是有一个节点上的Server没有相应。查看日志说日志没有任何报错，记录的最后一条总是前一天的半夜。因为半夜正好是做批处理的时候，一开始怀疑是否是这导致的宕机，但是停掉批处理程序后依旧发生这种现象（而且是在下班时刻发生），也就排除了这个可能。
下面是我的排错经过：
查看无法提供服务的app2的systemout.log日志，发现从昨天晚上5点09分后，没有新的日志输出。最后的日志为
[4/15/09 17:09:28:193 GMT+08:00] 00000953 IncidentStrea W com.ibm.ws.ffdc.IncidentStreamImpl write FFDC0013I: FFDC failed to write to incident stream file /was/IBM/WebSphere/AppServer/profiles/AppSrv01/logs/ffdc/APP2_44ca44ca_09.04.15_17.09.28_0.txt, caught exception java.lang.NullPointerException
 
查看system.err文件，没有发现有价值的内容
于是查看ffdc目录下的17：09生成的日志，在APP2_7b2c7b2c_09.04.15_17.09.27_0.txt中发现有Stack Dump = javax.imageio.IIOException: Can&#8217;t create output stream!信息。
在APP2_2e542e54_09.04.15_17.09.27_1.txt中发现有Caused by: [SOAPException: faultCode=SOAP-ENV:Client; msg=Error opening socket: java.net.SocketException: Too many open files; targetException=java.lang.IllegalArgumentException: Error opening socket: java.net.SocketException: Too many open files]
 
于是使用ulimit –a命令查看AIX的limit参数
APP2:/was/IBM/WebSphere/AppServer/profiles/AppSrv01/logs/ffdc#ulimit -a
time(seconds) unlimited
file(blocks) 2097151
data(kbytes) 131072
stack(kbytes) 32768
memory(kbytes) 32768
coredump(blocks) [...]]]></description>
			<content:encoded><![CDATA[<p style="text-indent: 24pt">最近一个项目在做压力测试的时候，压力测试人员设置完脚本运行8小时后，第二天总会发现虽然脚本运行正常，但是有一个节点上的Server没有相应。查看日志说日志没有任何报错，记录的最后一条总是前一天的半夜。因为半夜正好是做批处理的时候，一开始怀疑是否是这导致的宕机，但是停掉批处理程序后依旧发生这种现象（而且是在下班时刻发生），也就排除了这个可能。</p>
<p style="text-indent: 24pt">下面是我的排错经过：</p>
<p>查看无法提供服务的app2的systemout.log日志，发现从昨天晚上5点09分后，没有新的日志输出。最后的日志为</p>
<div style="border-right: #000000 1px dashed; padding-right: 14px; border-top: #000000 1px dashed; padding-left: 14px; padding-bottom: 14px; border-left: #000000 1px dashed; padding-top: 14px; border-bottom: #000000 1px dashed; background-color: #ffffe0">[4/15/09 17:09:28:193 GMT+08:00] 00000953 IncidentStrea W com.ibm.ws.ffdc.IncidentStreamImpl write FFDC0013I: FFDC failed to write to incident stream file /was/IBM/WebSphere/AppServer/profiles/AppSrv01/logs/ffdc/APP2_44ca44ca_09.04.15_17.09.28_0.txt, caught exception java.lang.NullPointerException</div>
<p> </p>
<p>查看system.err文件，没有发现有价值的内容</p>
<p>于是查看ffdc目录下的17：09生成的日志，在APP2_7b2c7b2c_09.04.15_17.09.27_0.txt中发现有Stack Dump = javax.imageio.IIOException: <strong>Can&#8217;t create output stream!</strong>信息。</p>
<div style="border-right: #000000 1px dashed; padding-right: 14px; border-top: #000000 1px dashed; padding-left: 14px; padding-bottom: 14px; border-left: #000000 1px dashed; padding-top: 14px; border-bottom: #000000 1px dashed; background-color: #ffffe0">在APP2_2e542e54_09.04.15_17.09.27_1.txt中发现有Caused by: [SOAPException: faultCode=SOAP-ENV:Client; msg=Error opening socket: java.net.SocketException: Too many open files; targetException=java.lang.IllegalArgumentException: Error opening socket: java.net.SocketException: Too many open files]</div>
<p> </p>
<p>于是使用ulimit –a命令查看AIX的limit参数</p>
<div style="border-right: #000000 1px dashed; padding-right: 14px; border-top: #000000 1px dashed; padding-left: 14px; padding-bottom: 14px; border-left: #000000 1px dashed; padding-top: 14px; border-bottom: #000000 1px dashed; background-color: #ffffe0">APP2:/was/IBM/WebSphere/AppServer/profiles/AppSrv01/logs/ffdc#ulimit -a<br />
time(seconds) unlimited<br />
file(blocks) 2097151<br />
data(kbytes) 131072<br />
stack(kbytes) 32768<br />
memory(kbytes) 32768<br />
coredump(blocks) 2097151<br />
nofiles(descriptors) 2000</div>
<p> </p>
<p>发现一个进程可以打开的最大文件数为2000.</p>
<p>用ps –ef | grep java命令找到app2的sid，然后用procfiles sid命令查看app2的进程现在打开了多少文件</p>
<p>APP2:/was/IBM/WebSphere/AppServer/profiles/AppSrv01/bin#procfiles 815304</p>
<p>815304 : /was/IBM/WebSphere/AppServer/java/bin/java -Declipse.security -Dwas.status.sock</p>
<p><strong>Current rlimit: 2000 file descriptors</strong></p>
<p><strong>………………</strong></p>
<p>1993: S_IFREG mode:0444 dev:10,15 ino:160745 uid:0 gid:0 rdev:0,0</p>
<p>O_RDONLY size:15694</p>
<p>1994: S_IFREG mode:0444 dev:10,15 ino:160745 uid:0 gid:0 rdev:0,0</p>
<p>O_RDONLY size:15694</p>
<p>1995: S_IFREG mode:0444 dev:10,15 ino:160745 uid:0 gid:0 rdev:0,0</p>
<p>O_RDONLY size:15694</p>
<p>1999: S_IFREG mode:0444 dev:10,15 ino:164300 uid:0 gid:0 rdev:0,0</p>
<p>O_RDONLY size:1042</p>
<p>打开文件数已经到达2000，于是app2无法创建新的systemout.log日志文件，也就无法再提供服务。</p>
<p>由此分析得AIX的nofiles参数对于websphere来说不够大（对于Hp-ux，安装前调整系统参数时就需要把maxfiles调整为8192，但是AIX内核是自调整，所以IBM安装要求上没有提到需要手动修改什么参数）特别是在压力测试时候，短时间内的积累可能会达到2000的限制，实际生产环境中也可能会遇到如此情况，当然集群中另外一台APP跑的好好的也挺让人奇怪。</p>
<p>接下来就是调整ulimit中的nofiles限制到4096，然后重启nodeagent，再由控制台重启app即可。当然也可以直接用命令重启app，但是因为nodeagent没有重启过，环境变量没有生效，下次在控制台中重启app后nofiles依旧会被限制在2000。</p>
<hr /><h2>Related posts:</h2><ul><li><a href="http://www.hashei.me/2009/06/cannot-open-google-docs.html" rel="bookmark" title="Permanent Link: Google Docs不能打开问题">Google Docs不能打开问题</a></li><li><a href="http://www.hashei.me/2009/08/cr370915_in_weblogic10-3_and_jdk1-6.html" rel="bookmark" title="Permanent Link: Weblogic10.3.0在AIX6.1、JDK1.6下挂起解决方法">Weblogic10.3.0在AIX6.1、JDK1.6下挂起解决方法</a></li><li><a href="http://www.hashei.me/2009/06/separating_static_content_from_dynamic_content.html" rel="bookmark" title="Permanent Link: 各司其职-WebSphere的动静分离">各司其职-WebSphere的动静分离</a></li><li><a href="http://www.hashei.me/2009/05/websphere-topology-terminology.html" rel="bookmark" title="Permanent Link: Server Node Cell Cluster&mdash;Websphere拓扑结构及术语介绍上">Server Node Cell Cluster&mdash;Websphere拓扑结构及术语介绍上</a></li><li><a href="http://www.hashei.me/2009/07/san-guo-sha.html" rel="bookmark" title="Permanent Link: 士别三日">士别三日</a></li></ul><hr /><small>  Copyright &copy; 2008 This feed is for personal, non-commercial use only<br />
<a href=www.hashei.com >聚沙成塔-小哈的记事薄</a> by hashei 
如果喜欢，欢迎订阅<a href=feed.hashei.com >feed.hashei.com</a><br />
Digital Fingerprint:
 10f920a9f2bae51c3c73c4f5fb50a949</small>]]></content:encoded>
			<wfw:commentRss>http://www.hashei.me/2009/04/was-too-many-open-files.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Websphere入门篇（三）-建立连接池</title>
		<link>http://www.hashei.me/2009/04/connect-to-database.html?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=connect-to-database</link>
		<comments>http://www.hashei.me/2009/04/connect-to-database.html#comments</comments>
		<pubDate>Tue, 28 Apr 2009 14:12:35 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Websphere系列]]></category>
		<category><![CDATA[初级入门]]></category>
		<category><![CDATA[basic]]></category>
		<category><![CDATA[config]]></category>
		<category><![CDATA[jdbc]]></category>
		<category><![CDATA[was]]></category>

		<guid isPermaLink="false">http://www.hashei.me/?p=229</guid>
		<description><![CDATA[1        WebSphere配置
1.1      通过 http://hostname:9060/admin进入Websphere 管理控制台，并用管理员用户登录
1.2      设置Oracle驱动环境变量（针对Oracle数据库）
1.2.1   将oracle的java驱动ojdbc14.jar复制到&#8230;/WebSphere/AppServer/lib/ext目录中。
1.2.2   修改数据库驱动环境变量
Ø        进入&#8221;环境àWebSphere变量&#8221;
Ø        修改ORACLE JDBC DRIVER PATH，值为1.2.1节中ojdbc14.jar 所在的目录，使用绝对路径。
Ø        确定并保存
1.3      新建J2C认证数据
Ø        进入&#8221;安全性——安全管理、应用程序和基础结构—— Java 认证和授权服务（JAAS）——J2C认证数据&#8221;
Ø        新建一个认证数据条目
Ø        别名为：取一个容易记住的，假设为bm1
Ø        用户标识为：  数据库连接用户
Ø        密码为：  数据库连接密码
1.4      新建JDBC提供者
Ø        进入&#8221;资源——JDBC——JDBC提供程序&#8221;
Ø        选择合适的作用域，一般选择server1
Ø        新建JDBC提供程序
Ø        数据库类型为：oracle
Ø        提供者类型为：Oracle JDBC Driver
Ø        实施类型为：连接池数据源
Ø        名称为：oracle92
Ø        点击下一步
Ø        类路径为：${ORACLE JDBC DRIVER PATH}/ojdbc14.jar
Ø        下一步
Ø        完成并保存
1.5      新建数据源
Ø        进入&#8221;资源——JDBC——数据源&#8221;
Ø        选择合适的作用域，一般选择server1（根据你要发布的Server来）
Ø        新建数据源
Ø        名称为：随便起
Ø        JNDI名称为：jdbc/需要使用的jndi name
Ø        组件管理的认证别名为：hostnameNode01/ bm1（还记得之前建立的J2C别名么）
Ø        下一步
Ø        选择刚才建立的JDBC提供程序，
Ø        设置URL：jdbc:oracle:thin:@ip:1521:sid
Ø        下一步
Ø        [...]]]></description>
			<content:encoded><![CDATA[<p><strong>1        </strong><strong>WebSphere</strong><strong>配置</strong></p>
<p>1.1      通过 http://hostname:9060/admin进入Websphere 管理控制台，并用管理员用户登录</p>
<p>1.2      设置Oracle驱动环境变量（针对Oracle数据库）</p>
<p>1.2.1   将oracle的java驱动ojdbc14.jar复制到&#8230;/WebSphere/AppServer/lib/ext目录中。</p>
<p>1.2.2   修改数据库驱动环境变量</p>
<p>Ø        进入&#8221;环境àWebSphere变量&#8221;</p>
<p>Ø        修改ORACLE JDBC DRIVER PATH，值为1.2.1节中ojdbc14.jar 所在的目录，使用绝对路径。</p>
<p>Ø        确定并保存</p>
<p>1.3      新建J2C认证数据</p>
<p>Ø        进入&#8221;安全性——安全管理、应用程序和基础结构—— Java 认证和授权服务（JAAS）——J2C认证数据&#8221;</p>
<p>Ø        新建一个认证数据条目</p>
<p>Ø        别名为：取一个容易记住的，假设为bm1</p>
<p>Ø        用户标识为：  数据库连接用户</p>
<p>Ø        密码为：  数据库连接密码</p>
<p>1.4      新建JDBC提供者</p>
<p>Ø        进入&#8221;资源——JDBC——JDBC提供程序&#8221;</p>
<p>Ø        选择合适的作用域，一般选择server1</p>
<p>Ø        新建JDBC提供程序</p>
<p>Ø        数据库类型为：oracle</p>
<p>Ø        提供者类型为：Oracle JDBC Driver</p>
<p>Ø        实施类型为：连接池数据源</p>
<p>Ø        名称为：oracle92</p>
<p>Ø        点击下一步</p>
<p>Ø        类路径为：${ORACLE JDBC DRIVER PATH}/ojdbc14.jar</p>
<p>Ø        下一步</p>
<p>Ø        完成并保存</p>
<p>1.5      新建数据源</p>
<p>Ø        进入&#8221;资源——JDBC——数据源&#8221;</p>
<p>Ø        选择合适的作用域，一般选择server1（根据你要发布的Server来）</p>
<p>Ø        新建数据源</p>
<p>Ø        名称为：随便起</p>
<p>Ø        JNDI名称为：jdbc/需要使用的jndi name</p>
<p>Ø        组件管理的认证别名为：hostnameNode01/ bm1（还记得之前建立的J2C别名么）</p>
<p>Ø        下一步</p>
<p>Ø        选择刚才建立的JDBC提供程序，</p>
<p>Ø        设置URL：jdbc:oracle:thin:@ip:1521:sid</p>
<p>Ø        下一步</p>
<p>Ø        确定并保存</p>
<p>Ø        选择刚刚建立的数据源，测试连接，看看是否正常</p>
<hr /><h2>Related posts:</h2><ul><li><a href="http://www.hashei.me/2009/08/jdbc_causes_server_hang.html" rel="bookmark" title="Permanent Link: JDBC引发的服务器hang解决思路">JDBC引发的服务器hang解决思路</a></li><li><a href="http://www.hashei.me/2010/05/enable-lagepages-for-jvm.html" rel="bookmark" title="Permanent Link: 为JVM启用大页面支持">为JVM启用大页面支持</a></li><li><a href="http://www.hashei.me/2010/02/oracle-04020_and_oracle-00942_problems.html" rel="bookmark" title="Permanent Link: 充当了一回DBA">充当了一回DBA</a></li><li><a href="http://www.hashei.me/2009/09/weblogic-cluster-step-by-step.html" rel="bookmark" title="Permanent Link: WebLogic9和10集群安装配置过程">WebLogic9和10集群安装配置过程</a></li><li><a href="http://www.hashei.me/2009/10/db2_cluster_with_microsoft_mscs.html" rel="bookmark" title="Permanent Link: 在Windows 上利用 MSCS 创建高可用性的 DB2 集群服务">在Windows 上利用 MSCS 创建高可用性的 DB2 集群服务</a></li></ul><hr /><small>  Copyright &copy; 2008 This feed is for personal, non-commercial use only<br />
<a href=www.hashei.com >聚沙成塔-小哈的记事薄</a> by hashei 
如果喜欢，欢迎订阅<a href=feed.hashei.com >feed.hashei.com</a><br />
Digital Fingerprint:
 10f920a9f2bae51c3c73c4f5fb50a949</small>]]></content:encoded>
			<wfw:commentRss>http://www.hashei.me/2009/04/connect-to-database.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Websphere入门篇（二）-为WAS打上补丁</title>
		<link>http://www.hashei.me/2009/04/patch-install-for-was.html?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=patch-install-for-was</link>
		<comments>http://www.hashei.me/2009/04/patch-install-for-was.html#comments</comments>
		<pubDate>Tue, 28 Apr 2009 13:59:11 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Websphere系列]]></category>
		<category><![CDATA[初级入门]]></category>
		<category><![CDATA[ihs]]></category>
		<category><![CDATA[patch]]></category>
		<category><![CDATA[plugins]]></category>
		<category><![CDATA[updateinstaller]]></category>
		<category><![CDATA[was]]></category>

		<guid isPermaLink="false">http://www.hashei.me/?p=224</guid>
		<description><![CDATA[        上篇文章中安装了Websphere单机环境，那么接下来第一件事不是配置WAS，不是发布应用，而是要打上补丁（特别是新环境）。如果是老系统迁移的话，可以不用打最新的补丁，只要让现在的平台版本和之前运行正常平台版本一致即可，以免引入新的问题。
         首先去http://www-933.ibm.com/support/fixcentral/找到自己需要的补丁，Production Group为Websphere，Product为WAS，指定版本号和平台，搜索出Fixpack。
         这里以6.1.0.23: WebSphere Application Server V6.1 Fix Pack 23 for Windows为例讲述打补丁步骤。
         首先看到一个Update Installer 7.0 for WebSphere Software for Windows，这个是补丁升级程序，从6.1之后所有的补丁（包括7.0）都要考它来升级。安装CD2中会带有这个程序，但是那个版本太低对6.1.0.6之后的补丁无法直接使用。所以先要安装这个打补丁程序。
          Websphere的补丁有WAS—IHS—PlugIn和SDK，根据你的安装拓扑和需要可以分别打，但是一般全都保持一致的版本。下载的pak文件放到Update Installer安装后的maintenance目录下。
          之后运行update installer即可，选定安装补丁的目录：AppServer对应WAS补丁，Http目录对于ihs补丁，plugins目录对应plugins补丁。每次都会自动找到相应的两个pak文件（一个程序的，一个JDK的）。全部安装完，那就OK了，在bin目录下执行versioninfo看看吧。
          WAS6.0的时候打补丁没有那么方便，先要打6.0.2的补丁，顺序为WAS—IHS—PlugIn，然后再打6.0.2之后的小补丁，也是按照WAS—IHS—PlugIn的顺序来。而且那时候还没有UpdateInstaller，每个补丁都需要各自独立安装。不过你可以把对应的PAK文件找出来，拷贝到UpdateInstaller的maintenance下去，节省一点体力活。
Related posts:Weblogic10.3.0在AIX6.1、JDK1.6下挂起解决方法WebSphere Information Integrator安装过程注册Weblogic9为Windows服务及外一篇IBM WebSphere最新技术支持信息AIX环境下安装DB2 9.1及Inforsphere information integrator  [...]]]></description>
			<content:encoded><![CDATA[<p>        <a href="http://www.hashei.me/2009/04/was6-install-step-by-step.html" target="_self">上篇文章</a>中安装了Websphere单机环境，那么接下来第一件事不是配置WAS，不是发布应用，而是要打上补丁（特别是新环境）。如果是老系统迁移的话，可以不用打最新的补丁，只要让现在的平台版本和之前运行正常平台版本一致即可，以免引入新的问题。</p>
<p>         首先去<a href="http://www-933.ibm.com/support/fixcentral/">http://www-933.ibm.com/support/fixcentral/</a>找到自己需要的补丁，Production Group为Websphere，Product为WAS，指定版本号和平台，搜索出Fixpack。</p>
<p>         这里以<a href="http://6.1.0.23:6123/">6.1.0.23: WebSphere Application Server V6.1 Fix Pack 23 for Windows</a>为例讲述打补丁步骤。</p>
<p>         首先看到一个<a href="http://www.ibm.com/support/docview.wss?rs=180&amp;uid=swg24020448" target="_blank">Update Installer 7.0 for WebSphere Software for Windows</a>，这个是补丁升级程序，从6.1之后所有的补丁（包括7.0）都要考它来升级。安装CD2中会带有这个程序，但是那个版本太低对6.1.0.6之后的补丁无法直接使用。所以先要安装这个打补丁程序。</p>
<p>          Websphere的补丁有WAS—IHS—PlugIn和SDK，根据你的安装拓扑和需要可以分别打，但是一般全都保持一致的版本。下载的pak文件放到Update Installer安装后的maintenance目录下。</p>
<p>          之后运行update installer即可，选定安装补丁的目录：AppServer对应WAS补丁，Http目录对于ihs补丁，plugins目录对应plugins补丁。每次都会自动找到相应的两个pak文件（一个程序的，一个JDK的）。全部安装完，那就OK了，在bin目录下执行versioninfo看看吧。</p>
<p>          WAS6.0的时候打补丁没有那么方便，先要打6.0.2的补丁，顺序为WAS—IHS—PlugIn，然后再打6.0.2之后的小补丁，也是按照WAS—IHS—PlugIn的顺序来。而且那时候还没有UpdateInstaller，每个补丁都需要各自独立安装。不过你可以把对应的PAK文件找出来，拷贝到UpdateInstaller的maintenance下去，节省一点体力活。</p>
<hr /><h2>Related posts:</h2><ul><li><a href="http://www.hashei.me/2009/08/cr370915_in_weblogic10-3_and_jdk1-6.html" rel="bookmark" title="Permanent Link: Weblogic10.3.0在AIX6.1、JDK1.6下挂起解决方法">Weblogic10.3.0在AIX6.1、JDK1.6下挂起解决方法</a></li><li><a href="http://www.hashei.me/2009/05/install-websphere-information-integrator.html" rel="bookmark" title="Permanent Link: WebSphere Information Integrator安装过程">WebSphere Information Integrator安装过程</a></li><li><a href="http://www.hashei.me/2009/08/install-weblogic-as-service-and-recovery-password.html" rel="bookmark" title="Permanent Link: 注册Weblogic9为Windows服务及外一篇">注册Weblogic9为Windows服务及外一篇</a></li><li><a href="http://www.hashei.me/2009/12/ibm_support_newsletter_for_websphere_application_server_1219.html" rel="bookmark" title="Permanent Link: IBM WebSphere最新技术支持信息">IBM WebSphere最新技术支持信息</a></li><li><a href="http://www.hashei.me/2009/11/install_db2v9-1.html" rel="bookmark" title="Permanent Link: AIX环境下安装DB2 9.1及Inforsphere information integrator">AIX环境下安装DB2 9.1及Inforsphere information integrator</a></li></ul><hr /><small>  Copyright &copy; 2008 This feed is for personal, non-commercial use only<br />
<a href=www.hashei.com >聚沙成塔-小哈的记事薄</a> by hashei 
如果喜欢，欢迎订阅<a href=feed.hashei.com >feed.hashei.com</a><br />
Digital Fingerprint:
 10f920a9f2bae51c3c73c4f5fb50a949</small>]]></content:encoded>
			<wfw:commentRss>http://www.hashei.me/2009/04/patch-install-for-was.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Exchange2003启用OWA修改密码功能</title>
		<link>http://www.hashei.me/2009/04/exchange2003%e5%90%af%e7%94%a8owa%e4%bf%ae%e6%94%b9%e5%af%86%e7%a0%81%e5%8a%9f%e8%83%bd.html?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=exchange2003%25e5%2590%25af%25e7%2594%25a8owa%25e4%25bf%25ae%25e6%2594%25b9%25e5%25af%2586%25e7%25a0%2581%25e5%258a%259f%25e8%2583%25bd</link>
		<comments>http://www.hashei.me/2009/04/exchange2003%e5%90%af%e7%94%a8owa%e4%bf%ae%e6%94%b9%e5%af%86%e7%a0%81%e5%8a%9f%e8%83%bd.html#comments</comments>
		<pubDate>Fri, 24 Apr 2009 08:18:06 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Exchange邮件服务器]]></category>
		<category><![CDATA[exchange]]></category>
		<category><![CDATA[owa密码修改]]></category>

		<guid isPermaLink="false">http://hashei.me/2009/04/24/exchange2003%e5%90%af%e7%94%a8owa%e4%bf%ae%e6%94%b9%e5%af%86%e7%a0%81%e5%8a%9f%e8%83%bd/</guid>
		<description><![CDATA[第1步 域环境的搭建
1.1 域的设置
域名：sjj.gov.cn 
提供的DNS：IP
1.1.1 DC
IP地址：IP
主机名：mail

第2步 Exchange的搭建
Exchange安装在DC上，F:programme file目录下，邮箱存储在G盘下，每个用户邮箱大小限制为1G。
2.1 安装必须的系统组件
安装IIS、NNTP、SMTP、及万维网服务和ASP.NET.在控制面板的【添加删除程序】里选择【添加删除Windows组件】


2.2 安装exchange

点击&#8220;Exchange部署工具&#8221;
下一步中选择&#8220;部署第一台Exchange 2003服务器&#8221;
继续选择&#8220;安装全新的Exchange 2003&#8221;
直至出现&#8220;安装任务列表&#8221;

2.2.1 森林拓展
点击&#8220;立即运行 ForestPrep&#8221;

一直下一步直至完成。
2.2.2 域拓展
点击&#8220;立即运行Domain Prep&#8221; 

一路下一步直至完成。
2.2.3 安装Exchange
点击&#8220;立即运行安装程序&#8221;

选择新建Exchange组织，并输入组织名称sjj。指定管理组名称sjj，并单击下一步开始安装

安装完成
2.2.4 启用邮箱
为用户启用邮箱，在AD的用户和管理中选中用户，右键&#8212;&#8212;exchange任务&#8212;&#8212;启用邮箱&#8212;&#8212;选择第一存储组和邮箱SJJ
2.3 为OWA启用修改密码
 
2.3.1 修改注册表选项
在exchange服务器上，运行&#8220;regedit&#8221;，打开注册表编辑器
找到HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServices
MSExchangeWebOWA，修改DisablePassword由1变为0，保存推出。
2.3.2 配置OWA的密码功能
进入AdminScripts目录（cd c:inetpubAdminScripts）
允许修改OWA密码adsutil.vbs set w3svc/passwordchangeflags 0 
以上都是在命令行完成的
2.3.3 安装证书服务
在Exchange服务器上，选择&#8220;开始&#8594;设置&#8594;控制面板&#8594;添加/删除程序&#8594;添加/删除Windows组件&#8594;证书服务&#8221;


单击&#8220;下一步&#8221;按钮，出现如图所示的对话框，选择&#8220;企业根CA&#8221;单选按钮。

单击下一步，在下一页的此&#8220;CA的公用名称&#8221;中输入SJJ
可分辨名称后缀为&#8220;DC=gov，DC=com&#8221;
有效期限选择5年。
单击下一步：选择证书存放位置


点击是安装证书服务。
2.3.4 新建虚拟主机
l 选择&#8220;开始&#8594;程序&#8594;管理工具&#8594;Internet服务（IIS）管理器&#8221;，打开Internet信息服务（IIS）管理器窗口。   选择&#8220;默认网站&#8221;，单击鼠标右键，在出现的快捷菜单中选择&#8220;新建&#8594;虚拟目录&#8221;，打开对话框，在&#8220;别名&#8221;文本框中输入要创建的站点别名&#8220;IISADMPWD&#8221;。
l 物理路径在c:winntsystem32inetsrviisadmpwd
l 权限开启&#8220;读取、记录访问、资源索引&#8221;（执行权限纯脚本）。
l 修改虚拟目录的&#8220;应用程序池&#8221;，在虚拟目录的属性中，修改应用程序池（ExchangeApplicationPool）
l 要求SSL，允许匿名身份验证，勾选&#8220;基本身份验证&#8221;

2.3.5 配置SSL服务
（1）打开IIS。   （2）选取&#8220;默认网站&#8221;，单击鼠标右键，在出现的快捷菜单中选择&#8220;属性&#8221;命令，打开&#8220;默认网站属性&#8221;对话框。    （3）选择&#8220;目录安全性&#8221;选项卡，如图所示，单击&#8220;安全通信&#8221;下的&#8220;服务器证书&#8221;按钮，打开&#8220;欢迎使用Web服务器证书向导&#8221;对话框。

选择&#8220;新建证书&#8221;









2.3.6 重启服务
重启Exchange Information Store Service 、IIS Admin Service服务
2.4 客户端修改密码
登录OWA http://mailsrv.sjj.sh.gov.cn，输入用户名&#8220;sjj用户名&#8221;和密码。
点击选项，找到&#8220;修改密码&#8221;

点击出现证书确认界面

点击是继续

输入域sjj，用户名，更改的密码，点击确定

提示修改成功
  [...]]]></description>
			<content:encoded><![CDATA[<h3><a name="_Toc205193326">第1步 域环境的搭建</a></h3>
<h4><a name="_Toc205193327">1.1 域的设置</a></h4>
<p>域名：sjj.gov.cn </p>
<p>提供的DNS：IP</p>
<h5><a name="_Toc205193328">1.1.1 DC</a></h5>
<p>IP地址：IP</p>
<p>主机名：mail</p>
<p><a href="http://hashei.me/wp-content/uploads/2009/04/clip-image0022.jpg"><img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="163" alt="clip_image002" src="http://hashei.me/wp-content/uploads/2009/04/clip-image002-thumb2.jpg" width="244" border="0" /></a></p>
<h3><a name="_Toc205193329">第2步 Exchange</a>的搭建</h3>
<p>Exchange安装在DC上，F:programme file目录下，邮箱存储在G盘下，每个用户邮箱大小限制为1G。</p>
<h4><a name="_Toc205193330">2.1 安装必须的系统组件</a></h4>
<p>安装IIS、NNTP、SMTP、及万维网服务和ASP.NET.在控制面板的【添加删除程序】里选择【添加删除Windows组件】</p>
<p><a href="http://hashei.me/wp-content/uploads/2009/04/clip-image003.jpg"><img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="188" alt="clip_image003" src="http://hashei.me/wp-content/uploads/2009/04/clip-image003-thumb.jpg" width="244" border="0" /></a></p>
<p><a href="http://hashei.me/wp-content/uploads/2009/04/clip-image0042.jpg"><img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="136" alt="clip_image004" src="http://hashei.me/wp-content/uploads/2009/04/clip-image004-thumb2.jpg" width="244" border="0" /></a></p>
<h4><a name="_Toc205193331">2.2 安装exchange</a></h4>
<p><a href="http://hashei.me/wp-content/uploads/2009/04/clip-image0062.jpg"><img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="176" alt="clip_image006" src="http://hashei.me/wp-content/uploads/2009/04/clip-image006-thumb2.jpg" width="244" border="0" /></a></p>
<p>点击&#8220;Exchange部署工具&#8221;</p>
<p>下一步中选择&#8220;部署第一台Exchange 2003服务器&#8221;</p>
<p>继续选择&#8220;安装全新的Exchange 2003&#8221;</p>
<p>直至出现&#8220;安装任务列表&#8221;</p>
<p><a href="http://hashei.me/wp-content/uploads/2009/04/clip-image0082.jpg"><img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="186" alt="clip_image008" src="http://hashei.me/wp-content/uploads/2009/04/clip-image008-thumb2.jpg" width="244" border="0" /></a></p>
<h5><a name="_Toc205193332">2.2.1 森林拓展</a></h5>
<p>点击&#8220;立即运行 ForestPrep&#8221;</p>
<p><a href="http://hashei.me/wp-content/uploads/2009/04/clip-image009.jpg"><img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="196" alt="clip_image009" src="http://hashei.me/wp-content/uploads/2009/04/clip-image009-thumb.jpg" width="244" border="0" /></a></p>
<p>一直下一步直至完成。</p>
<h5><a name="_Toc205193333">2.2.2 域拓展</a></h5>
<p>点击&#8220;立即运行Domain Prep&#8221; </p>
<p><a href="http://hashei.me/wp-content/uploads/2009/04/clip-image0102.jpg"><img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="196" alt="clip_image010" src="http://hashei.me/wp-content/uploads/2009/04/clip-image010-thumb2.jpg" width="244" border="0" /></a></p>
<p>一路下一步直至完成。</p>
<h5><a name="_Toc205193334">2.2.3 安装Exchange</a></h5>
<p>点击&#8220;立即运行安装程序&#8221;</p>
<p><a href="http://hashei.me/wp-content/uploads/2009/04/clip-image011.jpg"><img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="158" alt="clip_image011" src="http://hashei.me/wp-content/uploads/2009/04/clip-image011-thumb.jpg" width="244" border="0" /></a></p>
<p>选择新建Exchange组织，并输入组织名称sjj。指定管理组名称sjj，并单击下一步开始安装</p>
<p><a href="http://hashei.me/wp-content/uploads/2009/04/clip-image0122.jpg"><img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="159" alt="clip_image012" src="http://hashei.me/wp-content/uploads/2009/04/clip-image012-thumb2.jpg" width="244" border="0" /></a></p>
<p>安装完成</p>
<h5><a name="_Toc205193335">2.2.4 启用邮箱</a></h5>
<p>为用户启用邮箱，在AD的用户和管理中选中用户，右键&#8212;&#8212;exchange任务&#8212;&#8212;启用邮箱&#8212;&#8212;选择第一存储组和邮箱SJJ</p>
<h4><a name="_Toc205193336">2.3 为OWA</a>启用修改密码</h4>
<p> <span id="more-203"></span><br />
<h5><a name="_Toc205193337">2.3.1 修改注册表选项</a></h5>
<p>在exchange服务器上，运行&#8220;regedit&#8221;，打开注册表编辑器</p>
<p>找到HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServices</p>
<p>MSExchangeWebOWA，修改DisablePassword由1变为0，保存推出。</p>
<h5><a name="_Toc205193338">2.3.2 配置OWA</a>的密码功能</h5>
<p>进入AdminScripts目录（cd c:inetpubAdminScripts）</p>
<p>允许修改OWA密码adsutil.vbs set w3svc/passwordchangeflags 0 </p>
<p>以上都是在命令行完成的</p>
<h5><a name="_Toc205193339">2.3.3 安装证书服务</a></h5>
<p>在Exchange服务器上，选择&#8220;开始&#8594;设置&#8594;控制面板&#8594;添加/删除程序&#8594;添加/删除Windows组件&#8594;证书服务&#8221;</p>
<p><a href="http://hashei.me/wp-content/uploads/2009/04/clip-image013.jpg"><img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="195" alt="clip_image013" src="http://hashei.me/wp-content/uploads/2009/04/clip-image013-thumb.jpg" width="244" border="0" /></a></p>
<p><a href="http://hashei.me/wp-content/uploads/2009/04/clip-image015.jpg"><img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="51" alt="clip_image015" src="http://hashei.me/wp-content/uploads/2009/04/clip-image015-thumb.jpg" width="244" border="0" /></a></p>
<p>单击&#8220;下一步&#8221;按钮，出现如图所示的对话框，选择&#8220;企业根CA&#8221;单选按钮。</p>
<p><a href="http://hashei.me/wp-content/uploads/2009/04/clip-image0162.jpg"><img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="195" alt="clip_image016" src="http://hashei.me/wp-content/uploads/2009/04/clip-image016-thumb2.jpg" width="244" border="0" /></a></p>
<p>单击下一步，在下一页的此&#8220;CA的公用名称&#8221;中输入SJJ</p>
<p>可分辨名称后缀为&#8220;DC=gov，DC=com&#8221;</p>
<p>有效期限选择5年。</p>
<p>单击下一步：选择证书存放位置</p>
<p><a href="http://hashei.me/wp-content/uploads/2009/04/clip-image017.jpg"><img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="195" alt="clip_image017" src="http://hashei.me/wp-content/uploads/2009/04/clip-image017-thumb.jpg" width="244" border="0" /></a></p>
<p><a href="http://hashei.me/wp-content/uploads/2009/04/clip-image0182.jpg"><img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="59" alt="clip_image018" src="http://hashei.me/wp-content/uploads/2009/04/clip-image018-thumb2.jpg" width="244" border="0" /></a></p>
<p>点击是安装证书服务。</p>
<h5><a name="_Toc205193340">2.3.4 新建虚拟主机</a></h5>
<p>l 选择&#8220;开始&#8594;程序&#8594;管理工具&#8594;Internet服务（IIS）管理器&#8221;，打开Internet信息服务（IIS）管理器窗口。   <br />选择&#8220;默认网站&#8221;，单击鼠标右键，在出现的快捷菜单中选择&#8220;新建&#8594;虚拟目录&#8221;，打开对话框，在&#8220;别名&#8221;文本框中输入要创建的站点别名&#8220;IISADMPWD&#8221;。</p>
<p>l 物理路径在c:winntsystem32inetsrviisadmpwd</p>
<p>l 权限开启&#8220;读取、记录访问、资源索引&#8221;（执行权限纯脚本）。</p>
<p>l 修改虚拟目录的&#8220;应用程序池&#8221;，在虚拟目录的属性中，修改应用程序池（ExchangeApplicationPool）</p>
<p>l 要求SSL，允许匿名身份验证，勾选&#8220;基本身份验证&#8221;</p>
<p><a href="http://hashei.me/wp-content/uploads/2009/04/clip-image019.jpg"><img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="244" alt="clip_image019" src="http://hashei.me/wp-content/uploads/2009/04/clip-image019-thumb.jpg" width="205" border="0" /></a></p>
<h5><a name="_Toc205193341">2.3.5 配置SSL</a>服务</h5>
<p>（1）打开IIS。   <br />（2）选取&#8220;默认网站&#8221;，单击鼠标右键，在出现的快捷菜单中选择&#8220;属性&#8221;命令，打开&#8220;默认网站属性&#8221;对话框。    <br />（3）选择&#8220;目录安全性&#8221;选项卡，如图所示，单击&#8220;安全通信&#8221;下的&#8220;服务器证书&#8221;按钮，打开&#8220;欢迎使用Web服务器证书向导&#8221;对话框。</p>
<p><a href="http://hashei.me/wp-content/uploads/2009/04/clip-image0202.jpg"><img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="177" alt="clip_image020" src="http://hashei.me/wp-content/uploads/2009/04/clip-image020-thumb2.jpg" width="244" border="0" /></a></p>
<p>选择&#8220;新建证书&#8221;</p>
<p><a href="http://hashei.me/wp-content/uploads/2009/04/clip-image021.jpg"><img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="177" alt="clip_image021" src="http://hashei.me/wp-content/uploads/2009/04/clip-image021-thumb.jpg" width="244" border="0" /></a></p>
<p><a href="http://hashei.me/wp-content/uploads/2009/04/clip-image0222.jpg"><img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="177" alt="clip_image022" src="http://hashei.me/wp-content/uploads/2009/04/clip-image022-thumb2.jpg" width="244" border="0" /></a></p>
<p><a href="http://hashei.me/wp-content/uploads/2009/04/clip-image023.jpg"><img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="177" alt="clip_image023" src="http://hashei.me/wp-content/uploads/2009/04/clip-image023-thumb.jpg" width="244" border="0" /></a></p>
<p><a href="http://hashei.me/wp-content/uploads/2009/04/clip-image0242.jpg"><img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="177" alt="clip_image024" src="http://hashei.me/wp-content/uploads/2009/04/clip-image024-thumb2.jpg" width="244" border="0" /></a></p>
<p><a href="http://hashei.me/wp-content/uploads/2009/04/clip-image025.jpg"><img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="177" alt="clip_image025" src="http://hashei.me/wp-content/uploads/2009/04/clip-image025-thumb.jpg" width="244" border="0" /></a></p>
<p><a href="http://hashei.me/wp-content/uploads/2009/04/clip-image0262.jpg"><img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="177" alt="clip_image026" src="http://hashei.me/wp-content/uploads/2009/04/clip-image026-thumb2.jpg" width="244" border="0" /></a></p>
<p><a href="http://hashei.me/wp-content/uploads/2009/04/clip-image027.jpg"><img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="177" alt="clip_image027" src="http://hashei.me/wp-content/uploads/2009/04/clip-image027-thumb.jpg" width="244" border="0" /></a></p>
<p><a href="http://hashei.me/wp-content/uploads/2009/04/clip-image0282.jpg"><img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="177" alt="clip_image028" src="http://hashei.me/wp-content/uploads/2009/04/clip-image028-thumb2.jpg" width="244" border="0" /></a></p>
<p><a href="http://hashei.me/wp-content/uploads/2009/04/clip-image029.jpg"><img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="177" alt="clip_image029" src="http://hashei.me/wp-content/uploads/2009/04/clip-image029-thumb.jpg" width="244" border="0" /></a></p>
<h5><a name="_Toc205193342">2.3.6 重启服务</a></h5>
<p>重启Exchange Information Store Service 、IIS Admin Service服务</p>
<h4><a name="_Toc205193343">2.4 客户端修改密码</a></h4>
<p>登录OWA <a href="http://mailsrv.sjj.sh.gov.cn/">http://mailsrv.sjj.sh.gov.cn</a>，输入用户名&#8220;sjj用户名&#8221;和密码。</p>
<p>点击选项，找到&#8220;修改密码&#8221;</p>
<p><a href="http://hashei.me/wp-content/uploads/2009/04/clip-image031.jpg"><img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="207" alt="clip_image031" src="http://hashei.me/wp-content/uploads/2009/04/clip-image031-thumb.jpg" width="244" border="0" /></a></p>
<p>点击出现证书确认界面</p>
<p><a href="http://hashei.me/wp-content/uploads/2009/04/clip-image0321.jpg"><img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="183" alt="clip_image032" src="http://hashei.me/wp-content/uploads/2009/04/clip-image032-thumb1.jpg" width="244" border="0" /></a></p>
<p>点击是继续</p>
<p><a href="http://hashei.me/wp-content/uploads/2009/04/clip-image033.jpg"><img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="244" alt="clip_image033" src="http://hashei.me/wp-content/uploads/2009/04/clip-image033-thumb.jpg" width="219" border="0" /></a></p>
<p>输入域sjj，用户名，更改的密码，点击确定</p>
<p><a href="http://hashei.me/wp-content/uploads/2009/04/clip-image0341.jpg"><img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="244" alt="clip_image034" src="http://hashei.me/wp-content/uploads/2009/04/clip-image034-thumb1.jpg" width="219" border="0" /></a></p>
<p>提示修改成功</p>
<hr /><small>  Copyright &copy; 2008 This feed is for personal, non-commercial use only<br />
<a href=www.hashei.com >聚沙成塔-小哈的记事薄</a> by hashei 
如果喜欢，欢迎订阅<a href=feed.hashei.com >feed.hashei.com</a><br />
Digital Fingerprint:
 10f920a9f2bae51c3c73c4f5fb50a949</small>]]></content:encoded>
			<wfw:commentRss>http://www.hashei.me/2009/04/exchange2003%e5%90%af%e7%94%a8owa%e4%bf%ae%e6%94%b9%e5%af%86%e7%a0%81%e5%8a%9f%e8%83%bd.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Windows 2003 AD 域名更改</title>
		<link>http://www.hashei.me/2009/04/windows-2003-ad-%e5%9f%9f%e5%90%8d%e6%9b%b4%e6%94%b9.html?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=windows-2003-ad-%25e5%259f%259f%25e5%2590%258d%25e6%259b%25b4%25e6%2594%25b9</link>
		<comments>http://www.hashei.me/2009/04/windows-2003-ad-%e5%9f%9f%e5%90%8d%e6%9b%b4%e6%94%b9.html#comments</comments>
		<pubDate>Fri, 24 Apr 2009 06:54:10 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Windows 2003]]></category>
		<category><![CDATA[AD]]></category>

		<guid isPermaLink="false">http://hashei.me/2009/04/24/windows-2003-ad-%e5%9f%9f%e5%90%8d%e6%9b%b4%e6%94%b9/</guid>
		<description><![CDATA[简要步骤：
1. 在DNS上建立新的域名的DNS区域
2. 提升域和森林的运行功能级别到2003纯模式
3. 建立必要的信任关系（此处这回不用做）
4. 对DC做好备份
5. 登录一台非域控但加入域的成员机，进行如下改名操作。
6. rendom /list 在该工具文件夹下产生 domainlist.xml 文件
7. 编辑domainlist.xml文件，将所有原域名改为新域名
8. rendom /upload，产生dclist.xml
9. rendom /prepare，检查此前操作是否正确，操作是否成功，不对的话rendom /end
10. rendom /execute ，所有域控重启
11. 登录域控，更改域控的DNS名称
12. random /clean，清楚域中的老域名
13. gpfixup /olddns:** /newdns:** (/oldnb:** /newnb:** /dc:**)括号内的视情况可以省略
集群配置
1． 在DNS中添加集群虚拟IP的主机解析
2． 修改Cluster Service的启动帐号

详细过程：
1. 在DNS上建立新的域名的DNS区域

2. 提升域和森林的运行功能级别到2003纯模式

提升域功能级别


提升林功能级别
3. 建立必要的信任关系：当变动子域的时候需要建立，以满足必要的信任关系
4. 对DC做好备份：NTbackup
5. 登录一台非域控但加入域的成员机，进行如下改名操作。
6. rendom /list 在该工具文件夹下产生 domainlist.xml 文件


7. 编辑domainlist.xml文件，将所有原域名改为新域名

8. rendom /upload，产生dclist.xml

9. rendom /prepare，检查此前操作是否正确，操作是否成功，不对的话rendom /end
注意：进行到此步时AD已经被锁定，不能再对域做操作，所以如果需求有所改动不再需要改域名那么rendom /end

10. rendom /execute ，等待所有域控自动重启
11. 登录域控，更改域控的DNS名称

12. 如果域中没有Exchange服务，则直接跳到步骤13
注意：Exchange服务不能安装在域控上，否则只能备份邮箱数据，卸载Exchange，等域名改名全部完成后重装。
用改名工具完成后每个人的邮件地址不会自动改变，还是需要手动改变。
工具：XDR-fixup



重启Exchange的服务器和装有Exchange管理器的机器各两次，确保更新完成
13. rendom [...]]]></description>
			<content:encoded><![CDATA[<p>简要步骤：</p>
<p>1. 在DNS上建立新的域名的DNS区域</p>
<p>2. 提升域和森林的运行功能级别到2003纯模式</p>
<p>3. 建立必要的信任关系（此处这回不用做）</p>
<p>4. 对DC做好备份</p>
<p>5. 登录一台非域控但加入域的成员机，进行如下改名操作。</p>
<p>6. rendom /list 在该工具文件夹下产生 domainlist.xml 文件</p>
<p>7. 编辑domainlist.xml文件，将所有原域名改为新域名</p>
<p>8. rendom /upload，产生dclist.xml</p>
<p>9. rendom /prepare，检查此前操作是否正确，操作是否成功，不对的话rendom /end</p>
<p>10. rendom /execute ，所有域控重启</p>
<p>11. 登录域控，更改域控的DNS名称</p>
<p>12. random /clean，清楚域中的老域名</p>
<p>13. gpfixup /olddns:** /newdns:** (/oldnb:** /newnb:** /dc:**)括号内的视情况可以省略</p>
<p>集群配置</p>
<p>1． 在DNS中添加集群虚拟IP的主机解析</p>
<p>2． 修改Cluster Service的启动帐号</p>
<p><span id="more-138"></span></p>
<p>详细过程：</p>
<p>1. 在DNS上建立新的域名的DNS区域</p>
<p><a href="http://hashei.me/wp-content/uploads/2009/04/clip-image0021.jpg"><img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" src="http://hashei.me/wp-content/uploads/2009/04/clip-image002-thumb1.jpg" border="0" alt="clip_image002" width="244" height="176" /></a></p>
<p>2. 提升域和森林的运行功能级别到2003纯模式</p>
<p><a href="http://hashei.me/wp-content/uploads/2009/04/clip-image0041.jpg"><img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" src="http://hashei.me/wp-content/uploads/2009/04/clip-image004-thumb1.jpg" border="0" alt="clip_image004" width="244" height="206" /></a></p>
<p>提升域功能级别</p>
<p><a href="http://hashei.me/wp-content/uploads/2009/04/clip-image0061.jpg"><img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" src="http://hashei.me/wp-content/uploads/2009/04/clip-image006-thumb1.jpg" border="0" alt="clip_image006" width="244" height="116" /></a></p>
<p><a href="http://hashei.me/wp-content/uploads/2009/04/clip-image0081.jpg"><img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" src="http://hashei.me/wp-content/uploads/2009/04/clip-image008-thumb1.jpg" border="0" alt="clip_image008" width="244" height="210" /></a></p>
<p>提升林功能级别</p>
<p>3. 建立必要的信任关系：当变动子域的时候需要建立，以满足必要的信任关系</p>
<p>4. 对DC做好备份：NTbackup</p>
<p>5. 登录一台非域控但加入域的成员机，进行如下改名操作。</p>
<p>6. rendom /list 在该工具文件夹下产生 domainlist.xml 文件</p>
<p><a href="http://hashei.me/wp-content/uploads/2009/04/clip-image0101.jpg"><img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" src="http://hashei.me/wp-content/uploads/2009/04/clip-image010-thumb1.jpg" border="0" alt="clip_image010" width="244" height="150" /></a></p>
<p><a href="http://hashei.me/wp-content/uploads/2009/04/clip-image0121.jpg"><img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" src="http://hashei.me/wp-content/uploads/2009/04/clip-image012-thumb1.jpg" border="0" alt="clip_image012" width="244" height="168" /></a></p>
<p>7. 编辑domainlist.xml文件，将所有原域名改为新域名</p>
<p><a href="http://hashei.me/wp-content/uploads/2009/04/clip-image0141.jpg"><img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" src="http://hashei.me/wp-content/uploads/2009/04/clip-image014-thumb1.jpg" border="0" alt="clip_image014" width="244" height="168" /></a></p>
<p>8. rendom /upload，产生dclist.xml</p>
<p><a href="http://hashei.me/wp-content/uploads/2009/04/clip-image0161.jpg"><img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" src="http://hashei.me/wp-content/uploads/2009/04/clip-image016-thumb1.jpg" border="0" alt="clip_image016" width="244" height="71" /></a></p>
<p>9. rendom /prepare，检查此前操作是否正确，操作是否成功，不对的话rendom /end</p>
<p>注意：进行到此步时AD已经被锁定，不能再对域做操作，所以如果需求有所改动不再需要改域名那么rendom /end</p>
<p><a href="http://hashei.me/wp-content/uploads/2009/04/clip-image0181.jpg"><img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" src="http://hashei.me/wp-content/uploads/2009/04/clip-image018-thumb1.jpg" border="0" alt="clip_image018" width="244" height="98" /></a></p>
<p>10. rendom /execute ，等待所有域控自动重启</p>
<p>11. 登录域控，更改域控的DNS名称</p>
<p><a href="http://hashei.me/wp-content/uploads/2009/04/clip-image0201.jpg"><img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" src="http://hashei.me/wp-content/uploads/2009/04/clip-image020-thumb1.jpg" border="0" alt="clip_image020" width="244" height="199" /></a></p>
<p>12. 如果域中没有Exchange服务，则直接跳到步骤13</p>
<p>注意：Exchange服务不能安装在域控上，否则只能备份邮箱数据，卸载Exchange，等域名改名全部完成后重装。</p>
<p>用改名工具完成后每个人的邮件地址不会自动改变，还是需要手动改变。</p>
<p>工具：XDR-fixup</p>
<p><a href="http://hashei.me/wp-content/uploads/2009/04/clip-image0221.jpg"><img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" src="http://hashei.me/wp-content/uploads/2009/04/clip-image022-thumb1.jpg" border="0" alt="clip_image022" width="244" height="219" /></a></p>
<p><a href="http://hashei.me/wp-content/uploads/2009/04/clip-image0241.jpg"><img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" src="http://hashei.me/wp-content/uploads/2009/04/clip-image024-thumb1.jpg" border="0" alt="clip_image024" width="244" height="110" /></a></p>
<p><a href="http://hashei.me/wp-content/uploads/2009/04/clip-image0261.jpg"><img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" src="http://hashei.me/wp-content/uploads/2009/04/clip-image026-thumb1.jpg" border="0" alt="clip_image026" width="244" height="57" /></a></p>
<p>重启Exchange的服务器和装有Exchange管理器的机器各两次，确保更新完成</p>
<p>13. rendom /clean，清楚域中的老域名</p>
<p>14. gpfixup /olddns:** /newdns:** (/oldnb:** /newnb:** /dc:**)括号内的视情况可以省略</p>
<p>/oldnb:旧的NetBios名 /newnb:新的NetBios名 /dc:不指定就默认之前rendom /prepare时联系的DC</p>
<p><a href="http://hashei.me/wp-content/uploads/2009/04/clip-image0281.jpg"><img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" src="http://hashei.me/wp-content/uploads/2009/04/clip-image028-thumb1.jpg" border="0" alt="clip_image028" width="244" height="156" /></a></p>
<p>全部完成后登录时显示的还是老域名，但其实已经是新域名了</p>
<p><a href="http://hashei.me/wp-content/uploads/2009/04/clip-image0301.jpg"><img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" src="http://hashei.me/wp-content/uploads/2009/04/clip-image030-thumb1.jpg" border="0" alt="clip_image030" width="244" height="170" /></a></p>
<p>集群配置</p>
<p>1． 在DNS中添加集群虚拟IP的主机解析</p>
<p>2． 修改Cluster Service的启动帐号</p>
<p>所有客户机只要重启后就会登录新的域</p>
<p>文中提到的两个工具下载：</p>
<p><a href="http://hashei.me/wp-content/uploads/2009/04/rendom.exe">rendom </a></p>
<p><a href="http://hashei.me/wp-content/uploads/2009/04/gpfixup.exe">gpfixup</a></p>
<hr /><h2>Related posts:</h2><ul><li><a href="http://www.hashei.me/2009/04/patch-install-for-was.html" rel="bookmark" title="Permanent Link: Websphere入门篇（二）-为WAS打上补丁">Websphere入门篇（二）-为WAS打上补丁</a></li><li><a href="http://www.hashei.me/2010/02/oracle-04020_and_oracle-00942_problems.html" rel="bookmark" title="Permanent Link: 充当了一回DBA">充当了一回DBA</a></li><li><a href="http://www.hashei.me/2009/04/introduce-myself.html" rel="bookmark" title="Permanent Link: 写在前面">写在前面</a></li><li><a href="http://www.hashei.me/2009/05/sql2005-copy.html" rel="bookmark" title="Permanent Link: Sql2005数据库复制操作方法">Sql2005数据库复制操作方法</a></li><li><a href="http://www.hashei.me/2009/09/weblogic-cluster-step-by-step.html" rel="bookmark" title="Permanent Link: WebLogic9和10集群安装配置过程">WebLogic9和10集群安装配置过程</a></li></ul><hr /><small>  Copyright &copy; 2008 This feed is for personal, non-commercial use only<br />
<a href=www.hashei.com >聚沙成塔-小哈的记事薄</a> by hashei 
如果喜欢，欢迎订阅<a href=feed.hashei.com >feed.hashei.com</a><br />
Digital Fingerprint:
 10f920a9f2bae51c3c73c4f5fb50a949</small>]]></content:encoded>
			<wfw:commentRss>http://www.hashei.me/2009/04/windows-2003-ad-%e5%9f%9f%e5%90%8d%e6%9b%b4%e6%94%b9.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Websphere入门篇（一）-was6.0安装</title>
		<link>http://www.hashei.me/2009/04/was6-install-step-by-step.html?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=was6-install-step-by-step</link>
		<comments>http://www.hashei.me/2009/04/was6-install-step-by-step.html#comments</comments>
		<pubDate>Fri, 24 Apr 2009 04:40:31 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Websphere系列]]></category>
		<category><![CDATA[初级入门]]></category>
		<category><![CDATA[ihs]]></category>
		<category><![CDATA[plugins]]></category>
		<category><![CDATA[was]]></category>
		<category><![CDATA[安装]]></category>

		<guid isPermaLink="false">http://hashei.me/2009/04/24/%e5%ae%89%e8%a3%85wasv6-nd%ef%bc%88windows%e4%b8%8b%ef%bc%89/</guid>
		<description><![CDATA[ 本文是Windows环境下websphere6.0单机环境的安装详细步骤，Linux和Unix下安装亦可参考，不过注意系统参数的调整。
WebSphere6.1的安装过程和6.0大同小异，这里就没有列出，可以到我的Google Docs查看
http://docs.google.com/fileview?id=F.97cf8c0b-5f02-4601-a317-a8a75284253f&#38;hl=en
———————— 下面正式开始——————————
1. 开始安装IBM WebSphere Application Server Network Deployment V6
插入光盘或运行安装介质，进入安装向导

2.接受协议

3.检查条件 安装程序将自动检测是否具备安装WAS6的条件
注：此处安装Windows2003 sp2补丁后会报操作系统补丁缺失（sp1)，很明显不用在意。

4．选择安装目录
这里指定的目录为E:\Program Files\IBM\WebSphere\AppServer

5.安装如下功能部件（样本服务器通常不安装）

6．安装摘要
总大小800M左右

单击下一步开始安装
6．安装完成，选择启动概要表创建向导来创建profiles。（或者进入安装目录的/bin下，进入ProfileCreator运行pctWindows.exe）


建Deployment Manager 概要文件
在profile creation wizard 中选择第一个（如果已知要搭建DM环境，最好先创建DM再app）

39
DM profile 的名字为 Dmgr01

40
选择profile安装路径

41
命名节点名，主机名，单元名。

42 指定端口
安装会自动分配新的端口给新建的profile，为避免与先前的或是其他程序的端口冲突，可以手工更改端口，具体可以在config的serverindex.xml
文件中找到该profile的端口信息，或者进入管理控制台修改，建议事先规划好。

44系统服务定义
定义为windows 服务，启动和关闭服务是以系统服务调用的形式运行，并添加到系统服务里（这一步可根据需要自行确定启动方式）

45 summary

46 创建好Deployment Manager 概要文件之后，现在使用“第一步”控制台或进入到该该药文件的bin目录下执行 startManager 命令启动 Deployment Manager。
Unix下为 ./ startManager.sh
建appserver概要表

8．概要表类型选择“创建应用程序服务器概要表”，也就是创建一个APPSERVER的PROFILE。不管是DM环境还是单机环境 ，都要建这个应用程序服务器的profile。

9．概要表名称：AppSrv01（根据规划可自行修改）

10．概要表目录
这里为E:\Program Files\IBM\WebSphere\AppServer\profiles\AppSrv01

11.节点名：sdsxappNode01
主机名：sdsxapp（如果和物理主机有别，则应当在系统host文件中添加，建议不使用默认物理主机名，以方便移植）

12.端口值，按默认（也可根据规划进行修改）

13．可以作为Windows 服务执行操作：本地帐户，手工启动服务。unix下无此步骤

14.摘要

15.概要表创建完成

16．启动“第一步”

17.验证安装并启动服务器（也可以命令行进入该profile的bin目录下执行：startServer server1；unix下为 ./ startServer.sh server1）
查看服务器状态 ：serverStatus –all

18.进入控制台(此时未定义安全性)（http://localhost:9060/ibm/console）9060位缺省


二．安装IBM HTTP Server6.0
19开始安装IBM HTTP Server6.0

20

21选择安装路经
E:\Program Files\IBM HTTP Server

22.安装类型：典型（或定制，可自行配置端口，这里为默认的80和8008）

23．服务类型：Windows服务，本地登陆

24
安装完成

三．安装IBM WebShpere Application Serber V6服务器插件
25 开始安装IBM WAS [...]]]></description>
			<content:encoded><![CDATA[<h3> 本文是Windows环境下websphere6.0单机环境的安装详细步骤，Linux和Unix下安装亦可参考，不过注意系统参数的调整。</h3>
<p>WebSphere6.1的安装过程和6.0大同小异，这里就没有列出，可以到我的Google Docs查看</p>
<p><a href="http://docs.google.com/fileview?id=F.97cf8c0b-5f02-4601-a317-a8a75284253f&amp;hl=en">http://docs.google.com/fileview?id=F.97cf8c0b-5f02-4601-a317-a8a75284253f&amp;hl=en</a></p>
<p>———————— 下面正式开始——————————</p>
<p>1. 开始安装IBM WebSphere Application Server Network Deployment V6</p>
<p>插入光盘或运行安装介质，进入安装向导</p>
<p><a href="http://hashei.me/wp-content/uploads/2009/04/clip-image002.jpg"><img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" src="http://hashei.me/wp-content/uploads/2009/04/clip-image002-thumb.jpg" border="0" alt="clip_image002" width="260" height="176" /></a></p>
<p>2.接受协议</p>
<p><a href="http://hashei.me/wp-content/uploads/2009/04/clip-image004.jpg"><img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" src="http://hashei.me/wp-content/uploads/2009/04/clip-image004-thumb.jpg" border="0" alt="clip_image004" width="260" height="173" /></a></p>
<p>3.检查条件 安装程序将自动检测是否具备安装WAS6的条件</p>
<p>注：此处安装Windows2003 sp2补丁后会报操作系统补丁缺失（sp1)，很明显不用在意。</p>
<p><a href="http://hashei.me/wp-content/uploads/2009/04/clip-image006.jpg"><img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" src="http://hashei.me/wp-content/uploads/2009/04/clip-image006-thumb.jpg" border="0" alt="clip_image006" width="260" height="178" /></a></p>
<p>4．选择安装目录</p>
<p>这里指定的目录为E:\Program Files\IBM\WebSphere\AppServer</p>
<p><a href="http://hashei.me/wp-content/uploads/2009/04/clip-image008.jpg"><img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" src="http://hashei.me/wp-content/uploads/2009/04/clip-image008-thumb.jpg" border="0" alt="clip_image008" width="260" height="175" /></a></p>
<p>5.安装如下功能部件（样本服务器通常不安装）</p>
<p><a href="http://hashei.me/wp-content/uploads/2009/04/clip-image010.jpg"><img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" src="http://hashei.me/wp-content/uploads/2009/04/clip-image010-thumb.jpg" border="0" alt="clip_image010" width="260" height="176" /></a></p>
<p>6．安装摘要</p>
<p>总大小800M左右</p>
<p><a href="http://hashei.me/wp-content/uploads/2009/04/clip-image012.jpg"><img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" src="http://hashei.me/wp-content/uploads/2009/04/clip-image012-thumb.jpg" border="0" alt="clip_image012" width="260" height="176" /></a></p>
<p>单击下一步开始安装</p>
<p>6．安装完成，选择启动概要表创建向导来创建profiles。（或者进入安装目录的/bin下，进入ProfileCreator运行pctWindows.exe）</p>
<p><span id="more-103"></span></p>
<p><a href="http://hashei.me/wp-content/uploads/2009/04/clip-image014.jpg"><img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" src="http://hashei.me/wp-content/uploads/2009/04/clip-image014-thumb.jpg" border="0" alt="clip_image014" width="260" height="172" /></a></p>
<h5>建<a href="http://publib.boulder.ibm.com/infocenter/wasinfo/v6r0/topic/com.ibm.websphere.nd.doc/info/ae/ae/tins_instances.html">Deployment Manager 概要文件</a></h5>
<p>在profile creation wizard 中选择第一个（如果已知要搭建DM环境，最好先创建DM再app）</p>
<p><a href="http://hashei.me/wp-content/uploads/2009/04/clip-image016.jpg"><img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" src="http://hashei.me/wp-content/uploads/2009/04/clip-image016-thumb.jpg" border="0" alt="clip_image016" width="260" height="177" /></a></p>
<p>39</p>
<p>DM profile 的名字为 Dmgr01</p>
<p><a href="http://hashei.me/wp-content/uploads/2009/04/clip-image018.jpg"><img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" src="http://hashei.me/wp-content/uploads/2009/04/clip-image018-thumb.jpg" border="0" alt="clip_image018" width="260" height="179" /></a></p>
<p>40</p>
<p>选择profile安装路径</p>
<p><a href="http://hashei.me/wp-content/uploads/2009/04/clip-image020.jpg"><img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" src="http://hashei.me/wp-content/uploads/2009/04/clip-image020-thumb.jpg" border="0" alt="clip_image020" width="260" height="203" /></a></p>
<p>41</p>
<p>命名节点名，主机名，单元名。</p>
<p><a href="http://hashei.me/wp-content/uploads/2009/04/clip-image022.jpg"><img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" src="http://hashei.me/wp-content/uploads/2009/04/clip-image022-thumb.jpg" border="0" alt="clip_image022" width="260" height="192" /></a></p>
<p>42 指定端口</p>
<p>安装会自动分配新的端口给新建的profile，为避免与先前的或是其他程序的端口冲突，可以手工更改端口，具体可以在config的serverindex.xml</p>
<p>文件中找到该profile的端口信息，或者进入管理控制台修改，建议事先规划好。</p>
<p><a href="http://hashei.me/wp-content/uploads/2009/04/clip-image024.jpg"><img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" src="http://hashei.me/wp-content/uploads/2009/04/clip-image024-thumb.jpg" border="0" alt="clip_image024" width="260" height="166" /></a></p>
<p>44系统服务定义</p>
<p>定义为windows 服务，启动和关闭服务是以系统服务调用的形式运行，并添加到系统服务里（这一步可根据需要自行确定启动方式）</p>
<p><a href="http://hashei.me/wp-content/uploads/2009/04/clip-image026.jpg"><img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" src="http://hashei.me/wp-content/uploads/2009/04/clip-image026-thumb.jpg" border="0" alt="clip_image026" width="260" height="204" /></a></p>
<p>45 summary</p>
<p><a href="http://hashei.me/wp-content/uploads/2009/04/clip-image028.jpg"><img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" src="http://hashei.me/wp-content/uploads/2009/04/clip-image028-thumb.jpg" border="0" alt="clip_image028" width="260" height="213" /></a></p>
<p>46 创建好Deployment Manager 概要文件之后，现在使用“第一步”控制台或进入到该该药文件的bin目录下执行 <strong>startManager</strong> 命令启动 Deployment Manager。</p>
<p>Unix下为 <strong>./ startManager.sh</strong></p>
<h5>建appserver概要表</h5>
<p><a href="http://hashei.me/wp-content/uploads/2009/04/clip-image030.jpg"><img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" src="http://hashei.me/wp-content/uploads/2009/04/clip-image030-thumb.jpg" border="0" alt="clip_image030" width="260" height="167" /></a></p>
<p>8．概要表类型选择“创建应用程序服务器概要表”，也就是创建一个APPSERVER的PROFILE。不管是DM环境还是单机环境 ，都要建这个应用程序服务器的profile。</p>
<p><a href="http://hashei.me/wp-content/uploads/2009/04/clip-image032.jpg"><img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" src="http://hashei.me/wp-content/uploads/2009/04/clip-image032-thumb.jpg" border="0" alt="clip_image032" width="260" height="180" /></a></p>
<p>9．概要表名称：AppSrv01（根据规划可自行修改）</p>
<p><a href="http://hashei.me/wp-content/uploads/2009/04/clip-image034.jpg"><img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" src="http://hashei.me/wp-content/uploads/2009/04/clip-image034-thumb.jpg" border="0" alt="clip_image034" width="260" height="176" /></a></p>
<p>10．概要表目录</p>
<p>这里为E:\Program Files\IBM\WebSphere\AppServer\profiles\AppSrv01</p>
<p><a href="http://hashei.me/wp-content/uploads/2009/04/clip-image036.jpg"><img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" src="http://hashei.me/wp-content/uploads/2009/04/clip-image036-thumb.jpg" border="0" alt="clip_image036" width="260" height="181" /></a></p>
<p>11.节点名：sdsxappNode01</p>
<p>主机名：sdsxapp（如果和物理主机有别，则应当<strong>在系统host文件中添加</strong>，建议不使用默认物理主机名，以方便移植）</p>
<p><a href="http://hashei.me/wp-content/uploads/2009/04/clip-image038.jpg"><img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" src="http://hashei.me/wp-content/uploads/2009/04/clip-image038-thumb.jpg" border="0" alt="clip_image038" width="260" height="177" /></a></p>
<p>12.端口值，按默认（也可根据规划进行修改）</p>
<p><a href="http://hashei.me/wp-content/uploads/2009/04/clip-image040.jpg"><img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" src="http://hashei.me/wp-content/uploads/2009/04/clip-image040-thumb.jpg" border="0" alt="clip_image040" width="260" height="224" /></a></p>
<p>13．可以作为Windows 服务执行操作：本地帐户，手工启动服务。unix下无此步骤</p>
<p><a href="http://hashei.me/wp-content/uploads/2009/04/clip-image042.jpg"><img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" src="http://hashei.me/wp-content/uploads/2009/04/clip-image042-thumb.jpg" border="0" alt="clip_image042" width="260" height="195" /></a></p>
<p>14.摘要</p>
<p><a href="http://hashei.me/wp-content/uploads/2009/04/clip-image044.jpg"><img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" src="http://hashei.me/wp-content/uploads/2009/04/clip-image044-thumb.jpg" border="0" alt="clip_image044" width="244" height="139" /></a></p>
<p>15.概要表创建完成</p>
<p><a href="http://hashei.me/wp-content/uploads/2009/04/clip-image046.jpg"><img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" src="http://hashei.me/wp-content/uploads/2009/04/clip-image046-thumb.jpg" border="0" alt="clip_image046" width="260" height="181" /></a></p>
<p>16．启动“第一步”</p>
<p><a href="http://hashei.me/wp-content/uploads/2009/04/clip-image048.jpg"><img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" src="http://hashei.me/wp-content/uploads/2009/04/clip-image048-thumb.jpg" border="0" alt="clip_image048" width="260" height="127" /></a></p>
<p>17.验证安装并启动服务器（也可以命令行进入该profile的bin目录下执行：<strong>startServer server1</strong>；unix下为 <strong>./ </strong><strong>startServer.sh server1</strong><strong>）</strong><strong></strong></p>
<p><strong>查看服务器状态</strong><strong> </strong><strong>：</strong><strong>serverStatus –all</strong></p>
<p><a href="http://hashei.me/wp-content/uploads/2009/04/clip-image050.jpg"><img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" src="http://hashei.me/wp-content/uploads/2009/04/clip-image050-thumb.jpg" border="0" alt="clip_image050" width="260" height="127" /></a></p>
<p>18.进入控制台(此时未定义安全性)（http://localhost:9060/ibm/console）9060位缺省</p>
<p><a href="http://hashei.me/wp-content/uploads/2009/04/clip-image052.jpg"><img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" src="http://hashei.me/wp-content/uploads/2009/04/clip-image052-thumb.jpg" border="0" alt="clip_image052" width="260" height="197" /></a></p>
<p><!--more--></p>
<h3>二．安装IBM HTTP Server6.0</h3>
<p>19开始安装IBM HTTP Server6.0</p>
<p><a href="http://hashei.me/wp-content/uploads/2009/04/clip-image054.jpg"><img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" src="http://hashei.me/wp-content/uploads/2009/04/clip-image054-thumb.jpg" border="0" alt="clip_image054" width="260" height="187" /></a></p>
<p>20</p>
<p><a href="http://hashei.me/wp-content/uploads/2009/04/clip-image056.jpg"><img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" src="http://hashei.me/wp-content/uploads/2009/04/clip-image056-thumb.jpg" border="0" alt="clip_image056" width="260" height="176" /></a></p>
<p>21选择安装路经</p>
<p>E:\Program Files\IBM HTTP Server</p>
<p><a href="http://hashei.me/wp-content/uploads/2009/04/clip-image058.jpg"><img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" src="http://hashei.me/wp-content/uploads/2009/04/clip-image058-thumb.jpg" border="0" alt="clip_image058" width="260" height="174" /></a></p>
<p>22.安装类型：典型（或定制，可自行配置端口，这里为默认的80和8008）</p>
<p><a href="http://hashei.me/wp-content/uploads/2009/04/clip-image060.jpg"><img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" src="http://hashei.me/wp-content/uploads/2009/04/clip-image060-thumb.jpg" border="0" alt="clip_image060" width="260" height="176" /></a></p>
<p>23．服务类型：Windows服务，本地登陆</p>
<p><a href="http://hashei.me/wp-content/uploads/2009/04/clip-image062.jpg"><img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" src="http://hashei.me/wp-content/uploads/2009/04/clip-image062-thumb.jpg" border="0" alt="clip_image062" width="260" height="174" /></a></p>
<p>24</p>
<p>安装完成</p>
<p><a href="http://hashei.me/wp-content/uploads/2009/04/clip-image064.jpg"><img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" src="http://hashei.me/wp-content/uploads/2009/04/clip-image064-thumb.jpg" border="0" alt="clip_image064" width="260" height="175" /></a></p>
<h3>三．安装IBM WebShpere Application Serber V6服务器插件</h3>
<p>25 开始安装IBM WAS V6 plugin</p>
<p><a href="http://hashei.me/wp-content/uploads/2009/04/clip-image066.jpg"><img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" src="http://hashei.me/wp-content/uploads/2009/04/clip-image066-thumb.jpg" border="0" alt="clip_image066" width="260" height="175" /></a></p>
<p>26</p>
<p><a href="http://hashei.me/wp-content/uploads/2009/04/clip-image068.jpg"><img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" src="http://hashei.me/wp-content/uploads/2009/04/clip-image068-thumb.jpg" border="0" alt="clip_image068" width="260" height="180" /></a></p>
<p>27检查条件</p>
<p><a href="http://hashei.me/wp-content/uploads/2009/04/clip-image070.jpg"><img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" src="http://hashei.me/wp-content/uploads/2009/04/clip-image070-thumb.jpg" border="0" alt="clip_image070" width="260" height="179" /></a></p>
<p>28选择现有Web Server：IBM HTTP Server6.0</p>
<p><a href="http://hashei.me/wp-content/uploads/2009/04/clip-image072.jpg"><img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" src="http://hashei.me/wp-content/uploads/2009/04/clip-image072-thumb.jpg" border="0" alt="clip_image072" width="260" height="178" /></a></p>
<p>29配置环境为 ：此处为was本地安装，通常情况可安装远程，则需要告诉plugin应用服务器（通常是dm）的ip地址。</p>
<p><a href="http://hashei.me/wp-content/uploads/2009/04/clip-image074.jpg"><img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" src="http://hashei.me/wp-content/uploads/2009/04/clip-image074-thumb.jpg" border="0" alt="clip_image074" width="260" height="180" /></a></p>
<p>30.插件安装路经E:\Program Files\IBM\WebSphere\Plugins</p>
<p><a href="http://hashei.me/wp-content/uploads/2009/04/clip-image076.jpg"><img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" src="http://hashei.me/wp-content/uploads/2009/04/clip-image076-thumb.jpg" border="0" alt="clip_image076" width="260" height="183" /></a></p>
<p>31．确认WAS的安装位置（远程的话则为ip）</p>
<p><a href="http://hashei.me/wp-content/uploads/2009/04/clip-image078.jpg"><img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" src="http://hashei.me/wp-content/uploads/2009/04/clip-image078-thumb.jpg" border="0" alt="clip_image078" width="260" height="179" /></a></p>
<p>32.选择现有的IBM HTTP Server httpd.conf文件Web服务器端口为80</p>
<p><a href="http://hashei.me/wp-content/uploads/2009/04/clip-image080.jpg"><img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" src="http://hashei.me/wp-content/uploads/2009/04/clip-image080-thumb.jpg" border="0" alt="clip_image080" width="244" height="161" /></a></p>
<p>33.定义Web服务器名称 webserver1</p>
<p><a href="http://hashei.me/wp-content/uploads/2009/04/clip-image082.jpg"><img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" src="http://hashei.me/wp-content/uploads/2009/04/clip-image082-thumb.jpg" border="0" alt="clip_image082" width="244" height="161" /></a></p>
<p>34.web服务器的 plugin-cfg.xml文件路径：（此xml文件用于传播插件，发布新的应用的时候，需要借助此文件告诉HIS关于WAS端的改变）</p>
<p>E:\Program Files\IBM\WebSphere\AppServer\profiles\AppSrv01\config\cells\sdsxappNode01Cell\nodes\webserver1_node\servres\webserver1\plugin-cfg.xml</p>
<p><a href="http://hashei.me/wp-content/uploads/2009/04/clip-image084.jpg"><img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" src="http://hashei.me/wp-content/uploads/2009/04/clip-image084-thumb.jpg" border="0" alt="clip_image084" width="260" height="136" /></a></p>
<p>35.摘要</p>
<p><a href="http://hashei.me/wp-content/uploads/2009/04/clip-image086.jpg"><img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" src="http://hashei.me/wp-content/uploads/2009/04/clip-image086-thumb.jpg" border="0" alt="clip_image086" width="260" height="163" /></a></p>
<p>36.</p>
<p><a href="http://hashei.me/wp-content/uploads/2009/04/clip-image088.jpg"><img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" src="http://hashei.me/wp-content/uploads/2009/04/clip-image088-thumb.jpg" border="0" alt="clip_image088" width="260" height="185" /></a></p>
<p>37．完成安装</p>
<p><a href="http://hashei.me/wp-content/uploads/2009/04/clip-image090.jpg"><img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" src="http://hashei.me/wp-content/uploads/2009/04/clip-image090-thumb.jpg" border="0" alt="clip_image090" width="260" height="178" /></a></p>
<p><a href="http://hashei.me/wp-content/uploads/2009/04/clip-image092.jpg"><img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" src="http://hashei.me/wp-content/uploads/2009/04/clip-image092-thumb.jpg" border="0" alt="clip_image092" width="260" height="145" /></a></p>
<p>47 启动好Deployment Manager之后再把另外一个appserver启动（如果没启动的话）。</p>
<p>在此appserver的bin目录下执行 <strong>addNode networkacs 8879</strong> 把节点添加到Deployment Manager中。或者使用 Deployment Manager 的管理控制台将应用程序服务器节点添加到单元。单击<strong>系统管理</strong><strong> &gt; </strong><strong>节点</strong>以添加节点。Unix下是<strong>./ addNode.sh networkacs 8879</strong></p>
<p>48 停止命令： server的停止命令为 <strong>stopServer server1</strong>；manager停止的命令为<strong>stopMananer</strong>。如果已经使用定义了安全性，需要加入-username –password</p>
<p>49 Unix下是<strong>./ stopServer.sh server1 ./ stopMananer.sh</strong></p>
<h3>四．配置PlugIn</h3>
<p>安装好PlugIn之后，会在httpd..conf最后写入几行配置，但还要进行一些步骤让was得以管理webserver。</p>
<p>将 configure<em>Web_server_name</em> 脚本从<em>plug-ins_install_root</em>/ bin/粘贴到<em>wasfrofile_install_root</em>/ bin 目录。如果一台机器在 Linux 或 UNIX 下运行，而另一台机器在 Windows 下运行，则从 <em>plug-ins_install_root</em>/ bin/ crossPlatformScripts 目录复制此脚本，将 configure<em>Web_server_name</em> 脚本从机器 B 粘贴到机器 A 上的 <em>wasprofile_install_root</em>/ bin 目录，应为此脚本要运行本目录的configureWebserverDefinition.jacl文件，所以如果当前目录下没有此文件，要从was_root的bin下面复制过来。注意configure<em>Web_server_name</em> 脚本中最后最后一项是系统类型，最后第二项是web节点的host，最后第三项是web节点名。</p>
<p>在控制台的“系统管理—节点—添加节点”添加一个web非受管节点，并指定好节点名和web节点所在host。然后从命令行运行configure<em>Web_server_name</em>脚本，便完成了web插件的配置工作。（在windows单击版环境下一般没必要进行上述配置，直接运行脚本，重启was便可以识别到本地ihs）。</p>
<p>下一步到 IHS的bin目录里设置HTTP管理服务器的密码。</p>
<p>运行命令行 &gt;htpasswd -c ..\conf\admin.passwd admin (注意路径不支持空格)</p>
<p>密码设置好之后再到was的管理控制台中设置远程控制http server的口令密码，跟先前设置的一样</p>
<p><a href="http://hashei.me/wp-content/uploads/2009/04/clip-image094.jpg"><img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" src="http://hashei.me/wp-content/uploads/2009/04/clip-image094-thumb.jpg" border="0" alt="clip_image094" width="260" height="232" /></a></p>
<p>然后传播插件测试是否成功。</p>
<p><a href="http://publib.boulder.ibm.com/infocenter/wasinfo/v6r0/topic/com.ibm.websphere.express.doc/info/exp/ae/tins_trouble.html#tins_trouble__snoop">运行 snoop servlet。</a></p>
<p>要验证您自己的应用程序，安装应用程序后重新生成并传播 <tt>plugin-cfg.xml</tt> 文件。</p>
<p><a href="http://hashei.me/wp-content/uploads/2009/04/clip-image096.jpg"><img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" src="http://hashei.me/wp-content/uploads/2009/04/clip-image096-thumb.jpg" border="0" alt="clip_image096" width="260" height="204" /></a></p>
<p>下图为plugin配置属性</p>
<p><a href="http://hashei.me/wp-content/uploads/2009/04/clip-image098.jpg"><img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" src="http://hashei.me/wp-content/uploads/2009/04/clip-image098-thumb.jpg" border="0" alt="clip_image098" width="260" height="209" /></a></p>
<p>Plugin在发布新的应用之后要进行一次生成插件并传播插件的操作</p>
<hr /><h2>Related posts:</h2><ul><li><a href="http://www.hashei.me/2009/04/patch-install-for-was.html" rel="bookmark" title="Permanent Link: Websphere入门篇（二）-为WAS打上补丁">Websphere入门篇（二）-为WAS打上补丁</a></li><li><a href="http://www.hashei.me/2009/05/websphere-topology-terminology.html" rel="bookmark" title="Permanent Link: Server Node Cell Cluster&mdash;Websphere拓扑结构及术语介绍上">Server Node Cell Cluster&mdash;Websphere拓扑结构及术语介绍上</a></li><li><a href="http://www.hashei.me/2009/06/happy-birthday-to-unix.html" rel="bookmark" title="Permanent Link: Happy Birthday to Unix&#8217;s 40 Years Old">Happy Birthday to Unix&#8217;s 40 Years Old</a></li><li><a href="http://www.hashei.me/2009/07/enable-ssl-for-ihs.html" rel="bookmark" title="Permanent Link: WAS启用IHS的SSL">WAS启用IHS的SSL</a></li><li><a href="http://www.hashei.me/2009/09/weblogic-cluster-step-by-step.html" rel="bookmark" title="Permanent Link: WebLogic9和10集群安装配置过程">WebLogic9和10集群安装配置过程</a></li></ul><hr /><small>  Copyright &copy; 2008 This feed is for personal, non-commercial use only<br />
<a href=www.hashei.com >聚沙成塔-小哈的记事薄</a> by hashei 
如果喜欢，欢迎订阅<a href=feed.hashei.com >feed.hashei.com</a><br />
Digital Fingerprint:
 10f920a9f2bae51c3c73c4f5fb50a949</small>]]></content:encoded>
			<wfw:commentRss>http://www.hashei.me/2009/04/was6-install-step-by-step.html/feed</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Websphere系列介绍</title>
		<link>http://www.hashei.me/2009/04/websphere-introduce.html?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=websphere-introduce</link>
		<comments>http://www.hashei.me/2009/04/websphere-introduce.html#comments</comments>
		<pubDate>Fri, 24 Apr 2009 00:49:14 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Websphere系列]]></category>
		<category><![CDATA[was]]></category>
		<category><![CDATA[websphere]]></category>

		<guid isPermaLink="false">http://www.hashei.me/?p=231</guid>
		<description><![CDATA[        这个接下来会写的Websphere系列是我最近一年中间件工作的总结。从最基础的安装，到集群的配置，再到性能的调优，最后是一些Troubshooting。
        这一年工作积累的资料很多，在硬盘里东一点西一点，没有经过梳理，总觉得不踏实，似乎随时可能忘记，遇到问题有时候还要临时抱佛脚的上Google。
         所以我希望这个系列能理清头脑，特别是后面比较复杂的性能调优这一块。前面基础部分希望可以给刚接触Websphere的带来一个捷径（其实真正的想法是以后软件部要让我搭测试环境的话我直接一个地址发过去就可以了。。）。
         你会发现文章里很多内容似曾相识，这并不奇怪，我当初也是不断的从网上、论坛里搜来的嘛。这里要感谢我的同事小白，是他在我刚入门的时候耐心解答问题，不管什么时候都能电话支持。还要提到的是http://www.webspherechina.net，这个论坛是学习Websphere的好去处。
当然要是遇到棘手的问题，不能忘了IBM的官方网站。
http://www.ibm.com/developerworks/cn/websphere/
http://publib.boulder.ibm.com/infocenter/wasinfo/v6r1/index.jsp?topic=/com.ibm.websphere.nd.doc/info/welcome_nd.html
Related posts:软硬兼施 优化 WebSphere Application Server应用服务器WAS CE21介绍IBM WebSphere Recent SupportsWebSphere入门篇（四）-安装集群WebSphere相关  Copyright &#169; 2008 This feed is for personal, non-commercial use only
聚沙成塔-小哈的记事薄 by hashei 
如果喜欢，欢迎订阅feed.hashei.com
Digital Fingerprint:
 10f920a9f2bae51c3c73c4f5fb50a949]]></description>
			<content:encoded><![CDATA[<p>        这个接下来会写的Websphere系列是我最近一年中间件工作的总结。从最基础的安装，到集群的配置，再到性能的调优，最后是一些Troubshooting。</p>
<p>        这一年工作积累的资料很多，在硬盘里东一点西一点，没有经过梳理，总觉得不踏实，似乎随时可能忘记，遇到问题有时候还要临时抱佛脚的上Google。</p>
<p>         所以我希望这个系列能理清头脑，特别是后面比较复杂的性能调优这一块。前面基础部分希望可以给刚接触Websphere的带来一个捷径（其实真正的想法是以后软件部要让我搭测试环境的话我直接一个地址发过去就可以了。。）。</p>
<p>         你会发现文章里很多内容似曾相识，这并不奇怪，我当初也是不断的从网上、论坛里搜来的嘛。这里要感谢我的同事小白，是他在我刚入门的时候耐心解答问题，不管什么时候都能电话支持。还要提到的是<a href="http://www.webspherechina.net" target="_blank">http://www.webspherechina.net</a>，这个论坛是学习Websphere的好去处。</p>
<p>当然要是遇到棘手的问题，不能忘了IBM的官方网站。</p>
<p><a href="http://www.ibm.com/developerworks/cn/websphere/">http://www.ibm.com/developerworks/cn/websphere/</a></p>
<p><a href="http://publib.boulder.ibm.com/infocenter/wasinfo/v6r1/index.jsp?topic=/com.ibm.websphere.nd.doc/info/welcome_nd.html">http://publib.boulder.ibm.com/infocenter/wasinfo/v6r1/index.jsp?topic=/com.ibm.websphere.nd.doc/info/welcome_nd.html</a></p>
<hr /><h2>Related posts:</h2><ul><li><a href="http://www.hashei.me/2010/02/tunning-websphere-application-server-was.html" rel="bookmark" title="Permanent Link: 软硬兼施 优化 WebSphere Application Server">软硬兼施 优化 WebSphere Application Server</a></li><li><a href="http://www.hashei.me/2009/05/introduce-was-community-edition.html" rel="bookmark" title="Permanent Link: 应用服务器WAS CE21介绍">应用服务器WAS CE21介绍</a></li><li><a href="http://www.hashei.me/2009/09/ibm_websphere_support_tips1.html" rel="bookmark" title="Permanent Link: IBM WebSphere Recent Supports">IBM WebSphere Recent Supports</a></li><li><a href="http://www.hashei.me/2009/05/websphere-cluster.html" rel="bookmark" title="Permanent Link: WebSphere入门篇（四）-安装集群">WebSphere入门篇（四）-安装集群</a></li><li><a href="http://www.hashei.me/websphere-series" rel="bookmark" title="Permanent Link: WebSphere相关">WebSphere相关</a></li></ul><hr /><small>  Copyright &copy; 2008 This feed is for personal, non-commercial use only<br />
<a href=www.hashei.com >聚沙成塔-小哈的记事薄</a> by hashei 
如果喜欢，欢迎订阅<a href=feed.hashei.com >feed.hashei.com</a><br />
Digital Fingerprint:
 10f920a9f2bae51c3c73c4f5fb50a949</small>]]></content:encoded>
			<wfw:commentRss>http://www.hashei.me/2009/04/websphere-introduce.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>写在前面</title>
		<link>http://www.hashei.me/2009/04/introduce-myself.html?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=introduce-myself</link>
		<comments>http://www.hashei.me/2009/04/introduce-myself.html#comments</comments>
		<pubDate>Thu, 23 Apr 2009 09:25:55 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[生活感想]]></category>
		<category><![CDATA[学习]]></category>

		<guid isPermaLink="false">http://hashei.me/?p=207</guid>
		<description><![CDATA[我叫熊志辉，07年参加工作。从我博客记录的内容，你不难猜出我的职业——系统工程师。
一点服务器技术、一点操作系统知识、一点数据库概念、一点中间件结构、一点编程能力、一点网络基础、一点存储原理，还要一点IT素质和经验积累。
借用ITpub第十九期上Orian的话，这些就是我近两年来的收获。
头一年接触的是Windows平台的产品，从Windows 2003 AD、Exchange、SQL Server、WSUS、DNS到ISA Server、集群，踏入了大门，知道了60%的知识，但是真正企业级的大规模部署没有什么参与。
如今主要负责中间件，从Websphere、Weblogic到OAS、MQ，经过近一年的工作，可以说80%的工作可以手到擒来。但是Troubleshooting仍是弱项——一是经验还不足，二是理论知识不够扎实。缺乏JAVA知识让我无法判断有些错误是由程序引起，还是中间件配置的不当造成（最典型的比如JAR包的错误），其次IBM动辄几百页的redbook也让我颇为忌惮。不过经过一年多这方面的工作，加上IBM认证考试前的学习，让我找到了查看文档的方法，从IBM浩如烟海的文档库中最快找到适合自己当前需求的内容。
中间件的承前启后、跨平台，也督促着我学习数据库知识，和AIX、Hpux、Linux等操作系统知识。做压力测试的过程让我学习了应用程序的profiling、Application Server的Tuning，了解了Apache、Lighttpd、Nginx和不同应用服务器配合下的优缺点。
正如之前所说，系统工程师这个牵涉到方方面面的职业，让知识的累积也有一定的难度——学习总是交叉并发进行的。所以这个博客，一是把自己工作中累积下来的经验进行分享；二是犹如老师授课一样，把知识进行梳理并且简单明了的表达出来（这是我觉得最好的巩固知识方式了）；三是用一篇篇更新督促自己不断学习，否则计算机类一本上百页能当砖头的书，很容易就让人打退堂鼓。
接下来我计划学习些和中间件有关的JAVA知识，一个脚本语言（惭愧啊，干系统工程师居然不会写脚本），深入学习UNIX（而不仅仅是几个命令）。当然还有一点作为业余爱好的数学——干计算机这行的，如果数学不好，怎么才能真正的深入理解呢？
Related posts:Websphere系列介绍应用服务器WAS CE21介绍IBM WebSphere Recent Supports  Copyright &#169; 2008 This feed is for personal, non-commercial use only
聚沙成塔-小哈的记事薄 by hashei 
如果喜欢，欢迎订阅feed.hashei.com
Digital Fingerprint:
 10f920a9f2bae51c3c73c4f5fb50a949]]></description>
			<content:encoded><![CDATA[<p>我叫熊志辉，07年参加工作。从我博客记录的内容，你不难猜出我的职业——系统工程师。</p>
<blockquote><p>一点服务器技术、一点操作系统知识、一点数据库概念、一点中间件结构、一点编程能力、一点网络基础、一点存储原理，还要一点IT素质和经验积累。</p></blockquote>
<p>借用ITpub第十九期上Orian的话，这些就是我近两年来的收获。</p>
<p>头一年接触的是Windows平台的产品，从Windows 2003 AD、Exchange、SQL Server、WSUS、DNS到ISA Server、集群，踏入了大门，知道了60%的知识，但是真正企业级的大规模部署没有什么参与。</p>
<p>如今主要负责中间件，从Websphere、Weblogic到OAS、MQ，经过近一年的工作，可以说80%的工作可以手到擒来。但是Troubleshooting仍是弱项——一是经验还不足，二是理论知识不够扎实。缺乏JAVA知识让我无法判断有些错误是由程序引起，还是中间件配置的不当造成（最典型的比如JAR包的错误），其次IBM动辄几百页的redbook也让我颇为忌惮。不过经过一年多这方面的工作，加上IBM认证考试前的学习，让我找到了查看文档的方法，从IBM浩如烟海的文档库中最快找到适合自己当前需求的内容。</p>
<p>中间件的承前启后、跨平台，也督促着我学习数据库知识，和AIX、Hpux、Linux等操作系统知识。做压力测试的过程让我学习了应用程序的profiling、Application Server的Tuning，了解了Apache、Lighttpd、Nginx和不同应用服务器配合下的优缺点。</p>
<p>正如之前所说，系统工程师这个牵涉到方方面面的职业，让知识的累积也有一定的难度——学习总是交叉并发进行的。所以这个博客，一是把自己工作中累积下来的经验进行分享；二是犹如老师授课一样，把知识进行梳理并且简单明了的表达出来（这是我觉得最好的巩固知识方式了）；三是用一篇篇更新督促自己不断学习，否则计算机类一本上百页能当砖头的书，很容易就让人打退堂鼓。</p>
<p>接下来我计划学习些和中间件有关的JAVA知识，一个脚本语言（惭愧啊，干系统工程师居然不会写脚本），深入学习UNIX（而不仅仅是几个命令）。当然还有一点作为业余爱好的数学——干计算机这行的，如果数学不好，怎么才能真正的深入理解呢？</p>
<hr /><h2>Related posts:</h2><ul><li><a href="http://www.hashei.me/2009/04/websphere-introduce.html" rel="bookmark" title="Permanent Link: Websphere系列介绍">Websphere系列介绍</a></li><li><a href="http://www.hashei.me/2009/05/introduce-was-community-edition.html" rel="bookmark" title="Permanent Link: 应用服务器WAS CE21介绍">应用服务器WAS CE21介绍</a></li><li><a href="http://www.hashei.me/2009/09/ibm_websphere_support_tips1.html" rel="bookmark" title="Permanent Link: IBM WebSphere Recent Supports">IBM WebSphere Recent Supports</a></li></ul><hr /><small>  Copyright &copy; 2008 This feed is for personal, non-commercial use only<br />
<a href=www.hashei.com >聚沙成塔-小哈的记事薄</a> by hashei 
如果喜欢，欢迎订阅<a href=feed.hashei.com >feed.hashei.com</a><br />
Digital Fingerprint:
 10f920a9f2bae51c3c73c4f5fb50a949</small>]]></content:encoded>
			<wfw:commentRss>http://www.hashei.me/2009/04/introduce-myself.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

