1 2 Previous Next 17 Replies Latest reply on Feb 26, 2020 10:38 AM by Erik Paul Gonzalez Pizarro

    How do you remove the CMDB integration from BPPM?

      Share This:

      Is there a easy way to remove the CMDB integration from the BPPM server?

        • 1. Re: How do you remove the CMDB integration from BPPM?
          Shweta Patil

          Unfortunately there is no uninstall option to remove CMDB integration, the best we can do is

           

          1) Disable CMDB integration

          1a) Stop the server

          pw system stop

          1b) Change the following value in the \pw\pronto\conf\pronet.conf file

          From

          CMDBIntegration=y

          To

          CMDBIntegration=n

          1c) Start the server

          pw system start

          • 2. Re: How do you remove the CMDB integration from BPPM?

            Ok, thanks for your answer. Will it then be a manual job removing CI's? or is everything cleaned up?

            • 3. Re: How do you remove the CMDB integration from BPPM?
              Shweta Patil

              It would be a manual job to remove CI's

              1 of 1 people found this helpful
              • 4. Re: How do you remove the CMDB integration from BPPM?
                Shweta Agarwal

                The above method is to remove the CMDB integration and not to remove CI's.CMDB synched CI;s can be removed only by removing it from IMD and then publish it so that those CI's or model will be removed from Cell as well.

                You could also run mquery to delete the instances from cell if the CDM integration is not there.

                1 of 1 people found this helpful
                • 5. Re: How do you remove the CMDB integration from BPPM?

                  Do you know which mquery commands to run?

                  Is there documentation with overview over mquery?

                  • 6. Re: How do you remove the CMDB integration from BPPM?
                    Shweta Patil

                    The mquery command has a help option showing the syntax.

                    E:\Program Files\BMC Software\ProactiveNet>mquery -h
                    BMC Impact Query 8.6.02 (Build 221094447 - 10-Nov-2011)
                    Copyright 1998-2011 BMC Software, Inc. as an unpublished work. All rights reserved.
                    Usage: mquery [-h|-?] [-z] [-q] [-v] [-c ConfigFile] {-p Var=Value} [-l HomeLocation] [-n CellName | -n @Host[/Port[#Key]] ] [-i Userid[/Password][@Host[/Port]]
                    ] [-r] [-t] [-f Format] ( [-d] [-a Class] [-w Where] [-s SlotList | -x SlotList] [-g Collector] [-o {ORDERSLOT.EN_US}] | -Q Query | - | {FILE.EN_US} )
                    -h Print this help and exit
                    -z Print version number and exit
                    -q Quiet execution (no banner)
                    -v Verbose
                    -c Configure from ConfigFile
                    -p Parameter Var gets Value assigned
                    -l Home directory is HomeLocation (default: $MCELL_HOME)
                    -n Connect to Cell CellName - as defined in directory
                    or on indicated host and port, with indicated key
                    -i Authenticate as user Userid with Password against IAS at Host and Port
                    -r Raw output
                    -t Terminal output (stripping non-printable control characters)
                    -f Format using special Format (one of: quoted BAROC CSV XML)
                    -d Select data objects instead of event objects
                    -a Select from specific Class (default: CORE_EVENT or CORE_DATA)
                    -w Where condition on specified Class
                    -s Select slots from comma-separated SlotList, or ALL, COUNT or DELETE (default: ALL)
                    -x Exclude slots from comma-separated SlotList (selecting ALL)
                    -g Only select in Collector (optional '+' suffix for closure)
                    -o Sort on OrderSlot (suffix + for ascending, - for descending optionally suffixed with b for ignore blank, c for ignore case)
                    -Q Perform specified Query
                    - Perform queries as read from standard input stream
                    Perform queries as read from File

                    E:\Program Files\BMC Software\ProactiveNet>

                    In Page 234 of BMC ProactiveNet Command Line Interface Reference Guide; you can find an extended explanation of all the options and we also provide examples that will help you archive your goal.

                    http://documents.bmc.com/supportu/documents/69/10/196910/196910.pdf

                    • 7. Re: How do you remove the CMDB integration from BPPM?
                      Shweta Agarwal

                      Hi,

                       

                      You can use below similar queries:

                       

                      mquery -n <cellname> -d -a BMC_ComputerSystem -w "Name: contains <CIname>" -s COUNT

                      mquery -n <SIM-cell-Name>   -d -a "BMC_BaseElement" -s COUNT

                      Similarly, -s DELETE option could be used to delete

                       

                      I would suggest to use these command first on test cells and then use on Production environments.

                       

                      Thanks,

                      Shweta

                      • 8. Re: How do you remove the CMDB integration from BPPM?
                        Leo Osborn

                        To completely remove the service model from a SIM cell you could try the following:

                         

                        mquery -n <cellname> -d -a MC_SM_COMPONENT -s DELETE

                        mquery -n <cellname> -d -a MC_SM_RELATIONSHIP -s DELETE

                         

                        It is possible that the cell won't let you do this because the service model is published from CMDB ( you would not be able to remove the records through IX), but I am not sure without trying so give it a try.

                         

                        Don't do this on a BPPM server cell as it will remove all your BPPM devices !

                        • 9. Re: How do you remove the CMDB integration from BPPM?
                          Charles Kelley

                          If the CI's had been published from the CMDB, the cell will not let you delete them via mquery, even if the BPPM Server is no longer configured to be connected to the CMDB.

                           

                          However, you can do this with the munpublish CLI.


                          To delete any CI that was specifically published from the CMDB, you can run:

                           

                          munpublish -n <cellname. AtriumCMDB.PROD

                           

                          Note - if you are on BPPM 9.0, you will need to be at SP2 for the CLI to work correctly (defect QM001798208).

                           

                          Charles

                          • 10. Re: How do you remove the CMDB integration from BPPM?

                            Hello ,

                             

                            We are using BPPM 9.0 and  trying to stop the integration with CMDB temporarily. I tried searching the /opt/bmc/ProactiveNet/pw/pronto/conf but couldn't find a valid parameter to disable. Let me know what else can be done to stop the integrations.

                             

                            Thanks & Regards

                            Baskar Gajendran

                            • 11. Re: How do you remove the CMDB integration from BPPM?
                              Michael Ashall

                              Check the file in pronto/custom

                               

                              pronet.conf

                               

                               

                              You will need to restart PNET thereafter.

                               

                              Also, in later version of BPPM it is also in Options Menu.

                               

                              MASH

                              • 12. Re: How do you remove the CMDB integration from BPPM?
                                Charles Kelley

                                You can set AutomatedStartMode=Manual in the pw/server/etc/pserver.conf, then restart the Publishing Server.  With that set, a publish will only occur when you manually execute it, and not automatically any more.

                                 

                                Charles

                                • 13. Re: How do you remove the CMDB integration from BPPM?

                                  The munpublish command was helpful to me. I had a need to delete all service models and start again - (and actually wiped our BMC.ASSET dataset and started fresh)....when I deleted the Service Models in IMD and "published" that to BPPM - it removed some and left a couple of others. So, following with munpublish was swiftly effective.

                                   

                                  Now - getting back in business has proven a bit more challenging.  I re-populated the BMC.ASSET dataset with fresh discovery data and used IMD to make a very quick/short "Service Model" to test publish - and it won't come through to BPPM... clearly not quite understanding what the munpublish did behind the scenes is making it difficult to re-initialize the service modeling publishing capability. It shows successful on the IMD/CMDB side - but the publishing server on BPPM is reporting "Failure Message: Publish validation of IM(s) failed".... case opened with support.... but I thought it might be worth calling out for others who may travel this path.

                                  • 14. Re: How do you remove the CMDB integration from BPPM?
                                    Charles Kelley

                                    Hi Eva,

                                     

                                    After running the publish command, and it failing with that message, you can run 'pshowlog' to see why it failed.  If you've run other p* commands since then, your need to provide the publish id with it (the Z0000____ string that the publish command provided.... i.e. 'pshowlog Z000ABCD1234567890'.

                                     

                                    That 'publish validation of IM(s) failed' is a bit generic without the pshowlog details... it could just be something as simple as the class data being out of sync (which is fixed with the pclassinfo command).

                                     

                                    Charles

                                    1 2 Previous Next