Document revision date: 19 July 1999
[Compaq] [Go to the documentation home page] [How to order documentation] [Help on this site] [How to contact us]
[OpenVMS documentation]

Guidelines for OpenVMS Cluster Configurations


Previous Contents Index

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:

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:

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:

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.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:

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:

  1. 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.
  2. Follow the procedure in Section A.7.6.3 to make the disk inactive.
  3. 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:

  1. 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.
  2. Ensure that the SCSI ID associated with the device (either by jumpers or by the slot in the StorageWorks shelf) conforms to the following:
  3. Slide the SBB into the StorageWorks shelf.
  4. 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:

  1. 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.
  2. Follow the procedure in Section A.7.6.3 to make the HSZxx inactive.
  3. The HSZxx can be powered down, but it must remain plugged in to the power distribution system to maintain grounding.
  4. Unscrew and remove the differential triconnector from the HSZxx.
  5. 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:

  1. 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.
  2. Protect all exposed connector pins from ESD and from contacting any electrical conductor while they are disconnected.
  3. Power up the HSZxx and ensure that the disk units associated with the HSZxx conform to the following:
  4. 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.)
  5. Attach the differential triconnector to the HSZxx, using care to ensure that it is properly aligned. Tighten the screws.
  6. 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:

  1. 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.
  2. Verify that the connection to be broken is a stubbing connection. If it is not, then do not perform the hot plugging procedure.
  3. Follow the procedure in Section A.7.6.3 to make the host adapter inactive.
  4. The system can be powered down, but it must remain plugged in to the power distribution system to maintain grounding.
  5. Remove the "Y" cable from the host adapter's single-ended connector.
  6. Protect all exposed connector pins from ESD and from contacting any electrical conductor while they are disconnected.
  7. 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:

  1. 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.
  2. Protect all exposed connector pins from ESD and from contacting any electrical conductor while they are disconnected.
  3. 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).
  4. Plug the adapter into the host (if it is unplugged).
  5. Plug the system into the power distribution system to ensure proper grounding. Power up, if desired.
  6. 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:

  1. 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.
  2. Verify that the connection to be broken is a stubbing connection. If it is not, then do not perform the hot plugging procedure.
  3. Do not power down the DWZZx. This can disrupt the operation of the attached SCSI bus segments.
  4. 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.
  5. 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.

  6. 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:

  1. 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.
  2. Protect all exposed connector pins from ESD and from contacting any electrical conductor while they are disconnected.
  3. 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).
  4. 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.
  5. 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.

  6. 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.


Previous Next Contents Index

  [Go to the documentation home page] [How to order documentation] [Help on this site] [How to contact us]  
  privacy and legal statement  
6318PRO_021.HTML