baydata command

This command allows a user to set, assign, and display informational data assigned to the compute node bays.

Note: The data accessed by the baydata command belongs to the to the compute node bay and not to the device installed in the bay, so it is possible to direct the baydata command to a compute node bay that has no devices installed in it.

If command syntax is not correctly entered, or if a command fails to run, an error message is returned. See Common errors for a list of error messages that apply to all commands or baydata command errors for a list of error messages that are specific to the baydata command.

Table 1. baydata command.

The command table is a multi-row, four-column table where each row describes a CMM CLI command option: column one lists command function, column two provides a detailed command description, column three shows command-option syntax, and column four lists valid command targets.

Function What it does Command Target (see paths in Command targets)
Display bay data for all compute nodes Displays compute node bay data for bay number, bay data status, and defined bay data for all bays. baydata
Lenovo Flex System chassis:
  • system
Display compute node bay data for a specific bay Displays the information assigned to the specified node bay.
Note: You must direct the baydata command to the correct compute node target, based on your specific system configuration. See the information about the -b bay_num argument in the Command column for instructions.
baydata -b bay_num
where bay_num :
  • identifies the chassis compute node bay number, if the compute node is installed directly in the chassis (system:blade[x]). For example, a compute node in chassis compute node bay 1 would be identified as baydata -b 1.
  • identifies both the chassis compute node bay number and the blade group subslot number, separated by a colon (:), if the compute node is part of a blade group (system:bladegroup[x]: blade[y]). For example, a compute node in subslot 2 of a blade group in chassis compute node bay 1 would be identified as baydata -b 1:2.

The bay number must be within the scope assigned to the user. Valid subslot numbers are 1 and 2.

This command can only be run by users who have one or more of the following command authorities:
  • Supervisor
  • Blade configuration
See Commands and user authority for additional information.
Lenovo Flex System chassis:
  • system
Clear bay data Clears the node bay definition strings for all compute nodes bays within the user's scope. baydata -clear

The bay numbers must be within the scope assigned to the user.

This command can only be run by users who have one or more of the following command authorities:
  • Supervisor
  • Blade configuration
See Commands and user authority for additional information.
Lenovo Flex System chassis:
  • system
Clear bay data for specific bay Clears the node bay definition strings for the specified node bay.
Note: You must direct the baydata command to the correct compute node target, based on your specific system configuration. See the information about the -b bay_num argument in the Command column for instructions.
baydata -b bay_num -clear
where bay_num :
  • identifies the chassis compute node bay number, if the compute node is installed directly in the chassis (system:blade[x]). For example, a compute node in chassis compute node bay 1 would be identified as baydata -b 1.
  • identifies both the chassis compute node bay number and the blade group subslot number, separated by a colon (:), if the compute node is part of a blade group (system:bladegroup[x]: blade[y]). For example, a compute node in subslot 2 of a blade group in chassis compute node bay 1 would be identified as baydata -b 1:2.

The bay number must be within the scope assigned to the user. Valid subslot numbers are 1 and 2.

This command can only be run by users who have one or more of the following command authorities:
  • Supervisor
  • Blade configuration
See Commands and user authority for additional information.
Lenovo Flex System chassis:
  • system
Set bay data Sets node bay data for all compute nodes within the user's scope. This information can include: data about drivers or software, the Lenovo Flex System chassis shelf number and IP address, and whether the compute node is a master or member in a high-availability system.
Note: To apply changes to the BIOS/SMBIOS structure, power-off and power-on the compute node, restart the compute node, or remove and reinstall the compute node.
baydata -data "data_definition"

where "data definition" is the ASCII string of up to 60 characters enclosed in double quotation marks - "data definition". The quotation marks are not stored.

This command can only be run by users who have one or more of the following command authorities:
  • Supervisor
  • Blade configuration
See Commands and user authority for additional information.
Lenovo Flex System chassis:
  • system
Set node bay data definition for specific compute node Sets node bay data for the specified compute node.
Note:
  • To apply changes to the BIOS/SMBIOS structure, power-off and power-on the compute node, restart the compute node, or remove and reinstall the compute node.
  • You must direct the baydata command to the correct compute node target, based on your specific system configuration. See the information about the -b bay_num argument in the Command column for instructions.

If the command is issued to a specific bay, data is written to that compute node if it is in the user's scope.

baydata -b bay_num-data "data_definition"
where:
  • where "data definition" is the quote-delimited ASCII string of up to 60 characters
  • where bay_num :
    • identifies the chassis compute node bay number, if the compute node is installed directly in the chassis (system:blade[x]). For example, a compute node in chassis compute node bay 1 would be identified as baydata -b 1.
    • identifies both the chassis compute node bay number and the blade group subslot number, separated by a colon (:), if the compute node is part of a blade group (system: bladegroup[x]: blade[y]). For example, a compute node in subslot 2 of a blade group in chassis compute node bay 1 would be identified as baydata -b 1:2.

    The bay number must be within the scope assigned to the user. Valid subslot numbers are 1 and 2.

This command can only be run by users who have one or more of the following command authorities:
  • Supervisor
  • Blade configuration
See Commands and user authority for additional information.
Lenovo Flex System chassis:
  • system
Example: To view the bay data for all compute nodes, while the CMM is set as the persistend command environment, at the system> prompt, type
baydata

The following example shows the information that is returned from this command:

system> baydata
Bay   Status            Definition
1     No blade present  baydata1
1:1   No blade present
1:2   No blade present
2     No blade present
2:1   No blade present
2:2   No blade present
3     Unsupported
3:1   BSMP
3:2   BSMP
4     BSMP
4:1   No blade present  baydata 4:1
4:2   No blade present
5     Unsupported
5:1   No blade present
5:2   No blade present
6     No blade present
6:1   No blade present
6:2   No blade present
7     Unsupported
7:1   Unsupported
7:2   Unsupported
8     No blade present
8:1   No blade present
8:2   No blade present
9     No blade present
9:1   No blade present
9:2   No blade present
10    No blade present
10:1  No blade present
10:2  No blade present
11    Unsupported
11:1  Unsupported
11:2  Unsupported
12    No blade present
12:1  No blade present
12:2  No blade present
13    No blade present
13:1  No blade present
13:2  No blade present
14    No blade present
14:1  No blade present
14:2  No blade present
system>