Monday, April 4, 2016

Solaris:- break LDOM to ok prompt or reboot

How to send break on LDOM to go to OK prompt or to reboot the hung system.

1. Login to your control domain and list your LDOMs
# ldm list

2. Login to hung ldom
# telnet localhost 5000

press enter and you may get hung state where cursor is just sitting no where.

Press CTRL + ]

you will be at telnet prompt.

at the prompt type ~? to get the help menu.

 ~^B -> Send break
 ~. -> exit from the console to control domain prompt
 ~w -> Force write access on console
 ~n -> console next
 ~p -> console previous
 ~? -> get help


2. To break, type send break at the telnet prompt. You will see following three options
c)ontinue, s)ync, r)eset?

s)ync option will generate core and takes a while to reboot the system
r)reset will reboo the system, if auto-boot set to true otherwise server will be at {ok} prompt.

Note: on t-series servers such as T3, T4, T5 servers, you can send break from SP.

No comments:

Post a Comment