Solved

AIX log file and finding

Posted on 2014-11-24
7
471 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
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

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

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Configuring Apache Camel to send and recieive from QPID Broker 2 76
SSH in linux 9 94
Shrink Linux Swap File Size CentOS 10 73
cmake and message 1 26
Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
Fine Tune your automatic Updates for Ubuntu / Debian
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Suggested Courses

752 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