<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
<channel>
<title><![CDATA[老袁博客 - IBM/AIX]]></title>
<link>http://www.oldyuan.com/</link>
<description><![CDATA[奋斗的路只有起点没有终点]]></description>
<language>zh-cn</language>
<copyright><![CDATA[Copyright 2005 PBlog3 v2.8]]></copyright>
<webMaster><![CDATA[leio1984@hotmail.com(老袁)]]></webMaster>
<generator>PBlog2 v2.4</generator> 
<image>
	<title>老袁博客</title>
	<url>http://www.oldyuan.com/images/logos.gif</url>
	<link>http://www.oldyuan.com/</link>
	<description>老袁博客</description>
</image>

			<item>
			<link>http://www.oldyuan.com/article/127.htm</link>
			<title><![CDATA[sysplanar0 报错]]></title>
			<author>leio1984@hotmail.com(老袁)</author>
			<category><![CDATA[IBM/AIX]]></category>
			<pubDate>Thu,09 Oct 2008 11:01:31 +0800</pubDate>
			<guid>http://www.oldyuan.com/default.asp?id=127</guid>
		<description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp;一台IBM P570 小机从本月五号开始就一下发生如下错误:<br/>&nbsp;&nbsp;$ errpt<br/>IDENTIFIER TIMESTAMP&nbsp;&nbsp;T C RESOURCE_NAME&nbsp;&nbsp;DESCRIPTION<br/>A6DF45AA&nbsp;&nbsp; 1009092808 I O RMCdaemon&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The daemon is started.<br/>7F88E76D&nbsp;&nbsp; 1009092808 P S console&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;SOFTWARE PROGRAM ERROR<br/>7F88E76D&nbsp;&nbsp; 1009092808 P S console&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;SOFTWARE PROGRAM ERROR<br/>7F88E76D&nbsp;&nbsp; 1009092808 P S console&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;SOFTWARE PROGRAM ERROR<br/>1BA7DF4E&nbsp;&nbsp; 1009092708 P S SRC&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;SOFTWARE PROGRAM ERROR<br/>BA431EB7&nbsp;&nbsp; 1009092708 P S SRC&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;SOFTWARE PROGRAM ERROR<br/>BA431EB7&nbsp;&nbsp; 1009092708 P S SRC&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;SOFTWARE PROGRAM ERROR<br/>EC0BCCD4&nbsp;&nbsp; 1009092708 T H ent0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ETHERNET DOWN<br/>9DBCFDEE&nbsp;&nbsp; 1009092708 T O errdemon&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ERROR LOGGING TURNED ON<br/>192AC071&nbsp;&nbsp; 1009090708 T O errdemon&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ERROR LOGGING TURNED OFF<br/>BE0A03E5&nbsp;&nbsp; 1009090708 P H sysplanar0&nbsp;&nbsp;&nbsp;&nbsp; ENVIRONMENTAL PROBLEM<br/>以上只是近一两日的,此台服务器通过HMC管理,每次系统都会自动关机,要么自动重,因为在HMC设置中是设置成系统重启进入到Standby状态,所以系统每次是不能启动起来,必需手动启动.查看系统日志,DIAG后都没有发现什么问题,只是提到过电源问题,现在目前已换过一个电源,而且此机器是双电源,应当不可能同时坏两个的.IBM工程师说是crontab job的原因,可是关了,问题还是一样,今天开始启动的更是平凡,一个小时不到,就会重启/power off.被搞的没办法了<br/><br/>&nbsp;&nbsp;&nbsp;&nbsp;最后觉定还是升一下微码,本来想自己升,后来想想还是叫IBM工程师升.办公室今天比较热,空调说是要停两天,天啊!<br/><br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;目前此机器运行良好,说说维修经历,硬件检查过,系统恢复过,最后没办法用DVD重新安装了一个全新的系统,还是会自动poweroff,后来IBM哪边也被弄的没有办法,快递过来一堆零件,自从两天前换了个P570机器监控面板后到今天近两天的时间都没有出现过重启及poweroff,如果明天再不出问题的话,晚上我准备用磁带把最近备份的系统恢复过去,再跑完这个星期,如果一切OK的话,就正式把EAS应用切回来呵呵!<br/><br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;貌似说前面的监控面板有个监控组件在里面,可能出问题了,所以才会导致系统AUTO POWEOFF.<br/>]]></description>
		</item>
		
			<item>
			<link>http://www.oldyuan.com/article/122.htm</link>
			<title><![CDATA[压缩/解压缩命令]]></title>
			<author>leio1984@hotmail.com(老袁)</author>
			<category><![CDATA[IBM/AIX]]></category>
			<pubDate>Sat,27 Sep 2008 14:40:05 +0800</pubDate>
			<guid>http://www.oldyuan.com/default.asp?id=122</guid>
		<description><![CDATA[<img src="http://www.oldyuan.com/attachments/month_0809/h200892714403.JPG" border="0" alt=""/><br/>linux/UNix OS 中能用到的就这些]]></description>
		</item>
		
			<item>
			<link>http://www.oldyuan.com/article/118.htm</link>
			<title><![CDATA[SAN disk and SAN tape drive on RedHat]]></title>
			<author>leio1984@hotmail.com(老袁)</author>
			<category><![CDATA[IBM/AIX]]></category>
			<pubDate>Sat,20 Sep 2008 18:56:34 +0800</pubDate>
			<guid>http://www.oldyuan.com/default.asp?id=118</guid>
		<description><![CDATA[》Check the QLogic HBA card information:<br/># lspci | grep -i qlogic<br/>=================================================<br/>02:03.0 Fibre Channel: QLogic Corp. QLA2312 Fibre Channel Adapter (rev 02)<br/>=================================================<br/><br/>#dmesg | grep -i qlogic<br/>=================================================<br/>QLogic Fibre Channel HBA Driver<br/>QLogic Fibre Channel HBA Driver: 8.01.02-d4<br/>QLogic QLA2340 - 133MHz PCI-X to 2Gb FC, Single Channel<br/>=================================================<br/><br/>#cat /proc/scsi/qla2xxx/1<br/>=================================================<br/>QLogic PCI to Fibre Channel Host Adapter for QLA2340:<br/>Firmware version 3.03.18 IPX, Driver version 8.01.02-d4<br/>ISP: ISP2312, Serial# S50819<br/>Request Queue = 0x371c0000, Response Queue = 0x37200000<br/>Request Queue count = 2048, Response Queue count = 512<br/>Total number of active commands = 0<br/>Total number of interrupts = 191<br/>Device queue depth = 0x10<br/>Number of free request entries = 2046<br/>Number of mailbox timeouts = 0<br/>Number of ISP aborts = 0<br/>Number of loop resyncs = 0<br/>Number of retries for empty slots = 0<br/>Number of reqs in pending_q= 0, retry_q= 0, done_q= 0, scsi_retry_q= 0<br/>Host adapter:loop state = &lt;READY&gt;, flags = 0x1a03<br/>Dpc flags = 0x4000000<br/>MBX flags = 0x0<br/>Link down Timeout = 000<br/>Port down retry = 030<br/>Login retry count = 030<br/>Commands retried with dro&#112;ped frame(s) = 0<br/>Product ID = 4953 5020 2020 0002<br/><br/><br/>SCSI Device Information:<br/>scsi-qla0-adapter-node=200000e08b1cc33d;<br/>scsi-qla0-adapter-port=210000e08b1cc33d;<br/><br/>FC Port Information:<br/><br/>SCSI LUN Information:<br/>(Id:Lun) * - indicates lun is not registered with the OS.<br/>=================================================<br/><br/>》Check the FC HBA driver:<br/># lsmod | grep qla<br/>=================================================<br/>qla2300 128577 0<br/>qla2xxx 165733 1 qla2300<br/>scsi_transport_fc 12225 1 qla2xxx<br/>scsi_mod 116941 5 qla2xxx,scsi_transport_fc,sg,ips,sd_mod<br/>=================================================<br/><br/># cat /etc/modprobe.conf<br/>=================================================<br/>alias eth0 e1000<br/>alias eth1 e1000<br/>alias eth2 e100<br/>alias scsi_hostadapter ips<br/>alias usb-controller ohci-hcd<br/>alias scsi_hostadapter1 qla2300<br/>=================================================<br/><br/># /sbin/modinfo qla2300<br/>=================================================<br/>filename: /lib/modules/2.6.9-34.ELsmp/kernel/drivers/scsi/qla2xxx/qla2300.ko<br/>author: QLogic Corporation<br/>description: QLogic ISP23xx FC-SCSI Host Bus Adapter driver<br/>license: GPL<br/>version: 8.01.02-d4 D73E2D50775E367AEF5F143<br/>vermagic: 2.6.9-34.ELsmp SMP 686 REGPARM 4KSTACKS gcc-3.4<br/>depends: qla2xxx<br/>alias: pci:v00001077d00002300sv*sd*bc*sc*i*<br/>alias: pci:v00001077d00002312sv*sd*bc*sc*i*<br/>=================================================<br/><br/>》Setup multiple LUNs on RedHat AS4<br/>1. In the /etc/modprobe.conf add the line below:<br/><br/>options scsi_mod max_luns=255<br/><br/>Note the difference in the previous RedHat Enterprise Linux versions wh&#101;re the option would be<br/>options scsi_mod max_scsi_luns<br/><br/>2. Build the initrd ramdisk to implement the change:<br/><br/># cd /boot<br/># cp initrd-2.6.9-34.ELsmp.img initrd-2.6.9-34.ELsmp.img.bak.20071011<br/># mkinitrd -f initrd-2.6.9-34.ELsmp.img 2.6.9-34.ELsmp<br/><br/>3. Reboot the system. After the boot, the LUNs should appear.<br/><br/>》Detect the new LUNs and remove the lost LUNs without reboot through fibrechannel<br/>Run the command below:<br/><br/>#vi rescan-LUNs.sh<br/><br/><br/>#!/bin/bash <br/> echo &#34;1&#34; &gt; /sys/class/fc_host/host1/issue_lip <br/>echo &#34;- - -&#34; &gt; /sys/class/scsi_host/host1/scan <br/> cat /proc/scsi/scsi<br/><br/><br/>#vi remove-LUNs.sh<br/><br/><br/>#!/bin/bash <br/># <br/># <br/># Program Usage <br/># main <br/> if test @$1 = @--help -o @$1 = @-h -o @$1 = @-?; then <br/>#echo &#34;Usage: remove-LUN.sh [A] [C] [S] [L]&#34; <br/> echo &#34;Usage: $0 [host] [channel] [id] [lun]&#34; <br/> echo &#34;Explain:&#34; <br/> echo &#34; host&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; is the host bus adapter(HBA) number&#34; <br/> echo &#34; channel&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;is the channel ID on the HBA&#34; <br/> echo &#34; id&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; is the SCSI ID of the removed device&#34; <br/> echo &#34; lun&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;is the LUN of the removed device&#34; <br/> echo &#34; e.g&nbsp;&nbsp;$0 1 0 2 2&#34; <br/> exit 0 <br/> fi <br/>&nbsp;&nbsp;<br/># Check options <br/> if [ $# -ne 4 ]; then <br/> echo &#34;!! Wrong arguments,program terminated&#34; <br/> exit 1 <br/> fi <br/>&nbsp;&nbsp;<br/>&nbsp;&nbsp;<br/># Main <br/> HOST=$1 <br/> CHANNEL=$2 <br/> ID=$3 <br/> LUN=$4 <br/>&nbsp;&nbsp;<br/> if test -e /sys/class/scsi_device/$HOST:$CHANNEL:$ID:$LUN/device/del&#101;te; then <br/> echo 1 &gt; /sys/class/scsi_device/$HOST:$CHANNEL:$ID:$LUN/device/del&#101;te <br/># Try reading, should fail if device is gone <br/> echo &#34;$CHANNEL $ID $LUN&#34; &gt; /sys/class/scsi_host/host$HOST/scan <br/>else <br/>echo &#34;scsi remove-single-device $HOST $CHANNEL $ID $LUN&#34; &gt; /proc/scsi/scsi <br/> fi <br/> cat /proc/scsi/scsi<br/><br/><br/>reference link:<br/><br/><a href="http://www.linuxquestions.org/questions/red-hat-31/how-to-detect-a-new-disk-with-red-hat-advace-server-3-461814/" target="_blank" rel="external">http://www.linuxquestions.org/questions/red-hat-31/how-to-detect-a-new-disk-with-red-hat-advace-server-3-461814/</a><br/><a href="http://kbase.redhat.com/faq/FAQ_43_7921.shtm" target="_blank" rel="external">http://kbase.redhat.com/faq/FAQ_43_7921.shtm</a><br/><br/>》Fdisk to the disk that has ever been used with IBM-AIX.<br/><br/>Error:<br/>[root@ns03 ~]# fdisk /dev/sdc<br/><br/>There is a valid AIX label on this disk.<br/>Unfortunately Linux cannot handle these<br/>disks at the moment. Nevertheless some<br/>advice:<br/>1. fdisk will destroy its contents on write.<br/>2. Be sure that this disk is NOT a still vital<br/>part of a volume group. (Otherwise you may<br/>erase the other disks as well, if unmirrored.)<br/>3. Before deleting this physical volume be sure<br/>to remove the disk logically from your AIX<br/>machine. (Otherwise you become an AIXpert).<br/><br/>Answer:<br/>Run the command below.<br/><br/># dd if=/dev/zero of=/dev/sdc bs=512 count=8<br/>]]></description>
		</item>
		
			<item>
			<link>http://www.oldyuan.com/article/103.htm</link>
			<title><![CDATA[操作log]]></title>
			<author>leio1984@hotmail.com(老袁)</author>
			<category><![CDATA[IBM/AIX]]></category>
			<pubDate>Sat,16 Aug 2008 10:40:29 +0800</pubDate>
			<guid>http://www.oldyuan.com/default.asp?id=103</guid>
		<description><![CDATA[exportvg easvg<br/><br/><br/><br/>fuser -kuxc /oradata10;umount /oradata10<br/><br/>syncvg -v easvg<br/><br/><br/>synclvodm easvg<br/><br/><br/>187 /backup/OS share when OS being on,and other SUN Solaris OS set AutoFS mount /backup/OS,then if have a time test <br/><br/>crontab about auto ufsdump the /,/var]]></description>
		</item>
		
			<item>
			<link>http://www.oldyuan.com/article/100.htm</link>
			<title><![CDATA[有用的LED代码列表和具体说明]]></title>
			<author>leio1984@hotmail.com(老袁)</author>
			<category><![CDATA[IBM/AIX]]></category>
			<pubDate>Wed,13 Aug 2008 15:43:24 +0800</pubDate>
			<guid>http://www.oldyuan.com/default.asp?id=100</guid>
		<description><![CDATA[如下列出了安装一台AIX 5L操作系统时有用的LED代码列表和具体说明：<br/><br/>c40 &#160;&#160;&#160;&#160;Configuration files are being restored.（配置文件已恢复）<br/>c41 &#160;&#160;&#160;&#160;Could not determine the boot type o&#114; device.（不能确定引导类型或者设备）<br/>c42 &#160;&#160;&#160;&#160;Extracting data files from diskette.（正从磁盘中析取数据）<br/>c43 &#160;&#160;&#160;&#160;Cannot access the boot/install tape.（不能访问引导/安装磁带）<br/>c44 &#160;&#160;&#160;&#160;Initializing installation database with target disk information.（用目标磁盘信息初始化安装数据库）<br/>c45 &#160;&#160;&#160;&#160;Cannot configure the console.（不能配置控制台）<br/>c46 &#160;&#160;&#160;&#160;Normal installation processing.（正常安装进行中）<br/>c47 &#160;&#160;&#160;&#160;Could not cr&#101;ate a physical volume identifier (PVID) on disk.（不能在磁盘上创建物理卷标识符）<br/>c48 &#160;&#160;&#160;&#160;Prompting you for input.（提示输入）<br/>c49 &#160;&#160;&#160;&#160;Could not cr&#101;ate o&#114; form the JFS log.（不能创建或构建JFS日志）<br/>c50 &#160;&#160;&#160;&#160;Creating root volume group on target disks.（在目标磁盘上创建rootvg）<br/>c51&#160;&#160;&#160;&#160;No paging devices were found.（无页面设备）<br/>c52 &#160;&#160;&#160;&#160;Changing from RAM environment to disk environment.（从内存环境转换到磁盘环境）<br/>c53 &#160;&#160;&#160;&#160;Not enough space in the /tmp directory to do a preservation installation.（/tmp目录没有足够的空间进行保存安装）<br/>c54 &#160;&#160;&#160;&#160;Installing either BOS o&#114; additional packages.（安装BOS或附加包）<br/>c55 &#160;&#160;&#160;&#160;Could not remove the specified logical volume in a preservation installation.（在保存安装中，不能移除特定的逻辑卷）<br/>c56 &#160;&#160;&#160;&#160;Running user-defined customization.（运行自定义定制）<br/>c57 &#160;&#160;&#160;&#160;Failure to restore BOS.（恢复BOS失败）<br/>c58 &#160;&#160;&#160;&#160;Displaying message to turn the key.（显示控制键信息）<br/>c59 &#160;&#160;&#160;&#160;Could not copy either device special files, device ODM, o&#114; volume group&nbsp;&nbsp;information from RAM to disk.（不能复制设备特性文件，设备ODM，或者不能把卷组信息从RAM复制到disk）<br/>c61 &#160;&#160;&#160;&#160;Failed to cr&#101;ate the boot image.（创建引导映像失败）<br/>c62 &#160;&#160;&#160;&#160;Loading platform dependent debug files.（加载平台相关的调试文件）<br/>c63 &#160;&#160;&#160;&#160;Loading platform dependent data files.（加载平台相关的数据文件）<br/>c64 &#160;&#160;&#160;&#160;Failed to load platform dependent data files.（加载平台相关的数据文件失败）<br/>]]></description>
		</item>
		
			<item>
			<link>http://www.oldyuan.com/article/85.htm</link>
			<title><![CDATA[cacti]]></title>
			<author>leio1984@hotmail.com(老袁)</author>
			<category><![CDATA[IBM/AIX]]></category>
			<pubDate>Wed,09 Jul 2008 15:29:24 +0800</pubDate>
			<guid>http://www.oldyuan.com/default.asp?id=85</guid>
		<description><![CDATA[Cacti是一套基于PHP,MySQL,SNMP及RRDTool开发的网络流量监测图形分析工具。它通过snmpget来获取数据，使用RRDtool绘画图形，而且你完全可以不需要了解RRDtool复杂的参数。它提供了非常强大的数据和用户管理功能，可以指定每一个用户能查看树状结构、host以及任何一张图，还可以与LDAP结合进行用户验证，同时也能自己增加模板，功能非常强大完善，界面友好。<br/><br/>虽然 MRTG 是一套非常好用的软件但是它毕竟是一套很旧的软件了，其作者在多年前已经开发出 RRDTool 代替该软件，现在已经发展的很成熟了，但由于 RRDTool 的指令非常复杂，对于使用者非常的麻烦，幸运的是有一套软件 Cacti 的发展就是基于让 RRDTool 使用者更方便使用该软件，除了基本的 Snmp 流量跟系统资讯监控外，Cacti 也可外挂 Scripts 及加上 Templates 来作出各式各样的监控图<br/><br/>功能太强了,最近准备弄一个监控公司使用的UNIX/linux/Windows各平台系统的统一管理界面]]></description>
		</item>
		
			<item>
			<link>http://www.oldyuan.com/article/67.htm</link>
			<title><![CDATA[DS4800]]></title>
			<author>leio1984@hotmail.com(老袁)</author>
			<category><![CDATA[IBM/AIX]]></category>
			<pubDate>Mon,26 May 2008 17:24:30 +0800</pubDate>
			<guid>http://www.oldyuan.com/default.asp?id=67</guid>
		<description><![CDATA[<br/><img src="http://www.serverol.com/upimages/tech/ibm_ds4800_02_2007_3_8_10_37_39.jpg" border="0" alt=""/>]]></description>
		</item>
		
			<item>
			<link>http://www.oldyuan.com/article/55.htm</link>
			<title><![CDATA[AIX主机安装Oracle Database 10g Release 2 详细步骤]]></title>
			<author>leio1984@hotmail.com(老袁)</author>
			<category><![CDATA[IBM/AIX]]></category>
			<pubDate>Fri,09 May 2008 16:20:39 +0800</pubDate>
			<guid>http://www.oldyuan.com/default.asp?id=55</guid>
		<description><![CDATA[ORACLE安装准备:<br/>文件系统检查,CPU省略不写,/tmp分区要足够大,最好创建单独的oracle安装文件系统/oracle10<br/>确认安装oracle所需的系统库文件是否安装<br/>lslpp -l bos.adt.base bos.adt.lib bos.adt.libm bos.perf.perfstat <br/>bos.perf.libperfstat bos.perf.proctools bos.adt.prof bos.cifs_fs.rte<br/>Fileset Level State Description <br/>----------------------------------------------------------------------------<br/>Path: /usr/lib/objrepos<br/>bos.adt.base 5.3.0.50 COMMITTED Base Application Development<br/>Toolkit <br/>bos.adt.lib 5.3.0.50 COMMITTED Base Application Development<br/>Libraries <br/>bos.adt.libm 5.3.0.40 COMMITTED Base Application Development<br/>Math Library <br/>bos.adt.prof 5.3.0.50 COMMITTED Base Profiling Support <br/>bos.cifs_fs.rte 5.3.0.50 COMMITTED Runtime for SMBFS <br/>bos.perf.libperfstat 5.3.0.50 COMMITTED Performance Statistics Library<br/>Interface <br/>bos.perf.perfstat 5.3.0.50 COMMITTED Performance Statistics<br/>Interface <br/>bos.perf.proctools 5.3.0.50 COMMITTED Proc Filesystem Tools <br/><br/>Path: /etc/objrepos<br/>bos.cifs_fs.rte 5.3.0.50 COMMITTED Runtime for SMBFS <br/>bos.perf.libperfstat 5.3.0.50 COMMITTED Performance Statistics Library<br/>Interface <br/>bos.perf.perfstat 5.3.0.50 COMMITTED Performance Statistics<br/>Interface<br/>如果有库文件没有安装，请使用smitty(CLI)或smit(GUI),根据向导进行安装。注:我的AIX系统有报一个错:$ ksh: bos.perf.libperfstat:&nbsp;&nbsp;not found.我没有管照样安装,现在也没有明白这些系统库文件与oracle的关系.以上OS的部分准备好.<br/>o&#114;ACLE 10.2.0.1安装与配置:<br/>(1)从oracle官方网站上下载Oracle Database 10g Release 2 (10.2.0.1.0) for AIX5L ,将下载好的文件用FTP上传至服务器,并通过如下命令进行解压缩：<br/>$unzip 10gr2_aix5l64_database.cpio.gz<br/>$cpio -idcmv &lt; 10gr2_aix5l64_database.cpio.gz<br/>下载文件上当如下:<br/>$ ls -l<br/>total 5715160<br/>-rwxrwxrwx&nbsp;&nbsp; 1 root&nbsp;&nbsp;&nbsp;&nbsp; system&nbsp;&nbsp; 1321110528 May 08 14:16 10gr2_aix5l64_database.cpio&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;/程序安装文件<br/>-rwxrwxrwx&nbsp;&nbsp; 1 root&nbsp;&nbsp;&nbsp;&nbsp; system&nbsp;&nbsp; 1604896973 May 08 14:18 p5337014_10203_AIX64-5L.zip&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;/patch<br/>(2)创建用户组oinstall和dba<br/>(3)创建oracle10用户，用户组为oinstall和dba<br/>修改oracle用户的系统限额<br/>vi /etc/security/limits<br/>default:<br/>fsize = -1<br/>core = 2097151<br/>cpu = -1<br/>data = 262144<br/>rss = 65536<br/>stack = 65536<br/>nofiles = 2000<br/>(4)修改oracle用户的.pofile文件<br/>export o&#114;ACLE_BASE=/oracle10<br/>export o&#114;ACLE_HOME=/oracle10/product/10.2.0/db_1&nbsp;&nbsp;<br/>export o&#114;ACLE_SID=eas07<br/>export o&#114;ACLE_TERM=vt100<br/>export TNS_ADMIN=$ORACLE_HOME/network/admin<br/>export NLS_LANG=AMERICAN_AMERICA.UTF8 <br/>export o&#114;A_NLS33=$ORACLE_HOME/ocommon/nls/admin/data<br/>export LD_LIBRARY_PATH=$ORACLE_HOME/lib32:$ORACLE_HOME/lib:/usr/lib<br/>export LIBPATH=$ORACLE_HOME/lib:$ORACLE_HOME/ctx/lib<br/>export o&#114;A_DB=$ORACLE_HOME/dbs<br/>export CLASS_PATH=JRE_Location:$ORACLE_HOME/jlib:$ORACLE_HOME/product/jlib&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br/>export PATH=$ORACLE_HOME/bin:$PATH<br/>(5)以root执行rootpre.sh<br/>(6) 以oracle10用户登陆<br/>export DISPLAY=本机的IP地址:0.0<br/>如<br/>export DISPLAY=192.168.100.167:0.0<br/>然后执行runInstall.sh脚本，根据GUI向导进行oracle的安装<br/>至此，oracle的安装就完成了。下面给oracle打上patch<br/>1.去metalink上下载补丁包 p5337014_10203_Linux-x86-64.zip,解压缩下载的补丁包文件,命令如下:<br/>$ unzip p5337014_10203_LINUX.zip<br/>2.shutdown 数据库，<br/>sqlplus /NOLOG<br/>SQL&gt; CONNECT SYS/SYS_password AS SYSDBA<br/>SQL&gt; SHUTDOWN IMMEDIATE<br/>3.If you are not installing the software on the local system then, run the following command on remote machine(设置终端显示)<br/>$ export DISPLAY=localhost:0.0<br/>4.kill all o&#114;a process这样才能正常进行安装,否则在打PATCH时会报错<br/>$ emctl stop dbconsole<br/>$ isqlplusctl stop<br/>5.$cd patchset_directory/Disk1<br/>&nbsp;&nbsp;$ ./runInstaller<br/>按图形界面提示一步步安装下去,在安装快结束时,会提醒你以root用户执行以下路径命令:$ORACLE_HOME/root.sh script as the root user结束patch的安装<br/>6.按以下步骤操作:<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$ lsnrctl start <br/> $sqlplus &#39;/as sysdba&#39;<br/>        sql&gt; startup upgrade;   ---以upgrade方式打开数据库，否则无法打开实例<br/>SQL&gt; SPOOL patch.log<br/>SQL&gt; @?/rdbms/admin/catupgrd.sql<br/>SQL&gt; SPOOL OFF<br/>SQL&gt; Shutdown immediate<br/>SQL&gt; Startup<br/>SQL&gt; @?/rdbms/admin/utlrp.sql<br/>执行完毕后，如果没有错误，shutdown immediate关闭数据库，然后就可以 startup 打开数据库。]]></description>
		</item>
		
			<item>
			<link>http://www.oldyuan.com/article/44.htm</link>
			<title><![CDATA[什么叫做裸设备]]></title>
			<author>leio1984@hotmail.com(老袁)</author>
			<category><![CDATA[IBM/AIX]]></category>
			<pubDate>Wed,23 Apr 2008 15:19:03 +0800</pubDate>
			<guid>http://www.oldyuan.com/default.asp?id=44</guid>
		<description><![CDATA[<span style="font-size:12pt">到目前还没有弄清楚裸设备的定义,所以在网上搜索了一下,与大家分享<br/><br/>裸设备，也叫裸分区（原始分区），是一种没有经过格式化，不被Unix通过文件系统来读取的特殊字符设备1．什么叫做裸设备？ <br/><br/>　　裸设备，也叫裸分区（原始分区），是一种没有经过格式化，不被Unix通过文件系统来读取的特殊字符设备。它由应用程序负责对它进行读写操作。不经过文件系统的缓冲。 <br/><br/>　　2．如何辨别裸设备？ <br/><br/>　　在Unix的/dev 目录下，有许多文件，其中有两个大类：字符设备文件和块设备文件。 <br/><br/>　　字符设备特殊文件进行I/O操作不经过操作系统的缓冲区，而块设备特殊文件用来同外设进行定长的包传输。字符特殊文件与外设进行I/o操作时每次只传输一个字符。而对于块设备特殊文件来说，它用了cache机制，在外设和内存之间一次可以传送一整块数据。裸设备使用字符特殊文件。在/dev 目录下，你可以看到许多这样的文件。 <br/><br/>　　3．使用裸设备的好处 <br/><br/>　　因为使用裸设备避免了再经过Unix操作系统这一层，数据直接从Disk到Oracle进行传输，所以使用裸设备对于读写频繁的数据库应用来说，可以极大地提高数据库系统的性能。当然，这是以磁盘的 I/O 非常大，磁盘I/O已经称为系统瓶颈的情况下才成立。如果磁盘读写确实非常频繁，以至于磁盘读写成为系统瓶颈的情况成立，那么采用裸设备确实可以大大提高性能，最大甚至可以提高至40％，非常明显。 <br/><br/>　　而且，由于使用的是原始分区，没有采用文件系统的管理方式，对于Unix维护文件系统的开销也都没有了，比如不用再维护I-node，空闲块等，这也能够导致性能的提高。 <br/><br/>　　4．如何决定是否应该使用裸设备？ <br/><br/>　　判断是否使用裸设备要从以下方面进行考虑：首先，数据库系统本身需要已经被比较好的经过了优化。优化是一门很有些技术的话题，很难简单地讲述。其次，使用Unix命令来辨别是否存在磁盘读写瓶颈。比如Unix的vmstat, sar 等命令都可以较好的进行鉴别。如果决定采用裸设备，需要磁盘上还有空闲的分区。否则，就要新添磁盘，或者对原有系统重新规划。 <br/><br/>　　5．什么系统必须使用裸设备？ <br/><br/>　　如果使用了Oracle 并行服务器选项，则必须采用裸设备来存放所有的数据文件，控制文件，重做日志文件。只有把这些文件放到裸设备上，才能保证所有Oracle 实例都可以读取这个数据库的文件。这是由Unix操作系统的特性决定的。 <br/><br/>　　还有一种情况是，如果你想使用异步I/O，那么在有些Unix上也必须采用裸设备。这个需要参考具体Unix的相关文档。 <br/><br/>6．能够使用一个磁盘的第一个分区作为裸设备吗？ <br/><br/>　　可以，但是不推荐。在Unix的比较旧的版本是银行，磁盘的第一个分区常常包含这个磁盘的一些信息，以及逻辑卷的一些控制信息。若这些部分被裸设备覆盖的话，磁盘就会变得不可识别，导致系统崩溃。 <br/><br/>　　较新的Unix版本不会发生这样的情况，因为它们采用了更复杂的技术来管理磁盘，逻辑卷的一些信息。 <br/><br/>　　但是，除非很确信不要使用磁盘的第一个分区来作为裸设备。 <br/><br/>　　7．我可以把整个裸设备都作为Oracle的数据文件吗？ <br/><br/>　　不行。必须让数据文件的大小稍微小于该裸设备的实际大小。至少要空出两个oracle块的大小来。 <br/><br/>　　8．裸设备应该属于那个用户？ <br/><br/>　　应该由root来创建裸设备，然后再分配给Oracle用户以供使用。同时还要把它归入Oracle用户所在的那个组里边（通常都是DBA）。 <br/><br/>　　9．在创建数据文件时如何指定裸设备？ <br/><br/>　　和普通文件没有什么太大的区别，一样都是在单引号里边写上裸设备的详细路径就可以了。举一个例子：要在创建一个表空间，使用两个裸设备，每个分别为30M的大小，Oracle块的大小为4K，可以用下面的命令： <br/>　　Cr&#101;ate TABLESPACE RAW_TS <br/>　　DATAFILE &#39;/dev/raw1&#39; size 30712k <br/>　　DATAFILE &#39;/dev/raw2&#39; size 30712k; <br/><br/>　　10.Oracle块的大小和裸设备有什么关系吗？ <br/><br/>　　Oracle会必须是裸设备上物理块大小的倍数。 <br/><br/>　　11．如何在裸设备上进行备份？ <br/><br/>　　在裸设备上，不能使用Unix实用程序来进行备份，唯一的办法是使用最基本的Unix命令：DD来进行备份。比如：dd if=/dev/raw1 of=/dev/rmt0 bs=16k。dd的具体语法可以参考unix手册，或者联机帮助。你也可以先用dd把裸设备上的数据文件备份到磁盘上，然后再利用Unix实用程序进一步处理。 <br/><br/>　　12．如果我没有使用Oracle并行服务器选项，我可以在数据库上让一部分数据文件使用文件系统，另一部分使用裸设备吗？ <br/><br/>　　可以。但是这样的话，会使备份过程更加复杂。 <br/><br/>13．我应该把联机重做日志文件放到裸设备上吗？ <br/><br/>　　这是一个极好的选择。联机重做日志文件是写操作非常频繁的文件，放到裸设备上非常合适。如果你使用了并行服务器选项，那么联机重做日志文件必须放到裸设备上面。 <br/><br/>　　14．可以把归档日志文件放到裸设备上吗？ <br/><br/>　　不行。归档日志文件必须放到常规的Unix文件系统上面，或者直接放到磁带上面去。 <br/><br/>　　15．我可以在裸设备上边放置多个数据文件吗？ <br/><br/>　　不行。所以你必须在设置裸设备时非常小心。太小的话，会导致空间很快用完，太大的话，空间就白白浪费了。 <br/><br/>　　16．因应该把几个裸设备放到同一个物理磁盘上吗？ <br/><br/>　　这样做不好。因为使用裸设备就是为了提高磁盘读写速度。而把多个裸设备放到同一个物理磁盘上会导致读写竞争，这样对于提高I/O速度是不利的。应该尽量分散裸设备到不同的物理磁盘上，最好是分散到不同的磁盘控制器上。这是最佳选择。 <br/><br/>　　17．需要把所有裸设备都定义成同样的大小吗？ <br/><br/>　　这不是必须得，但是划分成同样的大小对于管理数据库比较有利。 <br/><br/>　　18．为了在Unix上使用裸设备，我需要改变Unix核心参数吗？ <br/><br/>　　不需要。但可以选择减小缓冲区的大小，如果没有别的应用也在同一台Unix机器上运行。因为运用了裸设备以后，不再使用Unix的系统缓冲区。 <br/>。</span>]]></description>
		</item>
		
			<item>
			<link>http://www.oldyuan.com/article/23.htm</link>
			<title><![CDATA[IBM P系列的服务器关闭小型机橙色告警灯]]></title>
			<author>leio1984@hotmail.com(老袁)</author>
			<category><![CDATA[IBM/AIX]]></category>
			<pubDate>Wed,12 Mar 2008 17:21:05 +0800</pubDate>
			<guid>http://www.oldyuan.com/default.asp?id=23</guid>
		<description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;前天在查系统日志时,发现什么问题也没有,但是进机房查看硬件指示灯时,却有提示橙色告警灯.所以第一时间找电话到IBM的服务热线,指导了两种方法,第一种用diag,试下来发现不行.第二种方法通过HMC关闭<br/>通过HMC熄灭p5叹号灯：<br/>1. 首先登录进入到HMC的管理界面，将左边主菜单的Service Applications选项的“ + ”展开，然后点击Service Focal Point选项，再点击右图的Service Utilities选项 。<br/>2. 选中Service Utilities对话框中相应的服务器 。<br/>3. 点击Sel&#101;cted，然后再点击Launch ASM Menu选项。<br/>4. 点击“ OK ”选项 。<br/>5. 点击Accept选项 。<br/>6. 在弹出的对话框中填入User ID ：admin，Password ：admin，然后点击Log in，进入服务器的ASMI菜单。<br/>7. 点击System Configuration -&gt;System Indicator -&gt;System Attention Indicator <br/>8. 点击Turn off the system attention indicator<br/>使用第二种方法后,果然有效果.当然高兴了,最后还是感谢下IBM的售后服务,感觉人家服务就是好.]]></description>
		</item>
		
</channel>
</rss>
