======================================================= E10K: Powering on/off procedures ======================================================= :Title: E10K: Powering on/off procedures :Author: Douglas O'Leary :Description: E10K: Powering on/off procedures :Date created: 08/1999 :Date updated: 09/1999 :Disclaimer: Standard: Use the information that follows at your own risk. If you screw up a system, don't blame it on me... * Powering off individual domains * Powering off the entire E10K * Powering on individual domains * Powering on the entire E10K .. _Powering off individual domains: Powering off individual domains =============================== 1. Connect to the correct domain a. Login to ssp as ssp and enter ${domain_name} at the *Please enter SUNW_HOSTNAME:* prompt. b. If already logged into the ssp, enter ``domain_switch ${domain_name}`` in a command window. 2. ID proper domain boards by executing ``domain_status`` and noting the board numbers under the heading SYSBDS:: ${SSP}:${Domain}% domain_status DOMAIN TYPE PLATFORM OS SYSBDS domain1 Ultra-Enterprise-10000 Plat_name 2.6 4 5 domain2 Ultra-Enterprise-10000 Plat_name 2.6 0 1 domain3 Ultra-Enterprise-10000 Plat_name 2.6 3 domain4 Ultra-Enterprise-10000 Plat_name 2.6 6 8 domain5 Ultra-Enterprise-10000 Plat_name 2.6 9 10 3. Bring the domain down. a. Open another command window, issue ``domain_switch`` if necessary. b. Execute ``netcon`` to start up the domain console. c. Log in as root. d. Execute ``sync;sync;sync;init 0`` e. Once the system is at the OK prompt, continue. 4. In the first command window, enter ``power -off -sb ${brd_numbers[*]}``. Board numbers are listed together with space separators. .. _Powering off the entire E10K: Powering off the entire E10K ============================ 1. Bring down all E10K domains: a. Open a command window. b. Issue ``domain_switch ${domain_name}`` to connect to the correct domain. c. Issue ``netcon`` to open the domain console. d. Log in as root. e. Execute ``sync;sync;sync;init 0`` f. Once the domain is at the OK prompt, exit the netconsole by issuing ~. (Press/hold tilde while pressing period). g. Iterate through the above until all domains are down. 2. Open a command window on shamash and enter ``power -B -off -all``. When the command completes, you will hear the power switches changing position in the E10K cabinet. 3. Power off the SSP:: su - root sync;sync;sync;init 0 When the OK prompt appears, turn off the power to the ssp. .. _Powering on individual domains: Powering on individual domains ============================== 1. Open two command windows; issue ``domain_switch ${domain_name}`` as necessary. 2. In one of the windows, ID the system boards by issuing ``domain_status`` and noting the board numbers under the heading SYSBDS:: ${SSP}:${Domain}% domain_status DOMAIN TYPE PLATFORM OS SYSBDS domain1 Ultra-Enterprise-10000 Plat_name 2.6 4 5 domain2 Ultra-Enterprise-10000 Plat_name 2.6 0 1 domain3 Ultra-Enterprise-10000 Plat_name 2.6 3 domain4 Ultra-Enterprise-10000 Plat_name 2.6 6 8 domain5 Ultra-Enterprise-10000 Plat_name 2.6 9 10 3. Issue ``power -on -sb ${board_numbers[*]}``. Board numbers are listed together with space separators. 4. Issue ``bringup -A off -l7``. NOTE: Space between the '-A' and 'off' and lower case L in the '-l7'. 5. In the other window, issue ``netcon``. Wait for the OK prompt to appear, then execute boot. 6. Wait for the system to come up completely, then exit the netconsole by issuing ~. (Press/hold tilde while pressing period). .. _Powering on the entire E10K: Powering on the entire E10K =========================== 1. Power on the SSP; at the OK prompt, type boot 2. Flip the power switches on the E10K. 3. Log in as ssp a. Enter ${Plat_name} at the Please enter SUNW_HOSTNAME: prompt. b. Open a command window; execute ``power -on -all`` c. Open another command windows. foreach domain do: 1. In one window, execute domain_switch ${domain_name} 2. Execute bringup -A off -l7 NOTE: Space between the '-A' and 'off' and lower case L in the '-l7'. 3. In the other command window, execute ``domain_switch ${domain_name}`` followed by ``netcon`` 4. When the OK prompt appears, execute boot NOTES: **ONLY BRING UP ONE SYSTEM AT A TIME** Otherwise, the boot process will take longer than it already does!