instance-runner-resilient-input-schema.json 2.5 KB
Newer Older
1
{
2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
  "type": "object",
  "$schema": "http://json-schema.org/draft-04/schema",
  "allOf": [
    {
      "$ref": "instance-runner-input-schema.json#/"
    },
    {
      "properties": {
        "resilient-clone-number": {
          "title": "Amount of backup(s) to create",
          "description": "Amount of backup(s) to create. Each backup consists of a Pull Backup Server and a clone.",
          "type": "integer",
          "default": 1,
          "minimum": 0,
          "maximum": 2,
          "optional": true
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
        "-sla-runner0-computer_guid": {
          "title": "Target computer for main instance",
          "description": "Target computer GUID for main instance.",
          "type": "string",
          "optional": true
        },
        "-sla-runner1-computer_guid": {
          "title": "Target computer for first clone",
          "description": "Target computer for first clone instance.",
          "type": "string",
          "optional": true
        },
        "-sla-pbs1-computer_guid": {
          "title": "Target computer for first PBS",
          "description": "Target computer for first PBS instance.",
          "type": "string",
          "optional": true
        },
        "-sla-runner2-computer_guid": {
          "title": "Target computer for second clone",
          "description": "Target computer for second clone instance.",
          "type": "string",
          "optional": true
        },
        "-sla-pbs2-computer_guid": {
          "title": "Target computer for second PBS",
          "description": "Target computer for second PBS instance.",
          "type": "string",
          "optional": true
        },
        "resiliency-backup-periodicity": {
          "title": "Periodicity of backup",
          "description": "Periodicity of backup, in cron format.",
          "type": "string",
          "optional": true
        },
        "remove-backup-older-than": {
          "title": "Remove backups older than...",
          "description": "Remove all the backups in PBS that are older than specified value. It should be rdiff-backup-compatible.",
          "type": "string",
          "default": "2W",
          "optional": true
        },
        "ignore-known-hosts-file": {
          "title": "Ignore known_hosts file",
          "description": "Set either to fill known_hosts file for ssh or not. Useful if main instance and PBS are using the same IP (slapos proxy, webrunner).",
          "type": "boolean",
          "default": false,
          "optional": true
68
        }
69 70 71 72
      }
    }
  ]
}