Thursday, February 16, 2012

ODM: Object Data Manager

ODM: Object Data Manager

  • ODM is a database of system and device configuration information integrated into the OS.
  • Three Types of objects stored in the ODM:
    Predefined
    Devices that AIX has drivers for or knows about, but are not currently installed or active.
    Defined
    Logical devices or drivers which don't map directly to a physical device. This includes network configuration, LVM configuration, and installed software information.
    Available
    A physical hardware device which is installed, configured, and in use.

  • For making any system change permanent, one has to change it in the ODM instead of just at run-time. When in doubt, use SMIT/SMITTY.

Useful commands:
  • lscfg (list configuration)
  • lsdev (list devices)
  • chattr (change device attributes)
  • lsattr (list device attributes)
  • synclvodm (syncronize LVM and ODM information)
  • cfgmgr (configuration manager - scans for devices added since boot)
  • diag (diagnose missing device)
odmadd: Adds objects to created object classes.
odmchange: Changes the contents of a selected object in the specified object class.
odmcreate:The odmcreate command is the ODM class compiler. The command takes as input an ASCII file that describes the objects a user wishes to use in a specific application. The odmcreate command can create empty object classes as part of its execution.
odmdelete:The odmdelete command, given the object class to delete from and the search criteria, deletes all objects that meet those criteria.

No comments:

Post a Comment