Link to home
Start Free TrialLog in
Avatar of mokkan
mokkan

asked on

AIX log file and finding

HI,

Where is  AIX system log file located?  We had cluster system and someone executed vgonline on other node. I would like to see how can I verify when it was executed?  Which log file can provide such an information?
SOLUTION
Avatar of benhanson
benhanson

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
If the VG state was manipulated using standard LVM commands ("varyonvg" etc.) follow benhanson's
suggestion "alog -t lvmt -o".

If you're suspecting some sort of cluster group services activity being responsible for the state change try "alog -t lvmgs -o".

It is possible to issue LVM commands via CSPOC. The log is here: "/var/hacmp/log/cspoc.log".

The names of all cluster logs can be listed using "/usr/es/sbin/cluster/utilities/cllog -s", the
location of a particular log is shown with "/usr/es/sbin/cluster/utilities/cllog -g logfilename"

The main cluster logs are "/var/hacmp/adm/cluster.log" (daemon and script processing) resp. "/var/hacmp/log/clevents" (cluster event processing).
Avatar of mokkan
mokkan

ASKER

Thank you very much. I can see the history of last few days from the log. How do I check for last few weeks? Thanks in advance
Which log are you talking about?

"alog" always displays the whole log. alogs are of fixed size (lvmt has 200K by default) and use an internal wrap around method.

Some cluster logs are externally rotated, like clstrmgr.debug or clevents.log.
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of mokkan

ASKER

Thank  you all.