Saturday, August 15, 2009
New and Update IBM Redbooks
System hang after update to 6100-03
Friday, July 24, 2009
changing 32bit kernel to 64bit kernel
1. smitty load64bit
This will take you to the following menu :
Enable Now
Enable/Disable at System Restart
2. Select enable now and then select enable 64 bit env. at system restart.
3. A line is added to inittab to load this automatically at system reboot.
If you are not sure, try this command:
To switch from 32-bit mode to 64-bit mode run the following commands, in the given order:
1. ln -sf /usr/lib/boot/unix_64 /unix
2. ln -sf /usr/lib/boot/unix_64 /usr/lib/boot/unix
3. bosboot -ad /dev/ipldevice
4. shutdown -Fr
5. bootinfo -K (should now show 64)
To switch from 64-bit mode to 32-bit mode run the following commands, in the given order:
1. ln -sf /usr/lib/boot/unix_mp /unix
2. ln -sf /usr/lib/boot/unix_mp /usr/lib/boot/unix
3. bosboot -ad /dev/ipldevice
4. shutdown -Fr
5. bootinfo -K (should now show 32)
Now, the biggest question would be, whu 64bit?
The advantages of a 64 bit kernel in memory addressing, maximum file size, maximum partition size, in the LVM if you use it and of course it faster.
FYI .In AIX4.3 the kernel is only 32-bit.
Monday, July 20, 2009
Thursday, July 16, 2009
IBM Power servers most reliable in new survey
Wednesday, July 15, 2009
IBM REDBOOKS JULY RELEASED
Thursday, July 2, 2009
TSM commands (quickie)
library name is 3494lib.
physical tape media is B00001
for finer details just add f=d at the end of the commands. e.g. q mount f=d..
not all commands works and be careful when executing especially when updating status of private to scratch.
1. to update tape in private status to scratch status
tsm: ADSM> update libvol 3494lib B00001 status=scr
2. to check status of tape last written/read
tsm: ADSM> q vol B00001 f=d
3. to check the content of tape
tsm: ADSM> q con B00001
4. check which tape is mounted for during operation
tsm: ADSM> q mount
5. to check whether the session of tsm has started
tsm: ADSM> q session
6. to check the sotrage pool operation
tsm: ADSM> q vol * stgpool=3494lib
7. to erase the content of data on tape and turn it to scratch
tsm: ADSM> del vol B00001 discarddata=yes
8. To update the path to drive1:
TSM>upd path ADSM 3590DRIVE1 srct=server destt=drive online=yes libr=3494lib autod=yes
9.To check the volume mounted:
TSM>q mount
10. to update the path
tsm: ADSM>update drive 3494lib 3590drive3 online=yes
11. to check the activity log from 3 days ago until today
tsm: ADSM>q actlog begind=today-3
12 to check status of path in finer details
tsm: ADSM>q path f=d
13. to check schedule of works in TSM
tsm: ADSM> q sched t=a
HACMP commands
Saturday, June 27, 2009
IBM REDBOOKS JUNE RELEASED
Monday, June 22, 2009
Frequent Print Error Messages
http://www-01.ibm.com/support/docview.wss?uid=isg3T1000284
Problem
This document describes some of the more common printing error messages, and outlines some solutions to resolve these problems. This document applies to AIX Version 4.3 and later.
Hey, i got some interesting link that you people wanna try.
www.postful.com - send an email and turn to physical mail. Design post card on line and send it in physical postcard. Cool. www.jott.com - call a simple phone number, speak your notes, messages, or updates and hang up. Jott Voicemail works the same way, but your friends, family, and colleagues are the ones leaving the messages when they call your number. Then, Jott takes the spoken messages, turns them into text, and sends them to the right destination via email, text message, or web update. www.telegram.com - hey, i won't give it all to you, eh? Try it and found out what it's all about.
Wednesday, June 17, 2009
IBM REDBOOKS MAY RELEASED
p6-570 Technical Overview and Introduction.
http://www.redbooks.ibm.com/redpieces/abstracts/redp4405.html?Open
Intro: DS5000 Series. ISBN: 073843244X 666 pages
http://www.redbooks.ibm.com/abstracts/sg247676.html?Open
AIX Enterprise Edition Sys Admin Guide.ISBN: 0738432903 316 pages
http://www.redbooks.ibm.com/abstracts/sg247738.html?Open
p6-550 Technical Overview
http://www.redbooks.ibm.com/redpapers/abstracts/redp4404.html?Open
Utility Capacity on Demand: What Utility CoD Is and How to Use It
http://www.redbooks.ibm.com/redpapers/abstracts/redp4416.html?Open
PowerVM Virtualization Active Memory Sharing
http://www.redbooks.ibm.com/redpapers/abstracts/redp4470.html?Open
Tuesday, June 16, 2009
Understanding How AIX Manages Memory / Page Space
Data is essentially held in pages of 4096b, and a page in RAM is accessible by the CPU, if the page is on disk the CPU can't access it directly. A page fault occurs when a wanted page address does not translate to a real memory address (i.e. the data you wanted is not there). At this point the Virtual Memory Manager (VMM)knows it needs to get data from disk and place it in RAM - it therefore checks to see that there is space in RAM in which to out this data.
If there's enough room, VMM checks to see if the wanted page has been used previously by this process:
- if not, an "initial page fault", VMM allocates _two_ pages for the data; one in RAM and the other on a backing page on disk where it can go if it has to be temporarily removed from RAM. This is known as "late page space allocation".
- if it has, a "repage fault" I/O is scheduled to bring the data back from disk and into RAM - the act of resolving this repage fault is called a "page-in" (the process that is waiting for this to happen is in a "page wait state").
So what happens if there's not enough room in RAM to put the page? Well the page stealer is there to ensure that there is a supply of free RAM pages available for an initial page fault. If the number of free RAM pages drops below a specified value then the page stealer will try and get some pages back. It keeps on stealing pages until it reaches an upper limit.
So how does it decide which pages to steal? The page stealer will select the least recently used, or LRU, pages. If the page has been modified in RAM it's classed as a dirty page and is put to a backing store (either page space or a filesystem); if it's clean (the copy in RAM matches the copy in page space) then the RAM page is purged.
Note that the page space is used for non-persistent or working pages, and the filesystem is used for persistent or file pages.
There is, of course, a basic assumption here that all stale pages are treated equally, i.e. whether it's a file- or nonfile- page makes no difference to the page stealer.
However this is not the case. Increased paging activity makes VMM act upon the different types of (stale) pages in a different manner. When the number of [stale] file pages exceed a number - set by the maxperm threshold - the page stealer will steal only file pages.
If the number of stale file pages is below maxperm (but above the set minperm threshold) then two other considerations come into play.
The VMM checks the repage rates of both file and nonfile pages, and will steal file pages if the file page repage rate is higher than the repage rate for nonfiles.
If this not the case then both types of pages are treated as equal victims.
PERFORMANCE HITS / ACTUAL DISK I/O...
To understand the performance hit of the paging figures that you come across, you need to realise that page faults do NOT (necessarily) result in disk activity. Remember from above that only the repage fault - the act of bringing back previously used data into memory - causes disk I/O to be scheduled.
Page out I/O only occurs when a page is stolen by the page stealer AND is marked as 'dirty'. This only happens when there is a shortage of free RAM pages. Hence the page-out figure can be an indicator of how memory constrained the system is. The vmstat command is only of limited use as it just reports activity concerned with page space (and not paging to/from filesystem space).
If the system consistently appears to hover around the minperm value (the "fre" column in vmstat) then it does not follow that the system is memory constrained - consider the scenario where an initial page fault is resolved by purging a clean, but stale, page. In this there is paging activity but no corresponding I/O.
System performance may be improved by reducing the amount of RAM that file pages occupy - this ensures that working pages are not continually being pushed out to make way for file pages.
This can be achieved through the use of the vmtune command (/usr/samples/kernel) and DECREASING values for minperm and maxperm.
PAGING SPACE
So how much page space do I need? For systems that have up to 256MB of real memory, use the well known formula...
page_space = 2 x real_memory
...for those systems with more than 256MB of real memory use...
page_space = 512MB + (real_memory - 256MB) * 1.25
The following should also be adhered to where possible:
1. configure just one paging space per disk
2. use between 2 and 6 paging spaces in a medium size system
3. configure the paging spaces on each disk to be the same size
That's about it really - all you never needed to know about paging space and VMM.
Dave V.
Thks dave for a good article in AIX paging. In my experience, which is not that much, for system that used Oracle, usually i will ensure that the paging space is 3 times of real memory. For Informix usually 3 times of real memory. As for DB2 just use default setting when you install AIX. For those who are really technical, try this for a change on Overview of AIX page replacement.
http://www.ibm.com/developerworks/aix/library/au-vmm/index.html
Where to find technical docs
http://publib16.boulder.ibm.com/pseries/en_US/infocenter/base/aix51.htm
Contains information on topics shown below and specifically on AIX 5.1
System Management Guides
Installation Guides
System User's Guide
Programming Guides
Product and Apps docs
Reference Doc
Technical References
If any of people out there wants to ask Qs pls post your comment. I will try to find out more. Good for you since somebody can answer your Questions and good for me cause i can brush up my skill in AIX.
