mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-05-12 02:46:20 +08:00
pagure: add a new pagure01 in rdu3 iso network
This instance will be the new pagure.io once everything is migrated to it. This will need a small outage to migrate it instead of a day or two outage to move the existing hardware. Tenatively I'd like to schedule this for december 3rd. The hardware will be moving from rdu-cc on december 8th. Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
@@ -51,7 +51,7 @@ ipa_client_sudo_groups:
|
||||
- sysadmin-web
|
||||
ipa_host_group: pagure
|
||||
ipa_host_group_desc: Pagure GIT Forge
|
||||
lvm_size: 750000
|
||||
lvm_size: 2t
|
||||
max_mem_size: 131072
|
||||
mem_size: 65536
|
||||
num_cpus: 48
|
||||
|
||||
55
inventory/host_vars/pagure01.fedoraproject.org
Normal file
55
inventory/host_vars/pagure01.fedoraproject.org
Normal file
@@ -0,0 +1,55 @@
|
||||
---
|
||||
datacenter: rdu3
|
||||
dns1: 10.16.163.33
|
||||
dns2: 10.16.163.34
|
||||
dns_search1: vpn.fedoraproject.org
|
||||
dns_search2: fedoraproject.org
|
||||
effective_cache_size: 1
|
||||
eth0_ipv4_gw: 10.16.160.179.254
|
||||
eth0_ipv4_ip: 10.16.160.179.60
|
||||
eth0_ipv6_gw: "2620:52:6:1161::1"
|
||||
eth0_ipv6_ip: "2620:52:6:1161::32"
|
||||
eth0_ipv6_nm: 64
|
||||
eth0_nm: 255.255.255.0
|
||||
has_ipv6: yes
|
||||
ks_repo: https://infrastructure.fedoraproject.org/repo/rhel/RHEL8-x86_64/
|
||||
ks_url: https://infrastructure.fedoraproject.org/repo/rhel/ks/kvm-rhel-8
|
||||
max_stack_depth: "4MB"
|
||||
nagios_Check_Services:
|
||||
swap: false
|
||||
network_connections:
|
||||
- autoconnect: yes
|
||||
ip:
|
||||
address:
|
||||
- "{{ eth0_ipv4_ip }}/{{ eth0_ipv4_nm }}"
|
||||
- "{{ eth0_ipv6_ip }}/{{ eth0_ipv6_nm }}"
|
||||
dhcp4: no
|
||||
dns:
|
||||
- "{{ dns1 }}"
|
||||
- "{{ dns2 }}"
|
||||
dns_search:
|
||||
- "{{ dns_search1 }}"
|
||||
- "{{ dns_search2 }}"
|
||||
gateway4: "{{ eth0_ipv4_gw }}"
|
||||
gateway6: "{{ eth0_ipv6_gw }}"
|
||||
mac: "{{ ansible_default_ipv4.macaddress }}"
|
||||
name: eth0
|
||||
type: ethernet
|
||||
# DB used:
|
||||
pagure_db_host: 127.0.0.1
|
||||
sar_output_file: pagure.json
|
||||
# GDPR SAR variables - datanommer/datagrepper
|
||||
sar_script: /usr/local/bin/pagure_sar.py
|
||||
sar_script_user: git
|
||||
#
|
||||
# PostgreSQL configuration
|
||||
#
|
||||
shared_buffers: "512MB"
|
||||
ssh_hostnames:
|
||||
- pagure.io
|
||||
temp_buffers: "8MB"
|
||||
vmhost: vmhost-x86-iso01.rdu3.fedoraproject.org
|
||||
volgroup: /dev/vg_guests
|
||||
zabbix_macros:
|
||||
'SWAP.PFREE.MIN.WARN': 0 # pagure uses all its limited swap all the time
|
||||
'VFS.FS.PUSED.MAX.WARN:"/"': 85 # pagure uses a lot of disk, raise this from default of 80
|
||||
@@ -907,6 +907,7 @@ debuginfod01.stg.rdu3.fedoraproject.org
|
||||
debuginfod01.stg.rdu3.fedoraproject.org
|
||||
|
||||
[pagure]
|
||||
pagure01.fedoraproject.org
|
||||
pagure02.fedoraproject.org
|
||||
|
||||
[pagure_stg]
|
||||
@@ -1018,12 +1019,14 @@ batcave01.rdu3.fedoraproject.org
|
||||
# bodhi-backend01 gets zombies right at the end of pushes
|
||||
bodhi-backend01.rdu3.fedoraproject.org
|
||||
# Seems to have zombies all the time, according to Zabbix
|
||||
pagure01.fedoraproject.org
|
||||
pagure02.fedoraproject.org
|
||||
|
||||
[sar]
|
||||
bodhi-backend01.rdu3.fedoraproject.org
|
||||
mailman01.rdu3.fedoraproject.org
|
||||
people01.fedoraproject.org
|
||||
pagure01.fedoraproject.org
|
||||
pagure02.fedoraproject.org
|
||||
pkgs01.rdu3.fedoraproject.org
|
||||
#wiki01.rdu3.fedoraproject.org
|
||||
|
||||
Reference in New Issue
Block a user