View and Change the Status of Nodes
Use the xtprocadmin command on a service node to view the status of components of a booted system in the processor table of the SDB. The command enables the system administrator to retrieve or set the processing mode (interactive or batch) of specified nodes. The administrator can display the state (up, down, admindown, route, or unavailable) of the selected components, if needed. The administrator can also allocate processor slots or set nodes to become unavailable at a particular time. The node is scheduled only if the status is up.
When the xtprocadmin
-ks option is used, then the option can either a normal argument (up, down, etc.), or it can have a colon in it to represent a conditional option; for example, the option of the form up:down means "if state was up, mark down".
For more information, see the xtprocadmin(8) man page.
View node characteristics
login# xtprocadmin
NID (HEX) NODENAME TYPE STATUS MODE
1 0x1 c0-0c0s0n1 service up batch
2 0x2 c0-0c0s0n2 service up batch
5 0x5 c0-0c0s1n1 service up batch
6 0x6 c0-0c0s1n2 service up batch
8 0x8 c0-0c0s2n0 compute up batch
9 0x9 c0-0c0s2n1 compute up batch
10 0xa c0-0c0s2n2 compute up batch
11 0xb c0-0c0s2n3 compute up batch
View all node attributes
login# xtprocadmin -A
NID (HEX) NODENAME TYPE ARCH OS CPUS CU AVAILMEM PAGESZ CLOCKMHZ GPU SOCKETS DIES C/CU LABEL0 LABEL1 LABEL2 LABEL3
1 0x1 c0-0c0s0n1 service xt (service) 16 8 32768 4096 2600 0 1 1 2
2 0x2 c0-0c0s0n2 service xt (service) 16 8 32768 4096 2600 0 1 1 2
5 0x5 c0-0c0s1n1 service xt (service) 16 8 32768 4096 2600 0 1 1 2
6 0x6 c0-0c0s1n2 service xt (service) 16 8 32768 4096 2600 0 1 1 2
8 0x8 c0-0c0s2n0 compute xt CNL 32 16 65536 4096 2600 0 2 2 2
9 0x9 c0-0c0s2n1 compute xt CNL 32 16 65536 4096 2600 0 2 2 2
10 0xa c0-0c0s2n2 compute xt CNL 32 16 65536 4096 2600 0 2 2 2
View selected attributes of selected nodes
For this example, the -a option lists the selected attributes to display:
login# xtprocadmin -n 8 -a arch,clockmhz,os,cores
NID (HEX) NODENAME TYPE ARCH CLOCKMHZ OS CPUS
8 0x8 c0-0c0s2n0 compute xt 2600 CNL 32
Disable a node
For this example, the admindown option disables node c0-0c0s3n1 such that it cannot be allocated:
crayadm@nid00004> xtprocadmin -n c0-0c0s3n1 -k s admindown
Disable all processors
crayadm@nid00004> xtprocadmin -k s admindown