Users Guide
The parameter enables VMCLI to connect to the specied server, access iDRAC, and map to the specied virtual media.
NOTE: VMCLI syntax is case-sensitive.
To ensure security, it is recommended to use the following VMCLI parameters:
•
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 certicate is valid. If the
certicate 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 links
VMCLI commands to access virtual media
VMCLI operating system shell options
VMCLI commands to access virtual media
The following table provides the VMCLI commands required for accessing dierent virtual media.
Table 37. 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 oppy 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 le is not write-protected, Virtual Media may write to the image le. To make sure that Virtual Media does not write to the
media:
• Congure the operating system to write-protect a oppy image le that must not be overwritten.
• Use the write-protection feature of the device.
When virtualizing read-only image les, 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 le.
For example, using the greater-than character (>) followed by a lename overwrites the specied le with the printed output of
the VMCLI utility.
240