Beruflich Dokumente
Kultur Dokumente
So I wanted to talk on best practices for your Service Console, what it’s for, and why and how to make it
redundant. As that’s a lot of information, we’ll break it out in some parts.
This first part we’ll talk about what the service console is, and what it does.
So what is the ‘Service Console’? It is the “Console Operating System” that is responsible for user
interaction with ESX. In the full ESX 3/3.5 (as in not ESXi), the service console is a VM that is based on
RHEL 3. In fact this is often what keeps folks confused and arguing that “ESX is just Linux”. However, this
is very much not the case. VMware has also tried to do everything possible to deemphasize the use of the
service console, and, in the ESXi release, and perhaps future releases, it will go away completely, to be
replaced by things like VIMA (VMware Infrastructure Management Assistant).
What’s it do this service console? I suppose my single line above wasn’t quite a good enough, but that is
more or less what it is responsible for: User interaction with ESX. This is a bigger task that it first appears
when you consider the various ways one can communicate with ESX:
The last bit is support applications, and these are simply applications, like vm-support, or the esxcfg-* set
of commands that allow you to keep the host running in tip top shape. With ESXi, these are handled
either via the VIMA, or rCLI, which can both be downloaded from VMware’s site.
So, we’ve now covered what the Service Console is, and what it does. Next go around we’ll cover the why
and how of making it redundant.
So I wanted to talk on best practices for your Service Console, what it’s for, and why and how to make it
redundant. As that’s a lot of information, we’ll break it out in some parts.
This first part we’ll talk about what the service console is, and what it does.
So what is the ‘Service Console’? It is the “Console Operating System” that is responsible for user
interaction with ESX. In the full ESX 3/3.5 (as in not ESXi), the service console is a VM that is based on
RHEL 3. In fact this is often what keeps folks confused and arguing that “ESX is just Linux”. However, this
is very much not the case. VMware has also tried to do everything possible to deemphasize the use of the
service console, and, in the ESXi release, and perhaps future releases, it will go away completely, to be
replaced by things like VIMA (VMware Infrastructure Management Assistant).
What’s it do this service console? I suppose my single line above wasn’t quite a good enough, but that is
more or less what it is responsible for: User interaction with ESX. This is a bigger task that it first appears
when you consider the various ways one can communicate with ESX:
What is ‘non-critical’ hardware? ‘Non-critical’ hardware is anything outside the Core 4 (Memory, Disk,
Networking, CPU), things like serial ports and cd-roms. This keeps the VMKernel light and agile to better
support your VM’s.
The last bit is support applications, and these are simply applications, like vm-support, or the esxcfg-* set
of commands that allow you to keep the host running in tip top shape. With ESXi, these are handled
either via the VIMA, or rCLI, which can both be downloaded from VMware’s site.
So, we’ve now covered what the Service Console is, and what it does. Next go around we’ll cover the why
and how of making it redundant.
Well now. We’ve come a long way since parts 1 & 2 haven’t we? That is all well and good considering,
and makes for some light background reading. However, the game changes with ESXi, as there is no
“Supported” Service Console on it’s platform.
In reality, the vmkernel runs a busybox executable. (Busybox is a linux in an executable binary sort of
thing), and you can enable DropBear SSH, and the like on it. Doing this however, will likely void your
warranty or support agreement, or prevent you from getting your per incident support taken care of, so I
strongly recommend against it.
With that said then. How does ESXi handle all of the communication we talked about before, how do you
make it redundant, and how do you interact with ESXi in a meaningful way? Let’s take a look at the first
two, the last will be covered in a future post.
“Service Console” Communications in ESXi
How does ESXi overcome it’s lack of a good and proper “Service Console”? At the physical console you
get something that resembles a server BIOS screen from which you can configure the ESXi host.
So that’s cool, but how does it communicate with the VI Client or VMware’s vCenter (formerly Virtual
Center)? It does this using a “Management IP”. By default this Management IP is set by DHCP at host
boot time, or can be configured manually from the console above. Remember this IP.
This actually works in quite the same way it did for the “Fat” version of ESX (Classic). You can setup NIC
teaming, and a redundant vSwitch on another network. Read Part 2 for more information there.
Following VMware best practices, it is best to dedicate entire partitions for the following directories:
/var
/tmp
/home
Follow the configurations from the following table, as the file system should reflect these sizes. Click Next when finished.
This table shows the service console partitions and sizes for each ESX Server host. Some of these recommended partition sizes are
larger than the default values. The additional partitions and increased sizes will protect against the critical root partition getting filled
up which can lead to issues. Note that this section does not apply for ESX Server 3i. Also, the following partition table uses less than
16 GB of space.
Service Console Partitions and Sizes for Each ESX Server Host
MountPoi Partition Size Description
nt
/dev/sda (Primary)
/boot ext3 250 MB Change for additional space for upgrades
/dev/sda (Extended)
/var ext3 4096 MB Create partition to avoid overfilling root
with log files