Go to main content

Oracle® SuperCluster M8 and SuperCluster M7 Administration Guide

Exit Print View

Updated: June 2020
 
 

Shut Down the Guest Domains


Note -  Domain configurations vary based on the configuration chosen during installation, and based on any I/O Domains created.

The order in which you shut down domains is important and varies according to the type and number of domains. Shut down domains in this order:

1. I/O Domains (if present)

2. Middle domains (dedicated guest domains that are neither the primary (control) domain nor the end (service) domain

3. End (service) domain (domain named ssccnX-dom_highest_number)

4. Primary domain (described in Shut Down the Primary Domains)

If the PDomain is running with only one domain, shut down the system just as you would any other server by cleanly shutting down the OS (see Shut Down the Primary Domains).

To identify the number and types of domains on your system, perform Obtain Information Needed for Shutdown Tasks.

  1. Login to the primary domain:
    1. Login to Oracle ILOM on the active SP for a PDomain.
    2. Start the host console.

      In this example, replace x with the number of the host.

      -> start /HOSTx/console
      Are you sure you want to start /HOSTx/console [y/n] y
      Serial console started. To stop, type #.
    3. Login to the primary domain as root.
      sccn01 console login: root
      Password:
      Last login: Thur Feb 9 16:52:10 form /dev/console
      Oracle Corporation      SunOS 511     11.2      Apr 2016
  2. List the running domains.
    # ldm list
    NAME             STATE      FLAGS   CONS    VCPU  MEMORY   UTIL  NORM  UPTIME
    primary          active     -n-cv-  UART    192   2095872M 0.1%  0.1%  12h 28m
    ssccn3-dom1      active     -n----  5001    192   2T       0.1%  0.1%  12h 25m
    ssccn3-dom2      active     -n----  5002    8     16G      0.1%  0.1%  2d 23h 34m
    ssccn3-dom3      active     -n--v-  5003    16    32G      0.1%  0.1%  2d 23h 34m
  3. Stop all active I/O domains (if present).
    # ldm stop domain_name
    LDom domain_name stopped
  4. Connect to a running dedicated guest domain (not the primary or end domain).

    This example uses telnet and the CONS port number obtained in Obtain Information Needed for Shutdown Tasks.

    # telnet 0 CONS_Port_NO
    Trying 0.0.0.0...
    Connecting to 0.
    Escape character is '^]'
    Connecting to console "ssccn3-dom1" in group "ssccn3-dom1" . . . .
    Press ~? for control options  ..
    
    ssccn3-dom1 console login: root
    Password:
    Feb 14 04:34:52 ssccn3-dom1 login: ROOT LOGIN /dev/console
    Last login: Wed Feb  5 07:44:41 on console
    Oracle Corporation      SunOS 5.10      Generic Patch   January 2005
    # 
  5. Shut down the dedicated guest domain (not the primary or end domain).

    Note -  The init 0 command is the preferred command to shut down a domain rather than other commands such as shutdown.
    # init 0
  6. Repeat Step 3 and Step 4 to shut down any additional middle guest domains.
  7. Connect to and shut down the end (service) domain.
    # telnet 0 CONS_Port_NO
    Trying 0.0.0.0...
    Connecting to 0.
    Escape character is '^]'
    Connecting to console "ssccn3-dom1" in group "ssccn3-dom1" . . . .
    Press ~? for control options  ..
    
    ssccn3-dom1 console login: root
    Password:
    Feb 14 04:34:52 ssccn3-dom1 login: ROOT LOGIN /dev/console
    Last login: Wed Feb  5 07:44:41 on console
    Oracle Corporation      SunOS 5.10      Generic Patch   January 2005
    # init 0
  8. Repeat the procedure to shut down guest domains on all PDomains.

Related Information