-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathconfig.full.example.yaml
More file actions
116 lines (102 loc) · 4.38 KB
/
config.full.example.yaml
File metadata and controls
116 lines (102 loc) · 4.38 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
# Full sample config for VMware -> CloudStack migration.
# Copy this to config.yaml and replace example values.
vcenter:
# MANDATORY: vCenter or ESXi hostname / IP used by run mode and UI backend.
host: vcenter.example.com
# MANDATORY: vCenter / ESXi username.
user: administrator@vsphere.local
# OPTIONAL:
# - If set here, engine uses this password.
# - If empty, engine uses VC_PASSWORD environment variable.
# - If both are empty, run/serve startup fails.
password: ""
migration:
# MANDATORY for run mode:
# Path to extracted VMware VDDK root.
# Must contain include/vixDiskLib.h and lib64/libvixDiskLib.so*
vddk_path: /opt/vmware-vddk/vmware-vix-disklib-distrib
# OPTIONAL:
# Default snapshot policy for run mode.
# Allowed: auto | true | false
# Default behavior in code if omitted/empty: auto
snapshot_quiesce: auto
# OPTIONAL:
# Default source VM shutdown policy before final sync.
# Allowed: auto | force | manual
# Default behavior in code if omitted/empty: auto
shutdown_mode: auto
# OPTIONAL:
# Delay in seconds after source VM shutdown/power-off and before the final snapshot is taken.
# Useful for Windows guests so pending writes settle before final_sync / virt-v2v.
# Default behavior if omitted/0:
# - Windows guests: 30 seconds
# - Linux/other guests: 15 seconds
finalize_settle_seconds: 0
# OPTIONAL:
# Default max disks processed in parallel within one VM.
# Default behavior in code if omitted/0: 4
parallel_disks: 4
# OPTIONAL:
# Default max VMs processed in parallel when multiple specs are supplied.
# Default behavior in code if omitted/0: 3
parallel_vms: 3
# OPTIONAL:
# Per-VM state, logs, FINALIZE marker, and persisted spec files are written here.
# Default behavior in code if omitted/empty: /var/lib/vm-migrator
control_dir: /var/lib/vm-migrator
# OPTIONAL:
# Directory used by API mode when resolving spec files by short filename.
# Specs are typically written per VM under <control_dir>/<vm>_<moref>/spec.yaml.
# Default behavior if omitted/empty: <control_dir>/specs
# To avoid confusion, you can set this to control_dir directly.
specs_dir: /var/lib/vm-migrator
# OPTIONAL:
# Working directory for API-launched subprocess jobs.
# Must exist on host.
# Default behavior if omitted/empty: current repo directory or serve working directory
workdir: /var/lib/vm-migrator
cloudstack:
# MANDATORY: CloudStack API endpoint.
# Accepted forms:
# - "cloudstack-mgmt.example.com" -> normalized to http://cloudstack-mgmt.example.com/client/api
# - "cloudstack-mgmt.example.com:8080" -> normalized to http://cloudstack-mgmt.example.com:8080/client/api
# - "http://cloudstack-mgmt.example.com:8080/client/api" (used as-is)
# - "https://cloudstack.example.com" -> normalized to https://cloudstack.example.com/client/api
#
# If your CloudStack uses a non-default port, include it explicitly (host:port).
endpoint: "cloudstack.example.com:8080"
# MANDATORY: CloudStack API key.
api_key: "replace-me"
# MANDATORY: CloudStack secret key.
secret_key: "replace-me"
# OPTIONAL:
# Default timeout in seconds for CloudStack API requests used by:
# - run mode engine operations
# - serve/UI inventory calls such as listNetworks, listOsTypes, listStoragePools
#
# This is especially useful when the CloudStack management API is slow to
# return larger inventory responses.
#
# Default behavior if omitted/0:
# - run mode client: 45 seconds
# - serve/UI client: 30 seconds
timeout_seconds: 90
cloudstack_defaults:
# OPTIONAL BUT STRONGLY RECOMMENDED:
# These defaults are injected into run specs when missing.
# They are especially useful for "defaults-only" spec files.
zoneid: "replace-with-zone-id"
clusterid: "replace-with-cluster-id"
storageid: "replace-with-storage-id"
networkid: "replace-with-network-id"
serviceofferingid: "replace-with-service-offering-id"
diskofferingid: "replace-with-disk-offering-id"
virt:
# OPTIONAL:
# Whether run mode should execute virt-v2v-in-place on the boot disk.
# Default behavior if omitted: false in Go zero-value, but set explicitly for clarity.
run_virt_v2v: true
# OPTIONAL:
# Path to virtio-win ISO or directory used via VIRTIO_WIN during Windows conversion.
# Default behavior in code if omitted/empty: /usr/share/virtio-win/virtio-win.iso
virtio_iso: /usr/share/virtio-win/virtio-win.iso