Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: Documentation on the OraInventory invemtory.xml?
On Dec 20, 8:48 am, paulclar..._at_gmail.com wrote:
> Hello
>
> I have been asked to parse the oraInventory file, inventory.xml. I
> don't know alot about Oracle, but can't seem to find any reference
> guide for this file.
>
> In perticular:
>
> <?xml version="1.0" standalone="yes" ?>
> - <INVENTORY>
> - <VERSION_INFO>
> <SAVED_WITH>10.2.0.1.0</SAVED_WITH>
> <MINIMUM_VER>2.1.0.6.0</MINIMUM_VER>
> </VERSION_INFO>
> - <HOME_LIST>
> <HOME NAME="OraClient10g_home1"
> LOC="E:\oracle\product\10.2.0\client_1" TYPE="O" IDX="1" />
> </HOME_LIST>
> </INVENTORY>
>
> Under HOME, is there a list of possible attributes and values? For
> example TYPE = O, IDX = 1...what does this mean? But not just these 2
> attributes, all possible attributes.
>
> Thanks
I do not know about parsing the inventory file itself but you can use opatch to report on the contents of the inventory file.
Try: $ORACLE_HOME/OPatch/opatch lsinventory -all -details
and see if the results will allow you to not have to try to parse the file.
HTH -- Mark D Powell -- Received on Wed Dec 20 2006 - 11:04:37 CST