It's all about the answers!

Ask a question

Data Collection Job Status fails


Rodney Haymore (111) | asked Oct 22 '12, 3:38 p.m.
Running RTC version 4.0 and Derby on a Windows 2008 R2 server...
Finally got enough data inputted but Data Collection Job status form is showing all jobs failed.  Where do I start my search for an answer?  I'm opening a PMR but we need an answer fast!

thanks. 

12 answers



permanent link
Bin Chen (41911) | answered Nov 12 '12, 12:26 p.m.

Hi, Benjamin,

I recently reconfigured our CLM to use Active directory. After I reconfigured data collection jobs, only QM common jobs won't run. What is so special about QM common job? Any hint on where I should look for troubles? Thanks.


permanent link
Davyd Norris (20221014) | answered Oct 22 '12, 9:36 p.m.
edited Oct 22 '12, 10:42 p.m.
I too have had all sorts of issues trying to understand data collection, the licensing and users who run the collection jobs, and authentication settings. Whenever I have gone to the advanced settings, I see that the ADMIN is still the default user used for many of these jobs, even when the user ADMIN has been disabled during the CLM setup process.

This would be a great subject for a library article. Would love someone from the Jazz team to put together a note on what the settings should be and how they work. Things like the user and roles on the server and/or projects, the authentication methods and what they should be, and how this should look when stand alone and with RRDI.

Additionally, I would love the set up process to make any changes necessary - we specify an ETL user account during set up but the disabled ADMIN username is still dotted everywhere in the data collection advanced settings. I can't work out if this is even important or not, or if the data collection jobs are still working.

permanent link
Benjamin Silverman (4.1k610) | answered Oct 22 '12, 7:13 p.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
Yes, they'll run automatically at midnight every night.  You can check the job status some time after midnight to confirm they've executed.  The account that it uses is the one you have set up under Reports -> Data Collection Jobs, which I believe you said is your account for now.  You may want to create a functional user (ie - ETLUSER) and assign it the data collector license as to not interfere with the ETL (ie - you change your password, then the ETL's will start failing). 

permanent link
Benjamin Silverman (4.1k610) | answered Oct 22 '12, 6:50 p.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
Yes, you only need one Data Collector license since you only need one functional ETL user on the server.  These jobs run by default at midnight, so the users should find that reports are updated with the latest data on the following day without you having to run them manually.

You can re-configure the time they run by entering an integer value under Reports -> Data Warehouse Connection -> Data Warehouse Snapshot Time, but midnight (off hours) is best (as it does put some stress on the applications), unless you have some scheduled maintenance that you know will interfere with the job (ie - database goes down at midnight for some maintenance task).

I'm glad the jobs are running now!

Comments
Rodney Haymore commented Oct 22 '12, 6:59 p.m.

So the jobs will run automatically at midnight?  Do i need to set the account that it uses or is that controlled automatically by RTC?


Kevin Ramer commented Dec 12 '12, 1:48 p.m.

Can the ID be reset to one of the 'dummy' user IDs ? (e.g. ccm_user)   We just moved to 4.0.1 and our dw jobs (in ccm ) are failing with "peer not authenticated".  The ID being used doesn't have any collector license and it's an LDAP ID that we've setup for lots of other purposes.  Having its password in lots of places makes me twitchy (not for security, but just the possibility of overlooking if the password should ever be reset).

TIA -- Kevin


Benjamin Silverman commented Dec 12 '12, 1:52 p.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

I would advise against using one of the other functional users (ie - ccm_user) as the ETL user.  Those users are dedicated to other tasks and should not be designated for other activities.


permanent link
Benjamin Silverman (4.1k610) | answered Oct 22 '12, 6:37 p.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
You should be able to update the User ID/password on that page to reflect the user who has the Data Collector license.  Are you not able to modify the values?

Comments
Rodney Haymore commented Oct 22 '12, 6:41 p.m.

Okay.  I changed the User ID to my login User ID and the jobs are now running.  The first few have already passed.

How is this supposed to work in real life?  Will I have to run the jobs whenever the user needs reports or is there some way to allow users to run the jobs themselves?

We only have one Data Collector license.

In any case, Thank you very much for your support.


permanent link
Benjamin Silverman (4.1k610) | answered Oct 22 '12, 6:26 p.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
I'm using 4.0 and the screenshot I showed is the default.  Is your XDC Authentication type set to "oauth" instead of "FORM"?  You can check under Reports -> Data Warehouse Connection -> XDC Authentication, or under jts/admin -> Server -> Advanced Properties -> XDC Authentication.  I'd try changing it to FORM and specifying the username/password for your ETL user, as using a consumer key/secret is not the default configuration. 

Comments
Rodney Haymore commented Oct 22 '12, 6:32 p.m.

It was set to JTS.  I changed it to Form and now on the Data Collection Jobs screen the field indicates User ID  and Password but it's still showing the consumer key not the User ID.


Rodney Haymore commented Oct 22 '12, 6:35 p.m.

Is the ETL user the same as the Data Collection User that's shown on the Warehouse Connections screen or should it be the User who is trying to run the reports?

Is the Warehouse Connection user (ADMIN) the account that automatically runs the Jobs everyday as opposed to the user who manually runs the jobs on demand?


permanent link
Benjamin Silverman (4.1k610) | answered Oct 22 '12, 6:00 p.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
Sure, you can email it to me at bsilverm<at>us<dot>ibm<dot>com.  Or I can attach a screenshot of mine here if it helps:





permanent link
Benjamin Silverman (4.1k610) | answered Oct 22 '12, 5:02 p.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
If you go to https://<server>:<port>/jts/admin -> Reports -> Data Collection Jobs, you'll see each job listed for the JTS/RM applications, and there is a "User ID" field that indicates the user configured to run the ETL.  Again, you'll have to update this under each admin page (ie - qm/admin -> Reports -> Data Collection Jobs, ccm/admin -> Reports -> Data Collection Jobs) for the change to be made for each application.

Comments
Rodney Haymore commented Oct 22 '12, 5:37 p.m.

Not Seeing User ID.  I have a screenshot but an unable to upload at this time.

"sorry, file uploading requires reputation >60"

Is there some other way to get the file to you?


Rodney Haymore commented Oct 22 '12, 5:47 p.m.

If I select the Data Warehouse Connection, I do see some configurations settings like Data Collection User or Consumer key.  But this field is not changeable.


permanent link
Benjamin Silverman (4.1k610) | answered Oct 22 '12, 4:48 p.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
That might be the problem.  The ETL is configured to run with a certain user if you go to https://<server>:<port>/jts/admin -> Reports -> Data Collection Jobs, and check the "User ID" who is running them.  That user is created during jts/setup, so if you've attached the Data Collector license to any other user, you'll need to change the user that runs the ETL to make sure it's the user that has that license.  You'll need to do that for each application. 

Comments
Rodney Haymore commented Oct 22 '12, 5:00 p.m.

How do I check the user id who is running them?

All I see is:  Data Collection Job, State, Comsumer Key, Consumer Secret, Actions

Do I have to decode the Consumer Key?


permanent link
Benjamin Silverman (4.1k610) | answered Oct 22 '12, 4:21 p.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
Does the user that is configured to run ETL have the "Data Collector" license?  Is that the same exception you see in the jts-etl.log, or is there more info there?  That might explain why only the STAR job works, as this data is collected from the data in the database rather than from the applications,

Comments
Rodney Haymore commented Oct 22 '12, 4:37 p.m.

Yes it is the same error, but more.

Datawarehouse ...RemoteRRCSnapshotservice has failed.  Aborting all the jobs.

We have one Data Collector license and I've set attached it to my Admin account.  I'll try setting it to he user's to see what luck he has.

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.