1
0
Fork 0
mirror of https://github.com/ThomasGsp/HyperProxmox.git synced 2025-03-09 15:40:18 +00:00
No description
Find a file
2018-02-13 17:57:07 +00:00
.idea delete pycache 2017-12-23 12:25:09 +01:00
code Fix errors 2018-02-13 16:44:46 +00:00
databases/mongoDB general update 2018-02-04 22:10:18 +00:00
doc modifié : README.md 2017-11-07 10:30:33 +01:00
LICENSE Create LICENSE 2017-11-18 21:19:30 +01:00
README.md readme changes 2018-02-13 17:57:07 +00:00

HyperProxmox

  • Author : Tlams
  • Date : 2017/2018
  • Status: Dev
  • Object : Massive LXC CT / KVM deployment system for Proxmox clusters.

Requirement:

  • Proxmox infrastructure (standalone, clusters...)

    • Administrative pve user (full access)
    • Vztemplate uploaded
  • MongoDB server

    • Version 3.6
    • Standalone or with replicats for hight availability
  • Redis server

  • Web stack

    • Nginx
    • PHP7
      • php-curl, php-mysql, php7.0-json
  • Python softwares

    • Version 3.5 min
    • python-redis
    • pymongo
    • web.py
    • python-requests
    • Crypto

## Installation (Debian type - Full standalone stack)

Install all packages

apt-get nginx php-fpm php-curl php-json python3-pip python3-redis python3-netaddr mongodb redis-server
pip3 install pymongo db utils web.py requests

Configurations (bases)

NGINX

...

PHP

...

Hyperproxmox

...

Init:

# Start & generate your key
python3.5 startup.py

Insert your first cluster

curl -H -XPOST -d '{ "name": "Cluster_1",
                        "url":"proxmox.cluster.net",
                        "port": "8006",
                        "user": "user@pve",
                        "password": "******",
                        "template": "local:vztmpl/debian-9.0-standard_9.0-2_amd64.tar.gz",
                        "storage_disk": "disks",
                        "exclude_nodes": [""],
                        "weight": 1 }'  localhost:8080/api/v1/administration/cluster/new\

Create your first CT

curl -H -XPOST -d '{"count":"1"}' localhost:8080/api/v1/instance/new

Delete it

curl -XDELETE  localhost:8080/api/v1/instance/<id>