Author |
Message |
Redemann
Joined: 11 Jul 2007 Posts: 90 Country: Germany |
|
Performance data and job database summary |
|
Hello there,
I'm running 4.1 multi platform on a Linux as master. master.sh ist started with nogui-option in the background and I'm accessing the master with the web console. 99% of the jobs are excecuted on remote agents (AIX, Linux, Windows...). So far so good.
Question 1 : In the web console I cannot find the menu/option to generate a job database summary. I would find it rather circuitous to stop the background master and start the gui version. Is there a better way?
Question 2 : I have enabled "job excecution statistics" on the master but I don't get any .jpd file according to users guide page 90. I'm not sure if I understand the concept. I also enabled this on all remote agents (created subdir "Performance Data"). No files are created - neither on agent nor on master. Any hints?
Thanks in advance
Joerg
|
|
Wed Aug 29, 2007 5:34 am |
|
 |
SysOp
Site Admin
Joined: 26 Nov 2006 Posts: 7955
|
|
|
|
The web console doesn't currently support this report.
I can suggest 2 options for that.
1. On the server run command console cons.sh and connect to the scheduler. Execute "list jobs" and save the output to a file. Load this file into Excel or other spreadsheet and create whatever reports you want. Note that the entire interaction with the console can be scripted and run as a shall/batch script. You can even make a job in 24x7 to run this on a daily basis and email you the results. A 2-line JavaScript job in 24x7 can do that (run batch with an output sent to a file, email the output file).
2. Copy the job database file to a different computer (your workstation) open it in the local 24x7 and run the summary report then close 24x7 right way.
|
|
Wed Aug 29, 2007 9:15 am |
|
 |
SysOp
Site Admin
Joined: 26 Nov 2006 Posts: 7955
|
|
|
|
Forgot to mention, if you also need to run job performance analysis reports, use option #2. Also copy the entire Performance Data directory and schedule.log file to the computer when you can run the GUI version for reporting purposes
|
|
Wed Aug 29, 2007 9:31 am |
|
 |
Redemann
Joined: 11 Jul 2007 Posts: 90 Country: Germany |
|
|
|
Regarding question #1 : Thank you.
Regarding #2 : The Performance Data directory is empty although I activated "job excecution statistics". I cannot find any ".jpd" file.
|
|
Wed Aug 29, 2007 10:05 am |
|
 |
SysOp
Site Admin
Joined: 26 Nov 2006 Posts: 7955
|
|
|
|
Please check if this option is effective in the preferences.xml file, search for "enableStatistic" line, the value should be set to "true"
|
|
Wed Aug 29, 2007 10:09 am |
|
 |
Redemann
Joined: 11 Jul 2007 Posts: 90 Country: Germany |
|
|
|
Yes, it is (preferences.xml from master):
---- snip -----
property name="enableRemoteControl" type="4" value="true"
property name="remotePort" type="1" value="1097"
property name="enableStatistic" type="4" value="true"
property name="traceEnabled" type="4" value="true"
property name="authMethod" type="3" value="FTP"
---- snap -----
Performance Data directory is present; in the logs (debug.log, scheduler.log) no suspicious entrys regarding job statistics can be found.
[root@mysql02 24x7_Scheduler]# ls -l preferences.xml
-rw-r--r-- 1 root root 14704 29. Aug 16:27 preferences.xml
[root@mysql02 24x7_Scheduler]# ls -ld Performance\ Data/
drwxr-xr-x 2 root root 4096 29. Aug 10:42 Performance Data/
|
|
Wed Aug 29, 2007 10:31 am |
|
 |
SysOp
Site Admin
Joined: 26 Nov 2006 Posts: 7955
|
|
|
|
Some kind of anomaly here… Maybe it is related to the background mode and current working directory… trying to create these files in some other place. Please try searching the disk for *.jpd files.
|
|
Wed Aug 29, 2007 10:44 am |
|
 |
Redemann
Joined: 11 Jul 2007 Posts: 90 Country: Germany |
|
|
|
Just did a refresh on the server (updatedb command). no jpd files - expect one in an old test directory. Is it possible that our version build 245 could be the reason?? I'm I right when I suspect that this is a beta build?
Look at the thread "Timeouts until error notification" from july 18th. You pointed me to test this build to overcome the strange behavior regarding the "mystic" additional port opened by the java process.
Right now I haven't time to test the official 242 build - may be tomorrow.
|
|
Wed Aug 29, 2007 11:22 am |
|
 |
SysOp
Site Admin
Joined: 26 Nov 2006 Posts: 7955
|
|
|
|
No it is not a beta unless it says so in the Help/About. The scheduler doesn't do anything different when you run it in the background or foreground. Something outside of the scheduler code is somehow affected by the background mode. I will try to find the what that is and the reason for that.
|
|
Wed Aug 29, 2007 3:10 pm |
|
 |
Redemann
Joined: 11 Jul 2007 Posts: 90 Country: Germany |
|
|
|
Hmmm... I just started the master in foreground mode. Still no performance data. May be I'm doing something wrong?
Right now I only enabled one single testjob (UNIX shell script) running on a remote agent every minute. "Do not log excecution progress" is not enabled.
Is it possible that only jobs with certain attributes produce any perf data?
BTW : The HTML-Logging work fine.
And I forgot another question : In Version 3.x running the master on a windows server there was an option running the job "detached". In 4.x the option is still there but it is greyed out. Does this mean that this is of no relevance any more in 4.x?
|
|
Thu Aug 30, 2007 5:11 am |
|
 |
SysOp
Site Admin
Joined: 26 Nov 2006 Posts: 7955
|
|
|
|
Program type jobs are run detached always; they are executed by the system, not the scheduler, that's why the "detached" option is not enabled. As for the performance stats issue, we are trying to figure out if that's an AIX specific issue.
|
|
Thu Aug 30, 2007 8:35 am |
|
 |
Redemann
Joined: 11 Jul 2007 Posts: 90 Country: Germany |
|
|
|
>> Program type jobs are run detached always; they are executed by the system, not the scheduler, that's why the "detached" option is not enabled.
Ah. OK.
>> As for the performance stats issue, we are trying to figure out if that's an AIX specific issue.
FYI : Only the remote agent is on AIX, the master is a standard RedHat 4.0 Linux server.
I'll re-check this post next week - vacation :-)
Thanks a lot so far.
|
|
Thu Aug 30, 2007 9:43 am |
|
 |
|