Wuhai’s Weblog

August 5, 2009

Important IS 8.1 workaround

Filed under: Uncategorized — wuhai @ 7:43 am

Here is one important IS 8.1 (Datastage 8.1) workaround:

http://www-01.ibm.com/support/docview.wss?rs=14&context=SSZJPZ&dc=D600&uid=swg21370048&loc=en_US&cs=UTF-8&lang=en

Strange behavior this fixes is some code would not work due to character encoding ..

August 3, 2009

Tomcat 6 startup script (Centos)

Filed under: Uncategorized — wuhai @ 9:01 am

It seems there is indeed difference in terms of starting up Tomcat 6, using “./startup.sh” and “sh startup.sh”. In my case, only “sh startup.sh” will work, not sure why at this time, just need to remember this ..

July 25, 2009

FireFox 3 – This download has been blocked by your Security Zone Policy

Filed under: Uncategorized — wuhai @ 5:15 am

about:config -> boolean (browser.download.manager.skipWinSecurityPolicyChecks=true)

July 22, 2009

Websphere / Datastage and OpenLDAP Integration

Filed under: Uncategorized — wuhai @ 9:33 pm

Before:
User filter:
(&(uid=%v)(objectclass=posixAccount))
Group Filter:
(&(cn=%v)(objectclass=posixGroup))
User ID map:
*:uid
Group ID map:
*:cn
Group member ID map:
*:memberUid
Certificate map mode:
EXACT_DN

After:
Group Filter: (&(cn=%v)(objectclass=groupofNames))
Group member ID map: groupofNames:member

July 17, 2009

IBM UpdateXpress

Filed under: Uncategorized — wuhai @ 3:07 am

1. ./install201.rhel5 ac
2. ./install201.rhel5 co
3. ./install201.rhel5 up
Extracting…
Executing…

Initializing,Please wait…

UpdateXpress System Pack Installer Version 2.01.57
(C) Copyright IBM Corp. 2004-2008. All Rights Reserved.
Active Machine Type: 8877, OS: RHEL 5 (64 bit)
Gathering Inventory ……………………………. done
Querying Updates done
Comparing Updates
(1) [*] Broadcom BNX2 RHEL5 Driver
Severity : Initial Release
Reboot : Reboot Required to take effect
Update ID : brcm_dd_nic_netxtreme2-1.8.2b_1.46.12_rhel5_32-64

Update : bnx2.ko
New Version : 1.8.2b
Installed Version : 1.7.9-1

Update : bnx2x.ko
New Version : 1.46.12
Installed Version : 1.45.23

(2) [ ] Broadcom NetXtreme TG3 rhel 5 driver
Severity : Suggested
Reboot : Reboot Required to take effect
Update ID : brcm_dd_nic_tg3-3.81c_rhel5_32-64

Update : tg3.ko
New Version : 3.81c
Installed Version : 3.93

(3) [ ] IBM ServeRAID MR10 and MegaRAID 8480 SAS Controller Driver
Severity : Non-Critical
Reboot : Reboot Required to take effect
Update ID : ibm_dd_sraidmr_00.00.03.23_rhel5_32-64

Update : megaraid_sas.ko
New Version : 00.00.03.23
Installed Version : 00.00.04.01-RH1

(4) [*] IBM and LSI Basic or Integrated RAID SAS Controller Driver
Severity : Suggested
Reboot : Reboot Required to take effect
Update ID : ibm_dd_mptsas_4.16.80.01_rhel5_32-64

Update : mptbase.ko
New Version : 4.16.80.01
Installed Version : 3.04.07

Update : mptsas.ko
New Version : 4.16.80.01
Installed Version : 3.04.07

Update : mptctl.ko
New Version : 4.16.80.01
Installed Version : 3.04.07

Update : mptspi.ko
New Version : 4.16.80.01
Installed Version : 3.04.07

Update : mptfc.ko
New Version : 4.16.80.01
Installed Version : 3.04.07

(5) [*] RSA II Linux Daemon
Severity : Suggested
Reboot : Reboot Required to take effect
Update ID : ibm_svc_rsa2_hlp246a_linux_32-64
New Version : 1.46
Installed Version : Undetected

(6) [*] BIOS Flash Utility
Severity : Non-Critical
Reboot : Reboot Required to take effect
Update ID : ibm_fw_bios_zye136a_linux_amd32
New Version : 1.15 (ZYE136A)
Installed Version : 1.09 (ZYE129B)

(7) [*] IBM Preboot Diagnostics Flash Update
Severity : Suggested
Reboot : Reboot Required to take effect
Update ID : ibm_fw_diag_zyyt23a_linux_i386
New Version : 1.06 (ZYYT23A)
Installed Version : (ZYYT14A)

(8) [*] IBM ServeRAID 8k and 8k-l BIOS and Firmware Update
Severity : Critical
Reboot : Reboot Required to take effect
Update ID : ibm_fw_aacraid_8k-8kl-5.2.0-15427_linux_32-64

Update : ServeRAID 8k Firmware
New Version : 5.2-0-15427
Installed Version : 5.2-0-11835

Update : ServeRAID 8k Bios
New Version : 5.2-0-15427
Installed Version : 5.2-0-11835

(9) [*] Online Broadcom NetXtreme and NetXtreme II Firmware Utility
Severity : Non-Critical
Reboot : Reboot Required to take effect
Update ID : brcm_fw_nic_2.0.9h_linux_32-64

Update : b8c1 (#1)
New Version : 4.6.0
Installed Version : 1.9.3

Update : b8c1 (#2)
New Version : 4.6.0
Installed Version : 1.9.3

(10) [*] IBM Online SAS/SATA Hard Disk Drive Update Program
Severity : Critical
Reboot : Reboot Required to take effect
Update ID : ibm_fw_hdd_sas-1.04_linux_32-64
New Version : 1.04
Installed Version : Undetected

(11) [*] IBM SAS HBA BIOS and Firmware Update
Severity : Suggested
Reboot : Reboot Required to take effect
Update ID : ibm_fw_mptsas_sashba-2.62_linux_32-64
New Version : 2.62
Installed Version : Undetected

(12) [*] IBM ServeRAID 8s BIOS and Firmware Update
Severity : Critical
Reboot : Reboot Required to take effect
Update ID : ibm_fw_aacraid_8s-5.2.0-15427_linux_32-64
New Version : 5.2.0-15427
Installed Version : Undetected

(13) [*] IBM ServeRAID MR10M SAS Controller Firmware
Severity : Critical
Reboot : Reboot Required to take effect
Update ID : ibm_fw_sraidmr_10M-11.0.1-0008_linux_32-64
New Version : 11.0.1-0008
Installed Version : Undetected

(14) [*] IBM System x3755 Remote Supervisor Adapter II Update
Severity : Non-Critical
Reboot : Not Required
Update ID : ibm_fw_rsa2_zyep37a_linux_32-64
New Version : 1.04 (ZYEP37A)
Installed Version : Undetected

(15) [*] MegaRAID 8480 SAS Controller Firmware
Severity : Suggested
Reboot : Reboot Required to take effect
Update ID : lsi_fw_megasas_7.0.1-0054_linux_32-64
New Version : 7.0.1-0054
Installed Version : Undetected

(16) [*] eServer System x3755 BMC Update
Severity : Suggested
Reboot : Reboot Required to take effect
Update ID : ibm_fw_bmc_zybt45a_linux_i386
New Version : 1.06 (ZYBT45A)
Installed Version : 1.04 (ZYBT39A)

Legend:
Type the item number to toggle selected [*] or not selected [ ]
Type ‘a’ to accept the menu
Type ‘f’ to select all entries
Type ‘q’ to quit without processing the entries
[1-16,a,q,f]> a

Copying update files to temporary directory…
Performing Updates…
(1 of 14) Running Broadcom BNX2 RHEL5 Driver warning (in-tree driver)
(2 of 14) Running IBM and LSI Basic or Integrated RAID SAS Controller Driver. warning (in-tree driver)
(3 of 14) Running RSA II Linux Daemon Error code=1
(4 of 14) Running BIOS Flash Utility….. done
(5 of 14) Running IBM Preboot Diagnostics Flash Update…………….. done
(6 of 14) Running IBM ServeRAID 8k and 8k-l BIOS and Firmware Update done
(7 of 14) Running Online Broadcom NetXtreme and NetXtreme II Firmware Utility done
(8 of 14) Running IBM Online SAS/SATA Hard Disk Drive Update Program done
(9 of 14) Running IBM SAS HBA BIOS and Firmware Update done
(10 of 14) Running IBM ServeRAID 8s BIOS and Firmware Update. done
(11 of 14) Running IBM ServeRAID MR10M SAS Controller Firmware done
(12 of 14) Running IBM System x3755 Remote Supervisor Adapter II Update Error code=15
(13 of 14) Running MegaRAID 8480 SAS Controller Firmware done
(14 of 14) Running eServer System x3755 BMC Update…………………. done

There were problems running some updates. See logfile
Finished applying selected updates

(1) Broadcom BNX2 RHEL5 Driver
Name: Broadcom BNX2 RHEL5 Driver
New Version: bnx2-1.8.2b
Reboot: Reboot Required to take effect
Status: ***Install did not succeed***:
The update could not be performed, because the system is
currently running a certified driver provided by the
Linux distribution. The certified driver can be overridden
by using the -o or –linux-override command line argument

(2) IBM and LSI Basic or Integrated RAID SAS Controller Driver
Name: IBM and LSI Basic or Integrated RAID SAS Controller Driver
New Version: 4.16.80.01
Reboot: Reboot Required to take effect
Status: ***Install did not succeed***:
The update could not be performed, because the system is
currently running a certified driver provided by the
Linux distribution. The certified driver can be overridden
by using the -o or –linux-override command line argument

(3) RSA II Linux Daemon
Name: RSA II Linux Daemon
New Version: 1.46
Reboot: Reboot Required to take effect
Status: ***Install did not succeed***

(4) BIOS Flash Utility
Name: BIOS Flash Utility
New Version: 1.15
Reboot: Reboot Required to take effect
Status: Successfully Installed

(5) IBM Preboot Diagnostics Flash Update
Name: IBM Preboot Diagnostics Flash Update
New Version: 1.06
Reboot: Reboot Required to take effect
Status: Successfully Installed

(6) IBM ServeRAID 8k and 8k-l BIOS and Firmware Update
Name: IBM ServeRAID 8k and 8k-l BIOS and Firmware Update
New Version: 5.2.0-15427
Reboot: Reboot Required to take effect
Status: Successfully Installed

(7) Online Broadcom NetXtreme and NetXtreme II Firmware Utility
Name: Online Broadcom NetXtreme and NetXtreme II Firmware Utility
New Version: 2.0.9h
Reboot: Reboot Required to take effect
Status: Successfully Installed

(8) IBM Online SAS/SATA Hard Disk Drive Update Program
Name: IBM Online SAS/SATA Hard Disk Drive Update Program
New Version: 1.04
Reboot: Reboot Required to take effect
Status: Successfully Installed

(9) IBM SAS HBA BIOS and Firmware Update
Name: IBM SAS HBA BIOS and Firmware Update
New Version: 2.62
Reboot: Reboot Required to take effect
Status: Successfully Installed

(10) IBM ServeRAID 8s BIOS and Firmware Update
Name: IBM ServeRAID 8s BIOS and Firmware Update
New Version: 5.2.0-15427
Reboot: Reboot Required to take effect
Status: Successfully Installed

(11) IBM ServeRAID MR10M SAS Controller Firmware
Name: IBM ServeRAID MR10M SAS Controller Firmware
New Version: 11.0.1-0008
Reboot: Reboot Required to take effect
Status: Successfully Installed

(12) IBM System x3755 Remote Supervisor Adapter II Update
Name: IBM System x3755 Remote Supervisor Adapter II Update
New Version: 1.04
Reboot: Not Required
Status: ***Install did not succeed***

(13) MegaRAID 8480 SAS Controller Firmware
Name: MegaRAID 8480 SAS Controller Firmware
New Version: 7.0.1-0054
Reboot: Reboot Required to take effect
Status: Successfully Installed

(14) eServer System x3755 BMC Update
Name: eServer System x3755 BMC Update
New Version: 1.06
Reboot: Reboot Required to take effect
Status: Successfully Installed

One or more updates did not install during deployment. See uxsp.log for details.

July 3, 2009

IBM Datastage – clear up project lock

Filed under: Uncategorized — wuhai @ 6:37 pm

As user ‘dsadmd’:

-bash-3.00$ $DSHOME/bin/uvsh
This directory is not set up for DataStage.
Would you like to set it up (Y/N)?Y
0. Ideal compatibility
1. IN2 compatibility
2. Prime Information compatibility
3. PICK compatibility
4. PI/open compatibility
5. Microdata Reality compatibility

Which way do you wish to configure your VOC ? 0
Your VOC is configured for Ideal compatibility
Creating file “VOC” as Type 3, Modulo 23, Separation 4.
Creating file “D_VOC” as Type 3, Modulo 2, Separation 1.
Loading your “VOC” file. (Each “*” = 10 records.)
***************************************************************************
Loading your “D_VOC” file. (Each “*” = 10 records.)
*
Creating file “&SAVEDLISTS&” as Type 1.
Creating file “D_&SAVEDLISTS&” as Type 3, Modulo 1, Separation 2.
Added “@ID”, the default record for Retrieve, to “D_&SAVEDLISTS&”.
Creating file “VOCLIB” as Type 2, Modulo 7, Separation 4.
Creating file “D_VOCLIB” as Type 3, Modulo 1, Separation 2.
Added “@ID”, the default record for Retrieve, to “D_VOCLIB”.
DataStage Command Language 8.1 Licensed Materials – Property of IBM
(c) Copyright IBM Corp. 1997, 2007 All Rights Reserved.
dsadmd logged on: Friday, July 03, 2009 10:14

> LIST.READU EVERY

> UNLOCK USER userno ALL
> UNLOCK INODE 28625085 ALL
> LIST.READU EVERY
> LO

The unlock command is not available by default in the projects. To create an entry to use unlock execute the following two commands:
>SET.FILE UV VOC UV.VOC
>COPY FROM UV.VOC TO VOC UNLOCK

June 24, 2009

IBM RaidManager clear controller logs

Filed under: Uncategorized — wuhai @ 5:51 am

# /usr/RaidMan/arcconf GETLOGS 1 DEVICE tabular
Controllers found: 1

ControllerLog
controllerID ………………… 0
type ……………………….. 0
time ……………………….. 1245822160
version …………………….. 1

driveErrorEntry
adapterID …………………… 0
channelID …………………… 0
deviceID ……………………. 1
numParityErrors ……………… 0
linkFailures ………………… 0
hwErrors ……………………. 0
slotNum …………………….. 1
enclIndex …………………… 0
abortedCmds …………………. 4
mediumErrors ………………… 2

Command completed successfully.

/usr/RaidMan/RaidMan.sh

Right click the controller, and select “Clear controller event log”

# /usr/RaidMan/arcconf GETLOGS 1 DEVICE tabularControllers found: 1

ControllerLog
controllerID ………………… 0
type ……………………….. 0
time ……………………….. 1245822424
version …………………….. 1

Command completed successfully.

November 12, 2008

Subject Alternative Name for SSL Certificate

Filed under: Uncategorized — wuhai @ 1:17 am

Subject Alternative Name (SAN) for SSL Certificate for future reference:
http://therowes.net/~greg/2008/01/08/creating-a-certificate-with-multiple-hostnames/

July 22, 2008

cobbler / fedora 9 auto-installation

Filed under: Uncategorized — wuhai @ 12:02 am

Today I got cobbler to auto install fedora 9.

cobbler profile edit --name=f9-i386 --kickstart=/etc/cobbler/fedora9.ks

One issue I encountered is “Unknown command: wget”, which is auto-generated by cobbler python script, after reading ‘$kickstart_start’, ‘$yum_config_stanza’, and ‘$kickstart_done’. I can’t get the wget command to work, had to remove the line with ‘$kickstart_start’ from the file.

July 2, 2008

Debug library loading issue

Filed under: Uncategorized — wuhai @ 4:40 am
Tags:

[root@erd-tt-re3 etc]# LD_DEBUG=libs /usr/local/bin/memcached -v
     13133:     find library=libevent-1.4.so.2 [0]; searching
     13133:      search cache=/etc/ld.so.cache
     13133:      search path=/lib/tls/i686/sse2:/lib/tls/i686:/lib/tls/sse2:/lib/tls:/lib/i686/sse2:/lib/i686:/lib/sse2:/lib:
/usr/lib/tls/i686/sse2:/usr/lib/tls/i686:/usr/lib/tls/sse2:/usr/lib/tls:/usr/lib/i686/sse2:/usr/lib/i686:
/usr/lib/sse2:/usr/lib          (system search path)
     13133:       trying file=/lib/tls/i686/sse2/libevent-1.4.so.2
     13133:       trying file=/lib/tls/i686/libevent-1.4.so.2
     13133:       trying file=/lib/tls/sse2/libevent-1.4.so.2
     13133:       trying file=/lib/tls/libevent-1.4.so.2
     13133:       trying file=/lib/i686/sse2/libevent-1.4.so.2
     13133:       trying file=/lib/i686/libevent-1.4.so.2
     13133:       trying file=/lib/sse2/libevent-1.4.so.2
     13133:       trying file=/lib/libevent-1.4.so.2
     13133:       trying file=/usr/lib/tls/i686/sse2/libevent-1.4.so.2
     13133:       trying file=/usr/lib/tls/i686/libevent-1.4.so.2
     13133:       trying file=/usr/lib/tls/sse2/libevent-1.4.so.2
     13133:       trying file=/usr/lib/tls/libevent-1.4.so.2
     13133:       trying file=/usr/lib/i686/sse2/libevent-1.4.so.2
     13133:       trying file=/usr/lib/i686/libevent-1.4.so.2
     13133:       trying file=/usr/lib/sse2/libevent-1.4.so.2
     13133:       trying file=/usr/lib/libevent-1.4.so.2
     13133:
/usr/local/bin/memcached: error while loading shared libraries: libevent-1.4.so.2: cannot open shared object file: No such file or directory
[root@erd-tt-re3 etc]#

[root@erd-tt-re3 ~]# readelf -d /usr/local/lib/python2.5/lib-dynload/_hashlib.so | grep NEEDED
 0×00000001 (NEEDED)                     Shared library: [libssl.so.4]
 0×00000001 (NEEDED)                     Shared library: [libcrypto.so.4]
 0×00000001 (NEEDED)                     Shared library: [libpthread.so.0]
 0×00000001 (NEEDED)                     Shared library: [libc.so.6]

Next Page »

Blog at WordPress.com.