A Editing the Configuration File





The procedures for editing the configuration file vary depending on the SCSI bus your Multi-Tape Backup Tray is connected to. Refer to the section that gives the instructions that pertain to your system:

    Figure A-1 Location of SBus Slots in the SPARCserver 690MP System Board

A.1 Editing the Configuration File for the On-Board SCSI Port

Follow the instructions in this section to edit the configuration file only if the following conditions are true:

    1. Become superuser:

    2. Change directories to the directory with the configuration file:

Note - The following command will make a copy of the configuration file called GENERIC. If you are using a different configuration file for your system, substitute GENERIC with the name of your configuration file.

    3. Make a copy of the configuration file:

    This will allow you to keep a copy of the original configuration file, since you will be making several changes to the new configuration file.

    4. Edit the GENERIC_NEW file.

    Use vi or any other text editor to edit the file.

    5. Find the section of the configuration file that gives the information on the SCSI device unit assignments.

    In Solaris 1.x, this section is at the very end of the configuration file. It will give the SCSI addresses (target numbers) for every drive available for each SCSI bus on the system.

    6. Find the section that gives information on SCSI bus 1.

    In Solaris 1.x, that section will look like this:

    7. Determine if you will be installing the tape drive(s) in drive bay III or II.

    Figure A-2 Drive Bays in the Multi-Tape Backup Tray

    8. Cut the appropriate line from the SCSI bus 1 section for the tape drive you will be installing.
    9. Paste the line(s) from the SCSI bus 1 section into the SCSI bus 0 section.

    The following screen shows how the file would look if you had cut and pasted both lines into the SCSI bus 0 section beneath the other tape drive entries:

Note - If you upgrade your system from Solaris 1.x to the Solaris 2.x version of the operating system, keep in mind that the "st" numbers for the tape drives may change. For more information, refer to the manual you received with the Solaris 2.x operating system.

    10. For each line you pasted into the SCSI bus 0 section, change the SCSI bus number to 0.

    Using the same screen as an example, you would make the changes shown in bold italics to the line:

    11. For each line you pasted into the SCSI bus 0 section, change the number in the "target #" column to the correct SCSI address for the tape drive that will be installed in the drive bay.

    Using the same screen as an example, you would make the changes shown in bold italics to the line:

    12. Save and quit your new configuration file.
    13. Enter the following commands to complete the reconfiguration process:

    14. Go to Section 7.1, "Preparing the System."

A.2 Editing the Configuration File for the First SCSI Host Adaptor Card

Follow the instructions in this section to edit the configuration file only if the following conditions are true:

    1. Become superuser:

    2. Change directories to the directory with the configuration file:

Note - The following command will make a copy of the configuration file called GENERIC. If you are using a different configuration file for your system, substitute GENERIC with the name of your configuration file.

    3. Make a copy of the configuration file:

    This will allow you to keep a copy of the original configuration file, since you will be making several changes to the new configuration file.

    4. Edit the GENERIC_NEW file.

    Use vi or any other text editor to edit the file.

    5. Find the section of the configuration file that gives the information on the SCSI device unit assignments.

    In Solaris 1.x, this section is at the very end of the configuration file. It will give the SCSI addresses (target numbers) for every drive available for each SCSI bus on the system.

    6. Find the section that gives information on SCSI bus 3.

    In Solaris 1.x, that section will look like this:

    7. Determine if you will be installing the tape drive(s) in drive bay III or II.

    Figure A-3 Drive Bays in the Multi-Tape Backup Tray

    8. Cut the appropriate line from the SCSI bus 3 section for the tape drive you will be installing.
    9. Paste the line(s) from the SCSI bus 3 section into the SCSI bus 1 section.

    The following screen shows how the file would look if you had cut and pasted both lines into the SCSI bus 1 section below the other tape drive entries:

Note - If you upgrade your system from Solaris 1.x to the Solaris 2.x version of the operating system, keep in mind that the "st" numbers for the tape drives may change. For more information, refer to the manual you received with the Solaris 2.x operating system.

    10. For each line you pasted into the SCSI bus 1 section, change the SCSI bus number to 1.

    Using the same screen as an example, you would make the changes shown in bold italics to the line:

    11. For each line you pasted into the SCSI bus 1 section, change the number in the "target #" column to the correct SCSI address for the tape drive that will be installed in the drive bay.

    Using the same screen as an example, you would make the changes shown in italics to the line:

    12. Save and quit your new configuration file.
    13. Enter the following commands to complete the reconfiguration process:

    14. Go to Section 7.1, "Preparing the System."

A.3 Editing the Configuration File (Generic Instructions)

Follow the instructions in this section to edit the configuration file only if the following conditions are true:

    1. Become superuser:

    2. Change directories to the directory with the configuration file:

Note - The following command will make a copy of the configuration file called GENERIC. If you are using a different configuration file for your system, substitute GENERIC with the name of your configuration file.

    3. Make a copy of the configuration file:

    This will allow you to keep a copy of the original configuration file, since you will be making several changes to the new configuration file.

    4. Edit the GENERIC_NEW file.

    Use vi or any other text editor to edit the file.

    5. Find the section of the configuration file that gives the information on the SCSI device unit assignments.

    This section will give the SCSI addresses (target numbers) for every drive available for each SCSI bus on the system.

    6. Determine which SCSI bus section in the configuration file you will be altering for the Multi-Tape Backup Tray.
    7. Choose a different SCSI bus section in the configuration file from the one that you will be altering for the Multi-Tape Backup Tray that also has entries for tape drives in it.

    For example, if your Multi-Tape Backup Tray is connected to the second SCSI host adaptor card in the system board, you would find that the sections in the configuration file on SCSI bus 1 and SCSI bus 3 both have entries for tape drives in them, so either of those SCSI bus sections would be acceptable.

    8. Choose an entry for tape drives from that SCSI bus section.
    9. Determine if this entry is being used by another tape drive off that SCSI bus.

    If you have a tape drive connected to that SCSI bus, compare the SCSI address assigned to the tape drive with the target number given in the entry for that SCSI bus. If the addresses are the same, then that entry is being used by the tape drive and is not available for you to use for this exercise. Continue to choose other entries until you find an entry that is not being used by a tape drive off that SCSI bus.

    10. Move the entry from the other SCSI bus section to the SCSI bus section that the Multi-Tape Backup Tray is connected to.

    For example, if your configuration file had these entries for SCSI bus 2 and 3:

and you have the Multi-Tape Backup Tray connected to the second SCSI host adaptor card in the system board and you know that there are no tape drives connected to a third SCSI host adaptor card, then you would move the line for the seventh tape drive in the SCSI bus 3 section up to the section for SCSI bus 2, and the configuration file would look like this:

Note - If you upgrade your system from Solaris 1.x to the Solaris 2.x version of the operating system, keep in mind that the "st" numbers for the tape drives may change. For more information, refer to the manual you received with the Solaris 2.x operating system.

    11. Change the SCSI bus number on the line to the SCSI bus number of the SCSI bus the Multi-Tape Backup Tray is connected to and the target address to a SCSI address not being used by any other device on that SCSI bus.

    Using the same screen as an example, if you know that the other devices on the SCSI bus were assigned SCSI addresses of 3, 1, and 2, then you would make the changes shown in bold italics to the line:

    12. Repeat Step 7 through Step 11 for each tape drive you will install in the Multi-Tape Backup Tray.
    13. Save and quit your new configuration file.