Users Guide

vmcli -i — Enables an interactive method of starting VMCLI. It ensures that the user name and password are not visible when
processes are examined by other users.
vmcli -r <iDRAC-IP-address[:iDRAC-SSL-port]> -S -u <iDRAC-user-name> -p <iDRAC-user-password> -
c {< device-name > | < image-file >} — Indicates whether the iDRAC CA certificate is valid. If the certificate is not valid, a
warning message is displayed when you run this command. However, the command is executed successfully and a VMCLI session is
established. For more information on VMCLI parameters, see the VMCLI Help or the VMCLI Man pages.
Related concepts
VMCLI commands to access virtual media on page 235
VMCLI operating system shell options on page 235
VMCLI commands to access virtual media
The following table provides the VMCLI commands required for accessing different virtual media.
Table 42. VMCLI commands
Virtual Media Command
Floppy drive
vmcli -r [RAC IP or hostname] -u [iDRAC user
name] -p [iDRAC user password] -f [device
name]
Bootable floppy or USB key image
vmcli -r [iDRAC IP address] [iDRAC user
name]
-p [iDRAC password] -f [floppy.img]
CD drive using -f option
vmcli -r [iDRAC IP address] -u [iDRAC user
name]
-p [iDRAC password] -f [device name]|[image
file]-f [cdrom - dev
]
Bootable CD/DVD image
vmcli -r [iDRAC IP address] -u [iDRAC user
name]
-p [iDRAC password] -c [DVD.img]
If the file is not write-protected, Virtual Media may write to the image file. To make sure that Virtual Media does not write to the media:
Configure the operating system to write-protect a floppy image file that must not be overwritten.
Use the write-protection feature of the device.
When virtualizing read-only image files, multiple sessions can use the same image media simultaneously.
When virtualizing physical drives, only one session can access a given physical drive at a time.
VMCLI operating system shell options
VMCLI uses shell options to enable the following operating system features:
stderr/stdout redirection — Redirects any printed utility output to a file.
For example, using the greater-than character (>) followed by a filename overwrites the specified file with the printed output of the
VMCLI utility.
NOTE: The VMCLI utility does not read from standard input (stdin). Hence, stdin redirection is not required.
Background execution — By default, the VMCLI utility runs in the foreground. Use the operating system's command shell features for
the utility to run in the background.
Installing and using VMCLI utility
235