patching_oracle_database_appliance_oda
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| patching_oracle_database_appliance_oda [2018/12/06 21:05] – created 91.177.234.129 | patching_oracle_database_appliance_oda [2023/07/30 23:06] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== Patching_Oracle_Database_Appliance_(ODA) ====== | + | * [[https:// |
| - | + | * [[https:// | |
| - | Useful ODA documents:<br /> | + | Useful ODA documents:\\ |
| - | * [[https:// | + | * [[https:// |
| * [[https:// | * [[https:// | ||
| * [[https:// | * [[https:// | ||
| * [[https:// | * [[https:// | ||
| * [[https:// | * [[https:// | ||
| - | <br /> | + | |
| Bundle patches for ODA are installed in 3 stages.< | Bundle patches for ODA are installed in 3 stages.< | ||
| Upto and including 12.1.2.6, this is performed as so:<br > | Upto and including 12.1.2.6, this is performed as so:<br > | ||
| - | < | + | < |
| - | From 12.1.2.7 onwards this has changed to:<br /> | + | oakcli update -patch 12.1.2.6.0 --infra |
| - | < | + | oakcli update -patch 12.1.2.6.0 --gi # patches the Grid (ASM/ACFS) firm/ |
| - | =====Patch preparation===== | + | oakcli update -patch 12.1.2.6.0 --database |
| - | Show version details of all ODA components<br /> | + | </ |
| + | From 12.1.2.7 onwards this has changed to:\\ | ||
| + | < | ||
| + | oakcli update -patch 12.1.2.9.0 --server | ||
| + | oakcli update -patch 12.1.2.9.0 --storage | ||
| + | oakcli update -patch 12.1.2.9.0 --database | ||
| + | </ | ||
| + | ==== Patch preparation ==== | ||
| + | Show version details of all ODA components\\ | ||
| **Note: all oakcli commands must be executed as root** | **Note: all oakcli commands must be executed as root** | ||
| - | < | + | < |
| + | / | ||
| + | </ | ||
| - | Patching ODA means patching the O/S, the Grid Infrastructure (GI) and the RDBMS (or any combination thereof).<br /> | + | Patching ODA means patching the O/S, the Grid Infrastructure (GI) and the RDBMS (or any combination thereof).\\ |
| - | ====Download latest ODA patch bundle==== | + | === Download latest ODA patch bundle === |
| Latest ODA patches are found in [[https:// | Latest ODA patches are found in [[https:// | ||
| - | ====Download and copy zip files==== | + | === Download and copy zip files === |
| Download the files on the relevant patch page for your hardware, copy them to wherever you store patches on the server and Read the README. | Download the files on the relevant patch page for your hardware, copy them to wherever you store patches on the server and Read the README. | ||
| - | ====Copy zip files to /tmp==== | + | === Copy zip files to /tmp === |
| Copy the zip files from your patch storage area to /tmp on both ODA_BASE nodes. | Copy the zip files from your patch storage area to /tmp on both ODA_BASE nodes. | ||
| - | ====Check space==== | + | === Check space === |
| Make sure there is enough space in /root, /tmp, $ORACLE_HOME, | Make sure there is enough space in /root, /tmp, $ORACLE_HOME, | ||
| - | ====Verify ODA version==== | + | === Verify ODA version === |
| - | < | + | < |
| - | ====Unpack zip files==== | + | / |
| + | </ | ||
| + | === Unpack zip files === | ||
| Do not use unzip! | Do not use unzip! | ||
| - | < | + | < |
| - | ====Delete zips from /tmp==== | + | cd /tmp |
| + | oakcli unpack –package p25064836_121290_Linux-x86-64_1of2.zip | ||
| + | oakcli unpack –package p25064836_121290_Linux-x86-64_2of2.zip | ||
| + | </ | ||
| + | === Delete zips from /tmp === | ||
| If unpack -package was successful, files can be removed from /tmp. | If unpack -package was successful, files can be removed from /tmp. | ||
| - | < | + | < |
| - | ====Check if the patch is likely to work!==== | + | rm -rf / |
| - | The following command will inform you whether the patch will succeed. If the output indicates a possible problem, for example, an unpacked version of the patch is not available on the system, you may wish to defer applying the patch until you have downtime to fix the expected problem.<br /> | + | </ |
| + | === Check if the patch is likely to work! === | ||
| + | The following command will inform you whether the patch will succeed. If the output indicates a possible problem, for example, an unpacked version of the patch is not available on the system, you may wish to defer applying the patch until you have downtime to fix the expected problem.\\ | ||
| From Node 0: | From Node 0: | ||
| - | < | + | < |
| - | ====Remove any non-standard RPMs==== | + | oakcli validate -c ospatch -ver <version to be installed> |
| - | If the validation check reveals any RPMs, they must be removed prior to patching.<br /> | + | e.g. |
| + | oakcli validate -c ospatch -ver 12.1.2.9.0 | ||
| + | </ | ||
| + | === Remove any non-standard RPMs === | ||
| + | If the validation check reveals any RPMs, they must be removed prior to patching.\\ | ||
| Note: Perform check on both nodes, there may be differences! | Note: Perform check on both nodes, there may be differences! | ||
| - | < | + | < |
| + | rpm -e --nodeps libtermcap-devel.x86_64 | ||
| + | rpm -e --nodeps yum-downloadonly.noarch | ||
| + | rpm -e --nodeps gpg-pubkey | ||
| + | rpm -e --nodeps check_mk-agent.noarch | ||
| + | rpm -e --nodeps readline-devel.x86_64 | ||
| + | </ | ||
| - | ====Backup sysctl.conf==== | + | === Backup sysctl.conf === |
| This file will probably be modified by any server patches | This file will probably be modified by any server patches | ||
| - | < | + | < |
| + | export DATESTAMP=`date +%Y%m%d` | ||
| + | cp / | ||
| + | </ | ||
| - | =====Patch the ODA infrastructure===== | + | ==== Patch the ODA infrastructure ==== |
| - | The oakcli patching process has component specific logging enabled for each component being patched.<br /> | + | The oakcli patching process has component specific logging enabled for each component being patched.\\ |
| These log files can be found under the directory < | These log files can be found under the directory < | ||
| - | ====Review size of shared repository==== | + | === Review size of shared repository === |
| - | < | + | < |
| + | oakcli show repo | ||
| + | </ | ||
| and add space if necessary | and add space if necessary | ||
| - | < | + | < |
| - | ====Stop any running jobs==== | + | oakcli configure repo srepo -incsize 100G |
| + | </ | ||
| + | === Stop any running jobs === | ||
| Before updating the repository, agent, server, or database, ensure that there will be no jobs running or pending during the update window. | Before updating the repository, agent, server, or database, ensure that there will be no jobs running or pending during the update window. | ||
| - | ====Ready for patching...==== | + | === Ready for patching... === |
| Perform any specifics such as | Perform any specifics such as | ||
| - | * Set database in blackout in OEM | + | * Set database in blackout in OEM |
| - | * Any other monitoring software? | + | * Any other monitoring software? |
| - | * Ensure archivelogs are not deleted. They will be needed for application on physical standby later. | + | * Ensure archivelogs are not deleted. They will be needed for application on physical standby later. |
| - | * anything else that could be a problem. | + | * anything else that could be a problem. |
| For example, here we use rlwrap for command line editing so these aliases will no longer work as we just uninstalled the readline package so comment them for now. | For example, here we use rlwrap for command line editing so these aliases will no longer work as we just uninstalled the readline package so comment them for now. | ||
| - | < | + | < |
| + | cd | ||
| + | vi .bash_profile | ||
| + | - alias sqlplus=' | ||
| + | - alias dgmgrl=' | ||
| + | - alias rman=' | ||
| + | - alias asmcmd=' | ||
| + | - alias lsnrctl=' | ||
| + | - alias adrci=' | ||
| + | - alias impdp=' | ||
| + | - alias expdp=' | ||
| + | </ | ||
| If these commands are going to be used, they will need unaliasing before use! e.g. | If these commands are going to be used, they will need unaliasing before use! e.g. | ||
| - | < | + | < |
| + | unalias lsnrctl | ||
| + | </ | ||
| - | ====Stop the Snap Management Utility==== | + | === Stop the Snap Management Utility === |
| - | < | + | < |
| + | / | ||
| + | </ | ||
| - | ====Shutdown any virtual machines==== | + | === Shutdown any virtual machines === |
| - | < | + | < |
| + | oakcli stop vm odavmdp1 -force | ||
| + | oakcli stop vm odavmdp2 -force | ||
| + | oakcli stop vm odavmdb3 -force | ||
| + | oakcli stop vm odavmoms1 -force | ||
| + | </ | ||
| - | ====Shutdown Grid agent / Listeners==== | + | === Shutdown Grid agent / Listeners === |
| - | < | + | < |
| + | export ORACLE_SID=AGENT | ||
| + | ORAENV_ASK=NO | ||
| + | . oraenv | ||
| + | emctl stop agent | ||
| + | export TNS_ADMIN=$ORACLE_HOME/ | ||
| + | lsnrctl stop LISTENER_DATAGUARD | ||
| + | </ | ||
| - | ====Shutdown and backup ODA_BASE==== | + | === Shutdown and backup ODA_BASE === |
| Note: Do this on both nodes! | Note: Do this on both nodes! | ||
| - | < | + | < |
| + | oakcli stop oda_base | ||
| - | ====Optonally reconfigure ODA_BASE==== | + | cd /OVS |
| - | < | + | tar -cvzf oakDom1.odavm01-rac.tar.gz / |
| + | </ | ||
| - | ====Restart ODA_BASE==== | + | === Optonally reconfigure ODA_BASE === |
| + | < | ||
| + | oakcli configure oda_base | ||
| + | </ | ||
| + | |||
| + | === Restart ODA_BASE === | ||
| After tarball has been successfully created, ODA_BASE can be restarted. | After tarball has been successfully created, ODA_BASE can be restarted. | ||
| - | < | + | < |
| - | ====Stop the shared repositories==== | + | oakcli start oda_base |
| + | </ | ||
| + | === Stop the shared repositories === | ||
| This was done before applying GI patch but as server patch now includes GI, stop repositories before applying server patch. | This was done before applying GI patch but as server patch now includes GI, stop repositories before applying server patch. | ||
| - | < | + | < |
| + | oakcli stop repo srepo | ||
| + | oakcli show repo | ||
| + | </ | ||
| - | ====List the components that require patching==== | + | === List the components that require patching === |
| If any component shows as “Up-to-date” for the supported version, then it indicates that the existing version on the system is current and that component will not be patched. | If any component shows as “Up-to-date” for the supported version, then it indicates that the existing version on the system is current and that component will not be patched. | ||
| - | < | + | < |
| - | ====Apply the ODA infrastructure (server) patch==== | + | From node 0: |
| - | Nodes can be patched one at a time by using the -local switch<br /> | + | / |
| + | </ | ||
| + | === Apply the ODA infrastructure (server) patch === | ||
| + | Nodes can be patched one at a time by using the -local switch\\ | ||
| If both nodes are to be patched automatically (rolling patch), do not specify -local switch but command must then be executed from node 0. | If both nodes are to be patched automatically (rolling patch), do not specify -local switch but command must then be executed from node 0. | ||
| - | < | + | < |
| + | From node 0: | ||
| + | / | ||
| + | e.g. | ||
| + | / | ||
| + | </ | ||
| Note: If using ' | Note: If using ' | ||
| - | ====Run post server patch patch checks==== | + | === Run post server patch patch checks === |
| Check cluster is working ok. | Check cluster is working ok. | ||
| - | < | + | < |
| - | ====Check NFS mounts are working==== | + | su - grid |
| + | export ORACLE_SID=+ASM1 | ||
| + | ORAENV_ASK=NO | ||
| + | . oraenv | ||
| + | ${ORACLE_HOME}/ | ||
| + | / | ||
| + | </ | ||
| + | === Check NFS mounts are working === | ||
| List mount points that //should be// mounted | List mount points that //should be// mounted | ||
| - | < | + | < |
| + | grep nfs /etc/fstab | egrep -e " | ||
| + | </ | ||
| List mount points that //are// mounted | List mount points that //are// mounted | ||
| - | < | + | < |
| + | df -hPt nfs | tail -n +2 | wc -l | ||
| + | </ | ||
| - | =====Patch the Grid infrastructure===== | + | ==== Patch the Grid infrastructure ==== |
| - | Note: As of 12.1.2.7.0, this step is included in the ' | + | Note: As of 12.1.2.7.0, this step is included in the ' |
| - | ====Stop the shared repositories==== | + | === Stop the shared repositories === |
| - | < | + | < |
| + | oakcli stop repo srepo | ||
| + | oakcli show repo | ||
| + | </ | ||
| + | |||
| + | === Apply the GI patch === | ||
| + | **Note: As of 12.1.2.7.0, this step is included in the ' | ||
| - | ====Apply the GI patch==== | ||
| - | **Note: As of 12.1.2.7.0, this step is included in the ' | ||
| - | <br /> | ||
| Carefully read the known issues before applying the GI Patch. | Carefully read the known issues before applying the GI Patch. | ||
| - | < | + | < |
| + | / | ||
| + | </ | ||
| - | ====Check cluster health==== | + | === Check cluster health === |
| - | < | + | < |
| + | ${ORACLE_HOME}/ | ||
| + | </ | ||
| - | =====Patch the Shared Storage===== | + | ==== Patch the Shared Storage ==== |
| - | **Note: This section is new as of 12.1.2.7.0**<br /> | + | **Note: This section is new as of 12.1.2.7.0**\\ |
| - | ====Stop the shared repositories==== | + | === Stop the shared repositories === |
| - | < | + | < |
| + | oakcli stop repo srepo | ||
| + | oakcli show repo | ||
| + | </ | ||
| - | ====Apply the Storage patch==== | + | === Apply the Storage patch === |
| - | Note: The storage patching has no ' | + | Note: The storage patching has no ' |
| From node 0: | From node 0: | ||
| - | < | + | < |
| + | / | ||
| + | </ | ||
| - | ====Check cluster health==== | + | === Check cluster health === |
| - | < | + | < |
| + | ${ORACLE_HOME}/ | ||
| + | </ | ||
| - | ====Check/ | + | === Check/ |
| - | < | + | < |
| + | su - grid | ||
| + | export ORACLE_SID=+ASM1 | ||
| + | ORAENV_ASK=NO | ||
| + | . oraenv | ||
| + | ls -al ${ORACLE_HOME}/ | ||
| + | chmod 755 ${ORACLE_HOME}/ | ||
| + | </ | ||
| - | ====Restore sysctl.conf==== | + | === Restore sysctl.conf === |
| Check for higher values of variables. | Check for higher values of variables. | ||
| - | =====Patch the RDBMS===== | + | ==== Patch the RDBMS ==== |
| - | ====Apply the database patch==== | + | === Apply the database patch === |
| - | Once the infrastructure and GI patches (or server and storage) have been completed successfully, | + | Once the infrastructure and GI patches (or server and storage) have been completed successfully, |
| - | It can be applied locally on each node or as a rolling upgrade and both nodes will be patched automatically.<br /> | + | It can be applied locally on each node or as a rolling upgrade and both nodes will be patched automatically.\\ |
| If ' | If ' | ||
| - | < | + | < |
| + | / | ||
| + | </ | ||
| - | ====Verify database versions==== | + | === Verify database versions === |
| - | < | + | < |
| - | =====Post ODA patch activities===== | + | oakcli show dbhomes -detail |
| - | ====Restart any physical standby databases==== | + | oakcli show databases -detail |
| - | ====Restart RAC cluster==== | + | </ |
| - | < | + | ==== Post ODA patch activities ==== |
| - | ====Verify all ODA components are now up-to-date==== | + | === Restart any physical standby databases === |
| - | < | + | === Restart RAC cluster === |
| - | ====Restart any virtual machines==== | + | < |
| - | < | + | svrctl start database |
| - | ====Remount ZFS volumes on virtual machines==== | + | </ |
| + | === Verify all ODA components are now up-to-date === | ||
| + | < | ||
| + | / | ||
| + | </ | ||
| + | === Restart any virtual machines === | ||
| + | < | ||
| + | oakcli start vm odavmdp1 | ||
| + | oakcli start vm odavmdp2 | ||
| + | oakcli start vm odavmdb3 | ||
| + | oakcli start vm odavmoms1 | ||
| + | </ | ||
| + | === Remount ZFS volumes on virtual machines === | ||
| Log in to each of the VMs in turn | Log in to each of the VMs in turn | ||
| - | < | + | < |
| - | ====Restart OMS==== | + | sudo mount /orasoft |
| + | sudo mount / | ||
| + | sudo mount / | ||
| + | </ | ||
| + | === Restart OMS === | ||
| login to OMS server | login to OMS server | ||
| - | < | + | < |
| - | ====Check ODA Grid agent==== | + | cd / |
| + | ./emctl status oms | ||
| + | ./emctl start oms | ||
| + | </ | ||
| + | === Check ODA Grid agent === | ||
| Kill any old processes and restart agent | Kill any old processes and restart agent | ||
| - | < | + | < |
| + | export ORACLE_SID=agent | ||
| + | ORAENV_ASK=NO | ||
| + | . oraenv | ||
| + | ps -ef | grep emagent | ||
| + | kill -9 <pid where agent is 12.1.0.6> | ||
| + | emctl start agent | ||
| + | </ | ||
| - | ====Reinstall any previously uninstalled RPMs==== | + | === Reinstall any previously uninstalled RPMs === |
| Check for later versions? | Check for later versions? | ||
| - | * Nagios plugin | + | * Nagios plugin |
| - | < | + | < |
| - | * Oracle Snap Management Utility | + | cd / |
| - | < | + | yum install check-mk-agent-1.2.6p14-e23d6a3d4540a28a.noarch.rpm |
| - | * other | + | </ |
| - | < | + | * Oracle Snap Management Utility |
| + | < | ||
| + | cd / | ||
| + | rpm -i oracle-smu-1.2.0-27.noarch.rpm | ||
| + | / | ||
| + | </ | ||
| + | * other | ||
| + | < | ||
| + | yum install libtermcap-devel.x86_64 | ||
| + | yum install yum-downloadonly.noarch | ||
| + | yum install gpg-pubkey | ||
| + | yum install readline-devel.x86_64 | ||
| + | </ | ||
| - | ====Uncomment any specific Oracle commands==== | + | === Uncomment any specific Oracle commands === |
| Like these aliases setup for readline wrapping | Like these aliases setup for readline wrapping | ||
| - | < | + | < |
| - | ====Uncomment any jobs that clean up archivelogs==== | + | alias sqlplus=' |
| - | ====Take databases out of blackout on OEM==== | + | alias dgmgrl=' |
| + | alias rman=' | ||
| + | alias asmcmd=' | ||
| + | alias lsnrctl=' | ||
| + | alias adrci=' | ||
| + | alias impdp=' | ||
| + | alias expdp=' | ||
| + | </ | ||
| + | === Uncomment any jobs that clean up archivelogs === | ||
| + | === Take databases out of blackout on OEM === | ||
| ...and any other monitoring software | ...and any other monitoring software | ||
| - | ====Check public keys==== | + | === Check public keys === |
| Patching may destroy public keys | Patching may destroy public keys | ||
| - | < | + | < |
| + | ssh admin@oda02-rac -p 8002 | ||
| + | </ | ||
| If password is requested, keys are corrupt. | If password is requested, keys are corrupt. | ||
| - | =====When it all goes tits up===== | + | ==== When it all goes tits up ==== |
| - | ====infra patch fails with==== | + | === infra patch fails with === |
| - | < | + | < |
| - | * Solution | + | [[root@odavm02-rac bin]]# ./crsctl stop crs |
| + | CRS-2791: Starting shutdown of Oracle High Availability Services-managed resources on ' | ||
| + | CRS-2673: Attempting to stop ' | ||
| + | CRS-2790: Starting shutdown of Cluster Ready Services-managed resources on ' | ||
| + | CRS-2679: Attempting to clean ' | ||
| + | CRS-2680: Clean of ' | ||
| + | CRS-2799: Failed to shut down resource ' | ||
| + | CRS-2794: Shutdown of Cluster Ready Services-managed resources on ' | ||
| + | CRS-2675: Stop of ' | ||
| + | CRS-2799: Failed to shut down resource ' | ||
| + | CRS-2795: Shutdown of Oracle High Availability Services-managed resources on ' | ||
| + | CRS-4687: Shutdown command has completed with errors. | ||
| + | CRS-4000: Command Stop failed, or completed with errors. | ||
| + | </ | ||
| + | * Solution | ||
| Recreate STAGING volume on ODA_BASE. | Recreate STAGING volume on ODA_BASE. | ||
| - | < | + | < |
| - | ====infra patch fails with==== | + | [[grid@odavm01-rac ~]]$ asmcmd |
| - | < | + | ASMCMD> volcreate -G DATA -s 1024G DBSTAGING |
| - | * Solution | + | ASMCMD> volinfo -G DATA DBSTAGING |
| + | Diskgroup Name: DATA | ||
| + | |||
| + | | ||
| + | | ||
| + | | ||
| + | Size (MB): 1048576 | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | |||
| + | |||
| + | [[grid@odavm01-rac ~]]$ /sbin/mkfs -t acfs / | ||
| + | mkfs.acfs: version | ||
| + | mkfs.acfs: on-disk version | ||
| + | mkfs.acfs: volume | ||
| + | mkfs.acfs: volume size = 1099511627776 | ||
| + | mkfs.acfs: Format complete. | ||
| + | |||
| + | |||
| + | [[grid@odavm01-rac ~]]$ / | ||
| + | acfsutil registry: mount point /staging successfully added to Oracle Registry | ||
| + | |||
| + | |||
| + | [[grid@odavm01-rac ~]]$ / | ||
| + | Device : / | ||
| + | |||
| + | |||
| + | [[root@odavm01-rac ~]]# /bin/mount -t acfs / | ||
| + | |||
| + | [[root@odavm01-rac /]]# chown oracle: | ||
| + | |||
| + | [[root@odavm01-rac ~]]# df -h /staging | ||
| + | Filesystem | ||
| + | / | ||
| + | 1.0T 2.2G 1022G 1% /staging | ||
| + | </ | ||
| + | === infra patch fails with === | ||
| + | < | ||
| + | INFO: Running | ||
| + | ERROR : Ran '/ | ||
| + | INFO: 2015-10-30 21:57:52: checking avaiable free space on /tmp, /u01 and /opt | ||
| + | | ||
| + | INFO: 2015-10-30 21:57:52: Please free up space on /. | ||
| + | | ||
| + | INFO: 2015-10-30 21:57:52: Please free up space on /. | ||
| + | | ||
| + | INFO: 2015-10-30 21:57:52: Please look at the log / | ||
| + | |||
| + | error at< | ||
| + | ERROR : Command = / | ||
| + | Exiting... | ||
| + | ERROR: Failed to apply the patch | ||
| + | </ | ||
| + | * Solution | ||
| Clean the / directory and ensure at least 3G available! | Clean the / directory and ensure at least 3G available! | ||
| - | ====gi patch fails with==== | + | === gi patch fails with === |
| - | < | + | < |
| - | * Solution | + | [[root@odavm01-rac ~]]# / |
| + | WARNING: One or more shared repos are running. They need to be stopped before patching the GI | ||
| + | You have new mail in / | ||
| + | [[root@sdtcsynoda01-rac ~]]# oakcli show repo | ||
| + | |||
| + | NAME TYPE NODENUM | ||
| + | odarepo1 | ||
| + | odarepo2 | ||
| + | srepo | ||
| + | srepo | ||
| + | </ | ||
| + | * Solution | ||
| Stop the shared repositories | Stop the shared repositories | ||
| - | <code> | + | < |
| - | ====If Grid agent does not restart==== | + | [[root@odavm01-rac ~]]# oakcli stop repo srepo |
| - | < | + | |
| - | | + | Successfully stopped SharedRepo srepo on node 1 |
| + | Successfully stopped SharedRepo srepo on node 0 | ||
| + | |||
| + | [[root@odavm01-rac ~]]# oakcli show repo | ||
| + | |||
| + | NAME TYPE NODENUM | ||
| + | odarepo1 | ||
| + | odarepo2 | ||
| + | srepo | ||
| + | srepo | ||
| + | |||
| + | </ | ||
| + | === If Grid agent does not restart === | ||
| + | < | ||
| + | [[oracle@odavm02-rac SH]]$ emctl status agent | ||
| + | Oracle Enterprise Manager Cloud Control 12c Release 4 | ||
| + | Copyright (c) 1996, 2014 Oracle Corporation. | ||
| + | --------------------------------------------------------------- | ||
| + | Status agent Failure: | ||
| + | |||
| + | |||
| + | [[oracle@odavm02-rac SH]]$ emctl start agent | ||
| + | Oracle Enterprise Manager Cloud Control 12c Release 4 | ||
| + | Copyright (c) 1996, 2014 Oracle Corporation. | ||
| + | Agent status could not be determined. | ||
| + | Consult emctl.log and emagent.nohup in: / | ||
| + | </ | ||
| + | |||
| + | | ||
| Grid agent was probably started from wrong ORACLE_HOME | Grid agent was probably started from wrong ORACLE_HOME | ||
| - | * Solution | + | * Solution |
| Kill any old agent processes and restart | Kill any old agent processes and restart | ||
| - | < | + | < |
| + | ps -ef | grep emagent | ||
| + | kill -9 <emagent processes> | ||
| + | emctl start agent | ||
| + | </ | ||
patching_oracle_database_appliance_oda.1544130327.txt.gz · Last modified: 2018/12/06 21:05 by 91.177.234.129
