12-Network Management and Monitoring Configuration Guide

HomeSupportRoutersH3C SR8800 Router SeriesConfigure & DeployConfiguration GuidesH3C SR8800 Configuration Guide-Release3347-6W10312-Network Management and Monitoring Configuration Guide
05-IPC Configuration
Title Size Download
05-IPC Configuration 97.69 KB

Configuring IPC

IPC overview

Inter-Process Communication (IPC) is a reliable communication mechanism among different nodes. The following are the basic concepts in IPC.

Node

An IPC node is an independent IPC-capable processing unit, typically, a CPU.

·           Typically a router is available with multiple boards, each having one CPU, and some boards are available with multiple CPUs. Some routers may be available with multiple CPUs, for example service CPU and OAM CPU. Therefore, a router corresponds to multiple nodes.

·           An Intelligent Resilient Framework (IRF) virtual device is an interconnection of several centralized routers, with each member router corresponding to one or more nodes. Therefore, an IRF virtual device corresponds to multiple nodes.

Therefore, in actual application, IPC provides a reliable transmission mechanism between different routers and boards.

Link

An IPC link is a connection between any two IPC nodes. There is one and only one link between any two nodes for sending and receiving packets. All IPC nodes are fully connected.

IPC links are created when the system is initialized. An IPC node, upon startup, sends handshake packets to other nodes. If the handshake succeeds, a connection is established.

The system uses link status to identify the link connectivity between two nodes. An IPC node can have multiple links, each having its own status.

Channel

A channel is a communication interface for an upper layer application module of a node to communicate with an application module of a peer node. Each node assigns a locally unique channel number to each upper layer application module for identification.

Data of an upper layer application module is sent to the IPC module through a channel, and the IPC module sends the data to a peer node through the link. The relationship between a node, link and channel is as shown in Figure 1.

Figure 1 Relationship between a node, link and channel

 

Packet sending modes

IPC supports three packet sending modes: unicast, multicast (including broadcast, a special multicast), and mixcast, each having a corresponding queue. The upper layer application modules can select one as needed.

·           Unicast—One node sends packets to another node.

·           Multicast—One node sends packets to multiple nodes. To use multicast mode, an application module must create a multicast group that includes a set of nodes. Multicasts destined for this group are sent to all the nodes in the group. An application module can create multiple multicast groups. Creation and deletion of a multicast group and multicast group members depend on the application module.

·           Mixcast—Supports both unicast and multicast.

Enabling IPC performance statistics

When IPC performance statistics is enabled, the system collects input and output statistics for a node in a specified time range (for example, in the last 10 seconds, or in the last 1 minute). When IPC performance statistics is disabled, statistics collection is stopped. If you execute the display command, the system displays the statistics at the time when IPC performance statistics was disabled.

To enable IPC performance statistics:

 

Task

Command

Remarks

Enable IPC performance statistics in user view.

ipc performance enable { node node-id | self-node } [ channel channel-id ]

By default, the function is disabled.

 

Displaying and maintaining IPC

 

Task

Command

Remarks

Display IPC node information.

display ipc node [ | { begin | exclude | include } regular-expression ]

Available in any view

Display channel information for a node.

display ipc channel { node node-id | self-node } [ | { begin | exclude | include } regular-expression ]

Available in any view

Display queue information for a node.

display ipc queue { node node-id | self-node } [ | { begin | exclude | include } regular-expression ]

Available in any view

Display multicast group information for a node.

display ipc multicast-group { node node-id | self-node } [ | { begin | exclude | include } regular-expression ]

Available in any view

Display packet information for a node.

display ipc packet { node node-id | self-node } [ | { begin | exclude | include } regular-expression ]

Available in any view

Display link status information for a node.

display ipc link { node node-id | self-node } [ | { begin | exclude | include } regular-expression ]

Available in any view

Display IPC performance statistics of a node.

display ipc performance { node node-id | self-node } [ channel channel-id ] [ | { begin | exclude | include } regular-expression ]

Available in any view

Clear IPC performance statistics of a node.

reset ipc performance [ node node-id | self-node ] [ channel channel-id ]

Available in user view

 

  • Cloud & AI
  • InterConnect
  • Intelligent Computing
  • Security
  • SMB Products
  • Intelligent Terminal Products
  • Product Support Services
  • Technical Service Solutions
All Services
  • Resource Center
  • Policy
  • Online Help
All Support
  • Become a Partner
  • Partner Resources
  • Partner Business Management
All Partners
  • Profile
  • News & Events
  • Online Exhibition Center
  • Contact Us
All About Us
新华三官网