Archive for the ‘HP-UX’ Category

PowerPath and hp-ux 11.31 ia

星期一, 五月 25th, 2009
When running PowerPath Version 5.1 on HP-UX 11i v3, note the
following:
PowerPath Version 5.1 SP1 for HP-UX supports HP-UX 11i v3
only with minimum qualified level September 2008 HP-UX.
If you are running HP-UX 11i v3 (March 2008), do one of the
following:
Install the following patches from HP: PHKL_38053,
PHKL_38054, PHCO_38047, PHCO_38064, PHCO_38071.
Upgrade to HP-UX 11i v3 (September 2008).
With CLARiiON arrays, PowerPath Version 5.1 SP1 on HP-UX
11i v3 supports only the ALUA failover mode. The PNR failover
mode is not supported with HP-UX 11i v3.
HP-UX 11i v3 does not support iSCSI attached devices.
PowerPath Version 5.1 supports only legacy-style device special
files (DSFs). New style DSFs are not supported.
By default, after PowerPath installation, legacy style addressing is
enabled in HP-UX 11i v3. Do not explicitly disable legacy style
addressing before or after installing PowerPath. Disabling legacy
addressing will prevent PowerPath from seeing devices.
Type insf -Lv to verify whether legacy mode is enabled.
PowerPath Version 5.1 disables native multipathing at the device
level for legacy-style devices. When devices are configured for
PowerPath, (for example, when you run powermt config)
PowerPath disables native multipathing on the devices it
manages by setting to false the leg_mpath_enable attribute.
Do not change this setting to enable native multipathing for
legacy-style devices while PowerPath is installed. Uninstalling
PowerPath re-enables multipathing for legacy-style devices (the
default HP-UX setting).
Refer to the HP-UX 11i v3 documentation for more information
on legacy style addressing in HP-UX 11i v3.
In earlier releases of HP-UX, failed file system I/Os were retried
indefinitely. HP-UX 11i v3 by default no longer retries failed I/Os
indefinitely, but instead returns I/O errors to the file system after
a finite number of retries. This results in file system error
messages if all paths to a LUN are disabled manually or fail due
to hardware problems. PowerPath does not alter this behavior on
HP-UX 11i v3. You can restore the infinite retry on a per device
basis using the HP-UX scsimgr command, as follows:
scsimgr set_attr -D /dev/rdisk/diskX -a infinite_retries_enable=true
Refer to the HP website and documentation for more information.

创建根交换引导卷镜像

星期二, 五月 12th, 2009
1. 创建用于镜像的可引导LVM 磁盘
# pvcreate -B /dev/rdisk/disk10
2. 将该磁盘添加到当前的根卷组
# vgextend /dev/vg00 /dev/rdisk/disk10
3. 将新磁盘制作成引导磁盘
# mkboot -l /dev/rdisk/disk10
4. 将引导逻辑卷主交换逻辑卷和根逻辑卷镜像到此新的可引导磁盘请确
vg00 中的所有设备如/usr, /swap 等都已镜
 
镜像引导逻辑卷
# lvextend -m 1 /dev/vg00/lvol1 /dev/disk/disk10
镜像主交换逻辑卷
 
 
# lvextend -m 1 /dev/vg00/lvol2 /dev/disk/disk10
镜像根逻辑卷
# lvextend -m 1 /dev/vg00/lvol3 /dev/disk/disk10
5. 为引导根和主交换的镜像副本更新包含在BDRA 中的引导信息
# /usr/sbin/lvlnboot -b /dev/vg00/lvol1
# /usr/sbin/lvlnboot -s /dev/vg00/lvol2
# /usr/sbin/lvlnboot -r /dev/vg00/lvol3
6. 验证镜像是否已正确创建
# lvlnboot -v

oracle 9i for hpux ia64 11.31

星期五, 三月 6th, 2009
昨天在9I FOR HPUX IA64 11.31下好时折腾了一翻,第一次搞9I,本来感觉缺少了CRS应该更好搞,结果一开始就给我来了一下,安装过程中始终没有选择node的地方,死活搞了几次就是没有,就开始问别人,别人说是9202上开始安装的,我一开始用的是9201也没说IA 还是PA,行吧。去下载吧。结果下载了几个小时。再次安装,选择节点的地方终于出现了,看来还真是版本不对,心里汗一把。升级9208比较顺利。然后开始建库,噩梦又开始了,一到开始启动实例的时候,就遇到00603 fatal errors了,一终止安装就丢了LV,然后就是停GSD 监听,停集群,然后vgexport mkdir mknod vgimport ,反复几次,还是一样。然后就开始手工搞,结果在startup pfile 那步就OVER了,看来init.ora参数有问题,好时检查了一翻,没啥问题啊。然后就在GOOGLEMETALINK里搜,看到有人说加个cluster_interconnectsOK了,手工试了下是没问题了。终于找到问题了,然后开始DCBA建库,建完了记得改下节点2上的这个参数,要不是启动不起来的,在建库的时候还遇到了如下错误
Errors in file /opt/oracle/admin/mcdb/udump/mcdb1_ora_6414.trc:
ORA-00600: internal error code, arguments: [504], [0xC0000002278ACA58], [160], [7], [shared pool], [2], [0], [0xC0000002278AC968]
Thu Mar  5 23:45:52 2009
加了个隐含参数解决了:
_kghdsidx_count=1
参考文档
ID
281779.1
 
最后在到数据库的时候存储过程还有问题,就重新执行了
catalog.sql catproc.sqlOK

hp-ux下修改diskname

星期五, 二月 20th, 2009
在安装RAC时,必须保证两边的DISK一致。以我的为例
必须保证两边系统下/
dev/rdisk/disk*一致。今天在做的时候发现有个磁盘不以致,用了以下方法修改:
比如说节点
1/dev/rdisk/disk8 节点2 相应的为/dev/rdisk/disk10
现将节点
1的修改为和节点2一致
1 首先删除节点下的设备名
rmsf /dev/disk/disk8 /dev/rdisk/disk8
2 检查下
ioscan -m lun
 
3 生成DISKNAME
mksf -C disk -I 8 /dev/disk/disk10
mksf -C disk -I 8 -r /dev/rdisk/disk10
4 在用ioscan -m lun 看下
大体过程如上