Solved

AIX log file and finding

Posted on 2014-11-24
7
436 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
7 Comments
 
LVL 12

Assisted Solution

by:benhanson
benhanson earned 167 total points
Comment Utility
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
Comment Utility
Use logs to identify issues errlog, alog and syslog
0
 
LVL 68

Expert Comment

by:woolmilkporc
Comment Utility
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
Complete Microsoft Windows PC® & Mac Backup

Backup and recovery solutions to protect all your PCs & Mac– on-premises or in remote locations. Acronis backs up entire PC or Mac with patented reliable disk imaging technology and you will be able to restore workstations to a new, dissimilar hardware in minutes.

 

Author Comment

by:mokkan
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
Thank  you all.
0

Featured Post

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Suggested Solutions

Little introduction about CP: CP is a command on linux that use to copy files and folder from one location to another location. Example usage of CP as follow: cp /myfoder /pathto/destination/folder/ cp abc.tar.gz /pathto/destination/folder/ab…
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…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

771 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now