Wednesday, October 03, 2007

Linux VIO Considerations

Here's the support info provided by IBM:

1. For AIX 5L V5.3 VIO clients, only the APV VIOS is supported by IBM.
2. Linux VIO clients may use the APV VIOS or the Linux VIO server.


So it seems to be that having Linux VIO client is a better choice.
But do i want to run linux on such expensive IBM hardware??!

I can achieve better performance, availability and serviceability by running linux on x64/x86 server.

Conclusion is Linux VIO client / server is only meant for rich and affordable customers.

Thursday, September 27, 2007

shares

silverstone - 4000 - PN17
amsteel - 4000 - PN17
mbfcorp - 8000 - PN17
twscorp - 1000
pasdec - 3000
scomi - 1000
GHL - 231
mobif - 4000
pmhldg - 1000
faber - 1000
bolton - 1000
dialog - 1000
sapcres - 1000
leader - 6000
rcecap - 3500
bimb - 2000
jland - 1000
ramunia - 2000
oilcorp - 1000
ta -1000

Thursday, August 16, 2007

............................

First they demand for an public apology from this young man. Only when he did so, then they wanted to take action against him. That's the strategy, i am totally disgusted by the way they handled this matter. This sick government!!

Sunday, July 22, 2007

Photo on 15/8/2006


it was taken about a year ago. The big brother looks the same, whereas the young brother has grown up noticeably.

Sunday, July 01, 2007

Veritas problems and solutions.

I found 2 solutions to this problem. The difference is minor. They are Veritas commands.

We have a machine running Solaris and VxVM, attached to a Clarion box. The SAN link was down, and Storage guy managed to bring the link back after a while. We had a situation where:

1. OS detects all the SAN disks.
2. VxVM had not able to recognize back the original disks, though the device paths are the same.
3. All fs mounted on those disks have IO error. Though a format read test is passed.
4. It seems that this is purely a VxVM problem now.


# vxprint -g dg01 -th <== Showed the following...
dg dg01 2 2 123000 1021305687.1295.obp1
dm appsdisk c0t1d0s2 sliced 11555 71112735 -
dm appsmirror c1t1d0s2 sliced 11555 71112735 -
dm homedisk c2t0d0s2 sliced 14135 35349424 -
dm homemirror c3t0d0s2 sliced 14135 35349424 -


v home - DISABLED ACTIVE 16896000 SELECT - fsgen
pl home-01 home DISABLED RECOVER 16897232 CONCAT - RW
sd homedisk-01 home-01 homedisk 0 16897232 0 c2t0d0 RLOC
pl home-02 home DISABLED RECOVER 16897232 CONCAT - RW
sd h omemirror-01 home-02 homemirror 0 16897232 0 c3t0d0 ENA


Solution 1:
Part 1:
1. vxdctl enable
2. vxdisk list <--- you will see plenty of failed disk message because of broken SAN link.
3. /etc/vx/bin/vxreattach
4. vxdisk list
Part 2:
1. vxmend -g dg01 -o force off home-01
2. vxmend -g dg01 on home-01
3. vxmend -g dg01 fix clean home-01
4. vxvol -g dg01 start home
5. fsck -F vxfs /dev/vx/rdsk/dg01/home
6. mount -F vxfs /dev/vx/dsk/dg01/home /export/home

You only need to fix on 1 plex, the clean plex will resync the other plex which has problem.

Solution 2:
Part 1:
1. vxdctl enable
2. vxdisk list <--- you will see plenty of failed disk message because of broken SAN link.
3. /etc/vx/bin/vxreattach
4. vxdisk list

Part 2:
1. vxmend -g dg01 fix stale home-01
2. vxmend -g dg01 fix clean home-01
3. vxvol -g dg01 start home
4. fsck -F vxfs /dev/vx/rdsk/dg01/home
5. mount -F vxfs /dev/vx/dsk/dg01/home /export/home

Again, you only need to fix 1 plex. It will automatically resync the other plex.

Yummmm



Sunday, June 17, 2007

Wisdom Tooth

I had the x-ray done this morning. The x-ray clearly shows that i had all 4 wisdom teeth either decaying or laying nicely wating for the right moment. The 2 decaying one are killing me for the past 2 nights.
The one at upper-left started Saturday night, and really gave me a difficult time to sleep. The worst one came at evening Sunday, it just too painfull to be born. I almost fainted.
Go see a dentist, this is the serv 1 incident for me personally.

Sungai Kerayong site visit




It's me having some fun at the site. Though we not supposed to go near, but it was a sunny Sunday afternoon, and who cares!

Saturday, June 09, 2007

What a sunshine day




This is 3pm in the afternoon. You know this is Kuala Lumpur, 3pm on a shinny day is very hot. They like the school environment. The big brother likes the flag so much, the little one just picks up walking 'skill', simply like to walk only. Their mom didn't like the idea to play at 3pm under open air. I have a different philosophy, 3pm is the time to stay at home for her, while for me it is good time to go out and have some fun.

Friday, June 08, 2007

Smart Tunnel and etc

This is from Director-general of Deparment of Irrigation and Drainage Malaysia. He was responding to the Smart tunnel which has not completed its water tunnel work. He says the government has come up with a ruling that future development projects include good drainage systems and ponds. So what has happened to the current devleopment projects? Is good drainage systems and ponds optional?? I guess you have the answer

Explanation

This happens to a disk which has a inode error on the OS disk.
The SA wants to do a fsck but afraid the it might cause unpredictable error on the disks. (Well,
i dont think this is really necessary, but the user requested for it)
This machine has the boot disks encapsulated and mirrored. First we want to know the mirrored disk's plex. The mirrored disk is c2t1d0. You can see the purpose is to break mirror and boot up onmirrored disk to perform a fsck on mirrored disk. When it's done, boot up from root disk and
reattach the mirror.

Tuesday, June 05, 2007

You figure out first what's this..

# vxprint -thg rootdg | grep pl | grep 02

pl export-02 export ENABLED ACTIVE 8389656 CONCAT - RW

pl local-02 local ENABLED ACTIVE 8389656 CONCAT - RW

pl pstore-02 pstore ENABLED ACTIVE 205119 CONCAT - RW

pl rootdisk1vol-02 rootdisk1vol ENABLED ACTIVE 4194828 CONCAT - RW

pl rootvol-02 rootvol ENABLED ACTIVE 29360907 CONCAT - RW

pl var-02 var ENABLED ACTIVE 12584484 CONCAT - RW

  1. Remove volume pstore.

# vxassist –g rootdg remove pstore

  1. Set up system boot information on mirror disk

# /etc/vx/bin/vxbootsetup rootmirr

  1. Break rootmirror (c2t1d0)

# vxplex –g rootdg dis rootvol-02

# vxplex –g rootdg dis rootdisk1vol-02

  1. FSCK mirror disk (c2t1d0).

# fsck –F ufs /dev/rdsk/c2t1d0s0

  1. Mount root file system in mirror disk

# mount /dev/dsk/c2t1d0s0 /mnt

  1. Change /etc/system in mirror disk

# cd /mnt/etc

# cp system system.ddmmyy

# cp system.rfc263171 system

  1. Change /etc/vfstab in mirror disk.

# cd /mnt/etc

# cp vfstab vfstab.ddmmyy

# cp vfstab.rfc263171 vfstab

The entries from / and /swap will be changed as shown:

/dev/dsk/c2t1d0s1 - - swap - no -

/dev/dsk/c2t1d0s0 /dev/dsk/c2t1d0s0 / ufs 1 no logging

  1. Un-mount file system.

# cd /

# umount /mnt

  1. Shutdown system. Reboot system,

# init 0

ok boot vx-rootmirror -sw

Enter root password to enter maintenance mode

Perform FSCK on /

# fsck –F ufs /dev/rdsk/c2t0d0s0

When done, bring down system

# init 0

  1. Reboot system with vx-rootdisk,

ok boot vx-rootdisk

IF boot is OK, go to step 11.

IF boot failed, go to step 12.

  1. Re-attach mirror,

# vxplex –g rootdg att rootvol rootvol-02

# vxplex –g rootdg att rootdisk1vol rootdisk1vol-02

Job done. Use “vxtask list” to check progress of synchronization.

  1. Boot the system off the detached mirror disk,

# init 0

ok boot vx-rootmirror –s

  1. Check to ensure system is booted with disk slices rather than volume devices.

# df –k /

Filesystem kbytes used avail capacity Mounted on

/dev/dsk/c2t1d0s0 14451472 4468338 9838620 32% /

  1. Stop all volumes in rootdg, re-attach those detached plexes,

# vxvol –g rootdg stopall

Attach detached plexes,

# vxplex –g rootdg att rootvol rootvol-02

# vxplex –g rootdg att rootdisk1vol rootdisk1vol-02

Make the newly attached plexes active,

# vxmend –g rootdg –o force off rootvol-01

# vxmend –g rootdg –o force off rootdisk1vol-01

# vxmend –g rootdg fix clean rootvol-02

# vxmend –g rootdg fix clean rootdisk1vol-02

# vxvol –g rootdg startall

  1. Revert /etc/system and /etc/vfstab from backup files created earlier,

# cp /etc/system.ddmmyy /etc/system

# cp /etc/vfstab.ddmmyy /etc/vfstab

  1. Shutdown system and reboot with mirror disk again,

# init 0

Ok boot vx-rootmirror

System should boot up using volume device, “df –k /” to verify,

# df –k /

Filesystem kbytes used avail capacity Mounted on

/dev/vx/dsk/bootdg/rootvol

14451472 4468384 9838574 32% /

  1. Online the disabled plexes,

# vxmend –g rootdg on rootvol-01

# vxmend –g rootdg on rootdisk1vol-01

Synchronization will starts, use “vxtask list” to check progress.

Sunday, June 03, 2007

Projects to fix Sungai Kerayong



The first one on the left (with a completion date on 25th mei 2006)clearly states that the project is to fix the flash flood problem caused by Sungai Kerayong.
Second project is to fix once and for all the river's flow and river bank structured work

Sungai Kerayong river bed deepening work





Jalan Loke Yew Road Upgrade




This is road expansion work along Jalan Loke Yew, after 7 / 8 months the project started.

Saturday morning...


It is always a happy morning when they discover the parents are at home not going to office.

Saturday, June 02, 2007

李登輝!

李登輝:有人掌權 全家撈錢
He must be referring to our red dot Mr. Lee. Well, he always like to compare himself with the senior Lee.
Is he any better than Senior Lee? Personally i think not!

Friday, June 01, 2007

Balcony bath


It was early 8 in the morning, and the brothers already having some good time at the balcony - something not every child is allowed.
;-)

Sunday, May 27, 2007

Oh....

She just told me the test was positive and she lost control of her emotion. Yes, we will have a 3rd child. We didn't expect it comes so fast. This has been a hectic year for me, and i am totally surprised this happen to a couple who has so little sex life.
;-)

Sunday, May 13, 2007

Good Feng Shui Place?

The house and surroundings look so good to me except that it is located about 200km away from where i life now.

See here. This houses in Ipoh really attracts me.

Another day of hardwork

My throat is burning, it is affecting my sleep now. I got a long nite yesterday, it's all work. Slept at 3.30am and woke up 7am to send my children to nanny. And not able to sleep now because of sore throat. Life is tough, as always.....

Tuesday, May 08, 2007

Taman Recreasi Air Panas (TRAP) Sungkai



Brothers having some good times at TRAP. It was very crowded during public holiday. This place is run by Felda, and it is right in the palm oil estate.



Happy Birthday 3 years old


Big brother turning 3 years old...on 1st April.

Boat Ride - Teluk Intan



Brothers having boat ride for the first time.....

Tuesday, April 10, 2007

Friday, March 23, 2007

House survey 1

Found this under the classified section: house for sale
CHERAS TMN
Cheras Indah d/s 18x60 Nlot 3r2b fully extended RM235K (Value buy) well kept 012-2906029, 03-92003864 Alex E(3)0931 20/3/2007

Everything is ok except -- this is leasehold house, and it has balance of about 70+ years.
Free hold house is very important factor in my buying decision. Never look back.

More house for sale now.....

I think this is no coincidental.....the next day after PM announced the removal of RPGT, the number of house sales in classified section increased from 30+ to 40+.