Document revision date: 19 July 1999
|
|
|
|
Guidelines for OpenVMS Cluster Configurations
A.7.5.1 Arbitration Issues in Multiple-Disk Environments
When the bus is not very busy, and bus contention is uncommon, the
simple arbitration scheme is adequate to perform I/O requests for all
devices on the system. However, as initiators make more and more
frequent I/O requests, contention for the bus becomes more and more
common. Consequently, targets with lower ID numbers begin to perform
poorly, because they are frequently blocked from completing their I/O
requests by other users of the bus (in particular, targets with the
highest ID numbers). If the bus is sufficiently busy, low-numbered
targets may never complete their requests. This situation is most
likely to occur on systems with more than one initiator because more
commands can be outstanding at the same time.
The OpenVMS system attempts to prevent low-numbered targets from being
completely blocked by monitoring the amount of time an I/O request
takes. If the request is not completed within a certain period, the
OpenVMS system stops sending new requests until the tardy I/Os
complete. While this algorithm does not ensure that all targets get
equal access to the bus, it does prevent low-numbered targets from
being totally blocked.
A.7.5.2 Solutions for Resolving Arbitration Problems
If you find that some of your disks are not being serviced quickly
enough during periods of heavy I/O, try some or all of the following,
as appropriate for your site:
- Obtain the DWZZH--05 SCSI hub and enable its fair arbitration
feature.
- Assign the highest ID numbers to those disks that require the
fastest response time.
- Spread disks across more SCSI buses.
- Keep disks that need to be accessed only by a single host (for
example, page and swap disks) on a nonshared SCSI bus.
Another method that might provide for more equal servicing of lower and
higher ID disks is to set the host IDs to the lowest numbers (0 and 1)
rather than the highest. When you use this method, the host cannot gain
control of the bus to send new commands as long as any disk, including
those with the lowest IDs, need the bus. Although this option is
available to improve fairness under some circumstances, this
configuration is less desirable in most instances, for the following
reasons:
- It can result in lower total throughput.
- It can result in timeout conditions if a command cannot be sent
within a few seconds.
- It can cause physical configuration difficulties. For example,
StorageWorks shelves such as the BA350 have no slot to hold a disk with
ID 7, but they do have a slot for a disk with ID 0. If you change the
host to ID 0, you must remove a disk from slot 0 in the BA350, but you
cannot move the disk to ID 7. If you have two hosts with IDs 0 and 1,
you cannot use slot 0 or 1 in the BA350. (Note, however, that you
can have a disk with ID 7 in a BA353.)
A.7.5.3 Arbitration and Bus Isolators
Any active device, such as a DWZZx, that connects bus segments
introduces small delays as signals pass through the device from one
segment to another. Under some circumstances, these delays can be
another cause of unfair arbitration. For example, consider the
following configuration, which could result in disk servicing problems
(starvation) under heavy work loads:
Although disk 5 has the highest ID number, there are some circumstances
under which disk 5 has the lowest access to the bus. This can occur
after one of the lower-numbered disks has gained control of the bus and
then completed the operation for which control of the bus was needed.
At this point, disk 5 does not recognize that the bus is free and might
wait before trying to arbitrate for control of the bus. As a result,
one of the lower-numbered disks, having become aware of the free bus
and then submitting a request for the bus, will gain control of the bus.
If you see this type of problem, the following suggestions can help you
reduce its severity:
- Try to place all disks on the same bus segment.
- If placing all disks on the same bus segment is not possible (for
example if you have both some RZ28 disks by themselves and an
HSZxx, try to use a configuration that has only one isolator
between any pair of disks.
- If your configuration requires two isolators between a pair of
disks (for example, to meet distance requirements), try to balance the
number of disks on each bus segment.
- Follow the suggestions in Section A.7.5.2 to reduce the total traffic
on the logical bus.
A.7.6 Removal and Insertion of SCSI Devices While the OpenVMS Cluster System is Operating
With proper procedures, certain SCSI devices can be removed from or
inserted onto an active SCSI bus without disrupting the ongoing
operation of the bus. This capability is referred to as hot
plugging. Hot plugging can allow a suitably configured OpenVMS
Cluster system to continue to run while a failed component is replaced.
Without hot plugging, it is necessary to make the SCSI bus inactive and
remove power from all the devices on the SCSI bus before any device is
removed from it or inserted onto it.
In a SCSI OpenVMS Cluster system, hot plugging requires that all
devices on the bus have certain electrical characteristics and be
configured appropriately on the SCSI bus. Successful hot plugging also
depends on strict adherence to the procedures described in this
section. These procedures ensure that the hot-plugged device is
inactive and that active bus signals are not disturbed.
Hot Plugging for SCSI
Buses Behind a Storage Controller
This section describes hot-plugging procedures for devices that are on
the same SCSI bus as the host that is running OpenVMS. The procedures
are different for SCSI buses that are behind a storage controller, such
as the HSZxx. Refer to the storage controller documentation
for the procedures to hot plug devices that they control.
|
A.7.6.1 Terminology for Describing Hot Plugging
The terms shown in bold in this section are used in the discussion of
hot plugging rules and procedures.
- A SCSI bus segment consists of two terminators,
the electrical path forming continuity between them, and possibly, some
attached stubs. Bus segments can be connected together by bus isolators
(for example, DWZZx), to form a logical SCSI
bus or just a SCSI bus.
- There are two types of connections on a segment: bussing
connections, which break the path between two terminators, and
stubbing connections, which disconnect all or part of
a stub.
- A device is active on the SCSI bus when it is
asserting one or more of the bus signals. A device is
inactive when it is not asserting any bus signals.
The segment attached to a bus isolator is inactive when all devices
on that segment, except possibly the bus isolator, are inactive.
- A port on a bus isolator has proper termination
when it is attached to a segment that is terminated at both ends and
has TERMPWR in compliance with SCSI--2 requirements.
A.7.6.2 Rules for Hot Plugging
Follow these rules when planning for and performing hot plugging:
A.7.6.3 Procedures for Ensuring That a Device or Segment is Inactive
Use the following procedures to ensure that a device or a segment is
inactive:
- To ensure that a disk is inactive:
- Dismount the disk on all members of the OpenVMS Cluster system.
- Ensure that any I/O that can occur to a dismounted disk is
stopped, for example:
- Disable the disk as a quorum disk.
- Allocate the disk (using the DCL command ALLOCATE) to block further
mount or initialization attempts.
- Disable console polling by all halted hosts on the logical SCSI bus
(by setting the console variable SCSI_POLL to OFF and entering the INIT
command).
- Ensure that no host on the logical SCSI bus is executing power-up
or initialization self-tests, booting, or configuring the SCSI bus
(using SYSMAN IO commands).
- To ensure that an HSZxx controller is inactive:
- Dismount all of the HSZxx virtual disks on all members of
the OpenVMS Cluster system.
- Shut down the controller, following the procedures in the HS
Family of Array Controllers User's Guide.
- Power down the HSZxx (optional).
- To ensure that a host adapter is inactive:
- Halt the system.
- Power down the system, or set the console variable SCSI_POLL to
OFF and then enter the INIT command on the halted system. This ensures
that the system will not poll or respond to polls.
- To ensure that a segment is inactive, follow the preceding
procedures for every device on the segment.
A.7.6.4 Procedure for Hot Plugging StorageWorks SBB Disks
To remove an SBB (storage building block) disk from an active SCSI bus,
use the following procedure:
- Use an ESD grounding strap that is attached either to a grounding
stud or to unpainted metal on one of the cabinets in the system. Refer
to the system installation procedures for guidance.
- Follow the procedure in Section A.7.6.3 to make the disk inactive.
- Squeeze the clips on the side of the SBB, and slide the disk out of
the StorageWorks shelf.
To plug an SBB disk into an active SCSI bus, use the following
procedure:
- Use an ESD grounding strap that is attached either to a grounding
stud or to unpainted metal on one of the cabinets in the system. Refer
to the system installation procedures for guidance.
- Ensure that the SCSI ID associated with the device (either by
jumpers or by the slot in the StorageWorks shelf) conforms to the
following:
- The SCSI ID is unique for the logical SCSI bus.
- The SCSI ID is already configured as a DK device on all of the
following:
- Any member of the OpenVMS Cluster system that already has that ID
configured
- Any OpenVMS processor on the same SCSI bus that is running the
MSCP server
- Slide the SBB into the StorageWorks shelf.
- Configure the disk on OpenVMS Cluster members, if required, using
SYSMAN IO commands.
A.7.6.5 Procedure for Hot Plugging HSZxx
To remove an HSZxx controller from an active SCSI bus:
- Use an ESD grounding strap that is attached either to a grounding
stud or to unpainted metal on one of the cabinets in the system. Refer
to the system installation procedures for guidance.
- Follow the procedure in Section A.7.6.3 to make the HSZxx
inactive.
- The HSZxx can be powered down, but it must remain plugged
in to the power distribution system to maintain grounding.
- Unscrew and remove the differential triconnector from the
HSZxx.
- Protect all exposed connector pins from ESD and from contacting any
electrical conductor while they are disconnected.
To plug an HSZxx controller into an active SCSI bus:
- Use an ESD grounding strap that is attached either to a grounding
stud or to unpainted metal on one of the cabinets in the system. Refer
to the system installation procedures for guidance. Also, ensure that
the ground offset voltages between the HSZxx and all
components that will be attached to it are within the limits specified
in Section A.7.8.
- Protect all exposed connector pins from ESD and from contacting any
electrical conductor while they are disconnected.
- Power up the HSZxx and ensure that the disk units
associated with the HSZxx conform to the following:
- The disk units are unique for the logical SCSI bus.
- The disk units are already configured as DK devices on the
following:
- Any member of the OpenVMS Cluster system that already has that ID
configured
- Any OpenVMS processor on the same SCSI bus that is running the MSCP
server
- Ensure that the HSZxx will make a legal stubbing
connection to the active segment. (The connection is legal when the
triconnector is attached directly to the HSZxx controller
module, with no intervening cable.)
- Attach the differential triconnector to the HSZxx, using
care to ensure that it is properly aligned. Tighten the screws.
- Configure the HSZxx virtual disks on OpenVMS Cluster
members, as required, using SYSMAN IO commands.
A.7.6.6 Procedure for Hot Plugging Host Adapters
To remove a host adapter from an active SCSI bus:
- Use an ESD grounding strap that is attached either to a grounding
stud or to unpainted metal on one of the cabinets in the system. Refer
to the system installation procedures for guidance.
- Verify that the connection to be broken is a stubbing connection.
If it is not, then do not perform the hot plugging procedure.
- Follow the procedure in Section A.7.6.3 to make the host adapter
inactive.
- The system can be powered down, but it must remain plugged in to
the power distribution system to maintain grounding.
- Remove the "Y" cable from the host adapter's single-ended
connector.
- Protect all exposed connector pins from ESD and from contacting any
electrical conductor while they are disconnected.
- Do not unplug the adapter from the host's internal bus
while the host remains powered up.
At this point, the adapter has
disconnected from the SCSI bus. To remove the adapter from the host,
first power down the host, then remove the adapter from the host's
internal bus.
To plug a host adapter into an active SCSI bus:
- Use an ESD grounding strap that is attached either to a grounding
stud or to unpainted metal on one of the cabinets in the system. Refer
to the system installation procedures for guidance. Also, ensure that
the ground offset voltages between the host and all components that
will be attached to it are within the limits specified in Section A.7.8.
- Protect all exposed connector pins from ESD and from contacting any
electrical conductor while they are disconnected.
- Ensure that the host adapter will make a legal stubbing connection
to the active segment (the stub length must be within allowed limits,
and the host adapter must not provide termination to the active
segment).
- Plug the adapter into the host (if it is unplugged).
- Plug the system into the power distribution system to ensure proper
grounding. Power up, if desired.
- Attach the "Y" cable to the host adapter, using care to
ensure that it is properly aligned.
A.7.6.7 Procedure for Hot Plugging DWZZx Controllers
Use the following procedure to remove a DWZZx from an active
SCSI bus:
- Use an ESD grounding strap that is attached either to a grounding
stud or to unpainted metal on one of the cabinets in the system. Refer
to the system installation procedures for guidance.
- Verify that the connection to be broken is a stubbing connection.
If it is not, then do not perform the hot plugging procedure.
- Do not power down the DWZZx. This can disrupt the
operation of the attached SCSI bus segments.
- Determine which SCSI bus segment will remain active after the
disconnection. Follow the procedure in Section A.7.6.3 to make the other
segment inactive.
When the DWZZx is removed from the
active segment, the inactive segment must remain inactive until the
DWZZx is also removed from the inactive segment, or until
proper termination is restored to the DWZZx port that was
disconnected from the active segment.
- The next step depends on the type of DWZZx and the segment
that is being hot plugged, as follows:
DWZZx Type |
Condition |
Action |
SBB
1
|
Single-ended segment will remain active.
|
Squeeze the clips on the side of the SBB, and slide the DWZZ
x out of the StorageWorks shelf.
|
SBB
1
|
Differential segment will remain active.
|
Unscrew and remove the differential triconnector from the DWZZ
x.
|
Table top
|
Single-ended segment will remain active.
|
Remove the "Y" cable from the DWZZ
x's single-ended connector.
|
Table top
|
Differential segment will remain active.
|
Unscrew and remove the differential triconnector from the DWZZ
x.
|
1SSB is the StorageWorks abbreviation for storage building
block.
- Protect all exposed connector pins from ESD and from contacting any
electrical conductor while they are disconnected.
To plug a DWZZx into an active SCSI bus:
- Use an ESD grounding strap that is attached either to a grounding
stud or to unpainted metal on one of the cabinets in the system. Refer
to the system installation procedures for guidance. Also, ensure that
the ground offset voltages between the DWZZx and all
components that will be attached to it are within the limits specified
in Section A.7.8.
- Protect all exposed connector pins from ESD and from contacting any
electrical conductor while they are disconnected.
- Ensure that the DWZZx will make a legal stubbing
connection to the active segment (the stub length must be within
allowed limits, and the DWZZx must not provide termination to
the active segment).
- The DWZZx must be powered up. The SCSI segment that is
being added must be attached and properly terminated. All devices on
this segment must be inactive.
- The next step depends on the type of DWZZx, and which
segment is being hot plugged, as follows:
DWZZx Type |
Condition |
Action |
SBB
1
|
Single-ended segment is being hot plugged.
|
Slide the DWZZ
x into the StorageWorks shelf.
|
SBB
1
|
Differential segment is being hot plugged.
|
Attach the differential triconnector to the DWZZ
x, using care to ensure that it is properly aligned. Tighten
the screws.
|
Table top
|
Single-ended segment is being hot plugged.
|
Attach the "Y" cable to the DWZZ
x, using care to ensure that it is properly aligned.
|
Table top
|
Differential segment is being hot plugged.
|
Attach the differential triconnector to the DWZZ
x, using care to ensure that it is properly aligned. Tighten
the screws.
|
1SSB is the StorageWorks abbreviation for storage building
block.
- If the newly attached segment has storage devices on it, then
configure them on OpenVMS Cluster members, if required, using SYSMAN IO
commands.
Note
1 Referring to this draft standard is
necessary because the SCSI--2 standard does not adequately specify the
requirements for hot plugging.
2 OpenVMS will eventually detect a
hung bus and reset it, but this problem may first temporarily disrupt
OpenVMS Cluster operations.
|