[ Previous | Next | Contents | Glossary | Home | Search ]
AIX Version 4.3 System Management Guide: Operating System and Devices

Installing a SCSI Device

This section outlines the procedure used to install a SCSI device on your system. The procedure has been divided into several tasks that must be performed in order.

Prerequisites

Task 1 - Determine the Number and Location of the SCSI Controllers

Determine how many SCSI controllers are attached to your system unit and where the SCSI controllers are located. A SCSI controller may be in an adapter slot or built into the system planar. If your system has a SCSI-2 Fast/Wide Adapter/A or a SCSI-2 Differential Fast/Wide Adapter/A, remember that it has two SCSI controllers (SCSI buses). Thus, two SCSI controllers may be found in an adapter slot or built into the system planar.

You can obtain this information three different ways:

Inspecting the System Unit

Look for SCSI I/O controllers in the adapter slots in the back of the system unit. The adapter slots are marked with numbers one, two, and so on. Single-ended SCSI I/O controllers in adapter slots are labeled 4-X . SCSI I/O controllers are typically located in adapter slot one for desktop models or in adapter slot eight for floor models.

If you find the letters SCSI molded into the back of the system unit next to a cable connector, the system unit has a SCSI I/O controller built into the system planar. The connector labeled SCSI is the location to connect the built-in SCSI controller.

Using a Software Configuration Command

This method applies to a system that already has the operating system installed.

To list the SCSI I/O controllers on the system, enter the following commands:

lscfg -l scsi* 
lscfg -1 vscsi*

Examine the list of SCSI controllers that are displayed. The following sample display from the lscfg -l scsi* command shows three SCSI I/O controllers. Controller scsi0 is located in adapter slot one. The adapter slot number is the fourth digit in the location value. Controller scsi1 is located in adapter slot two. Controller scsi2 , with location value 00-00-0S , is built into the system planar and does not have a slot number.

DEVICE    LOCATION      DESCRIPTION 
   
scsi0     00-01         SCSI I/O Controller
scsi1     00-02         SCSI I/O Controller
scsi2     00-00-0S      SCSI I/O Controller
              |  |
   4th digit is  A location code of the format 00-00-XX
    the adapter  means the controller is contained on the
    slot number  planar and does not have a slot number.

The following is a sample display from the lscfg -l vscsi* command. A SCSI-2 Fast/Wide Adapter/A or a SCSI-2 Differential Fast/Wide Adapter/A adapter is located in adapter slot 3, and the listing shows the two buses on this adapter-- one internal and one external. The vscsi0 device is connected to the internal bus. This is indicated by the 0 in the sixth digit of the location code. The vscsi1 device is connected to the external bus, which is denoted by the 1 in the sixth digit.

DEVICE      LOCATION      DESCRIPTION 
   
vscsi0      00-03-00      SCSI I/O Controller Protocol Device
vscsi1      00-03-01      SCSI I/O Controller Protocol Device
                   |
                   A `1' in the 6th digit means the device
                   is connected to the fast/wide external
                   bus; a `0' means the device
                   is connected to the internal bus.

Initial Setup

Use the About Your Machine document to determine the SCSI I/O controllers on the system if the device is being installed during initial setup.

Note: Incorrect results are produced if controllers have been added since the system was shipped from the factory.
  1. Determine the SCSI I/O controllers installed in adapter slots by scanning the listing under "Built in items," in groups labeled "Adapters" or "Adapter Cards" for anything called "SCSI Controller" or "SCSI I/O Controller." The following is a sample entry from the About Your Machine document for a SCSI I/O controller located in an adapter slot:
    Slot  Adapters                                  Type      P/N 
       
    1     SCSI I/O Controller                        4-1      31G9729
    2     SCSI-2 Differential Fast/Wide Adapter/A    4-6      71G2594
    3     SCSI-2 Fast/Wide Adapter/A                 4-7      71G2589
  2. Determine whether the system unit has a SCSI controller built into the planar board. A built-in SCSI I/O controller is standard on some system units. Your system unit has a built-in SCSI controller if there is a connector labeled SCSI on the back of the system unit or the About Your Machine document shows an internal media SCSI device with a blank slot number. The following is a sample entry from an About Your Machine document that shows an internal 400MB SCSI disk driver.
    BAY  INTERNAL MEDIA DEVICES   ADDRESS     SLOT   P/N 
     
         -400 MB SCSI Disk Drive  SCSI_ID=0          73F8955  

Task 2 - Select a SCSI Controller and a SCSI Address on the Controller

After identifying the SCSI controllers attached to the system unit, select the SCSI I/O controller you want to connect the device to. This SCSI I/O controller should have at least one SCSI address that is not already assigned to another device.

Determine what SCSI addresses are not already assigned to another device by viewing information about the devices already connected to the SCSI controllers.

You can use two methods to select a SCSI I/O controller and a SCSI address on the controller that is not already assigned to another device:

Using a Software Configuration Command

This method applies to a system that already has the operating system installed.

  1. Enter the following command to list all the currently defined SCSI devices:
    lsdev -C -s scsi -H
  2. Examine the list of devices already assigned to SCSI addresses on the SCSI controllers. Each row in this display shows the logical name, status, location, and description of a SCSI device. The location for each device begins with the location of the controller that the device is connected. The seventh digit of each location field is the SCSI ID or SCSI address for the device. In the sample below, the SCSI I/O controller with address 00-01 , has three devices with SCSI addresses 0, 1, and 2 attached. The SCSI I/O controller with location 00-02 has one device, with SCSI address 2 attached. The SCSI I/O controller with location 00-00-0s , that is built into the system planar, has one device with SCSI address 1 attached.
    name     status       location       description 
     
    hdisk0   Available    00-01-00-0,0   320MB SCSI Disk Drive
    hdisk1   Available    00-01-00-1,0   320MB SCSI Disk Drive
    rmt0     Available    00-01-00-2,0   2.3GB 8mm Tape Drive
    cdo      Defined      00-02-00-2,0   CD ROM Drive
    rmt1     Available    00-00-0S-1,0   2.3GB 8mm Tape Drive
                                   | 
                             SCSI address (7th digit) 
  3. Typically, SCSI I/O controllers support up to seven devices, with SCSI addresses 0 through 6 . If the SCSI I/O controller supports wide SCSI, it supports up to 15 devices per SCSI bus, with addresses ranging from 0 through 15 , excluding 7. Combine this and the information displayed by the previous command to create a list of unassigned SCSI addresses on each controller. The following is one possible way of writing this list with the sample information.
    Position of SCSI controller      Unassigned SCSI addresses
      
    Adapter slot 1                   3, 4, 5, 6
    Adapter slot 2                   0, 1, 3, 4, 5, 6
    Built into system planar         0, 2, 3, 4, 5, 6
    Adapter slot 3 (external)        0, 1, 2, 3, 4, 5, 6,
                                     8, 9, 10, 11, 12, 13, 14, 15
    Adapter slot 3 (internal)        0, 1, 2, 3, 4, 5, 6,
                                     8, 9, 10, 11, 12, 13, 14, 15
    Note: 7 is the default SCSI ID value for SCSI adapters. The default SCSI ID can be changed for most of the supported SCSI I/O controllers.
  4. Select an unassigned SCSI address on one of the controllers, and record the SCSI address and the controller position for later use.

Initial Setup

Use the About Your Machine document to determine the devices assigned to the SCSI I/O controllers on the system if the device is being installed during initial setup.

Note: Incorrect results are produced if controllers have been added since the system was shipped from the factory.
  1. Determine the SCSI devices assigned to SCSI addresses on the SCSI controllers by examining "Internal Media Devices." The following is a sample listing from the About Your Machine document where the built-in SCSI I/O controller has one device attached and the SCSI I/O controller in adapter slot 1 has two devices attached:
    BAY  INTERNAL MEDIA DEVICES   ADDRESS    SLOT   P/N 
     
         -400 MB SCSI Disk Drive  SCSI_ID=0         73F8955
    C    -320 MB SCSI Disk Drive  SCSI_ID=0  AS 1   93X2355
    D    -320 MB SCSI Disk Drive  SCSI_ID=1  AS 1   93x2355    
  2. Create a list of unassigned SCSI addresses on each controller. The following is one possible way of writing this list with the sample About Your Machine document:
    Position of SCSI controller     Unassigned SCSI addresses 
     
    Built into system planar        1, 2, 3, 4, 5, 6
    Adapter slot 1                  2, 3, 4, 5, 6
  3. Select an unassigned SCSI address on one of the controllers and record the SCSI address and the controller position for later use.

Task 3 - Setting Up the Hardware

Prerequisites

Procedure

  1. Shut down the system unit using the shutdown command after stopping all applications that are currently running. Use shutdown -F to stop the system immediately without notifying other users.
  2. Wait for the message Halt Completed or a similar message to appear.
  3. Turn off the system unit and all attached devices.
  4. Unplug the system unit and all attached devices.
  5. Make the physical connections following the procedure described in the setup and operator guide.
    Note: Do not power on the system unit; proceed to the next task.

Task 4 - Add the Device to the Customized Configuration Database

This task makes the device known to the system. During system unit startup, the operating system reads the current configuration and detects new devices. A record of each new device is added to the customized configuration database and are given default attributes.

If the device is being installed on a new system unit, the operating system must be installed. Instructions for installing the operating system are included in the installation guide for the operating system.

Follow this procedure to add a device to the customized configuration database:

  1. Plug in the system unit and all attached devices.
  2. Turn on all the devices, but leave the system unit turned off.
  3. Turn on the system unit when all the attached devices have completed power-on self-tests (POSTs).
    Note: The startup process automatically detects and records the device in the customized configuration database.
  4. Confirm that the device was added to the customized configuration database using the Web-based System Manager fast path, wsm devices, or the SMIT fast path, smit lsdtmscsi. A list of all defined devices is displayed. Look at the location field for the SCSI adapter and SCSI address values of the device you just installed.

Task 5 - Verify the System (Optional)

This task is not required for installing a device, but it is recommended.

For additional information about this task, review "Using the System Verification Procedure" in the operator guide for the system unit.

Prerequisite

  1. Shut down the system unit by stopping all application programs running on the system unit. Enter the shutdown -F command and wait for the Halt Completed message.
  2. Turn off the system unit.

Procedure

  1. Set the key mode switch to the Service position.
  2. Turn on the system unit.
  3. Press Enter when DIAGNOSTICS OPERATING INSTRUCTIONS is displayed.
  4. Select DIAGNOSTIC ROUTINES and press Enter.
  5. Select System Verification and press Enter.
  6. Select the resource corresponding to the device being installed and press Enter.
  7. Follow the instructions for the diagnostic routine for your particular device.
  8. Wait for the test to end. A successful test ends with the TESTING COMPLETE menu and a message stating that No trouble was found . An unsuccessful test ends with A PROBLEM WAS DETECTED and includes a service request number (SRN). If the test failed, record the SRN and report the problem to your service representative.
  9. Press Enter.
  10. Press F3 several times until you return to the DIAGNOSTIC OPERATING INSTRUCTIONS.
  11. Skip to Task 6, item 3 if you are updating the topology diskettes. Otherwise, continue with this procedure.
  12. Press F3 shut down the system unit.
  13. Set the key mode switch to the Normal position, and press the Reset button when you are ready to resume normal operations.

Task 6 - Update the Product Topology Diskettes (Optional)

Product topology diskettes keep an electronic record of what is attached to your system. This task should be performed during the initial installation of any device that has a Product Topology Update diskette.

For additional information about updating product topology diskettes, review the information on using the diagnostics and using the service aids" in the operator guide.

Prerequisites

  1. Obtain the Product Topology System diskette that is shipped with the system unit and the Product Topology Update diskette that is shipped with the new device.
  2. Shut down the system unit by stopping all application programs running on the system using the shutdown -F command and wait for a Halt Completed message.
  3. Turn off the system unit.

Procedure

  1. Set the key mode switch to the Service position.
  2. Turn on the system unit.
  3. Press Enter when the DIAGNOSTICS OPERATING INSTRUCTIONS menu is displayed.
  4. Select Service Aid and press Enter.
  5. Select Product Topology and press Enter.
  6. Select Device Installation, ECs and MESs and press Enter.
  7. Follow the instructions on your display.
  8. When the question Do you have any update diskettes that have not been loaded? displays, answer Yes , and insert the Product Topology Update diskette.
  9. Follow the instructions on your display.
  10. If the EC AND MES UPDATES menu (screen 802311) is displayed and asks for data you do not have, use the listed function key to commit.
  11. Follow the instructions for your display.
  12. When the PRODUCT TOPOLOGY SERVICE AID menu (screen number 802110) is displayed, press F3 several times until you return to the DIAGNOSTIC OPERATING INSTRUCTIONS menu.
  13. Press F3 once more from the DIAGNOSTIC OPERATING INSTRUCTIONS menu to shut down the system unit.
  14. Remove the diskette.
  15. Set the key mode switch to the Normal position, and press the Reset button when you are ready to resume normal operations.
  16. Return the Product Topology System diskette to its normal storage location.
  17. Return the Product Topology Update diskette.
    1. For customers within the United States of America, place the Product Topology Update diskette into the self-addressed prepaid mailer provided and mail it.
    2. For customers outside the United States of America, place the Product Topology Update diskette into the self-addressed prepaid mailer provided and return it to your service representative. Do not mail it.

Task 7 - Customize the Attributes for the Device (Optional)

Default attributes are assigned to a supported device when it is added to the customized configuration database. These attributes are appropriate for typical use of the device. You would change the device attributes when the device you are installing is not supported or when you need to customize some part of the device's operation. For example, you might need to change your tape drive to write tapes in a lower-density format.

To customize the attributes for a device, use the Web-based System Manager fast path, wsm devices, or the SMIT fast path, smit dev.


[ Previous | Next | Contents | Glossary | Home | Search ]