Sun Microsystems, Inc.  Oracle System Handbook - ISO 7.0 May 2018 Internal/Partner Edition
   Home | Current Systems | Former STK Products | EOL Systems | Components | General Info | Search | Feedback

Asset ID: 1-72-1915568.1
Update Date:2018-05-17
Keywords:

Solution Type  Problem Resolution Sure

Solution  1915568.1 :   SL150 - ACSLS Command 'acsss_config' Fails to Configure a SL150 Library in a New ACSLS 8.3 Installation  


Related Items
  • StorageTek SL150 Modular Tape Library
  •  
  • Sun StorageTek Auto Cartridge Sys Lib SW (ACSLS)
  •  
Related Categories
  • PLA-Support>Sun Systems>TAPE>Tape Hardware>SN-TP: SL150 Library
  •  


acsss_config fails to configure a SL150 library in a new ACSLS 8.3 installation.

In this Document
Symptoms
Changes
Cause
Solution
References


Created from <SR 3-9261052741>

Applies to:

Sun StorageTek Auto Cartridge Sys Lib SW (ACSLS) - Version 8.3 and later
StorageTek SL150 Modular Tape Library - Version All Versions and later
Information in this document applies to any platform.

Symptoms

Trying to configure a SL150 library in a new ACSLS 8.3 installation results in the next errors:

acsss_config
Menu choice: 8
Verifying database environment...
   Creating empty ACSLS database tables
   Loading Display database reference tables.
Configure library communications? (y or n): y

Library server data base exists and will be overwritten, continue (y or n)? y

Number of ACSs to be supported: 1

Please enter the first ACS number [default: 0]:

Is ACS #0 in a partitioned SL8500 or SL3000? (y or n): n

Number of connections to ACS #0: 1

Device or host - ACS #0, connection #0: /dev/mchanger-3500104f000d27241
Checking defined ports...

  acs 0 | port 0  | /dev/mchanger-3500104f000d27241 | offline | STK SL150 level 0225

This step builds a database image of your complete library hardware
configuration. Before proceeding, make sure that your library
is completely configured, that all subsystems are functional and
powered on. Build/Verify library configuration? (y or n): y
   Database connection established.
   Library connection established.
   ACS 0...
      Configuring LSMs ...
         getting hardware view:
            LSM-0...
      Configuring LMU...
      Configuring Hands...
      Configuring Passthru ports...
      Configuring CAPs...
      Configuring Drives...
/opt/ACSLS-8.3.0/ACSSS/config/in_lib_conf: Error response from library handler, LH_ERR_LSM_FAILURE
/opt/ACSLS-8.3.0/ACSSS/config/in_lib_conf: Failed to configure tape drives

2014-06-30 17:38:45
791 N in_tbl_dest.c 1  138
The following tables have been removed: captable,celltable,lockidtable,lsmtable,paneltable,pooltable,vactable,scr_distr_table,clienttable,ptptable,handtable,lmutable,displaycommand,displayoptions,displayfields,displayoptval,displaysubfields
lib_config.sh 1612: Error: Configuration command in_lib_conf failed.
Exiting.

Cannot execute program '$ACS_HOME/config/lib_config.sh'
acsss_config 1595: Error: Problems occurred running the configuration menu.
Exiting.

Changes

 New ACSLS 8.3 installation

Cause

The SL150 has an expansion module with no drives installed. Drive Element Addressing Mode is set to "Address All Drive Slots (Recommended)".

scsilh trace log shows that the mchanger correctly recognizes the CAP and the two HP LTO6 drives in base module.

| | | | 2014-07-02 16:01:04: cap: Get status for cap 0
| | | | >st_availableCells
| | | | | 2014-07-02 16:01:04: buffer: 0x0 0xa 0x38 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0xff 0xff 0x0 0x0
| | | | | 2014-07-02 16:01:04: Scsi element: Value = 10 4
| | | | <st_availableCells
| | | | >st_capDoorStatus
| | | | | 2014-07-02 16:01:04: buffer: 0x0 0xa 0x38 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0xff 0xff 0x0 0x0
| | | | <st_capDoorStatus
| | | | 2014-07-02 16:01:04: status: cap door status=1
| | | | 2014-07-02 16:01:04: status: First available cell is at row 0
| | | | 2014-07-02 16:01:04: status: Last available cell is at row 3

| | | | 2014-07-02 16:01:04: num: Element number=500
| | | | 2014-07-02 16:01:04: drivetype: drive_type = 61 dest = 59
| | | | 2014-07-02 16:01:04: mediatype: domain = 255, media_type = ÿ dest = -3
| | | | 2014-07-02 16:01:04: driveserialnumber: drive_serial_num:HU14171JH3
| | | | 2014-07-02 16:01:04: buffer: 0x1 0xf4 0x8 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0xff 0xff 0x4c 0x3d 0x48 0x55 0x31 0x34 0x31 0x37 0x31 0x4a 0x48 0x33 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0x20
| | | | 2014-07-02 16:01:04: value: type = 59, ready = 1, status = 1

| | | | 2014-07-02 16:01:04: num: Element number=501
| | | | 2014-07-02 16:01:04: drivetype: drive_type = 61 dest = 59
| | | | 2014-07-02 16:01:04: mediatype: domain = 255, media_type = ÿ dest = -3
| | | | 2014-07-02 16:01:04: driveserialnumber: drive_serial_num:HU14171JGW
| | | | 2014-07-02 16:01:04: buffer: 0x1 0xf5 0x8 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0xff 0xff 0x4c 0x3d 0x48 0x55 0x31 0x34 0x31 0x37 0x31 0x4a 0x47 0x57 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0x20
| | | | 2014-07-02 16:01:04: value: type = 59, ready = 1, status = 1

But it keeps looking for a third drive in the expansion module which is not installed:

| | | | 2014-07-02 16:01:04: num: Element number=502
| | | | 2014-07-02 16:01:04: value: status=15130, errno=2
| | | <st_statusTransport
| | | >dpConditionCode
| | | | 2014-07-02 16:01:04: status: Condition code=

That is why ACSLS reports:
/opt/ACSLS-8.3.0/ACSSS/config/in_lib_conf: Error response from library handler, LH_ERR_LSM_FAILURE
/opt/ACSLS-8.3.0/ACSSS/config/in_lib_conf: Failed to configure tape drives
 

Solution

Change the setting in the SL150 BUI -> Configuration -> Library -> Drive Element Addressing Mode to "Address Only Installed Drives"
Configure the library in ACSLS using acsss_config
 

References

<NOTE:1020069.1> - ACSLS - Validating Host Server Communication with a SCSI/Fibre Attached Sun StorageTek Library
<NOTE:1014616.1> - ACSLS - How to Run smc_test
<NOTE:1589334.1> - ACSLS Database is not starting / working, acsdb service in maintenance state. ACSLS not starting.

Attachments
This solution has no attachment
  Copyright © 2018 Oracle, Inc.  All rights reserved.
 Feedback