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.

Enabl<strong>in</strong>g the ESXi Shell<br />

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

You can enable the ESXi Shell from the direct <strong>console</strong> and from the vSphere Client. Enabl<strong>in</strong>g the ESXi Shell<br />

means mak<strong>in</strong>g it accessible as a local <strong>console</strong> available directly or over an out-of-band network.<br />

To enable the ESXi Shell from the Direct Console<br />

1 Access the direct <strong>console</strong> of the ESXi host, press F2, and provide credentials when prompted.<br />

2 Scroll to Troubleshoot<strong>in</strong>g Options, and press Enter.<br />

3 Select Enable ESXi Shell and press Enter.<br />

On the left, Enable ESXi Shell changes to Disable ESXi Shell. On the right, ESXi Shell is Disabled<br />

changes to ESXi Shell is Enabled.<br />

4 (Optional) Configure the time-out <strong>for</strong> the ESXi Shell<br />

a Select Modify ESXi Shell timeout and press Enter.<br />

b Enter the time-out value <strong>in</strong> m<strong>in</strong>utes and press Enter.<br />

5 Press Esc until you return to the ma<strong>in</strong> direct <strong>console</strong> screen.<br />

You can enable the ESXi Shell from the vSphere Client.<br />

To enable the local or remote ESXi Shell from the vSphere Client<br />

1 Select the host, click the Configuration tab, and click Security Profile <strong>in</strong> the Software panel.<br />

2 In the Services section, click Properties.<br />

3 Select ESXi Shell and click Options.<br />

4 Change the ESXi Shell options.<br />

To temporarily start or stop the <strong>service</strong>, click the Start or Stop button.<br />

To enable access permanently, click Start and stop with host. The change will take effect the next time<br />

you reboot the host.<br />

5 Click OK.<br />

After you have enabled the ESXi Shell, you can use it from that monitor or through an out-of-band network<br />

connection.<br />

To enable to local or remote ESXi Shell from the vSphere Web Client<br />

1 Select the host, click the Manage tab, and click Sett<strong>in</strong>gs.<br />

2 Under System, select Security Profile.<br />

3 In the Services panel, click Edit.<br />

4 Select a <strong>service</strong> from the list.<br />

ESXi Shell<br />

SSH<br />

Direct Console UI<br />

5 Click Service Details and select the startup policy Start and stop manually.<br />

When you select Start and stop manually, the <strong>service</strong> does not start when you reboot the host. If you want<br />

the <strong>service</strong> to start when you reboot the host, select Start and stop with host.<br />

6 Select Start to enable the <strong>service</strong>.<br />

7 Click OK.<br />

After you have enabled the ESXi Shell, you can use it from that monitor or through an out-of-band network<br />

connection.<br />

VMware, Inc. 6

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

Saved successfully!

Ooh no, something went wrong!