This document describe the step by step procedure to Patching or Upgrading Oracle Database Appliance (ODA) X6-2S,M,L (Small,Medium and Large).
1. Log in to Oracle Database Appliance.
as root, using the password welcome1.
2. Plumb the Network (if this is fresh ODA installation)
configure-firstnet
3. Check Dsc-agent version.
[root@oak ~]# rpm -qa |grep dcs-agent
dcs-agent-12.1.2.8.0_LINUX.X64_160817.2-1.x86_64
3. Download latest patches from MOS
Download the patch from Doc ID 2144642.1
4.Transfer the downloaded files to Oracle Database Appliance machine.
scp or winscp
5. Unzip the Patch in a temporary location (/u01) in the Oracle Database Appliance X6-2. The unzipped file will have a name oda-sm-12.1.2.10.0-170213-server.zip
6.Update metadata repository
[root@oak bin]# ./odacli update-repository -f /u01/oda-sm-12.1.2.10.0-170213-server.zip
{
"jobId" : "d3dcf3b1-c333-4f16-a9bf-dd3492a717b8",
"status" : "Created",
"message" : null,
"reports" : [ ],
"createTimestamp" : "June 16, 2017 02:17:15 AM PDT",
"description" : "Repository Update",
"updatedTime" : "June 16, 2017 02:17:15 AM PDT"
}
7. Check the job completion status.
[root@oak bin]# ./odacli list-jobs
ID Description Created Status
---------------------------------------- --------------------------------------------------------------------------- ----------------------------------- ----------
d3dcf3b1-c333-4f16-a9bf-dd3492a717b8 Repository Update June 16, 2017 2:17:15 AM PDT Success
8. Update the dcs agent
[root@oak bin]# ./odacli update-dcsagent -v 12.1.2.10.0 ; sleep 120
{
"jobId" : "14326f0b-3828-493b-b476-0511a2d86624",
"status" : "Created",
"message" : null,
"reports" : [ ],
"createTimestamp" : "June 16, 2017 02:18:44 AM PDT",
"description" : "DcsAgent patching",
"updatedTime" : "June 16, 2017 02:18:44 AM PDT"
}
9.Verifying the dcs-agent patch
[root@oak bin]# ./odacli describe-job -i 14326f0b-3828-493b-b476-0511a2d86624
Job details
----------------------------------------------------------------
ID: 14326f0b-3828-493b-b476-0511a2d86624
Description: DcsAgent patching
Status: Success
Created: June 16, 2017 2:18:44 AM PDT
Message:
Task Name Start Time End Time Status
---------------------------------------- ----------------------------------- ----------------------------------- ----------
location validation June 16, 2017 2:18:44 AM PDT June 16, 2017 2:18:44 AM PDT Success
Apply patch June 16, 2017 2:18:44 AM PDT June 16, 2017 2:18:45 AM PDT Success
10.Check the job completion status.
[root@oak bin]# ./odacli list-jobs
ID Description Created Status
---------------------------------------- --------------------------------------------------------------------------- ----------------------------------- ----------
d3dcf3b1-c333-4f16-a9bf-dd3492a717b8 Repository Update June 16, 2017 2:17:15 AM PDT Success
14326f0b-3828-493b-b476-0511a2d86624 DcsAgent patching June 16, 2017 2:18:44 AM PDT Success
11. Verify the DCS-Agent version.
[root@oak bin]# rpm -qa | grep dcs-agent
dcs-agent-12.1.2.10.0_LINUX.X64_170213-1.x86_64
12. Upgrade the Server.This steps will upgrade the various OS, Firmware, oda-hw-mgmt rpm and the Grid Infrastructure(GI).
The 12.1.2.10 patch bundle contains GI patch, dcs–agent and oda-hw-mgmt stack, ilom/Bios and os patches.
[root@oak bin]# ./odacli update-server -v 12.1.2.10.0
{
"jobId" : "876b78dc-2adb-4bd1-b997-e701eb678a29",
"status" : "Created",
"message" : "Success of Server Update may trigger reboot of node after 4-5 minutes. Please wait till node restart",
"reports" : [ ],
"createTimestamp" : "June 16, 2017 02:22:33 AM PDT",
"resourceList" : [ ],
"description" : "Server Patching",
"updatedTime" : "June 16, 2017 02:22:33 AM PDT"
}
13. Verifying the patching process.
[root@oak bin]# ./odacli describe-job -i 876b78dc-2adb-4bd1-b997-e701eb678a29
Job details
----------------------------------------------------------------
ID: 876b78dc-2adb-4bd1-b997-e701eb678a29
Description: Server Patching
Status: Success
Created: June 16, 2017 2:22:33 AM PDT
Message:
Task Name Start Time End Time Status
---------------------------------------- ----------------------------------- ----------------------------------- ----------
dcscontroller rpm verification June 16, 2017 2:22:33 AM PDT June 16, 2017 2:22:33 AM PDT Success
Patch location validation June 16, 2017 2:22:33 AM PDT June 16, 2017 2:22:33 AM PDT Success
dcs-controller upgrade June 16, 2017 2:22:34 AM PDT June 16, 2017 2:22:35 AM PDT Success
dcscli rpm verification June 16, 2017 2:22:35 AM PDT June 16, 2017 2:22:35 AM PDT Success
Patch location validation June 16, 2017 2:22:35 AM PDT June 16, 2017 2:22:35 AM PDT Success
dcs-cli upgrade June 16, 2017 2:22:35 AM PDT June 16, 2017 2:22:35 AM PDT Success
oak rpm verification June 16, 2017 2:22:35 AM PDT June 16, 2017 2:22:36 AM PDT Success
Patch location validation June 16, 2017 2:22:36 AM PDT June 16, 2017 2:22:36 AM PDT Success
oda-hw-mgmt upgrade June 16, 2017 2:22:36 AM PDT June 16, 2017 2:22:57 AM PDT Success
Creating repositories using yum June 16, 2017 2:22:57 AM PDT June 16, 2017 2:23:01 AM PDT Success
Applying OS Patches June 16, 2017 2:23:01 AM PDT June 16, 2017 2:26:47 AM PDT Success
Checking Ilom patch Version June 16, 2017 2:26:48 AM PDT June 16, 2017 2:26:50 AM PDT Success
Patch location validation June 16, 2017 2:26:50 AM PDT June 16, 2017 2:26:51 AM PDT Success
Apply Ilom patch June 16, 2017 2:26:53 AM PDT June 16, 2017 2:36:06 AM PDT Success
Copying Flash Bios to Temp location June 16, 2017 2:36:06 AM PDT June 16, 2017 2:36:06 AM PDT Success
Reboot Ilom June 16, 2017 2:36:06 AM PDT June 16, 2017 2:36:06 AM PDT Success
14. Check the job completion status.
[root@oak bin]# ./odacli list-jobs
ID Description Created Status
---------------------------------------- --------------------------------------------------------------------------- ----------------------------------- ----------
d3dcf3b1-c333-4f16-a9bf-dd3492a717b8 Repository Update June 16, 2017 2:17:15 AM PDT Success
14326f0b-3828-493b-b476-0511a2d86624 DcsAgent patching June 16, 2017 2:18:44 AM PDT Success
876b78dc-2adb-4bd1-b997-e701eb678a29 Server Patching June 16, 2017 2:22:33 AM PDT Success
15.check status of all the components.
[root@oak~]# odacli describe-component
System Version
---------------
12.1.2.10.0
Component Installed Version Available Version
---------------------------------------- -------------------- --------------------
OAK 12.1.2.10.0 up-to-date
GI 12.1.0.2.170117 up-to-date
DB 12.1.0.2.170117 up-to-date
ILOM 3.2.8.24.r114611 up-to-date
BIOS 38070000 up-to-date
OS 6.8 up-to-date
16.Log Files.All the patching related information is logged in the dcs-agent log file
/opt/oracle/dcs/log/dcs-agent.log.
Reference MOS notes:- 888888.1 , 2144642.1
1. Log in to Oracle Database Appliance.
as root, using the password welcome1.
2. Plumb the Network (if this is fresh ODA installation)
configure-firstnet
3. Check Dsc-agent version.
[root@oak ~]# rpm -qa |grep dcs-agent
dcs-agent-12.1.2.8.0_LINUX.X64_160817.2-1.x86_64
3. Download latest patches from MOS
Download the patch from Doc ID 2144642.1
4.Transfer the downloaded files to Oracle Database Appliance machine.
scp or winscp
5. Unzip the Patch in a temporary location (/u01) in the Oracle Database Appliance X6-2. The unzipped file will have a name oda-sm-12.1.2.10.0-170213-server.zip
6.Update metadata repository
[root@oak bin]# ./odacli update-repository -f /u01/oda-sm-12.1.2.10.0-170213-server.zip
{
"jobId" : "d3dcf3b1-c333-4f16-a9bf-dd3492a717b8",
"status" : "Created",
"message" : null,
"reports" : [ ],
"createTimestamp" : "June 16, 2017 02:17:15 AM PDT",
"description" : "Repository Update",
"updatedTime" : "June 16, 2017 02:17:15 AM PDT"
}
7. Check the job completion status.
[root@oak bin]# ./odacli list-jobs
ID Description Created Status
---------------------------------------- --------------------------------------------------------------------------- ----------------------------------- ----------
d3dcf3b1-c333-4f16-a9bf-dd3492a717b8 Repository Update June 16, 2017 2:17:15 AM PDT Success
8. Update the dcs agent
[root@oak bin]# ./odacli update-dcsagent -v 12.1.2.10.0 ; sleep 120
{
"jobId" : "14326f0b-3828-493b-b476-0511a2d86624",
"status" : "Created",
"message" : null,
"reports" : [ ],
"createTimestamp" : "June 16, 2017 02:18:44 AM PDT",
"description" : "DcsAgent patching",
"updatedTime" : "June 16, 2017 02:18:44 AM PDT"
}
9.Verifying the dcs-agent patch
[root@oak bin]# ./odacli describe-job -i 14326f0b-3828-493b-b476-0511a2d86624
Job details
----------------------------------------------------------------
ID: 14326f0b-3828-493b-b476-0511a2d86624
Description: DcsAgent patching
Status: Success
Created: June 16, 2017 2:18:44 AM PDT
Message:
Task Name Start Time End Time Status
---------------------------------------- ----------------------------------- ----------------------------------- ----------
location validation June 16, 2017 2:18:44 AM PDT June 16, 2017 2:18:44 AM PDT Success
Apply patch June 16, 2017 2:18:44 AM PDT June 16, 2017 2:18:45 AM PDT Success
10.Check the job completion status.
[root@oak bin]# ./odacli list-jobs
ID Description Created Status
---------------------------------------- --------------------------------------------------------------------------- ----------------------------------- ----------
d3dcf3b1-c333-4f16-a9bf-dd3492a717b8 Repository Update June 16, 2017 2:17:15 AM PDT Success
14326f0b-3828-493b-b476-0511a2d86624 DcsAgent patching June 16, 2017 2:18:44 AM PDT Success
11. Verify the DCS-Agent version.
[root@oak bin]# rpm -qa | grep dcs-agent
dcs-agent-12.1.2.10.0_LINUX.X64_170213-1.x86_64
12. Upgrade the Server.This steps will upgrade the various OS, Firmware, oda-hw-mgmt rpm and the Grid Infrastructure(GI).
The 12.1.2.10 patch bundle contains GI patch, dcs–agent and oda-hw-mgmt stack, ilom/Bios and os patches.
[root@oak bin]# ./odacli update-server -v 12.1.2.10.0
{
"jobId" : "876b78dc-2adb-4bd1-b997-e701eb678a29",
"status" : "Created",
"message" : "Success of Server Update may trigger reboot of node after 4-5 minutes. Please wait till node restart",
"reports" : [ ],
"createTimestamp" : "June 16, 2017 02:22:33 AM PDT",
"resourceList" : [ ],
"description" : "Server Patching",
"updatedTime" : "June 16, 2017 02:22:33 AM PDT"
}
13. Verifying the patching process.
[root@oak bin]# ./odacli describe-job -i 876b78dc-2adb-4bd1-b997-e701eb678a29
Job details
----------------------------------------------------------------
ID: 876b78dc-2adb-4bd1-b997-e701eb678a29
Description: Server Patching
Status: Success
Created: June 16, 2017 2:22:33 AM PDT
Message:
Task Name Start Time End Time Status
---------------------------------------- ----------------------------------- ----------------------------------- ----------
dcscontroller rpm verification June 16, 2017 2:22:33 AM PDT June 16, 2017 2:22:33 AM PDT Success
Patch location validation June 16, 2017 2:22:33 AM PDT June 16, 2017 2:22:33 AM PDT Success
dcs-controller upgrade June 16, 2017 2:22:34 AM PDT June 16, 2017 2:22:35 AM PDT Success
dcscli rpm verification June 16, 2017 2:22:35 AM PDT June 16, 2017 2:22:35 AM PDT Success
Patch location validation June 16, 2017 2:22:35 AM PDT June 16, 2017 2:22:35 AM PDT Success
dcs-cli upgrade June 16, 2017 2:22:35 AM PDT June 16, 2017 2:22:35 AM PDT Success
oak rpm verification June 16, 2017 2:22:35 AM PDT June 16, 2017 2:22:36 AM PDT Success
Patch location validation June 16, 2017 2:22:36 AM PDT June 16, 2017 2:22:36 AM PDT Success
oda-hw-mgmt upgrade June 16, 2017 2:22:36 AM PDT June 16, 2017 2:22:57 AM PDT Success
Creating repositories using yum June 16, 2017 2:22:57 AM PDT June 16, 2017 2:23:01 AM PDT Success
Applying OS Patches June 16, 2017 2:23:01 AM PDT June 16, 2017 2:26:47 AM PDT Success
Checking Ilom patch Version June 16, 2017 2:26:48 AM PDT June 16, 2017 2:26:50 AM PDT Success
Patch location validation June 16, 2017 2:26:50 AM PDT June 16, 2017 2:26:51 AM PDT Success
Apply Ilom patch June 16, 2017 2:26:53 AM PDT June 16, 2017 2:36:06 AM PDT Success
Copying Flash Bios to Temp location June 16, 2017 2:36:06 AM PDT June 16, 2017 2:36:06 AM PDT Success
Reboot Ilom June 16, 2017 2:36:06 AM PDT June 16, 2017 2:36:06 AM PDT Success
14. Check the job completion status.
[root@oak bin]# ./odacli list-jobs
ID Description Created Status
---------------------------------------- --------------------------------------------------------------------------- ----------------------------------- ----------
d3dcf3b1-c333-4f16-a9bf-dd3492a717b8 Repository Update June 16, 2017 2:17:15 AM PDT Success
14326f0b-3828-493b-b476-0511a2d86624 DcsAgent patching June 16, 2017 2:18:44 AM PDT Success
876b78dc-2adb-4bd1-b997-e701eb678a29 Server Patching June 16, 2017 2:22:33 AM PDT Success
15.check status of all the components.
[root@oak~]# odacli describe-component
System Version
---------------
12.1.2.10.0
Component Installed Version Available Version
---------------------------------------- -------------------- --------------------
OAK 12.1.2.10.0 up-to-date
GI 12.1.0.2.170117 up-to-date
DB 12.1.0.2.170117 up-to-date
ILOM 3.2.8.24.r114611 up-to-date
BIOS 38070000 up-to-date
OS 6.8 up-to-date
16.Log Files.All the patching related information is logged in the dcs-agent log file
/opt/oracle/dcs/log/dcs-agent.log.
Reference MOS notes:- 888888.1 , 2144642.1
No comments:
Post a Comment