---

govuk_safe_to_reboot::can_reboot: 'overnight'
govuk_safe_to_reboot::reason: 'Secondaries will reboot overnight if cluster is healthy'

lv:
  mongodb:
    pv: '/dev/sdb1'
    vg: 'backup'
  data:
    pv: '/dev/sdc1'
    vg: 'mongodb'
  s3backups:
    pv: '/dev/sdd1'
    vg: 'mongo'

mount:
  /var/lib/mongodb:
    disk: '/dev/mapper/mongodb-data'
    govuk_lvm: 'data'
    mountoptions: 'defaults'
  /var/lib/automongodbbackup:
    disk: '/dev/mapper/backup-mongodb'
    govuk_lvm: 'mongodb'
    mountoptions: 'defaults'
  /var/lib/s3backup:
    disk: '/dev/mapper/mongo-s3backups'
    govuk_lvm: 's3backups'
    mountoptions: 'defaults'

mongodb::server::oplog_size: 7168 # 7 * 1024
mongodb::server::replicaset_members:
  'performance-mongo-1':
  'performance-mongo-2':
  'performance-mongo-3':
  'performance-mongo-4':
    hidden: true
    priority: 0

---

govuk_safe_to_reboot::can_reboot: 'overnight'
govuk_safe_to_reboot::reason: 'Secondaries will reboot overnight if cluster is healthy'

lv:
  mongodb:
    pv: '/dev/sdb1'
    vg: 'backup'
  data:
    pv:
      - '/dev/sdc1'
      - '/dev/sde1'
    vg: 'mongodb'
  s3backups:
    pv: '/dev/sdd1'
    vg: 'mongo'

mount:
  /var/lib/mongodb:
    disk: '/dev/mapper/mongodb-data'
    govuk_lvm: 'data'
    mountoptions: 'defaults'
  /var/lib/automongodbbackup:
    disk: '/dev/mapper/backup-mongodb'
    govuk_lvm: 'mongodb'
    mountoptions: 'defaults'
  /var/lib/s3backup:
    disk: '/dev/mapper/mongo-s3backups'
    govuk_lvm: 's3backups'
    mountoptions: 'defaults'

mongodb::server::oplog_size: 7168 # 7 * 1024
mongodb::server::replicaset_members:
  'performance-mongo-1':
  'performance-mongo-2':
  'performance-mongo-3':
  'performance-mongo-4':
    hidden: true
    priority: 0

Add extra disk for performance mongo data
Add extra disk for performance mongo data

This is very close to capacity, 90%, and will continue to rise.

Performance are anticipating moving to PAAS in October 2017 so hopefully
this will only be needed for a short period of time.
