Remote console and virtual media
Video 059 of 140 in Virtualization Foundations, in the unit “Server hardware and out-of-band management”. 3:49, with English and Hindi audio.
Sometimes an operating system must be installed on a server that you cannot touch. A remote console and virtual media make that possible. The console shows the server's screen on your own computer, and virtual media presents an installer image as if a CD or USB drive were plugged in. This article explains how both work, how to use them safely, and what goes wrong when the console or the image is left open.
What you will learn
- A remote console shows and controls a server's screen over the network.
- Virtual media presents an image file to the server as a CD or USB drive.
- Boot from the image once, then eject it when the install is done.
- A remote console gives full control, so guard the management network.
The problem: a new server with no operating system
Imagine a new server at a remote site, with no operating system on it yet. The site has no engineer at night, and the head office team is far away. The team needs a screen, a keyboard and an installer drive, all over the network, without a trip to the site.
How a remote console works
The console runs through the BMC, a small management computer inside the server. So it works even before any operating system is installed.
- The BMC captures the picture that the server would show on a monitor.
- The picture travels over the network to your browser or to a viewer app.
- Your keyboard and mouse input travels back, so typing reaches the server as if you were in the room.
- Because this works below the operating system, you can see the boot screens and change the settings.
Virtual media: an image that acts as a drive
Virtual media handles the installer. You start with an image file, usually an ISO image, which is a single file that copies a whole disc. The BMC presents that file to the server as if a CD or USB drive were plugged in, and the server boots from it.
- The image: an installer file, on your laptop or on a network share.
- The BMC: presents the image to the server as a drive.
- The server: boots from the virtual drive and installs the operating system.
Using it safely
- Choose the virtual drive for one boot only, rather than changing the boot order for good.
- When the install is done, eject the image, so the server does not start the installer again.
- Reach the console only over the management network, and protect it with strong passwords.
What goes wrong
A remote console gives full control of the screen and the power, so anyone with console access can see and control the machine. Leaving the image attached is the other common mistake. The server then boots into the installer after every restart.
Note: You notice these problems as installer screens after a reboot, or as a slow, laggy picture on a poor link.
Terms
- Remote console
- The server's screen and keyboard, shown on your own computer over the network through the BMC.
- Virtual media
- An image file that the BMC presents to a server as if a CD or USB drive were plugged in.
- ISO image
- A single file that copies a whole disc, usually used to carry an installer.
Check yourself
How do you install an operating system on a server you cannot touch?
Use a remote console to see and control the screen, and virtual media to present the installer image as a drive.
Why should you eject the image after the install?
Otherwise the server boots into the installer again after every restart.
Why must the console be guarded?
Anyone with console access can see the screen and control the power of the server.
Previous: Redfish: a web-style way to manage servers. Next: Firmware and BIOS updates on servers.