Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
VMware vCenter Cookbook

You're reading from   VMware vCenter Cookbook Over 65 hands-on recipes to help you efficiently manage your vSphere environment with VMware vCenter

Arrow left icon
Product type Paperback
Published in May 2015
Publisher Packt
ISBN-13 9781783553976
Length 302 pages
Edition 1st Edition
Tools
Arrow right icon
Author (1):
Arrow left icon
Kostantin Kuminsky Kostantin Kuminsky
Author Profile Icon Kostantin Kuminsky
Kostantin Kuminsky
Arrow right icon
View More author details
Toc

Table of Contents (9) Chapters Close

Preface 1. vCenter Basic Tasks and Features FREE CHAPTER 2. Increasing Environment Availability 3. Increasing Environment Scalability 4. Improving Environment Efficiency 5. Optimizing Resource Usage 6. Basic Administrative Tasks 7. Improving Environment Manageability Index

Securing host management access

When it comes to managing ESXi hosts, there are a few interfaces available to perform management tasks:

  • Common Information Model (CIM), which is used for vCenter Server access.
  • Direct Console User Interface (DCUI), which is also known as the ESXi console.
  • Tech Support Mode (TSM)
    • Local—console access to the ESXi command line.
    • Remote—SSH access to the ESXi command line.
  • vSphere Application Programming Interface (API) such as vSphere Client, PowerCLI, vCLI, and so on.

Remote TSM has been covered in the Accessing hosts via SSH recipe in this chapter. Local TSM and DCUI are console options available if you have physical access to the host or remote console access such as iDRAC.

All interfaces except vSphere API can be managed from vCenter under host Configuration | Security Profile | Services:

Securing host management access

Both TSM options can also be configured from the DCUI console.

The following table summarizes different management interfaces and where each one can be configured:

Management interface

Description

Configuration from vCenter

Configuration from DCUI

CIM

vCenter access

Host's Services

 

DCUI

ESXi console

Host's Services

 

Local TSM

Console CLI

Host's Services

Troubleshooting menu

Remote TSM

SSH access to CLI

Host's Services

Troubleshooting menu

APIs

vSphere Client, PowerCLI, vCLI

  

VMware offers a way to secure management access to hosts called Lockdown mode.

Lockdown mode is a security feature, which limits the administrator's ability to manage the ESXi host only through vCenter. When a host is in this mode, the administrator cannot use the command line or run scripts. Also, any third-party software cannot get or change any settings on this host.

Note

User root will still be able to access DCUI but not TSM.

The following table summarizes each management interface's behavior in Normal and Lockdown modes:

Management interface

Normal mode

Lockdown mode

CIM

User and group permissions

Only vCenter server

DCUI

User root and users with administrator rights

Only root user

Local TSM

Only root user

None

Remote TSM

Only root user

None

APIs

User and group permissions

Only vCenter vpxuser

Additional security always means inconvenience. If the vCenter VM crashed or didn't come up after the reboot, and access to vCenter has been lost, ESXi has to be reinstalled on hosts that are in Lockdown mode to restore access.

How to do it...

To enable lockdown mode from vCenter, execute the following steps:

  1. Lockdown mode can be enabled per host by going to Configuration | Security Profile:
    How to do it...
  2. Click on Edit next to Lockdown Mode, select Enable Lockdown Mode, and click on OK:
    How to do it...

Note

All the existing vCenter Client connections to the host will be dropped immediately.

Users that are currently logged in to DCUI or TSM will still have access after Lockdown mode has been enabled until they log off. Logged in users will not be able to switch Lockdown mode off in this case.

All the existing user and group permissions will be restored once Lockdown mode is disabled if it was enabled from vCenter.

To enable Lockdown Mode from Web Client, execute the following steps:

  1. Select a host.
  2. Go to Manage | Settings | Security Profile.
  3. Scroll down to the Lockdown Mode section.
  4. Click on the Edit next to the section.
  5. Check Enable Lockdown Mode.
  6. Click on OK.
    How to do it...

Enable Lockdown mode from the ESXi console

To enable Lockdown mode from DCUI, press F2, log in with the root user, move the cursor to the Configure Lockdown Mode item, and press Enter.

Enable Lockdown mode from the ESXi console

Tip

All the existing user and group permissions will be lost once Lockdown mode is enabled from DCUI so the best practice is to use vCenter to enable Lockdown.

You have been reading a chapter from
VMware vCenter Cookbook
Published in: May 2015
Publisher: Packt
ISBN-13: 9781783553976
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image