Solved

AIX log file and finding

Posted on 2014-11-24
7
445 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
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
VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

 

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

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
docker invalid registry name 2 107
Problem to start Neon 20 87
Linux as a middle box 7 64
Writing a UNIX script menu allowing for multiple options. 5 33
The purpose of this article is to demonstrate how we can use conditional statements using Python.
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
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…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

920 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

16 Experts available now in Live!

Get 1:1 Help Now