![]() | Oracle System Handbook - ISO 7.0 May 2018 Internal/Partner Edition | ||
|
|
![]() |
||||||||||||||||||||
Solution Type Problem Resolution Sure Solution 2202721.1 : Infiniband Switch Stays In Pre-boot Environment During Upgrade/Reboot
In this Document
Created from <SR 3-13529722291> Applies to:Oracle Exalogic Elastic Cloud Software - Version 2.0.6.2.161018 and laterExadata Database Machine X2-2 Hardware - Version All Versions and later Oracle Solaris on x86-64 (64-bit) Linux x86-64 Oracle Virtual Server x86-64 SymptomsWhen upgrading gateway switch, it boots in pre-boot environment everytime. Even power-cycling many times we see the same behavior 'boot' command was also run from pre-boot environment but we see same issue. Following is the snippet showing IB Switch bootup stuck in pre-boot phase. $ ssh root@172.25.xxx.xx Sun Data center switch pre-boot environment. root@172.25.xxx.xx's password: Sun Data center switch pre-boot environment. ====================================================================== Do you wish to remain in pre-boot environment? Trying to start application image ... [wtorres@sopsun ~]$ ssh root@172.25.xxx.xx Sun Data center switch pre-boot environment. root@172.25.xxx.xx's password: Sun Data center switch pre-boot environment. ====================================================================== Do you wish to remain in pre-boot environment? To start application image enter command 'boot' at any time. init> help boot - start application image init> check_app_partition /dev/sda5 contains a file system with errors, check forced. Sun Data center switch pre-boot environment. (none) login: root Sun Data center switch pre-boot environment. ====================================================================== Do you wish to remain in pre-boot environment? Trying to start application image ... ChangesThis is a fresh installation of Exalogic rack. This issue can also happen on existing switch during reboot. CauseIn general if accessing the switch (ssh to its IP) when the upgrade process is in progress will not do any harm, the worst will be that you get into the pre-boot and need to boot manually doing boot. You cannot interrupt the upgrade process or destroy the image by accessing the switch or logging in during upgrade. If a user does Power Cycle during an upgrade (i.e. just unplug the power cords) then you could cause a image install to be interrupted (e.g. an interrupted write to disk), but doing that during an upgrade is bad practice from a user perspective. The advice is not do power cycle before you are able to login to ILOM CLI after a firmware upgrade and confirm upgrade has completed. For some cases where the GW switch is stuck in preboot. this could be due to the Hardware clock being wrong. HW clock can also be out of sync if there is a bad battery. Solution
Here are the instruction on how to recover (for firmware 2.2.2). Please follow these steps . if you see other output than described below, do not proceed but contact support and provide the error message (e.g. if the clock is correct in 2. you should NOT proceed to 3): 1) Login to preboot menu answering y to the question: root@ password: Sun Data center switch pre-boot environment. ====================================================================== Do you wish to remain in pre-boot environment? 2) When you get the prompt, check current date: init> /bin/busybox date (If the clock is back in time proceed with setting hwclock in next step)
3) Set the clock using date command with correct time as example: init> /bin/busybox date "2016-10-26 13:11"
Wed Oct 26 13:11:00 UTC 2016 4) Set the hwclock base on the already set date: init> /bin/busybox hwclock -w
5) Run the filesystem check (Only for /dev/sda1 and /dev/sda5 and two times until you end up with clean messages bold below) init> fsck -yv /dev/sda1 e2fsck 1.39 (29-May-2006) 38 inodes used (0.63%) 23 regular files init> fsck -yv /dev/sda5 6) Run the check_app_partition init> check_app_partition
Doing filesystem check ... e2fsck 1.39 (29-May-2006) /dev/sda5: clean, 15877/110592 files, 401808/441116 blocks Everything looks OK. 7) Boot to OS by calling boot command init> boot
References<NOTE:1552811.1> - Exalogic NM2 (IB SWITCH) Upgrade Fails<NOTE:1268557.1> - Exalogic Elastic Cloud Software Known Issues Attachments This solution has no attachment |
||||||||||||||||||||
|