RE: Question on database fleet maintenance patching

  • From: "Clay Jackson (cjackson)" <Clay.Jackson@xxxxxxxxx>
  • To: "oracle-l@xxxxxxxxxxxxx" <oracle-l@xxxxxxxxxxxxx>
  • Date: Tue, 24 Dec 2019 00:33:22 +0000

Well, I suppose you could use some sort of automation/orchestration tool; there 
are lots out there, from DBMS_JOB to Puppet/Chef and lots of others.

But, do you REALLY want to trust patching your databases that presumably 
contain data of greater than zero value to some automated process?   I’ve seen 
too many patch processes “go awry” to want to trust automation.

That said, of course you SHOULD have some sort of script that you run 
repeatedly (avoid typos or sequencing errors); but, automation as in 
“unattended” would not be my choice.

Just my $.02…..


Clay Jackson
Database Solutions Sales Engineer
clay.jackson@xxxxxxxxx<mailto:clay.jackson@xxxxxxxxx>
office  949-754-1203  mobile 425-802-9603
[cid:image001.png@01D5B9AE.B164A9B0]

From: oracle-l-bounce@xxxxxxxxxxxxx <oracle-l-bounce@xxxxxxxxxxxxx> On Behalf 
Of Tharmarajah, Sam
Sent: Monday, December 23, 2019 2:24 PM
To: oracle-l@xxxxxxxxxxxxx
Subject: Question on database fleet maintenance patching

CAUTION: This email originated from outside of the organization. Do not follow 
guidance, click links, or open attachments unless you recognize the sender and 
know the content is safe.


Hi All,

We have been asked to reduce the number of personals involved during our 
quarterly database patching. I was looking into using the fleet maintenance. 
Upon doing a POC, I notice the process of deploying the software job, awaits 
for manual step run and confirmation at three different points (new oracle home 
dir creation, pre -root run section and post root.sh run section), in spite of 
providing the normal and privileged credentials . We are wondering if there is 
a way to have these steps be run as part of the process automatically, instead 
of running manually.

Example:
./emcli db_software_maintenance -performOperation -name="deploy195" 
-purpose=DEPLOY_DB_SOFTWARE -target_type=oracle_database -target_list=xyz.com 
-normal_credential=FLEETMGR_STANDARD:SYSMAN 
-privilege_credential=FLEETMGR_PRIVILEGED:SYSMAN 
-input_file="data:/oracle/local/config/xyz.inp"

The .inp file
NEW_ORACLE_HOME_LIST=/oracle/product/195
workingDir=/backup/tmp

The databases we are trying patch is 19.x
We have EM 13.3c

Our advance thanks for all your thoughts and suggestions.

Thanx,
Sam

PNG image

Other related posts: