Find Node Information

How to use the rtr command to view node specific information.

Translate Between Physical ID Names and Integer NIDs

To translate between physical ID names (cnames) and integer NIDs, generate a system map on the System Management Workstation (SMW) and filter the output, enter the following command:
crayadm@smw> rtr --system-map | grep cname | awk '{ print $1 }'

For more information, see the rtr(8) man page.

Find Node Information Using the xtnid2str Command

The xtnid2str command converts numeric node identification values to their physical names (cnames). This allows conversion of Node ID values, ASIC NIC address values, or ASIC ID values.

For additional information, see the xtnid2str(8) man page.

Find the physical ID for node 38

smw# xtnid2str 28
node id 0x26 = 'c0-0c0s1n2'

Find the physical ID for nodes 0, 1, 2, and 3

smw# xtnid2str 0 1 2 3
node id 0x0 = 'c0-0c0s0n0'
node id 0x1 = 'c0-0c0s0n1'
node id 0x2 = 'c0-0c0s1n0'
node id 0x3 = 'c0-0c0s1n1'

Find the physical IDs for Aries IDs 0-7

smw# xtnid2str -a 0-7
aries id 0x0 = 'c0-0c0s0a0'
aries id 0x1 = 'c0-0c0s1a0'
aries id 0x2 = 'c0-0c0s2a0'
aries id 0x3 = 'c0-0c0s3a0'
aries id 0x4 = 'c0-0c0s4a0'
aries id 0x5 = 'c0-0c0s5a0'
aries id 0x6 = 'c0-0c0s6a0'
aries id 0x7 = 'c0-0c0s7a0'

Find Node Information Using the nid2nic Command

The nid2nic command prints the nid-to-nic address mappings, nic-to-nid address mappings, and a specific physical_location-to-nic address and nid mappings.

For information about using the nid2nic command, see the nid2nic(8) man page.

Print the nid-to-nic address mappings for the node with NID 31

smw# nid2nic 31
NID:0x1f        NIC:0x21        c0-0c0s7n3

Print the nid-to-nic address mappings for the node with NID 31, but specify the NIC value in the command line

smw# nid2nic -n 0x21
NIC:0x21        NID:0x1f        c0-0c0s7n3