mirror of
https://github.com/ThomasGsp/HyperProxmox.git
synced 2025-03-09 15:40:18 +00:00
Update readme
This commit is contained in:
parent
cc72e02c01
commit
1f6067e72d
1 changed files with 7 additions and 8 deletions
15
README.md
15
README.md
|
@ -1,6 +1,6 @@
|
||||||
# HyperProxmox
|
# HyperProxmox
|
||||||
|
|
||||||
* Author : ([ThomasGSP](https://www.thomasgsp.fr))
|
* Author : [ThomasGSP](https://www.thomasgsp.fr)
|
||||||
* Date : 2017/2018
|
* Date : 2017/2018
|
||||||
* Version : Alpha 1.0
|
* Version : Alpha 1.0
|
||||||
* Status: Dev
|
* Status: Dev
|
||||||
|
@ -9,7 +9,7 @@
|
||||||
This project is currently in active development.
|
This project is currently in active development.
|
||||||
You shouldn't use in production mode, use at your risks !
|
You shouldn't use in production mode, use at your risks !
|
||||||
|
|
||||||
* Proxmox version supported: 4.x/5/x (not tested on 3.x)
|
* Proxmox version supported: 3.x/4.x/5/x
|
||||||
|
|
||||||
## Version informations:
|
## Version informations:
|
||||||
* Provide:
|
* Provide:
|
||||||
|
@ -31,7 +31,6 @@ You shouldn't use in production mode, use at your risks !
|
||||||
## Requirement:
|
## Requirement:
|
||||||
* Proxmox infrastructure (standalone, clusters...)
|
* Proxmox infrastructure (standalone, clusters...)
|
||||||
* Administrative pve user (full access)
|
* Administrative pve user (full access)
|
||||||
* Vztemplate uploaded
|
|
||||||
|
|
||||||
* MongoDB server
|
* MongoDB server
|
||||||
* Version 3.6
|
* Version 3.6
|
||||||
|
@ -45,7 +44,7 @@ You shouldn't use in production mode, use at your risks !
|
||||||
* php-curl, php-mysql, php7.0-json
|
* php-curl, php-mysql, php7.0-json
|
||||||
|
|
||||||
* Python softwares
|
* Python softwares
|
||||||
* Version 3.5 min
|
* Version 3.5+
|
||||||
* python-redis
|
* python-redis
|
||||||
* pymongo
|
* pymongo
|
||||||
* web.py
|
* web.py
|
||||||
|
@ -175,7 +174,7 @@ If you loose it, you must delete the keys, delete the different entries in the c
|
||||||
### Insert your first cluster (from host)
|
### Insert your first cluster (from host)
|
||||||
``` bash
|
``` bash
|
||||||
# Minimum:
|
# Minimum:
|
||||||
curl -H -XPOST -d '{ "name": "Cluster_A",
|
curl -H -XPOST -d '{
|
||||||
"url":"proxmox.cluster.net",
|
"url":"proxmox.cluster.net",
|
||||||
"port": "8006",
|
"port": "8006",
|
||||||
"user": "user@pve",
|
"user": "user@pve",
|
||||||
|
@ -185,10 +184,10 @@ curl -H -XPOST -d '{ "name": "Cluster_A",
|
||||||
"exclude_nodes": [""],
|
"exclude_nodes": [""],
|
||||||
"groups" : [""],
|
"groups" : [""],
|
||||||
"weight": 1
|
"weight": 1
|
||||||
}' localhost:8080/api/v1/administration/cluster/new
|
}' localhost:8080/api/v1/administration/cluster/Cluster_A
|
||||||
|
|
||||||
# Other example:
|
# Other example:
|
||||||
curl -H -XPOST -d '{ "name": "Cluster_B",
|
curl -H -XPOST -d '{
|
||||||
"url":"proxmox.cluster.net",
|
"url":"proxmox.cluster.net",
|
||||||
"port": "8006",
|
"port": "8006",
|
||||||
"user": "user@pve",
|
"user": "user@pve",
|
||||||
|
@ -198,7 +197,7 @@ curl -H -XPOST -d '{ "name": "Cluster_B",
|
||||||
"exclude_nodes": ["node_shit1"],
|
"exclude_nodes": ["node_shit1"],
|
||||||
"groups" : ["group1", "group2..."],
|
"groups" : ["group1", "group2..."],
|
||||||
"weight": 1
|
"weight": 1
|
||||||
}' localhost:8080/api/v1/administration/cluster/new
|
}' localhost:8080/api/v1/administration/cluster/Cluster_B
|
||||||
```
|
```
|
||||||
|
|
||||||
* "name": Symbolic cluster name. Should be uniq (string) [VALUE NOT EMPTY REQUIRED]
|
* "name": Symbolic cluster name. Should be uniq (string) [VALUE NOT EMPTY REQUIRED]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue