18.08.2013 Views

Command-line management in vsphere 5.0 for service console users

Command-line management in vsphere 5.0 for service console users

Command-line management in vsphere 5.0 for service console users

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>Command</strong>-L<strong>in</strong>e Management <strong>in</strong> vSphere 5 <strong>for</strong> Service Console Users<br />

ESXCLI does not have equivalent options <strong>for</strong> the --device, --vfat, and --hba-device-list filter<strong>in</strong>g<br />

options.<br />

The -o|--off<strong>l<strong>in</strong>e</strong>-cos-dev and -n|--on<strong>l<strong>in</strong>e</strong>-cos-dev options are <strong>service</strong> <strong>console</strong> specific options and not<br />

applicable to ESXi 5.x.<br />

esxcfg-module<br />

The esxcfg-module command supports manipulation of the VMkernel loadable modules and device<br />

drivers.For the follow<strong>in</strong>g esxcfg-module options, ESXCLI commands are available.<br />

Table 17. esxcfg-module Replacement <strong>Command</strong>s<br />

esxcfg-module Option ESXCLI <strong>Command</strong> Description<br />

--get-options <br />

-g <br />

--set-options <br />

<br />

-s <br />

esxcfg-mpath<br />

system module parameters<br />

list<br />

system module parameters<br />

set<br />

-e --enable system module set<br />

--enabled=true<br />

-d --disable system module set<br />

--enabled=false<br />

-q --query system module list<br />

--enabled=[true|false]<br />

-m --mod-name - Not supported.<br />

-u --unload Not supported.<br />

--list<br />

-l<br />

system module list<br />

--loaded=[true|false]<br />

-i --show-<strong>in</strong>fo system module get<br />

system module parameters<br />

list<br />

-f --<strong>for</strong>ce system module <br />

--<strong>for</strong>ce<br />

Returns the option str<strong>in</strong>g configured to be<br />

passed to the module when the module is<br />

loaded.<br />

Specifies the option str<strong>in</strong>g to be passed to the<br />

module when the module is loaded.<br />

Enable the given module, <strong>in</strong>dicat<strong>in</strong>g that it<br />

should load at boot time.<br />

Disable the given module and prevent it from<br />

load<strong>in</strong>g at boot. Disabl<strong>in</strong>g the module has no<br />

immediate effect on the module state on a<br />

runn<strong>in</strong>g system.<br />

Query the system <strong>for</strong> the modules to load at<br />

boot.<br />

List the set of currently loaded VMkernel<br />

modules.<br />

Show <strong>in</strong><strong>for</strong>mation about the module. This<br />

command can be run aga<strong>in</strong>st a module file.<br />

Skip module validation <strong>for</strong> all options. The get<br />

and list commands do not support --<strong>for</strong>ce.<br />

-v --verbose - Not supported Display more verbose <strong>in</strong><strong>for</strong>mation.<br />

The esxcfg-mpath command supports list<strong>in</strong>g <strong>in</strong><strong>for</strong>mation about Fibre Channel or iSCSI LUNs and chang<strong>in</strong>g<br />

a path’s state. In vSphere 5, equivalent ESXCLI commands are available.<br />

Table 18. esxcfg-mpath Replacement <strong>Command</strong>s<br />

esxcfg-mpath Option ESXCLI <strong>Command</strong> Description<br />

-l --list |<br />

<br />

-L --list-compact Not supported<br />

storage core path list<br />

storage core device list<br />

List detailed <strong>in</strong><strong>for</strong>mation <strong>for</strong> all paths on the system<br />

or <strong>for</strong> the specified path or device.<br />

-m --list-map storage core device list For devices currently registered with the PSA, list the<br />

filters attached to them. (Not an exact equivalent)<br />

-b --list-paths storage core path list List all devices with their correspond<strong>in</strong>g paths, or list<br />

paths <strong>for</strong> the specified device.<br />

VMware, Inc. 24

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!