NRG_INFO view
The NRG_INFO view returns one row for each Network Redundancy Group (NRG).
Authorization: The privileges held by the authorization ID of the statement must include the following:
- *EXECUTE authority on the QSYS2 library.
- *OBJOPR and *READ authority on QSYS2/NRG_INFO.
- For the authority needed to use this view, see Authorization.
The following table describes the columns in the view. The system name is NRG_INFO. The schema is QSYS2.
Column Name | System Column Name | Data Type | Description |
---|---|---|---|
NRG_NAME | NRG_NAME | VARCHAR(15) | NRG name.
|
NRG_STATE | STATE | VARCHAR(8) | NRG state.
|
LINK_COUNT | LINK_COUNT | INTEGER | The number of links in the NRG. |
LOAD_BALANCE_LINK_COUNT | BAL_COUNT | INTEGER | Load balance link count. |
TEXT_DESCRIPTION | TEXT | VARCHAR(50) Nullable
|
NRG description. Contains the null value if there is no description for this NRG. |
ACTIVE_LINK_COUNT | ACT_COUNT | INTEGER | The number of active links in the NRG. |
CONNECTIONS | CON_COUNT | BIGINT | The number of active connections for all links associated with the NRG. |
LINK_FAILURES | FAIL_COUNT | BIGINT | The cumulative number of link failures since the NRG was created. |
OUTBOUND_RDMA_COUNT | OUT_COUNT | BIGINT | Outbound RDMA count since the NRG was created. |
OUTBOUND_RDMA_BYTES | OUT_BYTES | BIGINT | Outbound RDMA bytes since the NRG was created. |
OUTBOUND_RDMA_USER_COUNT | OUT_USERC | BIGINT | Outbound user RDMA count since the NRG was created. |
OUTBOUND_RDMA_USER_BYTES | OUT_USERB | BIGINT | Outbound user RDMA bytes since the NRG was created. |
OUTBOUND_MESSAGES | OUT_MSG | BIGINT | Outbound message count since the NRG was created. |
INBOUND_RDMA_COUNT | IN_COUNT | BIGINT | Inbound RDMA count since the NRG was created. |
INBOUND_RDMA_BYTES | IN_BYTES | BIGINT | Inbound RDMA bytes since the NRG was created. |
INBOUND_RDMA_USER_COUNT | IN_USERC | BIGINT | Inbound user RDMA count since the NRG was created. |
INBOUND_RDMA_USER_BYTES | IN_USERB | BIGINT | Inbound user RDMA bytes since the NRG was created. |
INBOUND_MESSAGES | IN_MSG | BIGINT | Inbound message count since the NRG was created. |
Example
- Show all the Network Redundancy Groups that have active
links.
SELECT * FROM QSYS2.NRG_INFO WHERE ACTIVE_LINK_COUNT > 0;