Make noc a list and add new sipb-noc address to monitoring and noc sections
[invirt/packages/xvm-devconfig.git] / master.yaml
index c3879a3..0e2b49c 100644 (file)
@@ -1,19 +1,76 @@
-kerberos:
- realm: ATHENA.MIT.EDU
+contact: &contact xvm-dev@mit.edu
+adminacl: &adminacl system:xvm-dev
+priv_contact: &priv_contact xvm-dev@mit.edu
+
+apt:
+ keyid: 625CFE85
 
 authz:
- - type: afs
-   cell: athena.mit.edu
-   auth: no
- - type: afs
-   cell: sipb.mit.edu
-   auth: no
+ name: xvm-locker
+ afs:
+  cells:
+  - cell: athena.mit.edu
+    auth: no
+  - cell: sipb.mit.edu
+    auth: yes
+  - cell: zone.mit.edu
+    auth: no
+  - cell: ops.mit.edu
+    auth: no
+  - cell: net.mit.edu
+    auth: no
 
-hosts: # hosts on which VMs run
- - hostname: black-mesa.mit.edu
-   ip: 18.181.0.60
- - hostname: torchwood-institute.mit.edu
-   ip: 18.181.0.165
+build:
+ mirror: true
+ pockets:
+  precise-prod:
+   acl: system:xvm-root
+   apt: precise-stable
+   distro: precise
+  trusty-prod:
+   acl: system:xvm-root
+   apt: trusty-stable
+   distro: trusty
+  precise-dev:
+   acl: *adminacl
+   apt: precise-unstable
+   allow_backtracking: yes
+   distro: precise
+  trusty-dev:
+   acl: *adminacl
+   apt: trusty-unstable
+   allow_backtracking: yes
+   distro: trusty
+ tagger:
+  name: Invirt Build Server
+  email: invirt@mit.edu
+ hooks:
+  post_build: &post_build
+   zephyr:
+    class: xvm-auto
+   mail:
+    to: xvm-dev-auto@mit.edu
+    from: xvm-build-bot@mit.edu
+  failed_build: *post_build
+  post_commit: &post_commit
+   zephyr:
+    class: xvm-auto
+  pre_build: *post_commit
+  post_submit: *post_commit
+  failed_submit: *post_commit
+  post_add_repo: *post_commit
+ repo_access: system:xvm-dev
+ repo_admin: system:xvm-root
+
+console:
+ hostname: xvm-console-dev.mit.edu
+ ip: 18.181.0.230
+
+cluster:
+ rings:
+  - bind: 10.7.0.0
+    mcast: 239.255.252.2
+    port: 5405
 
 db:
  uri: postgres://invirt@xvm-dev.mit.edu/invirt
@@ -23,22 +80,6 @@ db:
  user: invirt
  dbname: invirt
 
-console:
- hostname: xvm-console-dev.mit.edu
- ip: 18.181.0.230
-
-remote:
- hostname: xvm-remote-dev.mit.edu
- ip: 18.181.0.231
-
-dns:
- contact: xvm@mit.edu
- domains:  # first one is advertised
-  - dev.xvm.mit.edu
- nameservers:
-  - hostname: xvm-dev.mit.edu
-    ip: 18.181.0.80
-
 dhcp:
  gateway: 18.181.0.1
  netmask: 255.255.0.0
@@ -48,25 +89,93 @@ dhcp:
   - 18.72.0.3
  search_domain: mit.edu
 
-xen:
- network:
-  gateway: 18.181.0.1
-  netmask: 255.255.0.0
-  iface: eth0
+dns:
+ contact: *contact
+ domains: # first one is advertised
+  - dev.xvm.mit.edu
+  - 2.181.18.in-addr.arpa
+ nameservers:
+  - hostname: xvm-dev.mit.edu
+    ip: 18.181.0.80
+ zone_files:
+  - /etc/invirt/zone
+
+hosts: # hosts on which VMs run
+ - hostname: black-mesa.mit.edu
+   internal_ips:
+    - black-mesa-internal
+   ip: 18.181.0.60
+ - hostname: torchwood-institute.mit.edu
+   internal_ips:
+    - torchwood-institute-internal
+   ip: 18.181.0.165
+ - hostname: arkham-asylum.mit.edu
+   internal_ips:
+    - arkham-asylum-internal
+   ip: 18.181.0.109
+ - hostname: isla-nublar.mit.edu
+   internal_ips:
+    - isla-nublar-internal
+   ip: 18.181.0.102
+
+kerberos:
+ realm: ATHENA.MIT.EDU
+
+mail:
+ forward: *priv_contact
+
+monitoring:
+ - hostname: sipb-noc.mit.edu
+   ip: 18.181.0.65
+   baseuri: http://sipb-noc.mit.edu/xvm/
+ - hostname: sipb-noc.mit.edu
+   ip: 18.4.60.65
+   baseuri: http://sipb-noc.mit.edu/xvm/
+
+remote:
+ hostname: xvm-remote-dev.mit.edu
+ ip: 18.181.0.231
+
+git:
+ uri: git://xvm-dev.mit.edu
+
+noc:
+ - dbname: template1
+   user: nagios
+   ip: 18.181.0.65
+ - dbname: template1
+   user: nagios
+   ip: 18.4.60.65
+
+trac:
+ uri: https://xvm.scripts.mit.edu
+
+vnc:
+ base_port: 10003
+ proxy_ip: 18.181.0.80
 
 web:
  baseuri: https://xvm-dev.mit.edu/
  hostname: xvm-dev.mit.edu
- errormail: xvm@mit.edu
- adminacl: system:xvm
+ errormail: *contact
  errormail_exclude:
-  - price
-  - ecprice
-  - andersk
+  - '*'
 
-vnc:
- base_port: 10003
- proxy_ip: 18.181.0.80
+network:
+ netmask: 255.255.0.0
+ gateway: 18.181.0.1
 
-trac:
- uri: https://xvm.scripts.mit.edu
+xen:
+ iface: xenbr2
+
+lvm:
+ vg: xenvg
+
+iscsi:
+ targets:
+ - ip: 10.7.0.1
+   ifaces:
+   - eth1
+ - ip: 10.8.0.1
+   ifaces:
+   - eth2