Operating System - OpenVMS
1753774 Members
6943 Online
108799 Solutions
New Discussion юеВ

Re: Open VMS system log requirement.

 
Anjan Ganguly
Frequent Advisor

Open VMS system log requirement.

I have one Open VMS (Version 7.2-1) alpha DS10 system where my customised applications are running.On 11-Feb-2011 at 18:00:00 hrs the system gets hangged and and customised applications stops functioning.I have checked with the customised applications logs but not able find out any problem from it.But somebody has restarted the system at around 18:30:00 hrs and restored the normal function of the running applications.Since I am not able to understand the state of the system from my application logs, I like to know that is there any way to see the system activity (or any kind of logs), from where I can make out what exactly happened just before the hang and from before the restart i.e. from 17:55:00hr to 18:29:00 hrs.Can some body help me in this regard.Basically an History is required for me to analyze the system activity that causes the trouble.
13 REPLIES 13
Volker Halle
Honored Contributor

Re: Open VMS system log requirement.

Anjan,

by default, you only have the accounting file, operator log and error log available on OpenVMS for after-the-fact system analysis. If you are running some performance analysis tools (e.g. T4 or PSDC), you may also be able to extract some data from those utilities.

Did just your application hang or the complete OpenVMS system ? Has the OpenVMS system been rebooted - check $ WRITE SYS$OUTPUT F$GETSYI("BOOTTIME") ? Maybe the system crashed ($ TYPE CLUE$HISTORY) ?

Volker.
Anjan Ganguly
Frequent Advisor

Re: Open VMS system log requirement.

Yes system was rebooted and as per the physical Inspection at the time of the incident we are not able to login to the system from a remote machine.I have my system connected in LAN.
Volker Halle
Honored Contributor

Re: Open VMS system log requirement.

Anjan,

so we are talking about a possible 'system hang'. The reason could be software or hardware. In a situation like this, one should first try to PING the system. If that works, you know that at the the IP drivers still work. If if fails, it may be a network problem or a hardware hang.

Next go the the console terminal and try to login. Do you get a Username: prompt ? If the system appears to hang, press the HALT button, then - if the console prompt appears - type >>> CRASH

If it's not a hardware hang, this will cause a system crash to be written and the system will automatically boot afterwards. You can analyze the system crash and try to find the reason for the hang.

If the system does not react on pressing the HALT button, it's a hardware hang and it may be very hard to analyze that.

Volker.

MichelleP_1
Advisor

Re: Open VMS system log requirement.

For the future, you might also take a look at installing and using Availability Manager (http://goo.gl/YsTWX).

You'll need the Data Collector running on the host and the Analyzer running on at least one other VMS or Windows system. You may still have to crash the system, but you just might be able to: 1) see what's happening first, 2) avoid a crash with one of the available "fixes", and/or 3) get more information from the Analyzer log file about what was happening during that time.

The Data Collector runs at the device driver level, so information/access may be available even when the system is hung (just not crashed completely).
Anjan Ganguly
Frequent Advisor

Re: Open VMS system log requirement.

Volker,

I was able to ping at the time of hang.But as the event has already occured on 11-Feb-2011 at around and after that the system is rebooted manually, can I analyze the root cause of the so called hang/crash.Actually I like to know what exactly happened during the period i.e. from 17:45hrs to 18:30 hrs on 11-Feb-2011.Is there any way?And does crash gives the details happened before manually reboot?
Anjan Ganguly
Frequent Advisor

Re: Open VMS system log requirement.

MichelleP ,

Can u please tell me how to see the system events happened by availability manager.I have that installed in my system.So How can I see the PAST Events (Events just before the reboot)?
MichelleP_1
Advisor

Re: Open VMS system log requirement.

Anjan,

Did you have the Analyzer running on a separate system that was monitoring the node in question?

If so, go to that system and you'll find log files in the program installation directory. Mine (on a Windows node) are in C:\Program Files\Hewlett-Packard\HP Availability Manger V3.0-1. Look for the log file(s) for the particular time frame, starting with AnalyzerEvents_Conn0_.log. This should have all the same events that show up in the bottom half of the Analyzer main window.

If your analyzer node is OpenVMS, check the *AMDS* logicals for the location. I believe you'll find them in AMDS$AM_LOG or more specifically AMDS$AM_ROOT:[AMDS$AM]

The logs can be quite large and "noisy" depending on how much customization you've done with the thresholds and the activity of your system.

I hope this helps. I've used these logs many times for post-event analysis.
P Muralidhar Kini
Honored Contributor

Re: Open VMS system log requirement.

Hi Anjan,

Check the following links for HP Availabity manager details -
http://h71000.www7.hp.com/openvms/products/availman/docs.html

For Documentation, refer
http://h71000.www7.hp.com/openvms/products/availman/6552pro.html
* Chapter 5 - Getting Information About Events

To understand your problem, you need to provide the details
1) Was it a process hang or system hang ?
2) How was the system rebooted ? Was it force crashed ?

Regards,
Murali
Let There Be Rock - AC/DC
Volker Halle
Honored Contributor

Re: Open VMS system log requirement.

Anjan,

for after-the-fact analysis on OpenVMS, by default you only have OPERATOR.LOG, Accounting and errorlog and any application logfile. In case of a system hang, only a forced crash will help you, in case of an application hang, you might be able to do some online analysis, if you have the time and know what to look for. A forced crash is ALWAYS better than just a boot, as with a plain boot, you losse ALL the state information of the system (including errlog entries not yet written to the disk).

To do after-the-fact analysis with AMDS, you need to have it running continuously (on the client running the AMDS GUI) or at least start it, if the system/application hangs.

Volker.