Files
SVMU/README.md

77 lines
2.5 KiB
Markdown
Raw Normal View History

2025-09-04 16:27:10 +03:00
# SpaceVM Utility (SVMU)
2025-04-25 11:17:32 +03:00
Utility to manage Virtual Machines in SpaceVM.
2025-04-25 11:48:38 +03:00
2025-05-12 17:40:08 +03:00
Written in python, uses [SpaceVM API](https://spacevm.ru/docs/6.5/api/) to collect and manage existing Virtual Machines in your SpaceVM cluster.
2025-05-21 15:13:41 +03:00
>[!NOTE]
2025-09-04 16:27:10 +03:00
>_This utility is focused on managing virtual disks_<br>
>_Works with SpaceVM 6.5.5 / 6.5.6 / 6.5.7_
2025-05-21 15:13:41 +03:00
# 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)
2025-05-12 17:40:08 +03:00
2025-05-13 14:02:42 +03:00
# Utility usage
2025-05-21 15:13:41 +03:00
Clone repository or use compiled .exe from [Releases Tab](https://github.com/OVERLORD7F/SpaceVM_VM_Utility/releases)
2025-05-13 14:02:42 +03:00
## Config / Profile File
Directory _./profiles_ contains all configured profiles with necessary data for utility.
2025-05-13 14:02:42 +03:00
This directory will be placed in the same directory as Utility itself.
>[!TIP]
>_You can create profiles and change specific options within the Utility._
2025-05-12 17:40:08 +03:00
```
2025-05-28 17:09:53 +03:00
[General]
#Master Controller IP of your cluster
#Has to be accessible for a machine, which will be executing this Utility
2025-05-30 12:19:29 +03:00
controller_ip = 10.20.30.44
2025-05-28 17:09:53 +03:00
2025-05-30 12:19:29 +03:00
#Integration API Key
(how to get your key - https://spacevm.ru/docs/latest/base/operator_guide/security/users/#_14 )
2025-05-28 17:09:53 +03:00
# do not specify JWT tag with your key!
api_key =
#skip start up splash screen (ASCII art)
skip_startup_splash = no
#loads this profile on utility startup by default
#only one profile could be loaded by default
load_by_default = false
2025-05-30 12:19:29 +03:00
2025-05-28 17:09:53 +03:00
[Data_Pool]
#Data pool which will be used for utility operations
#(Targeted storage for new vDisks)
data_pool_uuid =
[VM_Options]
#Select interface which will be used in virtual disk creation.
#Available options: virtio / ide / scsi / sata
disk_interface = virtio
#Select allocation type for virtual disks
#Available options: none / falloc / full / metadata
preallocation = falloc
#Specify uuid of iso you wish to automatically mount to Virtual Machines during operations (Courses)
#This step is skipped if "none" provided
iso_uuid = none
[Courses-Space-VM]
#Set vDisk size for "Prepare VMs for Courses" option
disk1 =
disk2 =
disk3 =
2025-05-28 17:09:53 +03:00
[VM_List]
#Selected VMs which will be used for utility operations
#How to find UUID:
#List all available VMs in Utility Main Menu (Option 6)
#Use https://spacevm.ru/docs/latest/cli/space/vm/info/ or copy UUID from web panel
uuid_1 =
2025-05-30 12:19:29 +03:00
uuid_2 =
2025-05-12 17:40:08 +03:00
```