... | @@ -39,7 +39,8 @@ See also the more extensive [glossary in the Ganeti documentation](http://docs.g |
... | @@ -39,7 +39,8 @@ See also the more extensive [glossary in the Ganeti documentation](http://docs.g |
|
## Adding a new instance
|
|
## Adding a new instance
|
|
|
|
|
|
This command creates a new guest, or "instance" in Ganeti's
|
|
This command creates a new guest, or "instance" in Ganeti's
|
|
vocabulary:
|
|
vocabulary with 10G root, 2G swap, 20G spare on SSD, 800G on HDD, 8GB
|
|
|
|
ram and 2 CPU cores:
|
|
|
|
|
|
gnt-instance add \
|
|
gnt-instance add \
|
|
-o debootstrap+buster \
|
|
-o debootstrap+buster \
|
... | @@ -54,6 +55,20 @@ vocabulary: |
... | @@ -54,6 +55,20 @@ vocabulary: |
|
--backend-parameters memory=8g,vcpus=2 \
|
|
--backend-parameters memory=8g,vcpus=2 \
|
|
test-01.torproject.org
|
|
test-01.torproject.org
|
|
|
|
|
|
|
|
This is the same without the HDD partition:
|
|
|
|
|
|
|
|
gnt-instance add \
|
|
|
|
-o debootstrap+buster \
|
|
|
|
-t drbd --no-wait-for-sync \
|
|
|
|
--net 0:ip=pool,network=gnt-fsn \
|
|
|
|
--no-ip-check \
|
|
|
|
--no-name-check \
|
|
|
|
--disk 0:size=10G \
|
|
|
|
--disk 1:size=2G,name=swap \
|
|
|
|
--disk 2:size=20G \
|
|
|
|
--backend-parameters memory=8g,vcpus=2 \
|
|
|
|
test-01.torproject.org
|
|
|
|
|
|
### What that does
|
|
### What that does
|
|
|
|
|
|
This configures the following:
|
|
This configures the following:
|
... | | ... | |