![]() | Oracle System Handbook - ISO 7.0 May 2018 Internal/Partner Edition | ||
|
|
![]() |
||||||||||||||||
Solution Type Predictive Self-Healing Sure Solution 1596582.1 : Instructions to Reinstall/Upgrade RPMs on the Oracle Big Data Appliance Nodes
In this Document
Applies to:Big Data Appliance Integrated SoftwareBig Data Appliance Hardware Linux x86-64 PurposeThis document provides instructions on a) How to re-install corrupted RPM's on the Oracle Big Data Appliance(BDA) Nodes. b) How to upgrade RPM's incase the RPM's didn't get upgraded correctly during Mammoth upgrade. RPM corruption may occur during install/upgrade of Mammoth software or accidental removal. If RPM corruption occurs during install/upgrade then /root/BDA_REBOOT_FAILED file will be generated and also failures will be reported by bdachecksw / bdacheckcluster scripts. ScopeOracle Big Data Appliance(BDA)Administrators DetailsOne solution would be manually copying the RPM's from node01 to the needed nodes and installing using 'rpm --replacepkgs -ihv <rpmname>' command. This option has the overhead of copying the rpm's across the BDA nodes. Another option would be to use yum command, as there is a yum repository server named bda running on Node01 of BDA Cluster. Also all the nodes in the BDA cluster contain bda.repo file in /etc/yum.repos.d directory. # pwd
/etc/yum.repos.d # ls bda.repo # more bda.repo [bda] baseurl=http://<node01>-master.us.oracle.com/bda gpgcheck=0 proxy=_none_ enabled=1 Note:- dlci can be used to check if all the nodes in BDA Cluster contain the bda.repo file # dcli -C ls /etc/yum.repos.d
Executing 'yum upgrade' or 'yum reinstall' command from any of the BDA nodes might result in 'Connection refused' error # yum reinstall <rpmname>
Loaded plugins: rhnplugin, security Repository 'bda' is missing name in configuration, using id This system is not registered with ULN. ULN support will be disabled. Setting up Reinstall Process http://<node01>-master.us.oracle.com/bda/repodata/repomd.xml: [Errno 4] IOError: <urlopen error (111, 'Connection refused')> OR The error can occur during download of the packages if NOT occured during Dependency check. Downloading Packages:
http://<node01>-master.us.oracle.com/bda/RPMS/x86_64/******.rpm: [Errno 4] IOError: <urlopen error (111, 'Connection refused')> Trying other mirror. The error is caused since httpd service on node 1 is stopped after Mammoth install/upgrade is completed. Follow below steps as root user to enable httpd service and execute the needed yum command to reinstall/upgrade RPM's on the BDA nodes 1) Check the status of the httpd service on node01 # service httpd status
httpd is stopped 2) Start httpd service on node01 # service httpd start
Starting httpd: [ OK ] # service httpd status httpd (pid 13543) is running... 3) For list of yum commands and description refer to yum Man Page. # man yum
4) If there are multiple .repo files in /etc/yum.repos.d directory containing links to the rpm being installed/upgraded then use ' yum --disablerepo' option so that bda.repo will be the one used. # yum --disablerepo=<3rd party repo files> reinstall/upgrade <packagename>
5) Command to upgrade an rpm # yum upgrade <packagename>
6) Command to reinstall the rpm's on any node in the BDA cluster # yum reinstall <packagename>
Sample output # yum reinstall <rpmname> 7) Once reinstall/upgrade of RPM's is done execute bdacheckcluster command to make sure there are NO RPM related errors. 8) Stop httpd service on node01 once the yum operations are completed. # service httpd stop
Stopping httpd: [ OK ] # service httpd status httpd is stopped Attachments This solution has no attachment |
||||||||||||||||
|