This documentation supports the 9.1 to 9.1 Service Pack 3 version and its patches of BMC Atrium Core. The documentation for version 9.1.04 and its patches is available here.

To view the latest version, select the version from the Product version menu.

Running cmdbdriver from the command line

Run cmdbdriver from the command line to be prompted sequentially for each parameter needed to run your command.

Before you begin

  • Locate the CMDBDriver in the BMC Atrium CMDB SDK installation directory (C:\Program Files\BMC Software\AtriumCore\cmdb\sdk64\bin).
  • Be prepared to provide the necessary login information and perform initialization operations for connecting to BMC Atrium Core.

To run the cmdbdriver program from the command line

  1. Start the cmdbdriver program with the appropriate steps for your platform:
    • Microsoft Windows: In C:\Program Files\BMC Software\BMC Atrium Core\cmdb\sdk\bin, double-click cmdbdriver.exe.

    • UNIX: In <AtriumCoreInstallationDirectory>/cmdb/sdk/bin, type the command: /cmdbdriver.sh.

      Shared libraries required by the cmdbdriver program are added to the library path for the cmdbdriver session. The cmdbdriver program sets the library path variable according to your UNIX platform:

      UNIX platform

      Variable name

      Solaris and Linux

      LD_LIBRARY_PATH

      HP-UX

      SHLIB_PATH

      AIX

      LIBPATH

  2. Initialize an API session with the init command.
  3. Type log at the prompt.
  4. Specify the login parameters one at a time:
    1. Type a valid user name and password.
    2. Type the name of your server.

      You can skip the other parameters.
  5. Enter the following command if the AR System server is configured to run on port:

    ssp
  6. In the command prompt, type the abbreviation of the function and provide the appropriate input parameter values.

    For example, the following cmdbdriver commands import class definitions for the BMC_ComputerSystem and BMC_SystemComponent classes from the ImportClasses.txt file. Because the user specifies a value of 1 for the Import Option prompt, cmdbdriver returns an error if these classes already exist.

    Command: impdf
    DEFINITION IMPORT
    Import Item List:
    Number of import items (0): 2
       Item Type: (Class, Attribute) (1-2) (1): 1
       Class Type
          Class Name
          Namespace (): BMC.CORE
          Class Name (): BMC_ComputerSystem
       Item Type: (Class, Attribute) (1-2) (1): 1
       Class Type
          Class Name
          Namespace (): BMC.CORE
          Class Name (): BMC_SystemComponent
    Import Option : Create/Overwrite (1-2) (1): 1
    Filename containing import data: C:\ImportClasses.txt

    Note

    Use the help command ( h or ? ) to display cmdbdriver commands.

  7. When you are finished using the cmdbdriver, type e or q to exit the program.
Was this page helpful? Yes No Submitting... Thank you

Comments

  1. Zhavoronkov Aleksei

    Please add addition step between 4 and 5 bullets - Set Server Port (if needed) - SSP

    Oct 10, 2017 02:40
    1. Nidhi Das

      Hello Zhavoronkov,

      Thank you for letting us know. I will discuss this with the concerned SME and will update the topic.

      Regards,
      Nidhi

      Oct 11, 2017 01:31
    1. Nidhi Das

      Hello Zhavoronkov,

      We have added the step.

      Regards,
      Nidhi

      Jan 18, 2018 05:11