![]() | Oracle System Handbook - ISO 7.0 May 2018 Internal/Partner Edition | ||
|
|
![]() |
||||||||||||||
Solution Type Technical Instruction Sure Solution 1675774.1 : Case Studies - dbnodeupdate.sh incomplete execution
In this Document
Applies to:Exadata Database Machine V2 - Version All Versions to All Versions [Release All Releases]Information in this document applies to any platform. Goal There is an increase number of cases related to failures of dbnodeupdate.sh and all related to similar characteristics. Solution
[1400789725][2014-05-22 16:22:06 -0400][INFO][/u01/software/patch/18370227/Infrastructure/ExadataDBNodeUpdate/3.26/dbnodeupdate.sh][PrepYumStmnt112330][] Command constructed is: yum -y install --nogpgcheck exadata-sun-computenode-exact-11.2.3.3.0.131014.1-1 exadata-sun-computenode-minimum-11.2.3.3.0.131014.1-1 --disableplugin=aliases,changelog,fastestmirror,filter-data,keys,kmod,list-data,priorities,protect-packages,protectbase,ulninfo,rhnplugin,security,tmprepo,verify,versionlock --disablerepo=* --enablerepo=exadata_generated_220514161522
[1400789065][2014-05-22 16:05:02 -0400][INFO][/u01/software/patch/18370227/Infrastructure/ExadataDBNodeUpdate/3.26/dbnodeupdate.sh][PrintConfirmation][] Entering PrintConfirmation
[1400789065][2014-05-22 16:05:02 -0400][INFO][/u01/software/patch/18370227/Infrastructure/ExadataDBNodeUpdate/3.26/dbnodeupdate.sh][PrintConfirmation][] [1400789065][2014-05-22 16:05:02 -0400][INFO][/u01/software/patch/18370227/Infrastructure/ExadataDBNodeUpdate/3.26/dbnodeupdate.sh][PrintConfirmation][] Active Image version : 11.2.3.2.1.130302 [1400789065][2014-05-22 16:05:02 -0400][INFO][/u01/software/patch/18370227/Infrastructure/ExadataDBNodeUpdate/3.26/dbnodeupdate.sh][PrintConfirmation][] Active Kernel version : 2.6.32-400.21.1.el5uek [1400789065][2014-05-22 16:05:02 -0400][INFO][/u01/software/patch/18370227/Infrastructure/ExadataDBNodeUpdate/3.26/dbnodeupdate.sh][PrintConfirmation][] Active LVM Name : /dev/mapper/VGExaDb-LVDbSys1 [1400789065][2014-05-22 16:05:02 -0400][INFO][/u01/software/patch/18370227/Infrastructure/ExadataDBNodeUpdate/3.26/dbnodeupdate.sh][PrintConfirmation][] Inactive Image version : 11.2.3.1.1.120607 [1400789065][2014-05-22 16:05:02 -0400][INFO][/u01/software/patch/18370227/Infrastructure/ExadataDBNodeUpdate/3.26/dbnodeupdate.sh][PrintConfirmation][] Inactive LVM Name : /dev/mapper/VGExaDb-LVDbSys2 [1400789065][2014-05-22 16:05:02 -0400][INFO][/u01/software/patch/18370227/Infrastructure/ExadataDBNodeUpdate/3.26/dbnodeupdate.sh][PrintConfirmation][] Current user id : root [1400789065][2014-05-22 16:05:02 -0400][INFO][/u01/software/patch/18370227/Infrastructure/ExadataDBNodeUpdate/3.26/dbnodeupdate.sh][PrintConfirmation][] Action : ^[[1mupgrade ^[(B^[[m [1400789065][2014-05-22 16:05:02 -0400][INFO][/u01/software/patch/18370227/Infrastructure/ExadataDBNodeUpdate/3.26/dbnodeupdate.sh][PrintConfirmation][] Upgrading to : ^[[1m11.2.3.3.0.131014.1 (to exadata-sun-computenode-exact)^[(B^[[m [1400789065][2014-05-22 16:05:02 -0400][INFO][/u01/software/patch/18370227/Infrastructure/ExadataDBNodeUpdate/3.26/dbnodeupdate.sh][PrintConfirmation][] Baseurl : file:///var/www/html/yum/unknown/EXADATA/dbserver/220514160423/x86_64/ (iso) [1400789065][2014-05-22 16:05:02 -0400][INFO][/u01/software/patch/18370227/Infrastructure/ExadataDBNodeUpdate/3.26/dbnodeupdate.sh][PrintConfirmation][] Iso file : /u01/app/oracle/stage.220514160423/repoimage.iso [1400789065][2014-05-22 16:05:02 -0400][INFO][/u01/software/patch/18370227/Infrastructure/ExadataDBNodeUpdate/3.26/dbnodeupdate.sh][PrintConfirmation][] Create a backup : Yes [1400789065][2014-05-22 16:05:02 -0400][INFO][/u01/software/patch/18370227/Infrastructure/ExadataDBNodeUpdate/3.26/dbnodeupdate.sh][PrintConfirmation][] Shutdown stack : No (Currently stack is up) As part of the installation of the exadata-sun-computenode* rpms, the log file will display the progress of differenct activities like:
Setting up Install Process
Resolving Dependencies --> Running transaction check ---> Package exadata-sun-computenode-exact.x86_64 0:11.2.3.3.0.131014.1-1 set to be updated --> Processing Dependency: symlinks = 1.2-26.el5 for package: exadata-sun-computenode-exact
Transaction Summary
================================================================================ Install 37 Package(s) Upgrade 174 Package(s) Total download size: 832 M Downloading Packages: -------------------------------------------------------------------------------- Total 16 GB/s | 832 MB 00:00 Running rpm_check_debug Running Transaction Test Finished Transaction Test Transaction Test Succeeded Running Transaction ^M Updating : libgcc 1/387 ^M Updating : oraclelinux-release 2/387 …… ^M Cleanup : perftest 378/387 ^M Cleanup : openssl 379/387 ^M Cleanup : glibc-headers 380/387 ^M Cleanup : sysstat 381/387 ^M Cleanup : numactl-devel 382/387 ^M Cleanup : ksh 383/387 ^M Cleanup : logrotate 384/387 ^M Cleanup : libgcc 385/387 ^M Cleanup : sudo 386/387 ^M Cleanup : ibsim 387/387 Installed: exadata-sun-computenode-exact.x86_64 0:11.2.3.3.0.131014.1-1 exadata-sun-computenode-minimum.x86_64 0:11.2.3.3.0.131014.1-1 mstflint.x86_64 0:1.4-9.mlnx1.5.5r2.el5 Dependency Installed: acpid.x86_64 0:1.0.4-12.el5 aic94xx-firmware.noarch 0:30-2.el5
Replaced:
tvflash.x86_64 0:0.9.0-2.el5 Complete! [1400789725][2014-05-22 16:23:54 -0400][INFO][/u01/software/patch/18370227/Infrastructure/ExadataDBNodeUpdate/3.26/dbnodeupdate.sh][HandleUpdateOutcome][] Entering HandleUpdateOutcome doupdate [1400789725][2014-05-22 16:23:54 -0400][INFO][/u01/software/patch/18370227/Infrastructure/ExadataDBNodeUpdate/3.26/dbnodeupdate.sh][HandleUpdateOutcome][] Picking up from root post - waiting here [1400789725][2014-05-22 16:23:54 -0400][INFO][/u01/software/patch/18370227/Infrastructure/ExadataDBNodeUpdate/3.26/dbnodeupdate.sh][HandlePostScriptlet][] Entering HandlePostScriptlet [1400789725][2014-05-22 16:23:54 -0400][INFO][/u01/software/patch/18370227/Infrastructure/ExadataDBNodeUpdate/3.26/dbnodeupdate.sh][HandlePostScriptlet][] Waiting for post rpm script to finish. Sleeping another 60 seconds (60 / 900) [1400789725][2014-05-22 16:23:54 -0400][INFO][/u01/software/patch/18370227/Infrastructure/ExadataDBNodeUpdate/3.26/dbnodeupdate.sh][PrintMsg][] (ACTION:) Waiting for post rpm script to finish. Sleeping another 60 seconds (60 / 900) [1400789725][2014-05-22 16:24:54 -0400][INFO][/u01/software/patch/18370227/Infrastructure/ExadataDBNodeUpdate/3.26/dbnodeupdate.sh][HandlePostScriptlet][] Waiting for post rpm script to finish. Sleeping another 60 seconds (120 / 900) [1400789725][2014-05-22 16:24:54 -0400][INFO][/u01/software/patch/18370227/Infrastructure/ExadataDBNodeUpdate/3.26/dbnodeupdate.sh][PrintMsg][] (ACTION:) Waiting for post rpm script to finish. Sleeping another 60 seconds (120 / 900)
1400789725][2014-05-22 16:37:55 -0400][INFO][/u01/software/patch/18370227/Infrastructure/ExadataDBNodeUpdate/3.26/dbnodeupdate.sh][PrintMsg][] (ACTION:) Waiting for post rpm script to finish. Sleeping another 60 seconds (900 / 900)
[1400789725][2014-05-22 16:38:55 -0400][FILE][/u01/software/patch/18370227/Infrastructure/ExadataDBNodeUpdate/3.26/dbnodeupdate.sh][HandlePostScriptlet][] [FILE: /var/log/cellos/exadata.computenode.post.log] 2013-10-01 15:38:50 2013-10-01 15:38:50 Logging started in /var/log/cellos/exadata.computenode.post.log at Tue Oct 1 15:38:50 EDT 2013 2013-10-01 15:38:50 [INFO] Current image version: 11.2.3.1.1.120607 2013-10-01 15:38:50 [INFO] New image version is 11.2.3.2.1.130302 Note the content of the file exadata.computenode.post.log is old. That means this file has not been updated. Also, the file dbnodeupdate.log will report that the post-install scriplet did not finish: [1400789725][2014-05-22 16:38:55 -0400][ERROR][/u01/software/patch/18370227/Infrastructure/ExadataDBNodeUpdate/3.26/dbnodeupdate.sh][HandlePostScriptlet][] Post RPM scriplet did not complete within the expected time. [1400789725][2014-05-22 16:38:55 -0400][INFO][/u01/software/patch/18370227/Infrastructure/ExadataDBNodeUpdate/3.26/dbnodeupdate.sh][PrintErrorNextSteps][] Entering PrintErrorNextSteps [1400789725][2014-05-22 16:38:55 -0400][INFO][/u01/software/patch/18370227/Infrastructure/ExadataDBNodeUpdate/3.26/dbnodeupdate.sh][PrintErrorNextSteps][] Leaving PrintErrorNextSteps [1400789725][2014-05-22 16:38:55 -0400][INFO][/u01/software/patch/18370227/Infrastructure/ExadataDBNodeUpdate/3.26/dbnodeupdate.sh][CleanupIsoAndMount][] Entering CleanupIsoAndMount [1400789725][2014-05-22 16:38:55 -0400][INFO][/u01/software/patch/18370227/Infrastructure/ExadataDBNodeUpdate/3.26/dbnodeupdate.sh][CleanupIsoAndMount][] Unmounting the loop on /var/www/html/yum/unknown/EXADATA/dbserver/220514161522 [1400789725][2014-05-22 16:38:55 -0400][INFO][/u01/software/patch/18370227/Infrastructure/ExadataDBNodeUpdate/3.26/dbnodeupdate.sh][CleanupIsoAndMount][] umount loop successful
Workaround
# Get the aliases and functions
if [ -f ~/.bashrc ]; then . ~/.bashrc fi # User specific environment and startup programs PATH=$PATH:$HOME/bin export PATH unset USERNAME Workaround Remove customization to the file /root/.bash_profile.
Additional Notes
The clean method will be running dbnodeupdate.sh rollback after identifying and fixing the cause of the problem. Of course this will take longer time. There is another option but needs to be executed with caution and it may be different through releases. Below is an example of 11.2.3.3.0 and basically is the execution of certain scripts. Everything is based on the ID assigned for the last execution of dbnodeupdate.sh
i) create the following directories ( You can refer the dbnodeupdate.log of last try runid -
# rpm -q --scripts exadata-sun-computenode > postscrp.txt
Attachments This solution has no attachment |
||||||||||||||
|