mirror of
https://github.com/OVERLORD7F/SVMU.git
synced 2025-10-01 21:52:47 +03:00
46 lines
1.6 KiB
Markdown
46 lines
1.6 KiB
Markdown
# SpaceVM_VM_Utility
|
|
Utility to manage Virtual Machines in SpaceVM.
|
|
|
|
Written in python, uses [SpaceVM API](https://spacevm.ru/docs/6.5/api/) to collect and manage existing Virtual Machines in your SpaceVM cluster.
|
|
|
|
>[!NOTE]
|
|
>_For now, this utility is focused on managing virtual disks_<br>
|
|
>_Works with SpaceVM 6.5.5+_
|
|
|
|
# Requirements
|
|
- Fully setup SpaceVM cluster with VMs
|
|
- SpaceVM Utility and SpaceVM cluster should be in LAN
|
|
- Obtain your [API Key](https://spacevm.ru/docs/latest/base/operator_guide/security/users/#_14)
|
|
>[!WARNING]
|
|
> Utility is only tested on Windows 10
|
|
- For Windows 10 - [New Microsoft Terminal](https://github.com/microsoft/terminal) is highly recommended (correct colors, menus, etc)
|
|
|
|
# Utility usage
|
|
Clone repository or use compiled .exe from [Releases Tab](https://github.com/OVERLORD7F/SpaceVM_VM_Utility/releases)
|
|
|
|
Fill in the config file as stated below.
|
|
|
|
## Config File
|
|
Config file contains all necessary data for utility and has to be placed in the same directory as Utility itself.
|
|
You can create config and specify all necessary data within the Utility.
|
|
<ins>The following parameters are required:</ins>
|
|
```
|
|
1. Controller IP Address (Master)
|
|
2. API Integration Key
|
|
3. Data Pool UUID (which will be used for operations)
|
|
4. Virtual Machine UUID (List of selected VMs for operations)
|
|
5. Virtual Machine UUID
|
|
6. ...
|
|
```
|
|
|
|
You can populate config within Utility Main Menu.
|
|
|
|
For manual input see format below:
|
|
```
|
|
1.2.3.4
|
|
eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJ1...
|
|
67497424-e54b-46f1-b023-4d6d65eac104
|
|
304fd7be-06a6-4f4e-9bb9-41bf532ec4fb
|
|
f840320f-cecc-4a31-a799-fd84e7baf089
|
|
```
|