Now, in this blog I start with Plugin Update on OMS - but in Online manner
(Remember 2 steps for Online,Enable Online in Setup --> Provisioning & Patching --> Offline and set the credentials in Setup --> My Oracle Support --> Set Credentials)
So, now that you are ready
Step 1 is to go to our good old page Setup --> Extensibility --> Self Update
(I will do my favourite here Oracle Database Plugin)
Select Plugins and Search for Oracle Database.
Select the "Available" Plugin and Click Download.
Select Immediate
Click on Job Details and (Navigate to Job Details) Use Refresh till the job completes
TIP: you can see the directory where it is downloading the patch. You can navigate to the directory and see the patch number if you want (nerds)
Next Go To Setup --> Extensibility --> Plug-ins
Select the Plugin and Click Deploy on "Management Servers"
Click Next (Ensure you do the Pre-req check every-time - Best Practice)
Wait for the Pre-req to complete.
If it fails one of the reasons might be
EM13c : Plug-in Deployment Failed at "Install Software" Prerequisite Step (Doc ID 2455748.1)
Click Next and Enter the sys Credentials
You must ensure backup of DB and EM has been taken as specified
Click Next (OMS will go down in installation)
Now Monitor on the host using
$ emctl status oms -details (emctl of MW Home)
Wait Till Completion depending on size the time varies - this one generally completes within 10-15 minutes.
One of the ways to grep for Status is to use a small script like this -
PWD=<sysman_password>
echo $PWD | emctl status oms -details | egrep 'Success|Running|Step'
And you will get output like this
The last step generally is to Start OMS and Recover Middle Tier, OMS will come back up and you will have your OMS Plugin version update.
You can verify either from console or like this
$ emcli login -username=sysman
$ emcli sync
$ emcli list_plugins_on_server
OMS name is vineet-sandbox:4889_Management_Service
Plug-in Name Plugin-id Version [revision]
Oracle Database oracle.sysman.db 13.3.2.0.0
(Remember 2 steps for Online,Enable Online in Setup --> Provisioning & Patching --> Offline and set the credentials in Setup --> My Oracle Support --> Set Credentials)
So, now that you are ready
Step 1 is to go to our good old page Setup --> Extensibility --> Self Update
(I will do my favourite here Oracle Database Plugin)
Select Plugins and Search for Oracle Database.
Select the "Available" Plugin and Click Download.
Select Immediate
Click on Job Details and (Navigate to Job Details) Use Refresh till the job completes
TIP: you can see the directory where it is downloading the patch. You can navigate to the directory and see the patch number if you want (nerds)
Next Go To Setup --> Extensibility --> Plug-ins
Select the Plugin and Click Deploy on "Management Servers"
Click Next (Ensure you do the Pre-req check every-time - Best Practice)
Wait for the Pre-req to complete.
If it fails one of the reasons might be
EM13c : Plug-in Deployment Failed at "Install Software" Prerequisite Step (Doc ID 2455748.1)
Click Next and Enter the sys Credentials
You must ensure backup of DB and EM has been taken as specified
Click Next (OMS will go down in installation)
Now Monitor on the host using
$ emctl status oms -details (emctl of MW Home)
One of the ways to grep for Status is to use a small script like this -
PWD=<sysman_password>
echo $PWD | emctl status oms -details | egrep 'Success|Running|Step'
And you will get output like this
Step Start Time End Time Status
Submit job for deployment 11/25/19 9:29:35 AM UTC 11/25/19 9:29:35 AM UTC Success
Initialize 11/25/19 9:29:37 AM UTC 11/25/19 9:29:42 AM UTC Success
Install software 11/25/19 9:29:42 AM UTC 11/25/19 9:29:43 AM UTC Success
Validate plug-in home 11/25/19 9:29:45 AM UTC 11/25/19 9:29:45 AM UTC Success
Perform custom preconfiguration 11/25/19 9:29:45 AM UTC 11/25/19 9:29:45 AM UTC Success
Check mandatory patches 11/25/19 9:29:45 AM UTC 11/25/19 9:29:45 AM UTC Success
Generate metadata SQL 11/25/19 9:29:45 AM UTC 11/25/19 9:29:45 AM UTC Success
Preconfigure Management Repository 11/25/19 9:29:45 AM UTC 11/25/19 9:29:45 AM UTC Success
Preregister DLF 11/25/19 9:29:45 AM UTC 11/25/19 9:29:45 AM UTC Success
Stop management server 11/25/19 9:29:46 AM UTC 11/25/19 9:31:27 AM UTC Success
Register DLF 11/25/19 9:31:27 AM UTC 11/25/19 9:33:40 AM UTC Success
Configure Management Repository 11/25/19 9:31:27 AM UTC N/A Running
Configure middle tier 11/25/19 9:31:27 AM UTC 11/25/19 9:34:52 AM UTC Success
Submit job for deployment 11/25/19 9:29:35 AM UTC 11/25/19 9:29:35 AM UTC Success
Initialize 11/25/19 9:29:37 AM UTC 11/25/19 9:29:42 AM UTC Success
Install software 11/25/19 9:29:42 AM UTC 11/25/19 9:29:43 AM UTC Success
Validate plug-in home 11/25/19 9:29:45 AM UTC 11/25/19 9:29:45 AM UTC Success
Perform custom preconfiguration 11/25/19 9:29:45 AM UTC 11/25/19 9:29:45 AM UTC Success
Check mandatory patches 11/25/19 9:29:45 AM UTC 11/25/19 9:29:45 AM UTC Success
Generate metadata SQL 11/25/19 9:29:45 AM UTC 11/25/19 9:29:45 AM UTC Success
Preconfigure Management Repository 11/25/19 9:29:45 AM UTC 11/25/19 9:29:45 AM UTC Success
Preregister DLF 11/25/19 9:29:45 AM UTC 11/25/19 9:29:45 AM UTC Success
Stop management server 11/25/19 9:29:46 AM UTC 11/25/19 9:31:27 AM UTC Success
Register DLF 11/25/19 9:31:27 AM UTC 11/25/19 9:33:40 AM UTC Success
Configure Management Repository 11/25/19 9:31:27 AM UTC N/A Running
Configure middle tier 11/25/19 9:31:27 AM UTC 11/25/19 9:34:52 AM UTC Success
The last step generally is to Start OMS and Recover Middle Tier, OMS will come back up and you will have your OMS Plugin version update.
You can verify either from console or like this
$ emcli login -username=sysman
$ emcli sync
$ emcli list_plugins_on_server
OMS name is vineet-sandbox:4889_Management_Service
Plug-in Name Plugin-id Version [revision]
Oracle Database oracle.sysman.db 13.3.2.0.0
No comments:
Write comments