SUA 2.2 migration to SUA 9.2 Data Import Issues.
Background
SUA 2.2 was installed on majority of endpoints and working.
SUA 9.2 was required to be installed for audit purpose of
6-7 Servers.
SUA 2.2 was left operational during Installation of SUA9.2
Attempted
migrating SUA 2.2 endpoints to SUA 9.2 endpoints was not successful as all
steps were not completed as described in documentation.
Problem Statement
-
SUA
9.2 Server installs correctly including the database
-
SUA
9.2 never completes initial Import Process (mandatory)
-
Import
log provided shows failure
a. 2015-04-13
14:05:53 (+0:00:01.263) ERROR: SQL: INSERT INTO
[sam].[app_usage_property_values_etl_changes] ([app_usage_property_id],
[computer_id], [process], [first_used], [last_used], [total_time],
[total_runs]) SELECT * FROM (SELECT ? AS [app_usage_property_id], ? AS
[computer_id], ? AS [process], ? AS [first_used], ? AS [last_used], ? AS
[total_time], ? AS [total_runs]) AS [t1]
b. 2015-04-13
14:05:53 (+0:00:00.000) ERROR: Batch execution error:
c. 2015-04-13
14:05:53 (+0:00:00.006) INFO: ETL from Data Source -
SAM::AppUsagePropertyValue
(0x0000000000000000 - 0x00000000DE9AAC32): Failed
d. 2015-04-13
14:05:54 (+0:00:00.196) ERROR: Sequel::DatabaseError:
Java::JavaSql::BatchUpdateException: Cannot insert duplicate key row in object
’sam.app_usage_property_values_etl_changes’ with unique index
’sam_app_usage_property_values_etl_changes_app_usage_property_id_computer_id_process_index’.
The duplicate key value is (-1, 7883, lulnchr.exe ).
-
Subsequent
imports fail collecting data from the IEM source. Suspect SUA 2.2 data as part of the issue
-
Recommended
two options.
a. Submit
PMR to IBM for issue.
b. Uninstall
SUA 2.2 scanners and open actions
i.
Uninstall SUA 9.2 Server and database (removing
bad data)
ii.
Reinstall SUA 9.2 and database
iii.
Run Import data
-
Elected
to go with option B.
-
Completed
all objectives as described.
a. Import
process still fails but with different data failure
i.
2015-04-15 15:14:31 (+0:36:24.495) ERROR: SQL:
{call [dbo].etl_raw_datasource_fixlet_results}
ii.
2015-04-15 15:14:31 (+0:00:00.001) ERROR: Batch
execution error:
iii.
2015-04-15 15:14:31 (+0:00:00.003) INFO: ETL
from BFEnterprise - RawDatasourceFixletResult (0x0000000000000000 -
0x00000000DF35E426): Failed
iv.
2015-04-15 15:14:31 (+0:00:00.006) ERROR: Java::ComMicrosoftSqlserverJdbc::SQLServerException:
The UPDATE statement conflicted with the CHECK constraint
"ckt_raw_datasource_fixlet_results_scd". The conflict occurred in
database “SUA9”, table “dbo.raw_datasource_fixlet_results_scd”.
-
Coexistence SUA 2.2 with SUA 9.2 is supported
as described below.
Can provide full import log for both import process. Next step is to either try to remove SUA 2.2 and data source or open PMR at this point.
Any thoughts