Example 13-19 Updating the Agent
To update the
dcs-agent
to version 18.312.1.2.10:
# odacli update-dcsagent -v 18.3
{
"jobId" : "77e454d3-eb68-4130-a247-7633f8d6192b",
"status" : "Created",
"message" : null,
"reports" : [ ],
"createTimestamp" : "July 26, 2018 14:09:24 PM CST",
"description" : "DcsAgent patching",
"updatedTime" : "July 26, 2018 14:09:24 PM CST"
}
odacli update-repository
Use the
odacli update-repository
command to update the repository with the
new Oracle Database Appliance software.
Prerequisites
Before updating the repository, you must upload the Oracle Database Appliance
software to the appliance. If the patch contains more than one zip file, then extract and
concatenate the zip files before updating the repository.
The following is an example of the steps to get the files from My Oracle Support,
extract, and concatenate the files:
Note:
The file names in the examples might not reflect actual file names.
1.
(Optional) Create a temporary directory in the
/u01
directory. You will upload your
Oracle Database Appliance software to this directory before adding the files to the
update repository. You can use the existing
/tmp
directory, but it might not have
sufficient space for the zip files. It is a good practice to clean the
/tmpdir
directory after you update the repository.
/u01/tmpdir
2.
Download the Oracle Database Appliance software files from My Oracle Support,
then upload the files to a temporary location in the
/u01
directory in Oracle
Database Appliance. For example:
p26433721_122110_Linux-x86-64_1of2.zip
and
p26433721_122110_Linux-
x86-64_2of2.zip
3.
If the patch contains more than one zip file, then extract the zip files and
concatenate the files into a single zip file. For example, a file named
oda-
sm-12.2.1.1.0-171031-server.zip
before updating the repository.
Chapter 13
odacli Apply Patch and Update Commands
13-24
Summary of Contents for Database Appliance X6-2-HA
Page 15: ...Index xv...