SUMMARY: Unable to reboot after LU

From: Stephen Nelson-Smith <sanelson_at_gmail.com>
Date: Sat May 07 2011 - 06:15:13 EDT
Hello managers,

Thanks for everyone's suggestions.  In the end I couldn't get the
machine to reboot sanely at all, and had to power cycle, after which
it came up cleaning into the new BE anyway.  However some of your
advice didn't come in time.  Herewith a summary of lessons learned:

* Ensure that after lucreate and luupgrade, that luactivate has been
run.  I did actually do this.
* Cal Dunigan points out that it's probably good practice not to do a
big jump from 6 to 9, and take intermediate steps.  I'd already done
one machine this morning straight from 6 to 9 and it worked fine, but
I think this is good advice.
* Be patient - often a reboot can take many minutes to take effect.
I've experienced this too and had waited more than 30 mins before
starting to investigate.
* Read the release notes! Had I done so (as John Leadeham did) I would
have found that a hang is known to occur while svc.startd halts
services.  I saw exactly the evidence that the notes point out, so I
suspect this was the problem.  For completeness, the workaround is :

# /usr/share/webconsole/private/bin/wcremove -i console
# svcadm clear system/webconsole:console
# smcwebserver start

Here's the original problem statement:

-----
I've just completed a live upgrade (on ZFS root) from 10u6 to 10u9:

# lustatus
Boot Environment           Is       Active Active    Can    Copy
Name                       Complete Now    On Reboot Delete Status
-------------------------- -------- ------ --------- ------ ----------
sol10u6                    yes      yes    no        no     -
sol10u9                    yes      no     yes       no     -

However, despite shutting down the oracle databases on this machine,
plus the other application, neither init 6 nor shutdown -y -i6 -g0
seems to have any effect.

who -r shows run level 6:

  .       run-level 6  May  6 23:27     6      0  3

Unless I'm missing something obvious (which is possible - it's late),
the process table doesn't appear to show any SMF service hanging:

    UID   PID  PPID   C    STIME TTY         TIME CMD
   root     0     0   0   Oct 26 ?           0:41 sched
   root     1     0   0   Oct 26 ?          26:48 /sbin/init
   root     2     0   0   Oct 26 ?           0:01 pageout
   root     3     0   0   Oct 26 ?        6647:28 fsflush
   root     9     1   0   Oct 26 ?          27:58 /lib/svc/bin/svc.configd
 daemon   138     1   0   Oct 26 ?        1828:54 /usr/lib/crypto/kcfd
   root    78     1   0   Oct 26 ?           0:00 devfsadmd
 stephen 15304 15303   0 10:58:29 ?           1:26 /usr/lib/ssh/sshd
 daemon   340     1   0   Oct 26 ?           0:00 /usr/sbin/rpcbind
   root   137     1   0   Oct 26 ?           0:00 /usr/lib/sysevent/syseventd
   root 24264     1   0 23:28:15 ?           0:03 /lib/svc/bin/svc.startd
   root   377     1   0   Oct 26 ?           2:53 /usr/sbin/syslogd
   root 24644 10661   0 00:17:31 pts/1       0:00 ps -ef
   root 24413 24264   0 23:42:17 console     0:00 -bash
   root 24261     1   0 23:28:13 ?           0:00 /usr/lib/power/powerd
 oracle  1212     1   0   Oct 26 ?          40:45
/u01/app/oracle/product/10.2.0/db_1/bin/tnslsnr LISTENER -inherit
   root 10661 15310   0 20:10:10 pts/1       0:01 -bash
   root 19317     1   0   Nov 20 ?        1075:33 /usr/java/bin/java
-Djava.util.logging.config.file=/var/apache/tomcat55/conf/lo
   root 19324     1   0   Nov 20 ?          35:56
/u01/app/uniface/usys8404/bin/urouter
 stephen 15310 15304   0 10:58:32 pts/1       0:00 -bash
   root 15303     1   0 10:58:29 ?           0:00 /usr/lib/ssh/sshd

I'm a bit stuck.  I'm concerned that if the machine is restarted
without the proper init process, the new BE won't boot, and I'm not
sure what will happen.
-----

Thanks again for everyone's help.

S.
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
Received on Sat May 7 06:15:48 2011

This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:44:18 EST