Table of Contents Index NMS Glossary Previous Page Next Page Version


Chapter 2

Setting Up the Chassis


2.1 Introduction
2.2 Hot Swap Overview
2.2.1 Hot Swap EMC
2.2.2 Hot Swap Platform Requirements
2.3 Setting Up Hot Swap
2.3.1 Making Sure a Chassis Supports Hot Swap
2.3.2 Setting Up Your Chassis for Hot Swap
PCI Bus Segments and Space Windows
Using Leftover Allocated Space
2.4 Determining Bus and Slot Locations
2.5 Configuring the H.100 or H.110 Bus Clock
2.5.1 Clock Management EMC

2.1 IntroductionTop of Page

This chapter provides a general description of how to set up your system so that:

For specifics on configuring a particular board type, refer to the board's documentation.

2.2 Hot Swap OverviewTop of Page

Hot Swap functionality is an integral part of OAM. Hot Swap is designed for use with CompactPCI Hot Swap-compliant boards. These boards contain a switch built into the ejector handle and a front panel Hot Swap LED. Upon insertion, the switch signals that the board is fully seated (with the handle closed) and that software connection can be initiated. Upon extraction, the switch signals that the operator is beginning to extract the board and that software disconnection should be initiated.

When lit, the Hot Swap LED informs the operator that software disconnection is complete and extraction is permitted. The operator can open the handle the rest of the way, ejecting the board.

The PCI interface for NMS Hot Swap-compatible CompactPCI boards includes the Hot Swap Control/ Status Register (HS_CSR). The PCI interface is responsible for management of the ejector handle switches and the Hot Swap LED. This interface also supports control of the hardware connection process for a High Availability system.

Figure 6 shows the ejector handles and Hot Swap LED on a CompactPCI AG Quad board.


chap21.gif

Figure 6. CompactPCI AG Quad Board

2.2.1 Hot Swap EMCTop of Page

Hot Swap is implemented as an extended management component (EMC). The OAM Hot Swap EMC can be configured to:

The Hot Swap EMC communicates with the Hot Swap Manager and driver to perform Hot Swap operations. The Hot Swap Manager and driver must be started in order for Hot Swap operations to work. To learn how to start these components, refer to Chapter 4.

Note: Hot Swap is supported only with CompactPCI boards. Some CompactPCI boards do not support Hot Swap. To determine if a board model supports Hot Swap, refer to the documentation for the board. Note that removing a non-Hot Swap-compatible board while the system is running may cause serious damage to the board and to the system.

2.2.2 Hot Swap Platform RequirementsTop of Page

Hot Swap development requires an Intel or SPARC CompactPCI-compliant platform that conforms to the following specifications:

2.3 Setting Up Hot SwapTop of Page

The following sections describe how to determine if a chassis supports Hot Swap, and make sure that adequate address space is configured for the boards.

2.3.1 Making Sure a Chassis Supports Hot SwapTop of Page

To determine if a chassis is compatible with Hot Swap, run the biostest utility, as follows:

  1. Start biostest by entering: biostest

    
    
  2. Verify that the next line in the display is:

    
    THIS SYSTEM IS HOT SWAP COMPATIBLE
For more details on biostest, see Chapter 8.

2.3.2 Setting Up Your Chassis for Hot SwapTop of Page

In order to allow hot-swapping of boards in your CompactPCI system, adequate address space must be preconfigured. To maximize the number of slots available for hot-swapping, you should:

This section describes how space is allocated for hot-swapping.

PCI Bus Segments and Space WindowsTop of Page

The PCI architecture allows a system to include a tree of PCI buses. Most CompactPCI systems have at least two PCI bus segments: one on the processor board and one (or more) dedicated to CompactPCI slots. There is at least one bus segment per 8 CompactPCI slots. These buses are connected by PCI-to-PCI bridges. (See Figure 7.)
chap23.gif

Figure 7. PCI Bus Slots and Segments


Each device requires a certain amount of address space on the bridges. At boot time, the system BIOS configures address space "windows" on each bridge to define the range of addresses (that is, the bus number or memory address) that are allocated behind that bridge. (See Figure 8.)
chap22.gif

Figure 8. Segments and Allocated Address Space on Bridge


Boards can only be hot-inserted into slots for which memory has been preallocated. Memory is usually allocated as follows:

Thus to maximize the number of slots available for hot-swapping, you should have all slots populated at boot time; or have no slots populated at boot time.

Using Leftover Allocated SpaceTop of Page

Usually, each address space window cannot be less than 1 MB in size. If allocations to boards behind the bridge do not add up to an integral number of megabytes, some fraction of a megabyte will be available in the window and unallocated. This unallocated space is then available for insertion of additional boards whose address space requirements are small enough. For example, if a board requires two 128K memory regions, and a CompactPCI bus segment contains only one of these boards at boot time, hot-insertion of up to 3 additional boards into that segment can be accommodated (see Figure 9).


chap24.gif

Figure 9. Bus with 256K Board Inserted


However, if an 8-slot segment has 4 slots occupied at boot time with the boards, no more boards can be hot-inserted into that segment, because 4 boards occupy exactly one megabyte of address space. (See Figure 10.)
chap25.gif

Figure 10. Bus with Four 256K Boards Inserted


Some boards (such as the CG 6000C board) have an address space requirement of two 1 MB memory regions. Since this requirement exactly matches the 1 MB granularity, you cannot add more of these boards than were present at start-up without rebooting. (See Figure 11.)
chap20.gif

Figure 11. Bus with CG 6000C Board Inserted


The biostest utility (described in Chapter 8) reports on each PCI-to-PCI bridge in a system and its memory window assignment (if any).

2.4 Determining Bus and Slot LocationsTop of Page

The utility pciscan displays the logical CompactPCI or PCI bus and slot information for each NMS board installed in the system. To determine the bus and slot numbers for each board:

  1. Insert a CompactPCI board into an unidentified slot.

    
    
  2. Run pciscan by entering: pciscan

    
    The pciscan output will be similar to the following:
    Bus Slot NMS ID
    --- ---- ------
    2 11 0x50d AG CPCI Quad T1
    2 13 0x6000 CG 6000
    2 14 0
    --- ---- -- ----------------
    There were 3 NMS PCI board(s) detected
  3. Record the CompactPCI bus and slot numbers.

    
    
  4. Repeat steps 1 to 3 for each bus slot.

pciscan may also be used to flash an LED on a specific board. See Chapter 8 for complete details on pciscan.

A chart like the following is useful when mapping out the CompactPCI chassis:
chap26.gif

Figure 12. CompactPCI Chassis Mapping

2.5 Configuring the H.100 or H.110 Bus ClockTop of Page

If your boards are connected to each other on the H.100 or H.110 bus, a bus clock must be set up to synchronize communications between the boards connected to the bus. In addition, to provide redundant and fault-tolerant clocking between devices on the bus, alternative (fallback) clock sources can be configured to provide the clock signal if the primary source fails.

To configure the bus clock for your system:

To configure a board, modify the clocking keywords in the board's managed object. For a general introduction to clocking, see Appendix A. For specifics on setting up clocking for your boards, refer to your board documentation.

2.5.1 Clock Management EMCTop of Page

The OAM service provides H.100 and H.110 bus clock management services to boards in a chassis that are connected through the bus. This functionality is provided in the Clock Management EMC.

When the boards are started, the Clock Management EMC:



Table of Contents Index NMS Glossary Previous Page Next Page Version


Want to send us feedback on our documentation? Email: Tech_Pubs@nmss.com
Copyright © 2000, Natural MicroSystems, Inc. All rights reserved.