Unable to delete Oracle MA

Hi,

We have a working Oracle MA (out of the box MA), but are unable to delete it (as we wish to perform further tests).

It processes the records (when we click to delete the CS and MA), and when the bar shows full progress is complete, it just sits there for hours. The MA does not delete. Btw. we have disabled provisioning, and made sure all the Imports and Syncs are complete and healthy.

When we ran the following SQL query, it showed a few hundred rows with "anchor = NULL"

SELECTTOP 1000 [object_id]
      ,[ma_id]
      ,[pobject_id]
      ,[rdn]
      ,[ancestors]
      ,[anchor]  FROM [FIMSynchronizationService].[dbo].[mms_connectorspace]
  where anchoris NULL

Since this is a test system, we then ran the SQL query below, but it said there is nothing to delete.

Can anyone suggest other approaches to deleting an MA?

-- Get your MA GUIDs first to set @maid
-- select ma_id, ma_name from mms_management_agent

declare @maid as uniqueidentifier
set @maid = '6F513A91-99F0-40D9-9392-89C69AAEDFC2'

-- Clean mms_csmv_link first ...
delete mms_csmv_link from
mms_csmv_link csmv
inner join
mms_connectorspace cs
on cs.object_id = csmv.cs_object_id
where cs.ma_id = @maid AND
anchor
is NULL AND
not (cs.partition_id IS NULL) -- placeholders have null anchor, so we exclude them

-- Then clean mms_connectorspace ...
delete mms_connectorspace where ma_id = @maid AND
anchor
is NULL AND
not (mms_connectorspace.partition_id IS NULL) -- placeholders have null anchor, so we exclude them

Thank you.

February 23rd, 2015 10:44pm

We were able to delete the CS (using the FIM Sync GUI), but still cannot delete the actual MA.
Free Windows Admin Tool Kit Click here and download it now
February 25th, 2015 2:05am

This may be a stupid question, but are you sure you used correct @maid?
February 25th, 2015 11:25am

please try rebuilding the index and re-indexing
Free Windows Admin Tool Kit Click here and download it now
March 12th, 2015 6:12pm

please try rebuilding the index and re-indexing
  • Marked as answer by Shim Kwan 11 hours 18 minutes ago
March 12th, 2015 10:10pm

please try rebuilding the index and re-indexing
  • Marked as answer by Shim Kwan Sunday, March 15, 2015 7:58 PM
Free Windows Admin Tool Kit Click here and download it now
March 12th, 2015 10:10pm

please try rebuilding the index and re-indexing
  • Marked as answer by Shim Kwan Sunday, March 15, 2015 7:58 PM
March 12th, 2015 10:10pm

it took a long time, but yes that eventually worked...rebuild index, reindex, db consistency check did the trick.

thank you!

Free Windows Admin Tool Kit Click here and download it now
March 15th, 2015 4:00pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics