Booting and Shutting Down Oracle® Solaris 11.2 Systems

Exit Print View

Updated: July 2014
 
 

SPARC: How to Stop a System for Recovery Purposes

  1. Bring the system to ok PROM prompt by using the shutdown or init 0 command.
  2. Synchronize the file systems.
    ok sync
  3. Type the appropriate boot command to start the boot process.

    For more information, see the boot(1M) man page.

  4. Verify that the system was booted to the specified run level.
    # who -r
     .       run-level s  May  2 07:39     3      0  S
  5. If the system does not respond to any input from the mouse, do one of the following:
    • Press the Reset key to reboot the system.
    • Use the power switch to reboot the system.
Example 6-1  Powering Off a Server

If you are running Oracle Solaris 11 on a host system (server), after shutting down the system, you must switch from the system console prompt to the service processor prompt. From there, you can stop the service processor, as shown in this example:

# shutdown -g0 -i0 -y
# svc.startd: The system is coming down. Please wait.
svc.startd: 91 system services are now being stopped.
Jun 12 19:46:57 wgs41-58 syslogd: going down on signal 15
svc.stard: The system is down.
syncing file systems...done
Program terminated
r)eboot o)k prompt, h)alt?
# o
ok #.
->
-> stop /SYS
Are you sure you want to stop /SYS (y/n)? y
Stopping /SYS
 
->

If you need to perform an immediate shutdown, use the stop -force -script /SYS command. Before you type this command, ensure that all data is saved.

Example 6-2  Powering On a Server

The following example shows how to power on the server. You must first be logged in to Oracle ILOM. See http://download.oracle.com/docs/cd/E19166-01/E20792/z40002fe1296006.html#scrolltoc.

If you have a modular system, make sure that you are logged into the desired server module.

-> start /SYS
Are you sure you want to start /SYS (y/n) ? y
Starting /SYS
 
->

If you do not want to be prompted for a confirmation, use the start -script /SYS command.