Diablo: ULLtraDIMM - CLI Managing Device Groups

From Define Wiki
Revision as of 16:45, 23 May 2014 by Jon (talk | contribs)
Jump to navigation Jump to search

Managing Device Groups

Device groups are used to ensure that devices are attached to specific CPUs.

For information about listing device groups and viewing the status of device groups, see: CLI Display Device Information.

This section describes the commands that are used to manage device groups:

  • add
  • update
  • delete

The device group name is a unique identifier for the group. You can use the characters a through z, the numbers 0 through 9, as well as special characters for the group name. There is a character limit of 16; additional characters will be truncated.

Add device group

The add parameter of the device-group command is used to create a device group. You can set the CPU affiliation as required.

[root@mcs ~]# td-cli device-group --add td-cpu-01 01

To verify that the group has been created, use the status parameter of the device-group command:

[root@mcs ~]# td-cli device-group td-cpu-01 --status
Device Group Name:    td-cpu-01
CPU:                  1
Devices:              None

Update device group

The update parameter of the device-group command is used to assign a different name and/or CPU affinity to a device group.

[root@mcs ~]# td-cli device-group td-cpu-01 --update --name td-cpu-02 --cpu 02
 
Group Setting  Current Group Configuration  New Group Configuration
=============  ===========================  =======================
Name:                         td-cpu-01                   td-cpu-02 
CPU:                                     1                        2