Skip to content

Proxmox VE cluster automatic tasks helper, Proxmox API backends [https,cli,ssh]. Sync, Async.

License

Notifications You must be signed in to change notification settings

lexxai/proxmox_cluster_tasks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Proxmox Cluster Tasks

Purpose of the Project

The Proxmox Cluster Tasks repository is designed to simplify and automate daily administrative tasks within a Proxmox Virtual Environment (VE) cluster. The project focuses on enhancing the efficiency of cluster management by providing tools and wrappers for interacting with Proxmox through various backends and APIs.

Inspired by the principles of Terraform actions, this project emphasizes modularity, repeatability, and declarative configuration management. It allows administrators to define and execute cluster tasks in a structured and consistent manner, reducing the complexity and potential for errors in day-to-day operations.

Key Features

Daily Task Automation

  • Clone VMs from Templates: Easily create virtual machines based on predefined templates.
  • Distribute Cloned VMs Across Nodes: Automatically balance VM distribution across cluster nodes.
  • Configure VM Settings:
    • Replication: Set up replication policies for high availability.
    • Backup: Automate backup configurations.
    • Networking: Configure network interfaces and firewall rules.
  • High Availability (HA) Settings:
    • Define HA groups and priorities for VMs.
    • For example, deploy instance_02 on node c02, configure replication to nodes c01 and c03, and assign HA settings prioritizing c02.

Multi-Backend Support

  • HTTPS: Direct API interaction using an HTTPS wrapper.
  • CLI: Programmatic execution of Proxmox CLI commands.
  • SSH: Manage clusters securely over SSH.

Flexible Execution Modes

  • Asynchronous Mode: Perform non-blocking, concurrent operations for time-sensitive tasks.
  • Synchronous Mode: Sequential execution for straightforward tasks.

The primary goal of this project is to streamline Proxmox VE cluster management, reduce manual effort, and improve operational consistency.

Documentation

Acknowledgments

Special thanks to the proxmoxer project for providing inspiration and solutions that influenced the development of this library.

About

Proxmox VE cluster automatic tasks helper, Proxmox API backends [https,cli,ssh]. Sync, Async.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages