Sun HPC 3.0 SCI Guide

get_sci_status(1m)


Example A-2 get_sci_status(1m) man Page


get_ci_status(1M)     Maintenance Commands      get_ci_status(1M)

NAME
     get_ci_status - Displays the Cluster configuration, the  SCI
     adapter status and the SMA session status.

SYNOPSIS
     get_ci_status [ -l ]

AVAILABILITY
     SUNWsma

INTERFACE CLASSIFICATION
     Sun Private

DESCRIPTION
     get_ci_status displays the cluster  configuration,  the  SCI
     adapter  status  and the SMA session status.  It queries the
     SCI driver for information about the local SCI adapters  and
     tests  the  connectivity  to  SCI  adapters  on other hosts,
     either via a switch or a direct link.

     For each adapter in the cluster, get_ci_status displays  the
     host  it is on, the port on a switch it is connected to, its
     adapter-id and whether the local  adapters  can  communicate
     with the adapters on other hosts.

     In addition, for each local adapter  get_ci_status  displays
     the  SBus  slot#  it is attached to, the host part of its IP
     address and whether the adapter is functional.

OPTIONS
     -l    Displays the local SCI adapter status only.

     no option
          Displays the local SCI adapter status and global  clus-
          ter   status.    When  displaying  the  global  status,
          get_ci_status reports whether the remote adapter can be
          reached  at  the hardware level (via SCI_PROBES) and/or
          at the software session level (via SMA sessions).

     The SCI Probe reachability is indicated by active  or  inac-
     tive keywords following the status for the remote adapter in
     question. The software SMA session reachability is indicated
     by  operational  or inoperational keywords.  For example, an
     output of the following form -

      sma: sci #0: sbus_slot# 1; adapter_id 8 (0x08);  ip_address
     1;  switch_id#  0;  port_id#  0;  Adapter  Status - UP; Link
     Status - UP
      sma: sci #1: sbus_slot# 2; adapter_id 12 (0x0c); ip_address
     17;  switch_id#  1;  port_id#  0;  Adapter Status - UP; Link
     Status - UP
      sma: Switch_id# 0
      sma: port_id# 1: host_name = interconn2; adapter_id  =  72;
     active | operational
      sma: port_id# 2: host_name = interconn3; adapter_id =  136;
     active | operational
      sma: port_id# 3: host_name = interconn4; adapter_id =  200;
     active | operational
      sma: Switch_id# 1
      sma: port_id# 1: host_name = interconn2; adapter_id  =  76;
     active | inoperational
      sma: port_id# 2: host_name = interconn3; adapter_id =  140;
     inactive | operational
      sma: port_id# 3: host_name = interconn4; adapter_id =  204;
     inactive | inoperational

     indicates that there are 2 local adapters (adapter_id 8  and
     12),  both  of  which  are  functioning OK (keyword UP) with
     respect to SCI Probes  to  themselves.   In  case,  a  local
     adapter  is  unable  to  complete  a successful SCI Probe to
     itself, the status of that local adapter is shown as DOWN.

     The global status is shown in the set  of  lines  associated
     with a switch.  The status of the communication channel from
     the local adapter  (adapter_id  8)  to  remote  adapters  on
     interconn2,  interconn3  and interconn4 via the first switch
     (Switch_id# 0) is - SCI Probe status OK (keyword active) and
     SMA sessions functional (keyword operational).

     However, the status of the communication channels  from  the
     local  adapter  (adapter_id  12)  to remote adapters via the
     second switch (Switch_id #1) have the following problems -
       1. Adapter_id  76  =>  SCI  Probes  -  reachable  (keyword
     active)  and SMA session - not established (keyword inopera-
     tional)
       2. Adapter_id 140 => SCI  Probes  -  unreachable  (keyword
     inactive)  and  SMA  session - established (keyword inopera-
     tional).  This is a brief transitionary stage.
       3. Adapter_id 204 => SCI  Probes  -  unreachable  (keyword
     inactive)  and  SMA  session - not established (keyword ino-
     perational)

USAGE
     get_ci_status can be run from the command line by any  user.
     However,  it  can  only  be run after the adapter cards have
     been initialized using sm_config(1M).  This ensures that all
     the  adapter  node-ids have been properly programmed and the
     configuration file /etc/sma.config exists.

FILES
     /opt/SUNWsma/bin/get_ci_status
     /etc/sma.config

SEE ALSO
     sm_config(1M),

DIAGNOSTICS
     get_ci_status prints error and warning messages to stderr.

SunOS 5.5.1        Last change: 30 March 1997