[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference ssdevo::hsz40_product

Title:HSZ40 Product Conference
Moderator:SSDEVO::EDMONDS
Created:Mon Apr 11 1994
Last Modified:Fri Jun 06 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:902
Total number of notes:3319

763.0. "hszterm failing from script" by LEXSS1::GINGER (Ron Ginger) Fri Feb 07 1997 11:25

        We use hszterm to send commands to some hsz's to start a mirror
        operation. Sometimes we will get one mirror set fail to start. We see
        error messages like:
    
        %HSZterm: Send Diagnostic cam Status=0x5 (Cam subsystem is busy)
        %hSZterm Send Diagnostic failed
               device does not support Virtual terminal protocol.
    
        My script does essentially this:
    
        hszterm -b4 -t0 -l7 "set m_disk100 replace=disk110"
    
        this will work for 5 out of the 6 disks I start mirror on, and
        sometimes fail on the last one. When it fails I get 5 of these
        messages. Does hszterm retry 5 times and the quit? HOw can I get
        around this?
        
        I assume the hszterm is failing to run, becasue the HSZ is still busy
        doing the last mirror start.
    
T.RTitleUserPersonal
Name
DateLines
763.1SSDEVO::T_GONZALESFri Feb 07 1997 20:355
    HI Ron, sometimes it makes a difference which unit that you connect
    through hszterm, try to pick a unit that is the least busy or a unit
    that is not being effected by the hszterm command.  That cam
    message is typical with hszterm if the unit is experiencing cam
    retries or errors, or sometimes if the hsz is really busy.
763.2LEXSS1::GINGERRon GingerWed Feb 12 1997 10:0613
    tell me more about the selection of unit to run hszterm on.
    
    Can it be any unit and lun that is defined for the hsz, with the set
    id=(0,1,2,3) command? Must it be a target for which a unit is defined,
    or should it be a unit that is NOT defined.
    
    In my case I have only units D0, D100 and D200 defined. I call my
    hszterm  commands like hszterm -b# -t0 -l7, so I am using LUN 7 on a
    target which also has a unit.
     WOuld it be better to call -b# -t4 -l7, so I refer to a target that
    has no unit on it?