Unverified Commit e8487049 authored by anarcat's avatar anarcat
Browse files

add more ganeti instance examples

parent d2258d39
Loading
Loading
Loading
Loading
+30 −14
Original line number Diff line number Diff line
@@ -55,20 +55,6 @@ ram and 2 CPU cores:
      --backend-parameters memory=8g,vcpus=2 \
      test-01.torproject.org

This is the same without the HDD partition, in the `gnt-chi` cluster:

    gnt-instance add \
      -o debootstrap+buster \
      -t drbd --no-wait-for-sync \
      --net 0:ip=pool,network=gnt-chi-01 \
      --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

This configures the following:
@@ -132,6 +118,36 @@ Then follow [howto/new-machine](howto/new-machine).
   package without [shipping our patch](https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=944538).


### Other examples

This is the same without the HDD partition, in the `gnt-chi` cluster:

    gnt-instance add \
      -o debootstrap+buster \
      -t drbd --no-wait-for-sync \
      --net 0:ip=pool,network=gnt-chi-01 \
      --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

A simple test machine, with only 1G of disk, ram, and 1 CPU, without
DRBD, in the FSN cluster:

    gnt-instance add \
          -o debootstrap+buster \
          -t plain --no-wait-for-sync \
          --net 0:ip=pool,network=gnt-fsn13-02 \
          --no-ip-check \
          --no-name-check \
          --disk 0:size=10G \
          --disk 1:size=2G,name=swap \
          --backend-parameters memory=1g,vcpus=1 \
          test-01.torproject.org

## Modifying an instance

### CPU, memory changes