Add even further documentation tweaks
This commit is contained in:
parent
6abb8b2456
commit
9aeb86246a
|
@ -79,15 +79,15 @@ The API client is a Flask-based RESTful API and is the core interface to PVC. By
|
||||||
|
|
||||||
The API generally accepts all requests as HTTP form requests following standard RESTful guidelines, supporting arguments in the URI string or, with limited exceptions, in the message body. The API returns JSON response bodies to all requests consisting either of the information requested, or a `{ "message": "text" }` construct to pass informational status messages back to the client.
|
The API generally accepts all requests as HTTP form requests following standard RESTful guidelines, supporting arguments in the URI string or, with limited exceptions, in the message body. The API returns JSON response bodies to all requests consisting either of the information requested, or a `{ "message": "text" }` construct to pass informational status messages back to the client.
|
||||||
|
|
||||||
The API client manual can be found at the [API manual page](/manuals/api), and the full API documentation can be found at the [API reference page](/manuals/api-reference.html).
|
The API client manual can be found at the [API manual page](/manuals/api), and the full API details can be found in the [API reference specification](/manuals/api-reference.html).
|
||||||
|
|
||||||
### Direct Bindings
|
### Direct Bindings
|
||||||
|
|
||||||
The API client uses a dedicated set of Python libraries, packaged as the `pvc-daemon-common` Debian package, to communicate with the cluster. It is thus possible to build custom Python clients that directly interface with the PVC cluster, without having to get "into the weeds" of the Zookeeper or PostgreSQL databases.
|
The API client uses a dedicated set of Python libraries, packaged as the `pvc-daemon-common` Debian package, to communicate with the cluster. One can thus use these libraries to build custom Python clients that directly interface with the PVC cluster, without having to get "into the weeds" of the Zookeeper or PostgreSQL databases.
|
||||||
|
|
||||||
### CLI Client
|
### CLI Client
|
||||||
|
|
||||||
The CLI client is a Python Click application, which provides a convenient CLI interface to the API client. It supports connecting to multiple clusters from a single instance, with or without authentication and over both HTTP or HTTPS, including a special "local" cluster if the client determines that an API configuration exists on the local host. Information about the configured clusters is stored in a local JSON document, and a default cluster can be set with an environment variable.
|
The CLI client is a Python Click application, which provides a convenient CLI interface to the API client. It supports connecting to multiple clusters from a single instance, with or without authentication and over both HTTP or HTTPS, including a special "local" cluster if the client determines that an API configuration exists on the local host. Information about the configured clusters is stored in a local JSON document, and a default cluster can be set with an environment variable. The CLI client can thus be run either on PVC nodes themselves, or on other, remote systems which can then interface with cluster(s) over the network.
|
||||||
|
|
||||||
The CLI client is self-documenting using the `-h`/`--help` arguments throughout, easing the administrator learning curve and providing easy access to command details. A short manual can also be found at the [CLI manual page](/manuals/cli).
|
The CLI client is self-documenting using the `-h`/`--help` arguments throughout, easing the administrator learning curve and providing easy access to command details. A short manual can also be found at the [CLI manual page](/manuals/cli).
|
||||||
|
|
||||||
|
@ -97,6 +97,8 @@ The overall management, deployment, bootstrapping, and configuring of nodes is a
|
||||||
|
|
||||||
The Ansible configuration and architecture manual can be found at the [Ansible manual page](/manuals/ansible).
|
The Ansible configuration and architecture manual can be found at the [Ansible manual page](/manuals/ansible).
|
||||||
|
|
||||||
|
The [getting started documentation](/getting-started) provides a walkthrough of using these tools to bootstrap a new cluster.
|
||||||
|
|
||||||
## Frequently Asked Questions
|
## Frequently Asked Questions
|
||||||
|
|
||||||
### General Questions
|
### General Questions
|
||||||
|
@ -116,12 +118,13 @@ PVC might be right for you if:
|
||||||
1. You need KVM-based VMs.
|
1. You need KVM-based VMs.
|
||||||
2. You want management of storage and networking (a.k.a. "batteries-included") in the same tool.
|
2. You want management of storage and networking (a.k.a. "batteries-included") in the same tool.
|
||||||
3. You want hypervisor-level redundancy, able to tolerate hypervisor downtime seamlessly, for all elements of the stack.
|
3. You want hypervisor-level redundancy, able to tolerate hypervisor downtime seamlessly, for all elements of the stack.
|
||||||
|
4. You have a requirement of at least 3 nodes' worth of compute and storage.
|
||||||
|
|
||||||
I built PVC for my homelab first, found a perfect use-case with my employer, and think it might be useful to you too.
|
If all you want is a simple home server solution, or you demand scalability beyond a few dozen compute nodes, PVC is likely not what you're looking for. Its sweet spot is specifically in the 3-9 node range, for instance in an advanced homelab, for SMBs or small ISPs with a relatively small server stack, or for MSPs looking to deploy small on-premises clusters at low cost.
|
||||||
|
|
||||||
#### Is 3 hypervisors really the minimum?
|
#### Is 3 hypervisors really the minimum?
|
||||||
|
|
||||||
For a redundant cluster, yes. PVC requires a majority quorum for proper operation at various levels, and the smallest possible majority quorum is 2-of-3; thus 3 nodes is the safe minimum. That said, you can run PVC on a single node for testing/lab purposes without host-level redundancy, should you wish to do so, and it might also be possible to run 2 "main" systems with a 3rd "quorum observer" hosting only the management tools but no VMs, however this is not officially supported.
|
For a redundant cluster, yes. PVC requires a majority quorum for proper operation at various levels, and the smallest possible majority quorum is 2-of-3; thus 3 nodes is the smallest safe minimum. That said, you can run PVC on a single node for testing/lab purposes without host-level redundancy, should you wish to do so, and it might also be possible to run 2 "main" systems with a 3rd "quorum observer" hosting only the management tools but no VMs; however these options are not officially supported, as PVC is designed primarily for 3+ node operation.
|
||||||
|
|
||||||
### Feature Questions
|
### Feature Questions
|
||||||
|
|
||||||
|
@ -133,6 +136,10 @@ No, not directly. PVC supports only KVM VMs. To run containers, you would need t
|
||||||
|
|
||||||
Not yet. Right now, PVC management is done exclusively with the CLI interface to the API. A WebUI can and likely will be built in the future, but I'm not a frontend developer and I do not consider this a personal priority. As of late 2020 the API is generally stable, so I would welcome 3rd party assistance here.
|
Not yet. Right now, PVC management is done exclusively with the CLI interface to the API. A WebUI can and likely will be built in the future, but I'm not a frontend developer and I do not consider this a personal priority. As of late 2020 the API is generally stable, so I would welcome 3rd party assistance here.
|
||||||
|
|
||||||
|
#### I want feature X, does it fit with PVC?
|
||||||
|
|
||||||
|
That depends on the specific feature. I will limit features to those that align with the overall goals of PVC, that is to say, to provide an easy-to-use hyperconverged virtualization system focused on redundancy. If a feature suits this goal it is likely to be considered; if it does not, it will not. PVC is rapidly approaching the completion of its 1.0 roadmap, which I consider feature-complete for the primary usecase, and future versions may expand in scope.
|
||||||
|
|
||||||
### Storage Questions
|
### Storage Questions
|
||||||
|
|
||||||
#### Can I use RAID-5/RAID-6 with PVC?
|
#### Can I use RAID-5/RAID-6 with PVC?
|
||||||
|
|
Loading…
Reference in New Issue