Configure a Logical Machine

About the xtcli part_cfg command.

The logical machine can have one of three states:

  • EMPTY - not configured
  • DISABLED - configured but not activated
  • ENABLED - configured and activated

    When a partition is defined, its state changes to DISABLED. Undefined partitions are EMPTY by default.

The xtcli part_cfg command

Use the xtcli part_cfg command with the part_cmd option (add in the following example) to identify the operation to be performed and the part_option (-m, -b, -d and -i) to specify the characteristics of the logical machine. The boot image may be a raw device, such as /raw0, or a file.

Create a logical machine with a boot node and SDB node specifying the boot image path

  • When using a file for the boot image, the same file must be on both the SMW and the bootroot at the same path.
  • For the logical machine to be bootable, both the boot node and SDB node IDs must be specified.
crayadm@smw> xtcli part_cfg add p2 -m c0-0,c0-1,c0-2,c0-3 \
-b c0-0c0s0n0 -d c0-0c0s2n1 -i /bootimagedir/bootimage

To watch HSS events on the specified partition, execute the xtconsumer -p partition_name command.

To display the console text of the specified partition, execute the xtconsole -p partition_name command.

For more information, see the xtcli_part(8), xtconsole(8), and xtconsumer(8) man pages.