다음을 통해 공유


MSiSCSI_HBASessionConfig WMI 클래스

관리 애플리케이션은 MSiSCSI_HBASessionConfig WMI 클래스를 사용하여 스토리지 미니포트 드라이버의 특정 instance 대상 디바이스로 로그온 세션을 설정하는 데 사용하는 기본 구성 옵션을 검색하고 설정할 수 있습니다.

이 클래스는 스토리지 미니포트 드라이버의 특정 instance 연결되므로 미니포트 드라이버는 미니포트 드라이버가 관리하는 특정 PDO(물리적 디바이스 개체)의 이름을 사용하여 클래스를 등록해야 합니다.

MSiSCSI_HBASessionConfig 클래스는 Mgmt.mof에서 다음과 같이 정의됩니다.

class MSiSCSI_HBASessionConfig {
  [key] string  InstanceName;
  boolean  Active;
  [WmiDataId(1), read, write, Description(" The InitialR2T
    key is used to turn off the default use of R2T, thus
    allowing an initiator to start sending data to a target
    as if it has received an initial R2T with Buffer
    Offset=0 and Desired Data Transfer Length=min
    (FirstBurstSize, Expected Data Transfer Length).") :
    amended] 
    boolean  InitialR2T;
  [WmiDataId(2), read, write, Description("The initiator and
    target negotiate support for immediate data. To turn
    immediate data off, the initiator or target must state
    its desire to do so.  ImmediateData can be turned on if
    both the initiator and target have ImmediateData=Yes.")
    : amended]
    boolean  ImmediateData;
  [WmiDataId(3), read, write, Description("Maximum data
    segment length in bytes they can receive in an iSCSI
    PDU.") : amended] 
    uint32  MaxRecvDataSegmentLength;
  [WmiDataId(4), read, write, Description("Maximum SCSI data
    payload in bytes in an Data-In or a solicited Data-Out
    iSCSI sequence.") : amended]
    uint32  MaxBurstLength;
  [WmiDataId(5), read, write, Description("maximum amount in
    bytes of unsolicited data an iSCSI initiator may send to
    the target, during the execution of a single SCSI
    command. This covers the immediate data (if any) and the
    sequence of unsolicited Data-Out PDUs (if any) that
    follow the command.") : amended]
    uint32  FirstBurstLength;
  [WmiDataId(6), read, write, Description("Initiator and
    target negotiate the maximum number of outstanding R2Ts
    per task, excluding any implied initial R2T that might
    be part of that task.  An R2T is considered outstanding
    until the last data PDU (with the F bit set to 1) is
    transferred, or a sequence reception timeout (section
    6.12.1) is encountered for that data sequence.") :
    amended]
    uint32  MaxOutstandingR2T;
};

WMI 도구 모음이 이전 클래스 정의를 컴파일하면 MSiSCSI_HBASessionConfig 데이터 구조가 생성됩니다.