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.

Specify the URL of virtual media path, which supports NFS and HTTPFS.

Support NFS and CIFS in ThinkBMC.

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

  • domain-name:/path/to/file

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

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

HTTPFS URL address form:
  • https://ipaddress[:port]/path/to/file

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

The domain-name can be alphanumeric characters ., -, or _ and should be composed of at least two domain items. The port number is optional.

Example of the multivm command

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