ODM
Object Data Manager (ODM) is a set of database files (classes) used to store system configuration such as hardware configuration, software’s installed, network configurations etc.
!! User configuration is not stored in ODM !!
ODM classes
Depending on the configuration data stored ODM has separate database files called ODM classes
For eg: the list of connected devices are stored in ODM class CuDv. And the attributes of these devices are stored in CuAt.
These are stored under directory /etc/objrepos, /usr/lib/objrepos, /usr/share/lib/objrepos
/etc/objrepos : Conatins all Customized (Connected and configured ) device configuration, Software vital product data for / part and other networking/utilities details.
(Do an 'ls' on this directory to see the names of the classes)
CuDv
CuAt
CuDep
History
Inventory
Lpp etc..
/usr/lib/objrepos : Contains all predefined (Supported) Device details and attributes as well as software vital product data for /usr part.
PdDv
PdAt
History
Inventory
Lpp etc
/usr/share/lib/objrepos : Contains software vital product data for /usr part.(Information on filesets installed like their names, history, state, files extracted from each fileset etc.)
History
Inventory
Lpp etc
To display the format (structure) of an ODM class
#odmdisplay
To display the contents of ODM class
#odmget
Eg: odmget CuDv more
To display specific entry
#odmget –q “name=rmt0” CuDv
To delete a specific entry
#odmdelete –o CuDv -q “name=rmt0”
To add or change an entry we need to type all lines in a text file
Eg:
#vi file1
CuAt:
Uniquetype=”/tape/8mm/scsi”
Attribute=”block_size”
Nis_index=”6”
Then for changing
#odmchange -o CuAt –q “Uniquetype=/tape/8mm/scsi” file1
For adding the stanza (entry) newly just
#odmadd file1
No comments:
Post a Comment