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.

Exporting class definitions by using cmdbdriver

Before you create the extension package, you must export your class or attribute definitions by using the cmdbdriver expdf command. The expdf command creates several XML files that contain the class definition information for the specified class.

To export class definitions

  1. Create an extension subdirectory.
    This directory will contain all the extension loader files.
  2. Start the cmdbdriver program and specify your user credentials.
    • Microsoft Windows
      1. Navigate to C:\Program Files\AR System Applications\BMC Atrium CMDB\sdk\bin.
      2. Double-click cmdbdriver.exe.
    • UNIX
      1. Navigate to /usr/arsystem/ServerName/cmdb/sdk/bin.
      2. Type the command cmdbdriver.
  3. Type the command init to initialize the driver.
  4. Type the command log to log onto your server.
    You are prompted to specify several parameters one at a time. You must enter the following parameters:
    • Type a valid user name and password.
    • Type the name of your server.
      You can leave the other parameters blank. After you specify the logon parameters the command prompt appears.
  5. Type the expdf command.
  6. At the Export all class? (F): prompt, type T to export all class definitions from BMC Atrium CMDB.
    If you press Enter to accept the default value of F, you need to specify the namespace, class, and attribute details for the class definitions you want to export.
  7. At the Export all attributes with classes? (T): prompt, press Enter to accept the default value of True.
  8. At the Filename for exported data: prompt, specify the file name in which to save the exported definitions.
    Make sure you specify the exact path for the file name, for example, C:\ExportedClassDefinitions\CoreClassDefinitions.xml. If you specify a file name that already exists, the existing file is overwritten.
Was this page helpful? Yes No Submitting... Thank you

Comments