Go to main content

Booting and Shutting Down Oracle® Solaris 11.4 Systems

Exit Print View

Updated: November 2020
 
 

SPARC: How to Stop a System for Recovery Purposes

Before You Begin

Ensure that your role has the appropriate rights profiles to perform this procedure. See Using Rights Profiles to Administer Boot Features.

  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 example, to boot the system to a single-user state, type the following:

    ok boot -s

    For more information, see the boot(8) 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 26  Powering Off a System

If you are running Oracle Solaris 11 on a system that uses a service processor, 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.startd: 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 27  Powering On a System

The following example shows how to power on the system that uses a service processor. You must first be logged in to Oracle ILOM. See https://docs.oracle.com/cd/E81115_01/html/E86148/z40019501400145.html.

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
 
->

To skip confirmation prompts, type start -script /SYS.