How To Know The OS Of Installation Using The Inventory

Of course, it sounds like a little stupied, if you are executing the binarys from that ORACLE_HOME you need know which operating system you are executing. The issue is when you restore from tape a older backup of an ORACLE_HOME or a client send you a copy but don’t specify (or maybe he/she don’t know it).

This is a easy way to check it. After you unzip o tar -x if you must verify in

$ORACLE_HOME/inventory/ContentsXML

The file oraclehomeproperties.xml. With a cat or view it will be enough. The output is similar to this;

 

<?xml version = '1.0' encoding = 'UTF-8'?>
<!-- Copyright (c) 1999, 2014, Oracle and/or its affiliates.
All rights reserved. -->
<!-- Do not modify the contents of this file by hand. --><ORACLEHOME_INFO>
   <GUID>1399291201#.#542123581</GUID>
   <HOME>
   <ARU_PLATFORM_INFO>
      <ARU_ID>23</ARU_ID>
      <ARU_ID_DESCRIPTION>Solaris Operating System (SPARC 64-bit)
                </ARU_ID_DESCRIPTION>
   </ARU_PLATFORM_INFO>
   <PROPERTY_LIST>

   <PROPERTY NAME="ARCHITECTURE" VAL="64"/&gt;&lt;PROPERTY NAME="ORACLE_BASE" VAL="/XXXX/XXXX/XXXX"/&gt;&lt;/PROPERTY_LIST>
<CLUSTER_INFO&gt;&lt;LOCAL_NODE NAME="NODE-1"/&gt;&lt;NODE_LIST&gt;&lt;NODE NAME="NODE-1"/&gt;&lt;NODE NAME="NODE-2"/&gt;&lt;/NODE_LIST&gt;&lt;/CLUSTER_INFO&gt;&lt;/ORACLEHOME_INFO>

 

In this case, <ARU_ID_DESCRIPTION> tag give us the information we are looking for: Solaris Operating System (SPARC 64-bit). You can see in this case it is member of a cluster too.

HTH – Antonio NAVARRO

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s