Search icon CANCEL
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
Proxmox Cookbook

You're reading from   Proxmox Cookbook Over 60 hands-on recipes to perform server virtualization and manage virtualized server solutions with Proxmox

Arrow left icon
Product type Paperback
Published in Aug 2015
Publisher
ISBN-13 9781783980901
Length 318 pages
Edition 1st Edition
Tools
Arrow right icon
Author (1):
Arrow left icon
Wasim Ahmed Wasim Ahmed
Author Profile Icon Wasim Ahmed
Wasim Ahmed
Arrow right icon
View More author details
Toc

Table of Contents (13) Chapters Close

Preface 1. Installing Proxmox FREE CHAPTER 2. Getting to Know the Proxmox GUI 3. Cluster and VM Management 4. Network Configurations 5. Firewall Configurations 6. Storage Configurations 7. Backup and Restore 8. Updating and Upgrading Proxmox 9. Monitoring Proxmox 10. Advanced Configurations for VMs 11. The CLI Command Reference Index

Creating a Proxmox cluster

A cluster is not automatically created on a freshly installed Proxmox node. It must be created through a CLI from any Proxmox node that is going to be a part of the cluster. After the cluster is created and nodes are the added to the cluster, the bigger part of the management can be done through the GUI.

Getting ready

Login to a Proxmox node as the root through SSH or the Proxmox GUI | Shell option, as shown in the following screenshot:

Getting ready

How to do it…

  1. To create a new cluster, use the following command format:
    # pvecm create <cluster_name>
    

    For our example, in the Proxmox environment, we are going to create a cluster named pmx:

    #pvecm create pmx
    
  2. After running the cluster creation command, verify that is it created using the following command:
    #pvecm status
    

    The command should display information similar to the following code:

    Version: 6.2.0
    Config Version: 1
    Cluster Name: pmx
    Cluster Id: 786
    Cluster Member: Yes
    Cluster Generation: 51
    Membership state: Cluster...
lock icon The rest of the chapter is locked
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 €18.99/month. Cancel anytime