Exalogic Exapatch Step-By-Step
Exalogic Exapatch Step-By-Step
Exalogic Exapatch Step-By-Step
ExaPatch is a Utility that applying patches to an Exalogic. This describes how to install, configure, and use ExaPatch, a utility the
process of patching and upgrading the Exalogic (BIOS,ILOM, Firmware, and Software) for the Exalogic Physical.
The new release Exapatch is installed during the PSU bundle installation in the ZFS shares at /exalogic-lctools/bin/ and the complete
directory structure as mentioned:
[root@el01cn]# /exalogic-lcdata/patches/Linux/17666825/Infrastructure/2.0.3.0.5
[root@el01cn]# /exalogic-lctools/bin/exapatch <options> -a <action>
Installing ExaPatch
ExaPatch is included in the Infrastructure folder of Exalogic Patch Set Updates(PSUs) as mention above and ExaPatch is installed
when you run execute command session mention in "Installing the Patch Set Bundle" section.
For Exalogic physical configurations, you must create the rack configuration file by using a template and from the Output of
ExaDiscover.
You can create the rack configuration file from a template by running the createrackconfig.sh as follows:
For most actions, ExaPatch requires a rack configuration file, which contains the IP addresses and login credentials for each
component in the Exalogic machine.
To generate the rack configuration file from the output of the ExaDiscover utility, which is bundled with ExaPatch, do the following
from the exadiscover directory:
[root@el01cn]# cd /exalogic-lctools/lib/exapatch/exadiscover
2. Generate a list of the components on the rack by running ExaDiscover from the Exalogic Control vServer, as follows:
[root@el01cn]# ./exadiscover.sh -h address_of_compute_node1 > /tmp/exadiscover_output.out
Note : When running ExaDiscover, you can specify the root user password for the compute node by
using the -p password option.
3. Generate the rack configuration file from the output of ExaDiscover, by running the
createrackconfig.sh script, which is available in the /exalogic-lctools/lib/exapatch/scripts folder, as
follows:
[root@el01cn]# cd ../scripts
[root@el01cn]# ./createrackconfig.sh /tmp/exadiscover_output.out >
/exalogic-lcdata/inventory/rack_configuration.py
Note: Oracle recommends creating a rack configuration file called rack_configuration.py in the
exalogic-lcdata/inventory/ directory. By default, ExaPatch searches exalogic-lcdata/inventory/ for the
rack configuration file.
The rack configuration file that is generated based on the output of ExaDiscover contains, by default,
the IPoIB-admin IP addresses of the components on the rack.
Replace each 'FIXME' entry with the IP address of the host, and update the password directive as
described above. Ensure that all the patchable components on the rack are listed in the
configuration file. For reference, a sample rack configuration file is included in the ExaPatch
User's Guide. Once ready, the rack configuration file should be copied to the
/exalogic-lcdata/inventory/. ExaPatch looks for a file named rack_configuration.py in the inventory
directory.
Syntax:
Syntax:
[root@el01cn]#/exalogic-lctools/bin/exapatch -a checkAuthentication
For Example:
Before applying the patches, verify that all the pre-requisites of the components are met. :