-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #168 from companieshouse/host-config-development
Add host configuration for development servers
- Loading branch information
Showing
7 changed files
with
283 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,149 @@ | ||
--- | ||
|
||
# Development environment | ||
# | ||
# Server port mappings: | ||
# - ef 6000 (primary/secondary) | ||
# - prod 7000 (primary/secondary) | ||
# - scud 8000 (primary/secondary) | ||
# | ||
# Server ID mappings: | ||
# - ef 0 (primary/secondary) | ||
# - prod 1 (primary/secondary) | ||
# - scud 2 (primary/secondary) | ||
|
||
iscsi_devices_config: | ||
- alias: db_dump | ||
multipath: no | ||
filesystem: | ||
type: xfs | ||
path: /db_dump | ||
mode: "770" | ||
owner: informix | ||
group: informix | ||
- alias: scud | ||
multipath: no | ||
raw_character_device: | ||
path: /dev/raw/raw1 | ||
owner: informix | ||
group: informix | ||
- alias: prod | ||
multipath: no | ||
raw_character_device: | ||
path: /dev/raw/raw2 | ||
owner: informix | ||
group: informix | ||
- alias: ef | ||
multipath: no | ||
raw_character_device: | ||
path: /dev/raw/raw3 | ||
owner: informix | ||
group: informix | ||
|
||
informix_server_id_increment: 1 | ||
informix_server_id_start: 0 | ||
informix_server_port_increment: 1000 | ||
informix_server_port_start: 6000 | ||
|
||
cloudwatch_agent_overrides: | ||
metrics_enabled: true | ||
|
||
informix_db_config: | ||
ef: | ||
server_id: "{{ informix_server_id_start + (0 * informix_server_id_increment) | int }}" | ||
server_port: "{{ informix_server_port_start + (0 * informix_server_port_increment) | int }}" | ||
dbspaces: | ||
root: | ||
initial_chunk: | ||
path: "/dev/ef" | ||
offset_in_kb: 0 | ||
size_in_kb: 2000000 | ||
ef_data_dbs: | ||
initial_chunk: | ||
path: "/dev/ef" | ||
offset_in_kb: 2000000 | ||
size_in_kb: 17500000 | ||
ef_log_dbs: | ||
initial_chunk: | ||
path: "/dev/ef" | ||
offset_in_kb: 19500000 | ||
size_in_kb: 500000 | ||
server_connections: | ||
- server_name: ef | ||
connection_type: onipcshm | ||
host: localhost | ||
service_or_port: localhost | ||
- server_name: ef_primary | ||
connection_type: onsoctcp | ||
host: instance-1.fil.tuxedo.development.heritage.aws.internal | ||
service_or_port: "{{ informix_server_port_start + (0 * informix_server_port_increment) | int }}" | ||
- server_name: ef_secondary | ||
connection_type: onsoctcp | ||
host: instance-2.fil.tuxedo.development.heritage.aws.internal | ||
service_or_port: "{{ informix_server_port_start + (0 * informix_server_port_increment) | int }}" | ||
users: | ||
- name: efadmin | ||
prod: | ||
server_id: "{{ informix_server_id_start + (1 * informix_server_id_increment) | int }}" | ||
server_port: "{{ informix_server_port_start + (1 * informix_server_port_increment) | int }}" | ||
dbspaces: | ||
root: | ||
initial_chunk: | ||
path: "/dev/prod" | ||
offset_in_kb: 0 | ||
size_in_kb: 2000000 | ||
prod_data_dbs: | ||
initial_chunk: | ||
path: "/dev/prod" | ||
offset_in_kb: 2000000 | ||
size_in_kb: 7500000 | ||
prod_log_dbs: | ||
initial_chunk: | ||
path: "/dev/prod" | ||
offset_in_kb: 9500000 | ||
size_in_kb: 500000 | ||
server_connections: | ||
- server_name: prod | ||
connection_type: onipcshm | ||
host: localhost | ||
service_or_port: localhost | ||
- server_name: prod_primary | ||
connection_type: onsoctcp | ||
host: instance-1.fil.tuxedo.development.heritage.aws.internal | ||
service_or_port: "{{ informix_server_port_start + (1 * informix_server_port_increment) | int }}" | ||
- server_name: prod_secondary | ||
connection_type: onsoctcp | ||
host: instance-2.fil.tuxedo.development.heritage.aws.internal | ||
service_or_port: "{{ informix_server_port_start + (1 * informix_server_port_increment) | int }}" | ||
scud: | ||
server_id: "{{ informix_server_id_start + (2 * informix_server_id_increment) | int }}" | ||
server_port: "{{ informix_server_port_start + (2 * informix_server_port_increment) | int }}" | ||
dbspaces: | ||
root: | ||
initial_chunk: | ||
path: "/dev/scud" | ||
offset_in_kb: 0 | ||
size_in_kb: 2000000 | ||
scud_data_dbs: | ||
initial_chunk: | ||
path: "/dev/scud" | ||
offset_in_kb: 2000000 | ||
size_in_kb: 7500000 | ||
scud_log_dbs: | ||
initial_chunk: | ||
path: "/dev/scud" | ||
offset_in_kb: 9500000 | ||
size_in_kb: 500000 | ||
server_connections: | ||
- server_name: scud | ||
connection_type: onipcshm | ||
host: localhost | ||
service_or_port: localhost | ||
- server_name: scud_primary | ||
connection_type: onsoctcp | ||
host: instance-1.fil.tuxedo.development.heritage.aws.internal | ||
service_or_port: "{{ informix_server_port_start + (2 * informix_server_port_increment) | int }}" | ||
- server_name: scud_secondary | ||
connection_type: onsoctcp | ||
host: instance-2.fil.tuxedo.development.heritage.aws.internal | ||
service_or_port: "{{ informix_server_port_start + (2 * informix_server_port_increment) | int }}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,77 @@ | ||
--- | ||
|
||
informix_server_name_suffix: _primary | ||
|
||
informix_management_cron_jobs: | ||
- name: Stop all logical log continuous backup processes | ||
day_of_week: "*" | ||
day_of_month: "*" | ||
minute: "05" | ||
hour: "00" | ||
month: "*" | ||
script: "stop_all_logicals" | ||
- name: Informix EF database logical log archive | ||
day_of_week: "*" | ||
day_of_month: "*" | ||
minute: "10" | ||
hour: "00" | ||
month: "*" | ||
script: "logical_log_archive ef" | ||
- name: Informix EF database level zero backup | ||
day_of_week: "*" | ||
day_of_month: "*" | ||
minute: "20" | ||
hour: "00" | ||
month: "*" | ||
script: "level_zero_backup ef" | ||
- name: Informix EF database statistics update | ||
day_of_week: "*" | ||
day_of_month: "*" | ||
minute: "30" | ||
hour: "00" | ||
month: "*" | ||
script: "update_statistics ef" | ||
- name: Informix PROD database logical log archive | ||
day_of_week: "*" | ||
day_of_month: "*" | ||
minute: "11" | ||
hour: "01" | ||
month: "*" | ||
script: "logical_log_archive prod" | ||
- name: Informix PROD database level zero backup | ||
day_of_week: "*" | ||
day_of_month: "*" | ||
minute: "21" | ||
hour: "01" | ||
month: "*" | ||
script: "level_zero_backup prod" | ||
- name: Informix PROD database statistics update | ||
day_of_week: "*" | ||
day_of_month: "*" | ||
minute: "31" | ||
hour: "01" | ||
month: "*" | ||
script: "update_statistics prod" | ||
- name: Informix SCUD database logical log archive | ||
day_of_week: "*" | ||
day_of_month: "*" | ||
minute: "12" | ||
hour: "02" | ||
month: "*" | ||
script: "logical_log_archive scud" | ||
- name: Informix SCUD database level zero backup | ||
day_of_week: "*" | ||
day_of_month: "*" | ||
minute: "22" | ||
hour: "02" | ||
month: "*" | ||
script: "level_zero_backup scud" | ||
- name: Informix SCUD database statistics update | ||
day_of_week: "*" | ||
day_of_month: "*" | ||
minute: "32" | ||
hour: "02" | ||
month: "*" | ||
script: "update_statistics scud" | ||
|
||
informix_host: instance-1.fil.tuxedo.development.heritage.aws.internal |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters