Skip to main content

multivm commands

Use the multivm command to list, mount, or unmount the virtual media on multiple BMC.

multivm command syntax

Usage: OneCli.exe [misc] multivm mount <--configfile <arg>> [--id|-I <arg>]
[--path|-P <arg>] [--check-trust|-C]
[--never-check-trust|-N] [--quiet|-q]
[--writeprotected] [--unattended]
[--output|-o <arg>] [--nolog]
[--config <arg>] [--help|-h]
Table 1. multivm commands and syntax examples
CommandSyntax exampleDescription
list
OneCLI multivm list --bmc <bmc connection info>

List the virtual media status on BMC.

mount
OneCLI multivm mount --id <virtual media id> --path 
<httpfs or nfs url> --bmc <bmc connection info>

Mount virutal media on BMC by using ID.

umount
OneCLI multivm umount --id <virtual media id> --bmc 
<bmc connection info>

Unmount virutal media on BMC by using ID.

Table 2. multivm command specific parameters
ParameterRequired/OptionalNotes

--configfile

Required

Specify the configuration file for multiple task commands, the format is: Sample/muti_task_config.json.

--id, -I

Only required in the mount and umount commands.

Specify the virtual media ID, for example, RDOC1, EXT1, and Remote1.

For ThinkBMC, the virtual media ID is CD.

--path, -P

Only required in the mount and umount commands.
  • For the ThinkSystem servers, specify the URL of virtual media path, which supports NFS and HTTPFS.

    NFS URL address form:
    • nfs://ipaddress:/path/to/file

    • nfs://domain-name:/path/to/file

    HTTPFS URL address:

    • https://ipaddress[:port]/path/to/file

    • https://domain-name[:port]/path/to/file

  • For the ThinkSystem V4 servers and HR350M V3, support local virtual media(ISO or IMG).

  • For WenTian or ThinkSystem-Hyperscale servers, support NFS and CIFS in ThinkBMC.

    NFS form:
    • nfs://host[:port]/path/to/file

    CIFS form:
    • cifs://[username:password@]host[:port]/path/to/file

    HTTPS form (WenTian G3/G5 and ThinkSystem-Hyperscale):
    • https://username:password@ipaddress[:port]/path/to/file

Note
The domain-name can be alphanumeric characters, period (.), hyphen (-) or underline (_). It must contain at least two domain items. The port number is optional

Example of the multivm command

OneCli.exe misc multivm list --configflie multitask.json