Solaris 2.4 Handbook for SMCC Peripherals
この本のみを検索
PDF 文書ファイルをダウンロードする

Before You Start

1

This chapter describes the requirements and procedures that you must perform to power off or shut down your system.

Requirements

Before you start to set up a peripheral device, you must have:
  • Installed the Solaris 2.4 operating environment
  • Turned on power to the system

Note - This handbook does not describe how to install the Solaris 1.x (SunOS 4.x) operating environment. Refer to the documentation accompanying your system for these instructions.

Verifying the System Environment

Before you start to install a peripheral device such as a disk drive or a CD-ROM drive, verify the system environment that you are using.
* Type uname -rs and press Return. The operating system responds by displaying one of the following messages:

  SunOS 5.1  

or

  SunOS 5.2  

or

  SunOS 5.3  

or

  SunOS 5.4  

The screen displays SunOS 5.0, 5.1, 5.2, 5.3, or 5.4 as the version of the operating system. The Solaris 2.x system environment, to which this handbook refers, includes the SunOs operating system as well as compilers and other software.

Note - If you are using an environment other than Solaris 2.x, the commands and tasks described in this handbook do not apply. If you are using SunOS 4.x, refer to the SunOS 4.x Handbook for SMCC Peripherals.

When you have completed this task, go to "Shutting Down the System" in the next section.

Shutting Down the System

Before you start to install a disk drive, CD-ROM drive, or any other peripheral device, you must power off or shut down your system. Powering off or shutting down a system consists of performing a number of tasks in a specific order.

Note - If you have not yet verified your system environment, do so now before you proceed.

  1. Become superuser by typing su and pressing Return.


  tutorial% su  

  1. Type your superuser password and press Return.

    If you type the password correctly, the root prompt (#) is displayed.


  Password: superuser password  
  #  

  1. Add a device driver if necessary.

If a new device driver is needed, use the pkgadd command and the Software Manager tool to perform this task. Refer to the Solaris 2.4 Adding and Maintaining Peripherals manual and the Solaris 2.4 System Configuration and Installation Guide for instructions to add a device driver.

Note - This task is optional; most device drivers are already part of the operating system. If a device driver has to be added, you would typically find a CD-ROM accompanying the drive as well as instructions on how to add the device driver. If you cannot find a CD-ROM or instructions on how to add a specific device driver, probably no new device driver is needed. Therefore, you can skip this step.

  1. Type touch /reconfigure and press Return


  tutorial# touch /reconfigure  

This command ensures that the operating system checks for the presence of any newly installed peripheral devices when you power on or boot your system.
  1. Type cd / and press Return


  tutorial# cd /  

  1. Type /usr/sbin/shutdown -y -g30 -i0 and press Return.


  tutorial# /usr/sbin/shutdown -y -g30 -i0  
  .  
  .  
  .  
  .  
  ok  


Note - The 0 in i0 is a zero.

A message is sent notifying all users who are logged in that they have 30 seconds (-g30) before the system begins to shut down. The ok or > prompt is displayed once the system is shut down.

Note - Be sure that you have turned on all SCSI devices, such as disk and tape drives, before you attempt to use the probe-scsi or probe-scsi-all commands. The operating system can detect already connected SCSI devices only if you turned them on.

  1. At the ok prompt type reset and press Return. Then immediately press L1-a to interrupt the reboot and cause the ok prompt to return.

  1. At the ok prompt, type probe-scsi to list the SCSI target IDs that are currently being used and press Return.

    If you have more than one host bus on your system, you may want to use the proble-scsci-all command because it probes for SCSI devices on all busses including the host bus.

    If the > prompt is displayed instead of the ok prompt, type n at the > prompt and press Enter.

    You should now see the ok prompt.

  2. Choose an unused SCSI target ID for your drive.

    Note the target IDs that are already assigned. Set the SCSI switch or jumpers on your device to an unassigned SCSI target ID. See Chapter 6, "Selecting Addresses" of this handbook.

  1. Turn off power to the system first and then to all external peripheral devices after the ok or > prompt is displayed.

    Refer to the hardware installation guide for your system for the location of the power switch. Refer to the hardware installation guides for the location of the power switches on those peripheral devices.

    You are now ready to install the peripheral device. Refer to the hardware installation guides that accompany the peripheral devices for information on how to install and connect those devices.