Solved

AIX log file and finding

Posted on 2014-11-24
7
486 Views
Last Modified: 2014-12-08
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?
0
Comment
Question by:mokkan
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
7 Comments
 
LVL 12

Assisted Solution

by:benhanson
benhanson earned 167 total points
ID: 40462402
Default location is /var/log/

'alog -o -t lvmt' may show what you're looking for, 'alog -L' will give you a list of logs to view.
0
 
LVL 25

Assisted Solution

by:madunix
madunix earned 166 total points
ID: 40462719
Use logs to identify issues errlog, alog and syslog
0
 
LVL 68

Expert Comment

by:woolmilkporc
ID: 40463401
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).
0
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 

Author Comment

by:mokkan
ID: 40465150
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
0
 
LVL 68

Expert Comment

by:woolmilkporc
ID: 40465178
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.
0
 
LVL 68

Accepted Solution

by:
woolmilkporc earned 167 total points
ID: 40465194
To have a full system log in the future add this to /etc/syslog.conf:

*.debug /var/adm/system.log rotate time 1w size 2m files 6 compress

The name of the file and the rotation parameters are just examples!

Don't forget to "touch /var/adm/system.log" and to recycle syslogd with "refresh -s syslogd".

Attention: The above can/will produce quite a lot of data!
0
 

Author Closing Comment

by:mokkan
ID: 40487025
Thank  you all.
0

Featured Post

Optimize your web performance

What's in the eBook?
- Full list of reasons for poor performance
- Ultimate measures to speed things up
- Primary web monitoring types
- KPIs you should be monitoring in order to increase your ROI

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Java performance on Solaris - Managing CPUs There are various resource controls in operating system which directly/indirectly influence the performance of application. one of the most important resource controls is "CPU".   In a multithreaded…
Why Shell Scripting? Shell scripting is a powerful method of accessing UNIX systems and it is very flexible. Shell scripts are required when we want to execute a sequence of commands in Unix flavored operating systems. “Shell” is the command line i…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.
Suggested Courses

630 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question