6 Replies Latest reply on Jun 17, 2020 10:58 AM by Bob Anderson

    Resync prepare shows all CIs will be deleted.

    Deepika Gautam
      Share This:

      CMDB Filter has not been filtered out BMC_ComputerSystem and many other classes as well, still on preparing re-sync, it shows all CIs and relationships will get deleted.

       

      Below is the error.

      The following classes are not defined in the CMDB, and will therefore be filtered out:

      BMC.MAINFRAME:BMC_MFCouplingFacility, BMC.MAINFRAME:BMC_StorageSubsystem, BMC_Activity, BMC_AdminDomain, BMC_Application, BMC_ApplicationService, BMC_ApplicationSystem, BMC_BaseElement, BMC_CloudInstance, BMC_Cluster, BMC_ComputerSystem, BMC_ConcreteCollection, BMC_DataBase, BMC_DiskDrive, BMC_HardwarePackage, BMC_HardwareSystemComponent, BMC_IPConnectivitySubnet, BMC_IPEndpoint, BMC_LANEndpoint, BMC_LogicalSystemComponent, BMC_Mainframe, BMC_NetworkPort, BMC_OperatingSystem, BMC_Printer, BMC_Processor, BMC_Product, BMC_ResourcePool, BMC_SoftwareServer, BMC_SystemResource, BMC_Tag, BMC_TapeDrive, BMC_Transaction, BMC_VirtualSystemEnabler, BMC_ApplicationSystemServices, BMC_Component, BMC_Dependency, BMC_HostedAccessPoint, BMC_HostedSystemComponents, BMC_InIPSubnet, BMC_RelatedTo

        • 1. Re: Resync prepare shows all CIs will be deleted.
          Lisa Keeler

          Wow.  It seems like the CMDB doesn't have any of the necessary classes.

           

          That's crazy. 

           

          This must be a new setup, right?

           

          Are you really pointing to a valid AR Server / CMDB??

           

          Can you check that you can view the BMC.CORE:BMC_BaseElement and BMC.CORE:BMC_ComputerSystem forms for that CMDB?

           

          You may need to open a ticket with the Atrium Core team and/or the BMC Discovery team.

          • 2. Re: Resync prepare shows all CIs will be deleted.
            Deepika Gautam

            Not a new connection. Actually, it's an integration with Remedyforce CMDB we've been using since last 2 months.

            Classes like BMC_ComputerSystem, BMC_BaseElement aren't filtered out.

             

            Log says something like this - "Host node f420385eee10337352c776d56e486f7374 filtered in the CMDB filter." &

            Required CI class 'BMC_BaseElement' is not known.

            Required CI class 'BMC_ComputerSystem' is not known.

             

            I've tried clearing all filtering conditions, defining filters again and then restarting services  to prepare a new re-sync but no luck..

             

            I've raised this with BMC Discovery support, simultaneously trying to find out a workaround as it has stopped the synchronization.

            • 3. Re: Resync prepare shows all CIs will be deleted.
              Brice-Emmanuel Loiseaux

              As Lisa wrote it, the error message you reported says that when starting up, Discovery sync service has not been able to get these class definitions from RemedyForce. There is either a problem with the permission of the user configured for the connection to RemedyForce (something has been altered) or there is a problem on RemedyForce and it cannot respond to queries it used to respond to previously.

              • 4. Re: Resync prepare shows all CIs will be deleted.
                Lisa Keeler

                Agree with Brice.  And, just to be clear:  The problem is not with your filters.

                 

                This message below does not pertain to the customer's filters.  It means that we could not find the class definitions at all in Remedyforce:

                The following classes are not defined in the CMDB, and will therefore be filtered out:

                 

                And, that is a major problem.

                1 of 1 people found this helpful
                • 5. Re: Resync prepare shows all CIs will be deleted.
                  Deepika Gautam

                  Agree. And cause has been found.

                  Silly yet serious!

                  We're populating some custom fields. In order for Discovery to populate these fields, some mapping needs to be defined in Remedyforce, in the SysProperties object.

                  The way you define is something like this- "EL_Database__C":"DatabaseName"

                  Is was found that the problem was with character ” and only " this type of double quote is allowed in configuration.

                  Post changing the quote sync has been resumed.

                  1 of 1 people found this helpful
                  • 6. Re: Resync prepare shows all CIs will be deleted.
                    Bob Anderson

                    So, those silly smart-quotes used by most word processors and email editors got in the way.

                     

                    Copy-Paste from these sources into script/code/configuration files does not work well, unless you have an intermediate stop in a proper text editor like Notepad++

                     

                    I generally disable any word processing (any MS Office products, especially Word and Outlook) that automatically converts certain characters (like single or double quotes or even double hypens) to more visually aesthetic (like smart-quotes or m-dash) characters because they are useless in any scripting/programming language or in configuration files.

                    1 of 1 people found this helpful