Make noc a list and add new sipb-noc address to monitoring and noc sections
[invirt/packages/xvm-devconfig.git] / master.yaml
index a3edbaa..0e2b49c 100644 (file)
@@ -1,11 +1,12 @@
 contact: &contact xvm-dev@mit.edu
-adminacl: system:xvm-dev
+adminacl: &adminacl system:xvm-dev
+priv_contact: &priv_contact xvm-dev@mit.edu
 
-kerberos:
- realm: ATHENA.MIT.EDU
+apt:
+ keyid: 625CFE85
 
 authz:
- mech: xvm.authz.locker
+ name: xvm-locker
  afs:
   cells:
   - cell: athena.mit.edu
@@ -18,14 +19,58 @@ authz:
     auth: no
   - cell: net.mit.edu
     auth: no
-  - cell: dev.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
@@ -35,41 +80,79 @@ 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
+dhcp:
+ gateway: 18.181.0.1
+ netmask: 255.255.0.0
+ dns:
+  - 18.70.0.160
+  - 18.71.0.151
+  - 18.72.0.3
+ search_domain: mit.edu
 
 dns:
  contact: *contact
- domains:  # first one is advertised
+ domains: # first one is advertised
   - dev.xvm.mit.edu
   - 2.181.18.in-addr.arpa
-  - 1.181.18.in-addr.arpa
  nameservers:
   - hostname: xvm-dev.mit.edu
     ip: 18.181.0.80
+ zone_files:
+  - /etc/invirt/zone
 
-dhcp:
- gateway: 18.181.0.1
- netmask: 255.255.0.0
- dns:
-  - 18.70.0.160
-  - 18.71.0.151
-  - 18.72.0.3
- search_domain: mit.edu
+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: xvm-dev-auto@mit.edu
+ forward: *priv_contact
 
-xen:
- network:
-  gateway: 18.181.0.1
-  netmask: 255.255.0.0
-  iface: eth0
+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/
@@ -78,9 +161,21 @@ web:
  errormail_exclude:
   - '*'
 
-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