Book Image

Proxmox Cookbook

By : Wasim Ahmed, Ravi K Jangid
Book Image

Proxmox Cookbook

By: Wasim Ahmed, Ravi K Jangid

Overview of this book

Proxmox VE's intuitive interface, high availability, and unique central management system puts it on par with the world’s best virtualization platforms. Its simplicity and high quality of service is what makes it the foremost choice for most system administrators. Starting with a step-by-step installation of Proxmox nodes along with an illustrated tour of Proxmox graphical user interface where you will spend most of your time managing a cluster, this book will get you up and running with the mechanisms of Proxmox VE. Various entities such as Cluster, Storage, and Firewall are also covered in an easy to understand format. You will then explore various backup solutions and restore mechanisms, thus learning to keep your applications and servers safe. Next, you will see how to upgrade a Proxmox node with a new release and apply update patches through GUI or CLI. Monitoring resources and virtual machines is required on an enterprise level, to maintain performance and uptime; to achieve this, we learn how to monitor host machine resources and troubleshoot common issues in the setup. Finally, we will walk through some advanced configurations for VM followed by a list of commands used for Proxmox and Ceph cluster through CLI. With this focused and detailed guide you will learn to work your way around with Proxmox VE quickly and add to your skillset.
Table of Contents (18 chapters)
Proxmox Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Gluster commands


In this section, we will look at the commands for performing various tasks for GlusterFS in Proxmox.

How to do it…

The following steps demonstrate the various commands that are used to perform various tasks for GlusterFS in Proxmox:

  1. Use the following command to create a Gluster volume in a replicated mode:

    # gluster volume create <name> replica [count] <destination_brick 1> <destination_brick 2> <…>
    

    Creating a Gluster volume named testgfs with two replicas would be as follows:

    #gluster volume create testgfs replica 2 172.16.0.72:/mnt/gfs/testgfs 172.16.0.73:/mnt/gfs/testgfs
    

    The following screenshot shows the output of the Gluster volume creation process:

  2. Use the following command to see a list of Gluster volumes:

    # gluster volume list
    
  3. Use the following command to start and stop the Gluster volume:

    # gluster volume [start|stop] <volume>
    
  4. Use the following command to check the status of Gluster peer nodes:

    # gluster peer status
    
  5. Use the following command...