Saturday, November 10, 2007
Saturday, November 03, 2007
Wednesday, October 03, 2007
Linux VIO Considerations
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
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
Tuesday, September 11, 2007
Thursday, August 16, 2007
............................
Sunday, July 22, 2007
Photo on 15/8/2006
Sunday, July 01, 2007
Veritas problems and solutions.
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.
Sunday, June 17, 2007
Wisdom Tooth
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
Saturday, June 09, 2007
What a sunshine day
Friday, June 08, 2007
Smart Tunnel and etc
Explanation
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
- Remove volume pstore.
# vxassist –g rootdg remove pstore
- Set up system boot information on mirror disk
# /etc/vx/bin/vxbootsetup rootmirr
- Break rootmirror (c2t1d0)
# vxplex –g rootdg dis rootvol-02
# vxplex –g rootdg dis rootdisk1vol-02
- FSCK mirror disk (c2t1d0).
# fsck –F ufs /dev/rdsk/c2t1d0s0
- Mount root file system in mirror disk
# mount /dev/dsk/c2t1d0s0 /mnt
- Change /etc/system in mirror disk
# cd /mnt/etc
# cp system system.ddmmyy
# cp system.rfc263171 system
- 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
- Un-mount file system.
# cd /
# umount /mnt
- 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
- Reboot system with vx-rootdisk,
ok boot vx-rootdisk
IF boot is OK, go to step 11.
IF boot failed, go to step 12.
- 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.
- Boot the system off the detached mirror disk,
# init 0
ok boot vx-rootmirror –s
- 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% /
- 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
- Revert /etc/system and /etc/vfstab from backup files created earlier,
# cp /etc/system.ddmmyy /etc/system
# cp /etc/vfstab.ddmmyy /etc/vfstab
- 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% /
- 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
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
Sunday, May 27, 2007
Oh....
;-)
Sunday, May 13, 2007
Good Feng Shui Place?
See here. This houses in Ipoh really attracts me.
Another day of hardwork
Tuesday, May 08, 2007
Taman Recreasi Air Panas (TRAP) Sungkai
Monday, May 07, 2007
Tuesday, April 10, 2007
Tuesday, March 27, 2007
Friday, March 23, 2007
House survey 1
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.