Book Image

Mastering Proxmox - Second Edition

By : Wasim Ahmed
Book Image

Mastering Proxmox - Second Edition

By: Wasim Ahmed

Overview of this book

Proxmox is an open source server virtualization solution that has enterprise-class features to manage virtual machines, to be used for storage, and to virtualize both Linux and Windows application workloads. You begin with refresher on the advanced installation features and the Proxmox GUI to familiarize yourself with the Proxmox VE hypervisor. You then move on to explore Proxmox under the hood, focusing on the storage systems used with Proxmox. Moving on, you will learn to manage KVM Virtual Machines and Linux Containers and see how networking is handled in Proxmox. You will then learn how to protect a cluster or a VM with a firewall and explore the new HA features introduced in Proxmox VE 4 along with the brand new HA simulator. Next, you will dive deeper into the backup/restore strategy followed by learning how to properly update and upgrade a Proxmox node. Later, you will learn how to monitor a Proxmox cluster and all of its components using Zabbix. By the end of the book, you will become an expert at making Proxmox environments work in production environments with minimum downtime.
Table of Contents (21 chapters)
Mastering Proxmox - Second Edition
Credits
About the Author
About the Reviewer
www.PacktPub.com
Preface
Index

Accessing an LXC container


There are several ways in which we can access a LXC container:

  • The noVNC console

  • SSH

  • Direct shells through the CLI

We can access and view the container directly from the GUI using the noVNC console. It is almost a visual remote access to the instance. The console is identical to a KVM virtual machine. After a long inactivity when we try to access the container using the console, it may appear, as shown in the following screenshot, with just a cursor and no login option:

By simply pressing the Enter key, we can make the login prompt appear, as shown in the following screenshot:

One of the best features of an LXC container is the ability to directly access the container shell through the CLI of the host node. The Proxmox command to access the LXC container shell is as follows:

# pct enter <ct_id>

This gives us the direct shell prompt of the container, as shown in the following screenshot:

In the previous example, we are accessing the LXC container name, Ubuntu-LXC...