Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

autoconf(8)

hszterm(8)

reinitdev(8)

rdswitch(8)                                                     rdswitch(8)

NAME
     rdswitch - switch program for RAID controllers and LUNs of type PXRC,
     PXRE and EMC-SYMMETRIX

SYNOPSIS
     rdswitch [-r] [device]        Format 1: for PXRC and PXRE RAID systems

     rdswitch [-r | -l] [device]   Format 2: for EMC-SYMMETRIX RAID systems

DESCRIPTION
     The rdswitch command (no options) switches one or all LUNs from the
     current RAID controller to the specified partner controllers.

     The autoconf node of the specified controller is also updated in the
     case of PXRC and PXRE systems, but not the node of the previous con-
     troller, i.e. the detached LUNs are still visible here. This node can
     be updated with the -r option.

     In the case of EMC systems, all LUNs are permanently visible on both
     controllers in the autoconf tree; moreover, a LUN can be accessed by
     default from both controllers (status "Write Protect OFF", see the -l
     option).

     The rdswitch command (no options) sets the status on the specified
     controller to "Write Protect OFF" and on the partner controller to
     "Write Protect ON" for one or all LUNs.

     The autoconf node of the specified controller can be updated with the
     -r option. Since all LUNs are permanently visible on both controllers
     in the autoconf tree in the case of EMC systems, the -r option is only
     useful here in order to register new or obsolete LUNs in the autoconf
     tree.

     The -l option only works on EMC systems; it returns "Write Protect"
     status for one or all LUNs of the specified controller ("Write Protect
     OFF" or "Write Protect ON") and consequently the up-to-date assignment
     of the LUNs to the controllers that are not visible from the autoconf
     tree.

OPTIONS
     No option specified :
          The specified LUN or all LUNs are switched to the specified con-
          troller and the autoconf node of this controller is updated.

          Examples:

          # rdswitch ios0/sraid160l2

          Switches LUN 2 to the sraid160 controller.






Page 1                       Reliant UNIX 5.44                Printed 11/98

rdswitch(8)                                                     rdswitch(8)

          # rdswitch ios0/sraid160

          Switches all LUNs to the sraid160 controller.

     -r   The autoconf node of the specified LUN or specified controller is
          updated.

          Examples:

          # rdswitch -r ios0/sraid160l2
          # rdswitch -r ios0/sraid160

     -l   Only on EMC systems, otherwise the end status is 1.

          The current "Write Protect" status is output for the specified
          LUN or for all LUNs of the specified controller; this status
          returns the assignment of the LUN to one or both controllers.

          Examples:

          # rdswitch -l ios0/sraid160l2

          returns:

          /dev/ios0/rsraid160l2  Write Protect OFF

          # rdswitch -l ios0/sraid160

          returns:

          /dev/ios0/rsraid160l0  Write Protect OFF
          /dev/ios0/rsraid160l1  Write Protect  ON
          /dev/ios0/rsraid160l2  Write Protect OFF
          /dev/ios0/rsraid160l3  Write Protect  ON
          /dev/ios0/rsraid160l4  Write Protect OFF
          /dev/ios0/rsraid160l5  Write Protect  ON
          /dev/ios0/rsraid160l6  Write Protect OFF
          /dev/ios0/rsraid160l7  Write Protect  ON

EXIT STATUS
     0  Normal termination, function successful.

     1  Function unsuccessful or not available for this RAID system.

     2  Parameter errors.

FILES
     /dev/autoconf
          Among other information, the autoconf tree contains the available
          RAID configurations that can be updated with rdswitch -r.




Page 2                       Reliant UNIX 5.44                Printed 11/98

rdswitch(8)                                                     rdswitch(8)

SEE ALSO
     autoconf(8), hszterm(8), reinitdev(8).




















































Page 3                       Reliant UNIX 5.44                Printed 11/98

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026